NOTICE: The Processors Wiki will End-of-Life in December of 2020. 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.

OMAP35x DVEVM Boot from SD/MMC card

From Texas Instruments Wiki
Jump to: navigation, search

^ Up to main OMAP35x DVEVM Getting Started Guide Table of Contents

Follow the below steps for MMC boot on OMAP3

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

  1. The MMC card will have to be formated to make it bootable. Note: Refer http://www.sysanalyser.com/sp27213.exe for utility to format the card to make it Bootable with OMAP3.
  2. For formatting using Linux please follow the steps in SD/MMC_format_for_OMAP3_boot for formatting the SD/MMC card for OMAP3 Boot. Note: It is advised to follow the process for creating a bootable SD/MMC card under Linux compatible with OMAP3
  3. Navigate to OMAP35x-PSP-SDK-xx.xx.xx.xx\images\boot-strap where the file x-load.bin.ift exists, make a copy of this file and name it MLO.
  4. Once you have formatted the card copy the MLO and u-boot files from the OMAP35x-PSP-SDK-##.##.##.## release.
  5. Ensure SW4 is set as described in Section Main Board SW4
  6. 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)
    OMAP3EVM# setenv mmcboot 'mmc init; fatload mmc 0:1 0x80000000 uImage; bootm 0x80000000'
    OMAP3EVM# 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 opy 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)
    For DVSDK Releases from 3.00.00.36 upto and including 3.00.01.42, use the following bootargs:
    OMAP3EVM# setenv mmcboot 'mmc init; fatload mmc 0 0x80000000 uImage; fatload mmc 0 0x81600000 ramdisk.gz; bootm 0x80000000'
    OMAP3EVM# setenv bootargs mem=88M console=ttyS0,115200n8 root=/dev/ram0 initrd=0x81600000,16M ramdisk_size=40960 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
    OMAP3EVM# saveenv

    For DVSDK release 3.00.02.44, use the following bootargs:

    OMAP3EVM# setenv mmcboot 'mmc init; fatload mmc 0 0x80000000 uImage; fatload mmc 0 0x81600000 ramdisk.gz; bootm 0x80000000'
    OMAP3EVM# setenv bootargs mem=99M console=ttyS0,115200n8 root=/dev/ram0 initrd=0x81600000,16M mpurate=600 ramdisk_size=40960 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
    OMAP3EVM# saveenv
  2. Once setup, the mmcboot variable can be exercised as follows:
    OMAP3EVM# 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, irrespective of Micron NAND or Samsung NAND EVM:

For DVSDK Releases from 3.00.00.36 upto and including 3.00.01.42, use the following bootargs:

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

For DVSDK release 3.00.02.44, use the following bootargs:

OMAP3EVM# setenv mmcboot 'mmc init; fatload mmc 0:1 0x80000000 uImage; bootm 0x80000000'
OMAP3EVM # setenv bootargs mem=99M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2 
                          mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
OMAP3EVM# 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, irrespective of Micron NAND sor Samsung NAND EVM:

For DVSDK Releases from 3.00.00.36 up to and including 3.00.01.42, use the following bootargs:

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

For DVSDK release 3.00.02.44, use the following bootargs:

OMAP3EVM # setenv mmcboot 'mmc init; fatload mmc 0:1 0x80000000 uImage; bootm 0x80000000'
OMAP3EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp  root=/dev/nfs nfsroot=<nfshost>:<rootpath>,nolock, mpurate=600  
                           mem=99M omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
OMAP3EVM # 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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 OMAP35x DVEVM 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