Changes

Jump to: navigation, search

Booting Linux Kernel

900 bytes added, 10:23, 24 April 2013
m
no edit summary
<pre>run net_nfs</pre>
 
== Booting from SD/MMC ==
 
When a bootable SD/microSD/MMC is available and the carrier board provides a SD/microSD/MMC slot, the system can boot from the card.
 
Assuming that:
 
* the first (if more that one is available) partition of MMC is formatted as FAT12/16 or FAT32, is marked as primary and is active
* the first partition contains, besides the ''MLO'' (U-Boot 1st stage) and u-boot.bin (U-Boot 2nd stage) files, the ''uImage'' file (which is the kernel image)
* the second partition is formatted as ext3 and contains a plain root file system
 
the following commands can be used to start the system reading the kernel from the card boot partition and mounting the root file system stored in the second partition (/dev/mmcblk0p2):
 
<pre>
mmc rescan 0
fatload mmc 0 81000000 uImage
setenv mmcargs 'setenv bootargs root=/dev/mmcblk0p2 rw'
run mmcargs addip addcons addmem
bootm 81000000
</pre>
== Automatic boot ==

Navigation menu