Digi 9P 9360/9750 Manuel D’Utilisation

Page de 75
5 6  
 
L x N E T E S   U s e r ’ s   G u i d e
This script does three steps (that you can also do manually):
Step 1: Set bootargs to be passed to the kernel
The environmental variable bootargs must be updated to tell Linux that the rootfs is taken 
via NFS. To manually do this enter the following commands (it is supposed that the 
network variables serverip and nfspath have been already set). The values for ip and 
console have to be filled depending on the platform.
Step 2: Download the kernel to RAM via TFTP
The following commands download the “/tftpboot/uImage-unc90” image to RAM 
memory
Step 3: Launch the kernel from RAM
Now that the kernel image has been downloaded to RAM, we can execute Linux with the 
following command
#
run boot_net
 
#
setenv bootargs nfsroot=$(serverip):$(nfspath) root=nfs ip=... console=...
 
#
saveenv
 
#
tftp 20100000 uImage-unc90dev
 
#
bootm 20100000
 
Remember that you must have the U-Boot network environment variables properly 
configured (ipaddr, serverip,...)
.