reflesh_ben.sh on gentoo/~x86

KIMURA Masaru hiyuh.root at gmail.com
Tue Sep 27 03:44:01 EDT 2011


Hi,

using reflesh_ben.sh again on x86 (ThinkPad R40e) to update my ben, but no luck.
any idea?

Peace,

--------8<--------8<--------8<--------8<--------8<--------8<--------
(become root)
$ su

(get current reflesh_ben.sh)
# wget http://downloads.qi-hardware.com/software/images/NanoNote/Ben/reflash_ben.sh
# chmod +x reflash_ben.sh
# md5sum reflash_ben.sh
a019c941cdbe8b5a08cbba81da658c16  reflash_ben.sh

(emerge dev-embedded/xburst-tools which uses
xburst-tools_201105-1_i386.deb for firmware.)
# emerge dev-embedded/xburst-tools
# md5sum /usr/share/xburst-tools/*.bin
33b6ca48163554b55ee0b8852ed2b313  /usr/share/xburst-tools/stage1.bin
e1e75234eced9cd125e0ba3d46a30cb1  /usr/share/xburst-tools/xburst_stage1.bin
8c97303b2f5c3201dd5f5361dcbd88ca  /usr/share/xburst-tools/xburst_stage2.bin

(check local setting)
# uname -a
Linux panda 3.0.4-gentoo #1 PREEMPT Wed Sep 14 19:30:31 JST 2011 i686
Mobile Intel(R) Celeron(R) CPU 2.00GHz GenuineIntel GNU/Linux
# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 601a:4740 Ingenic Semiconductor Ltd. XBurst
Jz4740 boot mode

(run reflesh_ben.sh, but it failed. log.txt is attached.)
# ./reflash_ben.sh
working dir:      /root/.qi/nanonote/ben/latest
chosen method:    http
http://downloads.qi-hardware.com/software/images/NanoNote/Ben
chosen version:   latest
===
present files are identical to the ones on the server - do not
download them again
booting device...
flashing bootloader...
Done:  0/2
[
                                                        ]
===
fatal error occured - ABORTED
===
error while flashing bootloader:
Error - can't read bulk data from Ingenic device:8
Error - can't read bulk data from Ingenic device:0
Error - can't read bulk data from Ingenic device:64
Error - can't read bulk data from Ingenic device:0
===
Before reporting this as a bug
Please ensure you're using the latest available version of this reflash script
http://downloads.qi-hardware.com/software/images/NanoNote/Ben/reflash_ben.sh
-------------- next part --------------
2011?  9? 28? ??? 02:05:58 JST
working dir:      /root/.qi/nanonote/ben/latest
chosen method:    http http://downloads.qi-hardware.com/software/images/NanoNote/Ben
chosen version:   latest
===
present files are identical to the ones on the server - do not download them again
booting device...

usbboot version 201104 - 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: boot 
 CPU data: Boot4740
 Already booted.
flashing bootloader...

usbboot version 201104 - 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 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n 
 Programing No.0 device, flen 616576, start page 0...
 CPU data: Boot4740
 Erasing No.0 device No.0 flash (start_blk 0 blk_num 2)......
 Finish! Return: 58 00 a6 af 25 90 42 02 (position 23022592)
 Force erase, no bad block infomation!
 Size to send 616576, 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: -1347157960
 Info - skip bad block!
 Writing NAND page -1347157960 len 94208...
 CPU data: Boot4740
 Finish! (len 94208 start_page -1347157960 page_num 23)
 Checking 94208 bytes... Comparing 94208 bytes - FAIL at off 0, wrote 0x38, read 0xff
  off 0 write: 38 00 b4 af 34 00 b3 af 0b 00 e2 88 21 80 e0 00
  off 0 read:  ff ff ff ff 40 00 08 3c 04 fc 08 35 00 60 88 40
 CPU data: Boot4740
 Mark bad block : 33554431
 Mark bad block at 23022592
 End at page: 0
 Info - skip bad block!Error - can't read bulk data from Ingenic device:8
Error - can't read bulk data from Ingenic device:0
Error - can't read bulk data from Ingenic device:64
Error - can't read bulk data from Ingenic device:0
===
fatal error occured - ABORTED
===
error while flashing bootloader:
Error - can't read bulk data from Ingenic device:8
Error - can't read bulk data from Ingenic device:0
Error - can't read bulk data from Ingenic device:64
Error - can't read bulk data from Ingenic device:0
===
Before reporting this as a bug
Please ensure you're using the latest available version of this reflash script
http://downloads.qi-hardware.com/software/images/NanoNote/Ben/reflash_ben.sh


More information about the discussion mailing list


interactive