Changes

Jump to: navigation, search

Boot sequence (Naon)

530 bytes added, 16:18, 14 December 2015
no edit summary
{{InfoBoxTop}}
{{AppliesToNaon}}
{{AppliesToDido}}
{{InfoBoxBottom}}
=== Default boot sequence ===
DM8148 DM814x provides several boot sequences selectable via BTMODE[4:0] bootstrap pins. In order to fully understand how boot work on Naon platform, please read [[Memory organization (Naon)|Memory organization]] first.
For a detailed explanation of DM814x/AM387x see their Technical Reference Manual (available from TI websize) at section chapter ''ROM Code Memory and Peripheral Booting''of [http://www.ti.com/lit/ug/sprugz8a/sprugz8b.pdf DM8148 Technical Reference Manual].
By default, Naon provides the following configuration:
# EMAC
Bootrom tries each boot mode in sequence and stops when it find finds a valid boot code.
Assuming that:
When MMC boot option is selected, bootrom looks for a valid boot sector on MMC1.
To properly program a SD/MMC card so it's recognized by bootrom, please follow [http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot#Setting_Up_Boot_Environment_on_SD_Card thisguide] guide from TI wiki.
In brief:
* user should have the first (if more that one is available) partition of MMC must be formatted as FAT12/16 or FAT32 (the partition should must also be marked as primary and active)* inside this partition there should must be a file named ''MLO'' which is the U-Boot 1st stage* with U-Boot 1st stage default option, there should also be a file name named ''u-boot'' (which is the second stage) and the ''uImage'' binary file (which is the kernel image)* the second partition of the MMC must be formatted as ext3 and must contain a plain root file system Once the system boots from the SD and U-Boot is running, the following commands can be launched from the U-Boot shell 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 0fatload mmc 0 81000000 uImagesetenv mmcargs 'setenv bootargs root=/dev/mmcblk0p2 rw'run mmcargs addip addcons addmembootm 81000000</pre>
==== NAND Booting ====
4,650
edits

Navigation menu