% sudo ./usbboot -f ../doc/usbboot.cfg 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 2048, ECC offset in OOB 6, bad block offset in OOB 0, bad block page 127, use 1 plane mode usbboot :> help command support in current version: nquery query NAND flash info nerase erase NAND flash nread read NAND flash data with checking bad block and ECC nreadraw read NAND flash data without checking bad block and ECC nreadoo read NAND flash oob without checking bad block and ECC nprog program NAND flash with data and ECC help print this help version show current USB Boot software version go execute program in SDRAM fconfig set USB Boot config file(not implement) exit quit from telnet session readnand read data from nand flash and store to SDRAM gpios set one GPIO to high level gpioc set one GPIO to low level boot boot device and make it in stage2 list show current device number can connect(not implement) nmark mark a bad block in NAND flash nmake read all data from nand flash and store to file(not implement) load load file data to SDRAM memtest do SDRAM test run run command script in file(implement by -c args) sdprog program SD card(not implement) sdread read data from SD card(not implement) usbboot :>