Some notes about the latest xburst-tools

kyak bas at bmail.ru
Sat Mar 12 02:22:33 EST 2011


Hi Xiangfu,

Some additional information to help you:

I just installed the usbboot binary from
http://projects.qi-hardware.com/index.php/p/xburst-tools/downloads/32/get/ (this is xburst-tools_0.0+201002-1_i386.bin.tar.bz2, which i had been using before update). I copied it as usbboot_old.

After that, i reflashed the bootloader. Here is the comparison between
usbboot and usbboot_old:

# usbboot -c "nprog 0 latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n"
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 setup information:
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
 Execute command: nprog 0 latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0
-n 
 Programing No.0 device, flen 623096, start page 0...
 CPU data: Boot4740
 Erasing No.0 device No.0 flash (start_blk 0 blk_num 2)......
 Finish! Return: 00 01 00 00 00 00 00 00 (position 2)
 Force erase, no bad block infomation!
 Size to send 623096, transfer_size 524288
 Image type : without oob
 It will cause 2 times buffer transfer.
 Writing NAND page 0 len 524288...
 CPU data: Boot4740
 Finish! (len 524288 start_page 0 page_num 128)
 Checking 524288 bytes... Comparing 524288 bytes - FAIL at off 2048,
wrote 0x0, read 0xff
  off 2040 write: 00 00 45 a0 ff 00 c6 30 00 00 43 a0 ff 00 e7 30
  off 2040 read:  00 00 45 a0 ff 00 c6 30 ff ff 00 00 00 ff dc 0f
 CPU data: Boot4740
 mark bad block : 0
 Mark bad block at 0
 End at Page: 128
 Writing NAND page 128 len 102400...
 CPU data: Boot4740
 Finish! (len 102400 start_page 128 page_num 25)
 Checking 102400 bytes... Comparing 102400 bytes - SUCCESS
 End at Page: 153

# usbboot_old -c "nprog 0 latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0
-n"
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
 Execute command: nprog 0 latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0
-n 
 Programing No.0 device, flen 623096, start page 0...
 CPU data: Boot4740
 Erasing No.0 device No.0 flash (start_blk 0 blk_num 2)......
 Finish! Return: 00 01 00 00 00 00 00 00 (position 2)
 Force erase, no bad block infomation!
 Size to send 623096, transfer_size 524288
 Image type : without oob
 It will cause 2 times buffer transfer.
 Writing NAND page 0 len 524288...
 CPU data: Boot4740
 Finish! (len 524288 start_page 0 page_num 128)
 Checking 524288 bytes... no check! End at Page: 128
 Writing NAND page 128 len 102400...
 CPU data: Boot4740
 Finish! (len 102400 start_page 128 page_num 25)
 Checking 102400 bytes... Comparing 102400 bytes - SUCCESS
 End at Page: 153

As you can see, the latest usbboot fails at the second chunk, while the
older usbboot flashed both chunks just fine.

I confirm that I can't boot via F4 after flashing with the latest
usbboot and I can boot via F4 after flashing with the older usbboot.

So far, i will stick to the xburst-tools_0.0+201002-1_i386.bin.tar.bz2
usbboot, as it works for me.

Thank you!

On Mon, 2011-03-07 at 12:35 +0800, Xiangfu Liu wrote:
> Hi Kyak
> 
> I will look into this issue later today.
> 
> On 03/05/2011 09:24 PM, kyak wrote:
> > Hi Xiangfu,
> > 2) reflash_ben.sh shows that only half of bootloader is flashed (it was
> > fine with previous version of xburst-tools)
> > 
> > flashing bootloader...
> > Done:  1/2
> > [#######################################                                       ]
> 
> > 4) When i try to boot /boot/uImage from rootfs (by holding F4), it is
> > not booted. It says:
> > In: serial
> > Out: lcd
> > Err: lcd
> > Hit any key to stop autoboot:  0
> > Creating 1 MTD partitions on "nand0":
> > 0x00000080[mangled letters]
> 






More information about the discussion mailing list


interactive