[U-Boot-Users] Help U-Boot NFS filesystem. (Flash error! maybe I need wait my next board)

muqiyong kylongmu at msn.com
Sat Jun 10 05:18:58 CEST 2006


> > 	I tried with your way, it's not work.>
> 
> Of course not. The boot arguments is only ONE of things you  have  to
> fix. The uninitialized MAC address is still unfixed:
> 
> ...
> > at91_ether: Your bootloader did not configure a MAC address.
> > eth0: Link down.
> > eth0: AT91 ethernet at 0xfefbc000 int=24 10-HalfDuplex
(00:00:00:00:00:00)
> 
> You won't make any progress until you fix this, too.
> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
Dear Denk,
	Thanks for your help, and I do not make any progress till now.
Because during my test, my flash error!
	Because Atmel suggest with AT49BV322 or AT49BV642 to replace
AT49BV6416,
I modified the "flash.c" "flash.h" to support it. And my board with
AT49BV322DT,
This is top boot flash, and it work after modify the flash driver of uboot.
But it failed today, it looks like the Sector failed, but the second Sector
Can work still.
	Or should I use Bottom boot FLASH?
-------------------------------------------------------------------------
U-Boot> protect off 10040000 1006ffff

Un-Protected 3 sectors
U-Boot> fli

Bank # 1: Atmel: AT49BV322DT (32Mbit)
  Size: 4 MB in 71 Sectors
  Sector Start Addresses:
    10000000 (RO) 10010000 (RO) 10020000      10030000      10040000     
    10050000      10060000      10070000      10080000      10090000     
    100A0000      100B0000      100C0000      100D0000      100E0000     
    100F0000      10100000      10110000      10120000      10130000     
    10140000      10150000      10160000      10170000      10180000     
    10190000      101A0000      101B0000      101C0000      101D0000     
    101E0000      101F0000      10200000      10210000      10220000     
    10230000      10240000      10250000      10260000      10270000     
    10280000      10290000      102A0000      102B0000      102C0000     
    102D0000      102E0000      102F0000      10300000      10310000     
    10320000      10330000      10340000      10350000      10360000     
    10370000      10380000      10390000      103A0000      103B0000     
    103C0000      103D0000      103E0000      103F0000      103F2000     
    103F4000      103F6000      103F8000      103FA000      103FC000     
    103FE000    
U-Boot> erase 10040000 1006ffff

Erasing sector  4 ... ok.
Erasing sector  5 ... ok.
Erasing sector  6 ... ok.
Erased 3 sectors
U-Boot> cp.b 21000000 10040000 ffff

Copy to Flash... Flash not Erased
U-Boot> 

U-Boot> cp.b 21000000 10050000 ffff

Copy to Flash... Flash not Erased
U-Boot> 
U-Boot> cp.b 21000000 103fc000 fff

Copy to Flash... done
U-Boot> md 103fc000

103fc000: a502430e 640a022e 0410000b 81188192    .C.....d........
103fc010: 04024822 24624240 0810a000 28801080    "H.. at Bb$.......(
103fc020: f8502400 04a00446 1c140808 88000100    .$P.F...........
103fc030: 13200004 00640611 00c49000 00191182    .. ...d.........
103fc040: 00800022 44460520 00844292 a0998480    "... .FD.B......
103fc050: 4008a080 41040401 c800100c 01808000    ... at ...A........
103fc060: 71ae44f2 42022020 30004000 90000b8d    .D.q  .B. at .0....
103fc070: 00212701 0a004226 9380810c 04989110    .'!.&B..........
103fc080: 00408101 49220133 a0000105 13408910    .. at .3."I...... at .
103fc090: 062ec000 00624006 80214828 10000018    ..... at b.(H!.....
103fc0a0: 2000a042 8020cc80 48188391 840d5018    B.. .. ....H.P..
103fc0b0: 40001018 dc220202 5010901b 01960552    ... at .."....PR...
103fc0c0: 14800143 06030600 98140919 00000c10    C...............
103fc0d0: 002e0010 00607420 80108929 98102800    .... t`.)....(..
103fc0e0: 6480e681 00082c24 08200881 100c9800    ...d$,.... .....
103fc0f0: 40842341 4d2185c7 09058988 80000941    A#. at ..!M....A...
U-Boot> md 21000000

21000000: a502430e 640a022e 0410000b 81188192    .C.....d........
21000010: 04024822 24624240 0810a000 28801080    "H.. at Bb$.......(
21000020: f8502400 04a00446 1c140808 88000100    .$P.F...........
21000030: 13200004 00640611 00c49000 00191182    .. ...d.........
21000040: 00800022 44460520 00844292 a0998480    "... .FD.B......
21000050: 4008a080 41040401 c800100c 01808000    ... at ...A........
21000060: 71ae44f2 42022020 30004000 90000b8d    .D.q  .B. at .0....
21000070: 00212701 0a004226 9380810c 04989110    .'!.&B..........
21000080: 00408101 49220133 a0000105 13408910    .. at .3."I...... at .
21000090: 062ec000 00624006 80214828 10000018    ..... at b.(H!.....
210000a0: 2000a042 8020cc80 48188391 840d5018    B.. .. ....H.P..
210000b0: 40001018 dc220202 5010901b 01960552    ... at .."....PR...
210000c0: 14800143 06030600 98140919 00000c10    C...............
210000d0: 002e0010 00607420 80108929 98102800    .... t`.)....(..
210000e0: 6480e681 00082c24 08200881 100c9800    ...d$,.... .....
210000f0: 40842341 4d2185c7 09058988 80000941    A#. at ..!M....A...





More information about the U-Boot mailing list