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.

Linux: Create bootable sd card issue

Other Parts Discussed in Thread: DM3730

Tool/software: Linux

I would like to create a SD card that builds kernel 4.4.32 using TI SDK (03.02.00.05) and can start Gumstix (Firestorm-Y).
I am referring to this page.
1. MLO
2.boot.scr
3.u-boot.img
4.zImage
5.rootfs
I understand that you need to prepare the above, where do I get 1 to 5?
Thanks.
  • Hi Jun,

    To create bootable SD card based on the AM335x TI PSDK3.02, refer to the below wiki page:

    processors.wiki.ti.com/.../Processor_SDK_Linux_Getting_Started_Guide
    processors.wiki.ti.com/.../Processor_SDK_Linux_create_SD_card_script

    Regards,
    Pavel
  • I created the SD card refer to the link, and got this error.
    Do I need "omap3-overo-storm-tobi.dtb" file ?

    ----------
    U-Boot 2014.10 (May 03 2015 - 17:02:47)

    OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
    Gumstix Overo board + LPDDR/NAND
    I2C: ready
    DRAM: 512 MiB
    NAND: 1024 MiB
    MMC: OMAP SD/MMC: 0
    NAND read from offset 240000 failed -74
    *** Warning - readenv() failed, using default environment

    Board revision: 4
    Direct connection on mmc2
    No EEPROM on expansion board
    Die ID #54ce00029ff800000158f12317038014
    Net: No ethernet found.
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    reading uImage
    ** Unable to read file uImage **
    3473800 bytes read in 248 ms (13.4 MiB/s)
    ** File not found /boot/omap3-overo-storm-tobi.dtb **
    Booting from nand ...

    NAND read: device 0 offset 0x280000, size 0x800000
    8388608 bytes read: OK
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    Booting from nand with DTS...
    UBI: attaching mtd1 to ubi0
    UBI: scanning is finished
    UBI: empty MTD device detected
    UBI: attached mtd1 (name "mtd=4", size 1013 MiB) to ubi0
    UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    UBI: VID header offset: 512 (aligned 512), data offset: 2048
    UBI: good PEBs: 8108, bad PEBs: 0, corrupted PEBs: 0
    UBI: user volume: 0, internal volumes: 1, max. volumes count: 128
    UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 0
    UBI: available PEBs: 7944, total reserved PEBs: 164, PEBs reserved for bad PEB handling: 160
    Error reading superblock on volume 'ubi0:rootfs' errno=-19!
    ubifsmount - mount UBIFS volume

    Usage:
    ubifsmount <volume-name>
    - mount 'volume-name' volume
    UBIFS not mounted, use ubifs mount to mount volume first!
    ubifsload - load file from an UBIFS filesystem

    Usage:
    ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
    UBIFS not mounted, use ubifs mount to mount volume first!
    ubifsload - load file from an UBIFS filesystem

    Usage:
    ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
    Bad Linux ARM zImage magic!
    Overo #
  • Jun,

    Which device you are using actually? Is it AM335x or OMAP36x?

    For AM335x device, you do not need omap3-overo-storm-tobi.dtb file. Just make sure you are using the correct AM335x TI PSDK v3.02:

    software-dl.ti.com/.../index_FDS.html

    If possible, it is better to switch to the latest AM335x TI PSDK v4.01 (kernel 4.9.41):

    software-dl.ti.com/.../index_FDS.html

    Regards,
    Pavel
  • My device is OMAP36x.

    Thanks.

  • Jun Yoshida said:
    I would like to create a SD card that builds kernel 4.4.32 using TI SDK (03.02.00.05)

    From where you get this TI SDK for OMAP36x? In TI site, I am not able to find OMAP36x SDK.

    The only info for OMAP36x I was able to find, is regarding TI Zoom board:

    Regards,
    Pavel

  • Jun,

    This is AM335x SDK, you can NOT use it for OMAP36x device.

    Can you provide more info regarding your OMAP36x board? Is it custom board or TI board or 3rd party board?

    Regards,
    Pavel
  • Jun,

    The link you have provided is for 3rd party board, Gumstix Overo FireSTORM-Y Computer-On-Module. From the description of this board, I see it is with TI DM3730 device, not with OMAP36x device, see "Details" tab:

    Texas Instruments DM3730 Applications Processor: 1GHz ARM Cortex-A8 DaVinci DM3730 high-performance microprocessor. Includes a 720p HD DSP imaging and video accelerator and PowerVR SGX graphics accelerator with Open GL ES 2.0 and OpenVG support. The DM3730 has been designed to provide best in class ARM and graphics performance while delivering low power consumption.

    The latest TI SDK for DM37x boards is DVSDK v4.03, it comes with kernel 2.6.37:

     

    This TI DVSDK by default support DM37x TI EVM (link below), thus you should port it for Gumstix board, if you need to use that TI DVSDK.

     

    Another option is to use the Gumstix SW, which is based on kernel 3.17. You can find that SW in the "Software" tab inside the link you have provided.

    From where to get Gumstix SW (which should run by default on this board, no need to port it), how to build that SW and how to create boot-able SD card with that SW, you should check with the Gumstix support team, refer to the below link:

    Regards,
    Pavel

  • Pavel Botev san

    I use gumstix software with yocto.

    Thanks.