Flash the u-boot and kernel. ttyUSB0 cann't see any thing.
ZhangJieJing
kzjeef at gmail.com
Fri Aug 14 13:20:30 EDT 2009
Hi all,
I flow the README in the x-brush-tools.
flash the u-boot and kernel.
this is the log of flash u-boot, I see that some thing FAIL in the end of
log.
please help me see if this is an error.
kzj at t61: qi $ ./flash-u-boot.sh
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 size 2048, ECC offset in OOB 6, bad block offset in OOB 0, bad
block page 127, use 1 plane mode
Execute command: boot
CPU not yet booted, now booting...
Loading stage1 from '/usr/share/xburst-tools/xburst_stage1.bin'
Download stage 1 program and execute at 0x80002000
Loading stage2 from '/usr/share/xburst-tools/xburst_stage2.bin'
Download stage 2 program and execute at 0x81c00000
Booted successfully!
Configuring XBurst CPU succeeded.
Execute command: nprog 0 /home/kzj/project/qi/qi-u-boot/u-boot-nand.bin 0 0
-n
Programing No.0 device, flen 469224, start page 0...
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 469224, transfer_size 262144
Image type : without oob
It will cause 2 times buffer transfer.
Writing NAND page 0 len 262144...
Finish! (len 262144 start_page 0 page_num 128)
Checking 262144 bytes... Comparing 262144 bytes - FAIL at off 4747, wrote
0x0, read 0xf0
off 4739 write: 30 80 10 02 00 21 10 46 00 10 00 43 8c 1b 00 a3
off 4739 read: 30 80 10 02 00 21 10 46 f0 0a 00 43 8c 1b 00 a3
mark bad block : 0
Mark bad block at 0
End at Page: 128
Writing NAND page 128 len 208896...
Finish! (len 208896 start_page 128 page_num 102)
Checking 208896 bytes... Comparing 208896 bytes - FAIL at off 17036, wrote
0x0, read 0xc0
off 17028 write: e0 03 82 8f 03 00 03 24 00 00 43 ac 18 00 bf 8f
off 17028 read: e0 03 82 8f 03 00 03 24 c0 38 43 ac 18 00 bf 8f
End at Page: 230
kzj at t61: qi $
I also flash the kernel .
the log:
It's seems ok.
But I don't know what todo, so I RESET the board.
and _NOT_ short the USB-BOOT pin,
open a minicom to /dev/ttyUSB0
My Mincom config is:
-----------------------------------------------------------------------+
Comp| A - Serial Device : /dev/ttyUSB0
|
Port| B - Lockfile Location : /var/lock
|
| C - Callin Program :
|
| D - Callout Program :
|
| E - Bps/Par/Bits : 57600 8N1
|
| F - Hardware Flow Control : Yes
|
| G - Software Flow Control : No
But I cann't see any output.
kzj at t61: qi $ ./flash-kernel.sh
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 size 2048, ECC offset in OOB 6, bad block offset in OOB 0, bad
block page 127, use 1 plane mode
Execute command: boot
Already booted.
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 size 2048, ECC offset in OOB 6, bad block offset in OOB 0, bad
block page 127, use 1 plane mode
Execute command: nprog 2048
/home/kzj/project/qi/openwrt-x-burst/target/linux/xburst/image/uImage 0 0
-n
Programing No.0 device, flen 1778704, start page 2048...
Erasing No.0 device No.0 flash (start_blk 16 blk_num 7)......
Finish! Return: 80 0b 00 00 00 00 01 00 (position 23)
Force erase, no bad block infomation!
Size to send 1778704, transfer_size 262144
Image type : without oob
It will cause 7 times buffer transfer.
Writing NAND page 2048 len 262144...
Finish! (len 262144 start_page 2048 page_num 128)
Checking 262144 bytes... Comparing 262144 bytes - FAIL at off 24092, wrote
0x4, read 0x6
off 24084 write: 3e 6a cb 7e d6 38 ef 9e 04 7b db 24 7d 39 71 1e
off 24084 read: 3e 6a cb 7e d6 38 ef 9e 06 7a db 24 7d 39 71 1e
mark bad block : 16
Mark bad block at 16
End at Page: 2176
Writing NAND page 2176 len 262144...
Finish! (len 262144 start_page 2176 page_num 128)
Checking 262144 bytes... Comparing 262144 bytes - FAIL at off 2582, wrote
0x4b, read 0x3b
off 2574 write: 36 4c dd 59 87 36 65 c3 4b 0b b5 92 eb 42 61 6b
off 2574 read: 36 4c dd 59 87 36 65 c3 3b 0c b5 92 eb 42 61 6b
mark bad block : 17
Mark bad block at 17
End at Page: 2304
Writing NAND page 2304 len 262144...
Finish! (len 262144 start_page 2304 page_num 128)
Checking 262144 bytes... Comparing 262144 bytes - FAIL at off 9272, wrote
0xcb, read 0x8b
off 9264 write: 4e 9f c0 98 7c 26 71 06 cb b6 a6 a9 5a d7 46 8b
off 9264 read: 4e 9f c0 98 7c 26 71 06 8b b7 a6 a9 5a d7 46 8b
mark bad block : 18
Mark bad block at 18
End at Page: 2432
Writing NAND page 2432 len 262144...
Finish! (len 262144 start_page 2432 page_num 128)
Checking 262144 bytes... Comparing 262144 bytes - FAIL at off 23205, wrote
0xb0, read 0xa8
off 23197 write: 98 43 f5 05 cf cd 74 bc b0 fd d5 fe 6d a4 d3 5a
off 23197 read: 98 43 f5 05 cf cd 74 bc a8 fb d5 fe 6d a4 d3 5a
mark bad block : 19
Mark bad block at 19
End at Page: 2560
Writing NAND page 2560 len 262144...
Finish! (len 262144 start_page 2560 page_num 128)
Checking 262144 bytes... Comparing 262144 bytes - FAIL at off 5294, wrote
0x82, read 0xa
off 5286 write: fc c5 44 ff 70 9d 05 bd 82 8d 67 c8 1e e6 79 f2
off 5286 read: fc c5 44 ff 70 9d 05 bd 0a 8c 67 c8 1e e6 79 f2
mark bad block : 20
Mark bad block at 20
End at Page: 2688
Writing NAND page 2688 len 262144...
Finish! (len 262144 start_page 2688 page_num 128)
Checking 262144 bytes... Comparing 262144 bytes - FAIL at off 15911, wrote
0xbf, read 0x1f
off 15903 write: 84 fc 86 ee 92 63 fc 0a bf 51 c6 d1 2b 6c b5 3e
off 15903 read: 84 fc 86 ee 92 63 fc 0a 1f 5a c6 d1 2b 6c b5 3e
mark bad block : 21
Mark bad block at 21
End at Page: 2816
Writing NAND page 2816 len 206848...
Finish! (len 206848 start_page 2816 page_num 101)
Checking 206848 bytes... Comparing 206848 bytes - FAIL at off 1072, wrote
0x1e, read 0xa6
off 1064 write: 02 93 63 2e 79 7d 91 43 1e ac 47 9e 32 a5 86 2b
off 1064 read: 02 93 63 2e 79 7d 91 43 a6 ae 47 9e 32 a5 86 2b
End at Page: 2917
---
Best regards,
Zhang Jiejing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20090815/97bfe92e/attachment.htm>
More information about the discussion
mailing list