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.

Have an example on how to flash a BeagleBone Black's eMMC with SDK 06.06?

Hi,

Made an SD card using the new 06.06 Sitara SDK which booted the BBB just fine. I tried copying the SD card to flash like this:

- The second partition  on eMMC was ext4, I redid it as ext3.

- compiled rsync (building software is pretty easy with the SDK)

- rsync'ed the boot and rootfs SD card partitions over to the corresponding eMMC partions

doing an "ls" looked like the files were copied.

But when I booted, I just got the "CCCCC" on the console that tells me that MLO u-boot didn't get picked up.

Do you have an example of how it really should be done?

Jimmy

  • Hi Jimmy,

    1. Extract the img.xz file you've downloaded.
    2. See the list of connected storage devices and find the connected microSD card: df -h
    3. Unmount that disk using the following command, but replacing the specifics with your card details: umount /dev/<your_sd_card_dev>
    4. Copy the image onto the SD card: sudo dd bs=1m if=<path_to_your_image_file> of=/dev/<your_sd_card_dev> (can take up to 30 minutes)
    5. Remove the microSD card, and plug it in the BeagleBone Black.
    6. With the BBB unpowered, press the "USER BOOT" button (S2 next to the microSD slot).
    7. With the "User Boot" button pressed, plug in the power and keep holding the button until you see the four LEDs light up for a few seconds.
    8. Release the button and the process of flashing the on-board eMMC chip will begin. It can take up to 45 minutes and after the process has completed all of the four LEDs will light up and stay on.
    9. Power down the BBB, remove the microSD card and power it up again.

    Best regards,
    Miroslav

  • Hi Miroslav,

    I followed all the below procedure

    1. Extract the img.xz file you've downloaded.
    2. See the list of connected storage devices and find the connected microSD card: df -h
    3. Unmount that disk using the following command, but replacing the specifics with your card details: umount /dev/<your_sd_card_dev>
    4. Copy the image onto the SD card: sudo dd bs=1m if=<path_to_your_image_file> of=/dev/<your_sd_card_dev> (can take up to 30 minutes)
    5. Remove the microSD card, and plug it in the BeagleBone Black.
    6. With the BBB unpowered, press the "USER BOOT" button (S2 next to the microSD slot).
    7. With the "User Boot" button pressed, plug in the power and keep holding the button until you see the four LEDs light up for a few seconds.
    8. Release the button and the process of flashing the on-board eMMC chip will begin. It can take up to 45 minutes and after the process has completed all of the four LEDs will light up and stay on.
    9. Power down the BBB, remove the microSD card and power it up again.


    my card is ready, it is working fine with beaglebone, but the same card will not work for beaglebone black, com port is not detecting,

    i have installed BONE_DRV.exeCDM v2.08.28 Certified for other drivers. 


    Thanks and Regards,

    Mohammed Asif.


  • No,

    Thank you, but these instructions are for loading the Angstrom based image from BeagleBone.org.

    I want to load the kernel and rootfs provided by the TI's Sitara SDK 06.00. - "ti-sdk-am335x-evm-06.00.00.00" that was just released

    Jimmy

  • Hi Jimmy,

    I was wondering if you found the solution.

    I'm also trying to flash my Beaglebone Black with what I built from the SDK.

    If I run it from SD-CARD everything works great but I am having some trouble transferring the SD-Card contents onto the eMMC.

    Sylvio

  • not yet - I can also boot from the card. I figured it was as easy as copying the u-boot and uImage from the boot disk onto the boot partition of the eMMC and then untar the stock rootfs onto the rootfs partition - just like the create-sdcard.sh script does. In fact, I did an "apt-get source util-linux" on my Ubuntu box and built sfdisk so I could do it exactly like the script. Like this:

    apt-get source util-linux
    cd util-linux-2.20.1/
    echo "scanf_cv_type_modifier=as"> config.cache
    ./configure --host=arm-linux --with-ncurses --enable-static-programs=sfdisk --cache-file=config.cache
    make

    Then the program "sfdisk.static" is in the fdisk folder.

    Anyway, I repartitioned, formated and copied the stuff onto the eMMC, but I am missing something, it wouldn't boot. This page http://eewiki.net/display/linuxonarm/BeagleBone+Black seems to imply that the uEnv.txt file needs to be different. OR maybe my board is having problems - I just tried reflashing it with the stock Angstrom image and that wouldn't boot either. I had put the Debian image from the above page onto the eMMC - maybe that did something? I am going to try to put the Debian image back on it and see if that boots. Fortunately since the new SDK uses Linaro, I expect software compiled with it to run on the Debian build. Just as long as the software you compile can use the new 3.8 kernel.

    Jimmy

  • Jimmy,

    Did you find a solution for flashing the TI SDK on BeagleBone Black? I tried editing the uEnv.txt to set the mmc to mmc 1, but it does not seem to work.

    I have no issue with the latest release, but that uses device trees. The TI SDK is based on the older Linux kernel that does not use device trees.

  • I had read this post in past, don't know it is applicable with latest SDK

    http://processors.wiki.ti.com/index.php/Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black