lars@derpbox:~/.qi/nanonote/ben/latest$ lsusb
Bus 001 Device 003: ID 601a:4740
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lars@derpbox:~/.qi/nanonote/ben/latest$ sudo usbboot
usbboot - Ingenic XBurst USB Boot Utility
(c) 2009 Ingenic Semiconductor Inc., Qi Hardware Inc., Xiangfu Liu, Marek Lindner
This program is Free Software and comes with ABSOLUTELY NO WARRANTY.
Now checking whether all configure args valid: YES
Current device information:
CPU type is Ingenic XBurst Jz4740
Crystal work at 12MHz, the CCLK up to 252MHz and PMH_CLK up to 84MHz
SDRAM Total size is 32 MB, work in 4 bank and 16 bit mode
Nand page per block 128, Nand page size 4096, ECC offset in OOB 12, bad block offset in OOB 0, bad block page 127, use 1 plane mode
usbboot :> boot
CPU data: JZ4740V1
CPU not yet booted, now booting...
Loading stage1 from '/usr/share/xburst-tools/xburst_stage1.bin'
Download stage 1 program and execute at 0x80002000
CPU data: JZ4740V1
Loading stage2 from '/usr/share/xburst-tools/xburst_stage2.bin'
Download stage 2 program and execute at 0x81c00000
CPU data: JZ4740V1
CPU data: Boot4750
Booted successfully!
CPU data: Boot4750
Configuring XBurst CPU succeeded.
usbboot :> nerase 0 4096 0 0
CPU data: Boot4740
Erasing No.0 device No.0 flash (start_blk 0 blk_num 4096)......
Finish! Return: 80 00 08 00 00 00 00 00 (position 4097)
Force erase, no bad block infomation!
usbboot :> nprog 0 openwrt-xburst-u-boot.bin 0 0 -n
Programing No.0 device, flen 444660, start page 0...
CPU data: Boot4740
Erasing No.0 device No.0 flash (start_blk 0 blk_num 1)......
Finish! Return: 80 00 00 00 00 00 00 00 (position 1)
Force erase, no bad block infomation!
Size to send 444660, transfer_size 524288
Image type : without oob
It will cause 1 times buffer transfer.
Writing NAND page 0 len 446464...
CPU data: Boot4740
Finish! (len 446464 start_page 0 page_num 109)
Error - can't read bulk data from Ingenic device:192
Checking 446464 bytes... no check! End at Page: 0
usbboot :>