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.

Beaglebone Black hardware

Other Parts Discussed in Thread: AM3358

Hi,

I am currently making a hardware board with reference to Beaglebone Black. The entire BBB schematic is duplicated and linked with other components on a single PCB board. All parts are directly other from suppliers. 

However, after the board is assembled, it is not able to boot any Linux OS, neither from SD or USB.

I have tried to load a sample demoLEDblink program into SD card and it works.

May I know why Linux is not booting or is there preparation work to be done for the AM3358 CPU?

Thank you!

Xavier

  • Hi Xavier,

    Which linux SDK version are you using?

    How do you build your u-boot? The procedure for booting BBB from sd card is:
    export ARCH=arm
    export PATH=path/to/TI-SDK/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
    export CROSS_COMPILE=arm-linux-gnueabihf-
    make distclean
    make am335x_evm_config
    make

    Best Regards,
    Yordan
  • Hi Yordan,

    Thank you for your reply.

    If I understand your question correctly, I am not building a customized image. I am using official released debian image to make a bootable SD card. The card has been verified working with BBB device but our customized hardware is not able to boot the image.

    Thank you.

    Xavier
  • Hi Xavier, 

    In your HW, are you using DDR chip exactly the same as in BBB?

    If yes, I suggest you take this porting process step by step.
    1. Download the TISDK from software-dl.ti.com/.../index_FDS.html or mainline u-boot.
    2. Build only the u-boot as I described above
    3. Create the sdcard, by using:
    cd ~/ti-processor-sdk-linux-am335x-evm-02.00.00.00
    sudo ./bin/create-sdcard.sh
    Instructions for creating the sdcard & working with the TISDK are presented here:
    processors.wiki.ti.com/.../Processor_SDK_Linux_Software_Developer’s_Guide

    4. Copy your freshly built u-boot in the boot partition of the sdcard & try to boot your board.

    Best Regards,
    Yordan

  • Hi Yordan,

    Thank you very much for your help!

    I followed your steps with some twisting, eventually I got the uboot loaded with error message:

    If I am not mistaken, this is due to the fact that I have an empty rootfs. 

    Can you advise me how can I proceed to integrate the newly generated uboot with my exiting development Debian image?

    Thank you!

    Best regards,

    Xavier

  • This is because, your board does not have the ID written in EEPROM.
    You should remove the magic number checks from u-boot source code & rbuild it OR program your EEPROM. Refer to the following post:
    e2e.ti.com/.../308033

    Best Regards,
    Yordan
  • Hi Yordan,

    After few days of trying, I finally managed to get the cloned board working.

    As you pointed out, the primary issue is the EEPROM. I was using the mainline u-boot and applied two patches, which one of them bypasses checking the magic number. In the end, I managed to program the EEPROM in u-boot and now also my exiting os can run on the board without issue.

    Thank you.

    Best regards,
    Xavier