Boot the system (Olimex SAM9-L9260) and mount the root filesystem from an NFS server ------------------------------------------------------------------------------------ # In U-boot configure IP-address for the board and the file server. setenv ipaddr 192.168.2.54 setenv serverip 192.168.2.53 setenv netmask 255.255.255.0 # Or use DHCP dhcp # Configure the kernel and enable: # TCP/IP networking # kernel level autoconfiguration, # NFS client support (not as a module) # Root file system on NFS. # Compile the kernel (make uImage). Install uImage as uImage-SAM9-L9260 in the tftp server directory tree. # Load the kernel from an tftp server tftpboot 0x22200000 192.168.2.53:uImage-SAM9-L9260 # Set bootargs. Note eth0 at the end. # The contents of this variable, bootargs, are passed to the Linux kernel as boot arguments (aka "command line"). # # # # ip=192.168.2.54:192.168.2.53:192.168.2.53:255.255.255.0:olimex:eth0:off # # Set IP address to 192.168.2.54 # Server address for the NFS server is 192.168.2.53 # default gateway is 192.168.2.1 # Netmask is 255.255.255.0 # The computers name is olimex # Use network device eth0 # off means "don't use autoconfiguration" setenv bootargs 'mem=64M root=/dev/nfs rw console=ttyS0,115200N8 nfsroot=192.168.2.53:/export/olimex/sam9l9260/root/,proto=tcp ip=192.168.2.54:192.168.2.53:192.168.2.1:255.255.255.0:olimex:eth0:off' # Alternative to the bootargs above. # Use dhcp for dynamic address. setenv bootargs 'mem=64M root=/dev/nfs rw console=ttyS0,115200N8 nfsroot=192.168.2.53:/export/olimex/sam9l9260/root/,proto=tcp ip=dhcp' # Boot the kernel bootm 0x22200000 Boot the system (Olimex SAM9-L9260) and mount the root filesystem from an initramfs file ------------------------------------------------------------------------------------ # DHCP address dhcp # or a static address, se above # Load the kernel from an tftp server tftpboot 0x22200000 192.168.2.53:uImage # Load initramfs from an tftp server tftpboot 0x22600000 192.168.2.53:initramfs.cpio.gz # Set bootargs. setenv bootargs 'mem=64M root=/dev/ram rw console=ttyS0,115200N8 ip=192.168.2.54:192.168.2.53:192.168.2.53:255.255.255.0:olimex:eth0:off' # Boot the system bootm 0x22200000 0x22600000