[U-Boot-Users] NFS support patch

Steven Scholz steven.scholz at imc-berlin.de
Tue Feb 24 17:37:09 CET 2004


Masami Komiya wrote:

> I uploaded NFS support patch to my web site.
> 
> http://www.sonare.it/u-boot/u-boot-nfs.patch.gz
> 
> If you are interested in, please evaluate.
> 
> The most part of this is taken from etherboot.
> 
> To use NFS support, add the definition CFG_CMD_NFS
> to CONFIG_COMMANDS defined in the configration file
> of your board.

I tried it but it does not work on my ARM (AT91RM9200) board:

multiIO> nfs 0x20500000 10.0.2.9:/opt/eldk/arm_920TDI/uImage
File transfer via NFS from server 10.0.2.9; our IP address is 10.0.9.155
Filename '/opt/eldk/arm_920TDI/uImage'.
Load address: 0x20500000
Loading: #################################################################
         #############################################
done
Bytes transferred = 560892 (88efc hex)

Fair enough so far. The length is correct. But apparently I did not
get the correct data:

multiIO> md.w 0x20500000
20500000: 0500 4c89 3b40 5f7c 0000 0000 3b40 b77a    ...L@;|_....@;z.
20500010: 0000 0000 3b40 b77a 0000 0000 ffff ffff    ....@;z.........
20500020: ffff ffff ffff ffff ffff ffff ffff ffff    ................
20500030: ffff ffff ffff ffff ffff ffff ffff ffff    ................
20500040: ffff ffff ffff ffff ffff ffff ffff ffff    ................
20500050: ffff ffff ffff ffff ffff ffff ffff ffff    ................
20500060: ffff ffff ffff ffff ffff ffff ffff ffff    ................
20500070: ffff ffff ffff ffff ffff ffff ffff ffff    ................

But it should look like this:

scholz at Pinguin:/opt/eldk/arm_920TDI> hexdump uImage | head
0000000 0527 5619 1fb4 eeca 1640 146c 0800 bc8e
0000010 0020 0080 0020 0080 455f 8430 0205 0102
0000020 0000 0000 0000 0000 0000 0000 0000 0000
*
0000040 8b1f 0808 6c13 4016 0302 696c 756e 2e78
0000050 6962 006e bdec 7c0d 555c 3f99 ee7e a4bc
0000060 6493 dc9a 1264 6d08 b7a0 806d 0180 da6e
0000070 a100 74a6 8b4a 5b54 da65 a806 3558 d140

What's the problem?

-- 
Steven Scholz

imc Measurement & Control               imc Me?systeme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland





More information about the U-Boot mailing list