This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HELP booting from micro SD

Other Parts Discussed in Thread: OMAP-L138

Hi,

We've developed a custom OMAP-L138 board. No flash device was incoorporated in the design, as everything in the documentation seemed to indicate that it was possible to boot from the SD card interface.

Attempting to boot linux, we realized that the methods available are all dependent on flashing a memory device with ubl, then using it to load u-boot... Is there no other way to boot Linux from an SD card?? We have no external memory device (other than the ddr2 ram) to flash.. The peripherals available for use are:

UART0 (through ft232 usb)

MicoSD

USB1.1/2.0

Ethernet

JTAG

Expansion: SPI, UART1, I2C, PWM..

Is there a way to place the UBL binary on the SD card and make the processor boot from there?.. Is there any hope for us to boot linux?

We're in dire need of help.

Thanks in advance!

-Koteich

  • I'm going to try to generate an AIS with a uboot image and copy it into a freshly formatted fat32 SD card (in order to place it in sector 0) to see if I can get the omap to load uboot directly from the SDcard.

    After that I need to insert a file system and a kernel image.. still not completely sure on how to do that yet.. maybe modify the SD card script in the evm sdk to insert AIS with uboot on the first partition it creates or something.. hmmm..

    I'll post an update here... all suggestions are welcomed!

    -Koteich

  • Koteich,

    Can you send me the following information? 

    1. Which is the exact silicon revision that you are using? 

    2. Which is the MMC/SD connector interface in L138 are you using? (MMC0 or MMC1)?

    3. What is the setting of BOOTCFG pins? 

  • Hi Renjith,

    1. L138B rev 2.1 (ROM d800k008)

    2. MMCSD0 (PINS: E9, A10, B10, A11, C10, E11)

    3. BOOT pins:

    I've tried formatting the sd card with the SDK, and then writing a modified u-boot AIS image to sector 0 with the dd if= of= command, with seek=10 to avoid overwriting the partition table... But nothing happens when I try to boot from the SD card.. no response what so ever (Just a slight increase in power consumption.. from 75 to 90 amps.. then back to 70~80 after a minute).. When I boot the same uboot image through UART boot mode, I still get no console(probably some wrong configs), but at least then I see that the ARM is doing some work because it's pulling more amps from my powersupply..

    Btw, I'm using UART0 for console purposes.. and my proccessor can run up 456Mhz (1.3V).. 256MB DDR2 (Micron 2Gb 128M16)..

  • Are you using the bootloaders with the serial console UART0 or UART2? In the EVM the serial console is directed to UART2. If you are using the same bootloaders without changing the UART to UART0, then this can happen. 

    Also if you remove the card and keep, are you observing the increase in the current consumption.

  • yes I've changed the code from UART2 to UART0... I tried looking everywhere I could in order to change this.. but maybe I'm missing something else that needs to be changed..

    I've configured the da850evm.h file.. are there any other files that need configuring?

  • Koteich,

    Can you check the following?

    1. Pinmux settings for UART0?

    2. Check whether UART0 is powered up in Power and Sleep Controller?