Stop the beagleboard from booting by pressing any key
printenv
print all the environment variables
print bootcmd
print the individual command value
setenv → change any variable
setenv ipaddr 192.168.1.11
when we print the ipaddr using printenv, it displays
printenv ipaddr
192.168.1.11
To remove the value to ipaddr, use the above but without argument
setenv ipaddr
saveenv
update the variable that are changed to flash.
boot
runs the default boot command
help or ?
Displays the available command
To erase the variables saved in nand
Nand erase 26000 2000
tftp
Loads a file from the network to ram
bootargs
It is the parameter passed to the Kernel during booting. Important parameter is the location of the rootfilesystem.
For finding the rootfs in the SD card 2nd partition it is given as
root=/dev/mmcblk0p2
If the rootfs is to be nfs mounted then
root=/dev/nfs
Which console you are going to use
console=ttyO0,115200n8
bootdelay
Time delay for booting the Kernel
bootm ${addr}
Address from which we can boot the uImage.
bootz ${addr}
Address from which we can boot the zImage.
imi {addr}
Gives the information at location 80000000
reset → Reboot the cpu.
No comments:
Post a Comment