NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

AM35x EVM Boot from SD/MMC card

From Texas Instruments Wiki
Jump to: navigation, search

Content is no longer maintained and is being kept for reference only!

^ Up to main AM35x EVM Getting Started Guide Table of Contents

Follow the below steps for MMC boot on AM35x EVM

U-Boot Prompt Using MMC/SD CARD[edit]

  1. The MMC card will have to be formated to make it bootable, there are two options:
    • For a Linux host please follow the steps in SD/MMC format for OMAP3 boot to make the card bootable, for a more advanced dual partition card (where there is a boot partition and a Linux filesystem partition) please follow the steps here.
      Note: It is advised to follow the process for creating a bootable SD/MMC card under Linux for AM35x.
  2. Navigate to AM35x-OMAP35x-PSP-SDK-03.xx.xx.xx\images\boot-strap\am3517 where the file x-load.bin.ift exists, make a copy of this file and name it MLO.
  3. Now that the card is formatted copy the MLO file you just created and the u-boot file from AM35x-OMAP35x-PSP-SDK-03.xx.xx.xx\images\u-boot\am3517 on to the new FAT partition of the SD card.
    Note: Ensure that MLO binary is one of the first files copied as the ROM code scans only the initial FAT entries.
  4. Ensure Switch S7 is set with S7-1 and S7-4 in the ON position as described in Main Board S7 DIP Switch: Boot Modes.
  5. Power on the EVM and press enter to get a U-boot prompt.

Boot Using MMC/SD card[edit]

  1. To boot from the sdcard copy the kernel image(uImage) from the OMAP35x-PSP-SDK-##.##.##.##
  2. To boot the Linux kernel from MMC/SD card, set the mmcboot environment variable as follows (only an illustration - substitute with actual image path and load address for your system)
    AM3517_EVM # setenv mmcboot 'mmc init; fatload mmc 0 0x80000000 uImage; bootm 0x80000000'
    AM3517_EVM # saveenv

Booting from MMC using Ramdisk stored on MMC card[edit]

  1. In case of boot from MMC/SD card and using ramdisk image as the filesystem, first copy the Ramdisk image to the MMC/SD card from the OMAP35x-PSP-SDK-##.##.##.## and then set the mmcboot environment variable as follows (only an illustration -substitute with actual image path and load address for your system)
    AM3517_EVM # setenv mmcboot 'mmc init; fatload mmc 0 0x80000000 uImage; fatload mmc 0 0x81600000 ramdisk.gz; bootm 0x80000000'
    AM3517_EVM # setenv bootargs mem=256M console=ttyS2,115200n8 root=/dev/ram0 initrd=0x81600000,40M ramdisk_size=40960 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
    AM3517_EVM # saveenv
  2. Once setup, the mmcboot variable can be exercised as follows:
    AM3517_EVM # run mmcboot

    NOTE: All setenv commands should be entered on a single line. They are shown on multiple lines here for ease of reading. Once the Linux kernel boots, login as "root". No password is required.

Booting from MMC using Board’s NAND Flash File System[edit]

Make sure you have followed Flashing the Pre-built/rebuilt NAND Flash File System before proceeding with the boot procedure.

Set the following environment variables:

AM3517_EVM # setenv mmcboot 'mmc init; fatload mmc 0 0x80000000 uImage; bootm 0x80000000'
AM3517_EVM # setenv bootargs mem=256M console=ttyS2,115200n8 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2 
                          omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
AM3517_EVM # run mmcboot

NOTE: All setenv commands should be entered on a single line. They are shown on multiple lines here for ease of reading.

Booting from MMC Using NFS File System[edit]

Set the following environment variables:

AM3517_EVM # setenv mmcboot 'mmc init; fatload mmc 0 0x80000000 uImage; bootm 0x80000000'
AM3517_EVM # setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=dhcp  root=/dev/nfs nfsroot=<nfshost>:<rootpath>,nolock,   
                           mem=256M omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
AM3517_EVM # run mmcboot

NOTE: All setenv commands should be entered on a single line. They are shown on multiple lines here for ease of reading.

The <nfshost> shall be set to the ip address of the NFS host machine. The <rootpath> must match the filesystem that you set up on your workstation. For example, /home/<useracct>/workdir/filesys

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article AM35x EVM Boot from SD/MMC card here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article AM35x EVM Boot from SD/MMC card here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article AM35x EVM Boot from SD/MMC card here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article AM35x EVM Boot from SD/MMC card here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article AM35x EVM Boot from SD/MMC card here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM35x EVM Boot from SD/MMC card here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM35x EVM Boot from SD/MMC card here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article AM35x EVM Boot from SD/MMC card here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article AM35x EVM Boot from SD/MMC card here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity