NFS Mount Uboot environment for LS1043ardb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NFS Mount Uboot environment for LS1043ardb

1,648 Views
michelle
NXP Pro Support
NXP Pro Support

Has anyone tested NFS mount for filesystem using our SDK 0.5 for LS1043ardb?  If this did work, please share the u-boot environment for settings of the SECs and the kernel boot args (a print of uboot environment would be great!)...  Thanks!

Labels (1)
Tags (1)
2 Replies

1,345 Views
williamwatts
Contributor II

=> printenv
baudrate=115200
bootargs=root=/dev/nfs rw nfsroot=192.168.1.2:/home/bsanders/rootfs ip=192.168.1.3:192.168.1.2:192.168.1.2:255.255.255.0::eth0:off earlycon=uart8250,0x21c0500,115200 console=ttyS0,115200 rootdelay=5
bootcmd=cp.b $kernel_start $kernel_load $kernel_size && bootm $kernel_load
bootdelay=10
console=ttyAMA0,38400n8
eth1addr=00:04:9F:04:03:0E
eth2addr=00:04:9F:04:03:0F
eth3addr=00:04:9F:04:03:10
eth4addr=00:04:9F:04:03:11
eth5addr=00:04:9F:04:03:12
eth6addr=00:04:9F:04:03:13
ethact=FM1@DTSEC1
ethaddr=00:04:9F:04:03:0D
ethprime=FM1@DTSEC1
fdt_high=0xffffffffffffffff
fman_ucode=60300000
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
ipaddr=192.168.1.3
kernel_addr=0x100000
kernel_load=0x807f0000
kernel_size=0x1000000
kernel_start=0x61200000
loadaddr=0x80100000
ramdisk_addr=0x800000
ramdisk_size=0x2000000
serverip=192.168.1.2
stderr=serial
stdin=serial
stdout=serial

1,345 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Michelle Fleischer,

Please configure the following u-boot parameters according to your real environment.

=>setenv bootargs root=/dev/nfs rw nfsroot=<tftp_serverip>:<nfs_root_path> ip=<board_ipaddr>:<tftp_serverip>:<your_gatewayip>:<your_netmask>:<board_name>:<ethx>:off console=ttyS0,115200

=>saveenv

<ethx> is the port connected on the Linux boot network.

=>tftp a0000000 kernel.itb;

=>bootm a0000000

Note:

a. On the Linux host NFS server, add the following line in the file /etc/exports:

nfs_root_path board_ipaddress(rw,no_root_squash,async)

b. Restart the NFS service:

/etc/init.d/portmap restart

/etc/init.d/nfs-kernel-server restart


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------