IMX51BBG Uboot configuration with NFS

setenv bootdelay 3
setenv netdev eth0
setenv ethprime FEC0
setenv uboot_addr 0xa0000000
setenv uboot u-boot.bin
setenv kernel uImage
setenv rd_loadaddr 0x90B00000
setenv bootcmd_net ‘run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm’
setenv bootcmd_android ‘run bootargs_base bootargs_android; mmcinit;cp.b 0x100000 ${loadaddr} 0x250000; cp.b 0x400000 ${rd_loadaddr} 0x4B000; bootm ${loadaddr} ${rd_loadaddr}’
setenv prg_uboot ‘tftpboot ${loadaddr} ${uboot}; protect off ${uboot_addr} 0xa003ffff; erase ${uboot_addr} 0xa003ffff; cp.b ${loadaddr} ${uboot_addr} ${filesize}; setenv filesize; saveenv’
setenv ethact FEC0
setenv ethaddr 00:04:9f:00:e4:d3
setenv bootcmd_nfs ‘run bootargs_base bootargs_android bootargs_nfs; bootm’
setenv bootargs_base ‘setenv bootargs console=ttymxc0,115200’
setenv bootargs_nfs ‘setenv bootargs ${bootargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}:${nfsroot},v3,tcp’
setenv loadaddr 0x90800000
setenv bootfile uImage
setenv bootcmd ‘run bootcmd_nfs’
setenv nfsroot ‘/tftpboot/rootfs’
setenv filesize 21F334
setenv fileaddr 90800000
setenv gatewayip
setenv ipaddr
setenv serverip
setenv bootargs_android ‘setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 video=mxcfb:1024x768M-16@60’
setenv bootargs ‘init=/init androidboot.console=ttymxc0 video=mxcfb:1024x768M-16@60 ip=dhcp root=/dev/nfs nfsroot=,v3,tcp’
setenv stdin serial
setenv stdout serial
setenv stderr serial

  1. #1 by Hester on April 1, 2013 - 2:21 pm

    We’re a gaggle of volunteers and starting a new scheme in our community. Your website offered us with useful info to paintings on. You’ve
    done an impressive job and our entire community shall be grateful to

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: