Digi 9P 9360/9750 Set bootargs to be passed to the kernel, Download the kernel to RAM via Tftp

Models: 9P 9360/9750

1 75
Download 75 pages 46.92 Kb
Page 56
Image 56

#run boot_net

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.

#setenv bootargs nfsroot=$(serverip):$(nfspath) root=nfs ip=... console=...

#saveenv

Step 2: Download the kernel to RAM via TFTP

The following commands download the “/tftpboot/uImage-unc90” image to RAM memory

#tftp 20100000 uImage-unc90dev

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

#bootm 20100000

Remember that you must have the U-Boot network environment variables properly configured (ipaddr, serverip,...).

5 6

L x N E T E S U s e r ’ s G u i d e

Page 56
Image 56
Digi 9P 9360/9750 Set bootargs to be passed to the kernel, Download the kernel to RAM via Tftp, Launch the kernel from RAM