Hi Xiangfu, It's working great now, thanks a lot for fixing! :)
On Fri, 2011-05-27 at 21:15 +0800, Xiangfu Liu wrote: > On 05/27/2011 05:17 PM, Xiangfu Liu wrote: > > Hi kyak > > > > thanks for the info: > > > > see this code[1], when > > (starpage == 0 && hand.nand_ps == 4096 && hand.fw_args.cpu_id == 0x4740) > > it should not do 'CHECK', > > > > because when jz4740 load first 8KB from nand. it always assume the nand > > page size is 2KB. > > even the nand is 4KB, it still read the first 8KB as 2KB nand. so there is > > a OOB at 2048 > > > > so if you still have such problem, printf all those three value. see what > > is going on. > > Hi kyak > > thanks for feedback, I just found the root cause, the 'hand.fw_args.cpu_id' > have wrong value when > there is no 'boot' in commands. > > this commit fix that problem: > http://qi-hw.com/p/xburst-tools/1d7a2f3 > > Please try again with the latest commit. > > > > > > [1]http://projects.qi-hardware.com/index.php/p/xburst-tools/source/tree/master/usbboot/src/cmd.c#L313 > > > > On 03/12/2011 03:22 PM, kyak wrote: > >> 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 -c "nprog 0 latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n" > >> Programing No.0 device, flen 623096, start page 0... <<<--- > >> Checking 524288 bytes... Comparing 524288 bytes - FAIL at off 2048, > > > >> # usbboot_old -c "nprog 0 latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0 > >> Programing No.0 device, flen 623096, start page 0... > >> Checking 524288 bytes... no check! End at Page: 128 > > > > > >> 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. > > _______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

