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: AM335x kernel boot issue



Tool/software: Linux

Hello everyone, I am using the am335x-evm-linux-sdk-src-04.03.00.05 source package, compile the 4.9.69 kernel with the following commands respectively.
Make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am335x-evm_defconfig
Make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-evm.dtb
Make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage LOADADDR=0x82000000
Copy the uImage and am335x-evm.dtb files to the sd card.
But when the sd card starts, it is stuck in the Starting kernel. 
The following is my related information

uart output is console=ttyO0,115200n8,

uEnv.txt 

bootargs=console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 mem=512M coherent_pool=8M rootwait loglevel=20

bootcmd=fatls mmc 0; fatload mmc 0 0x82000000 uImage;fatload mmc 0 0x80F80000 am335x-evm.dtb;bootm 0x82000000 - 0x80F80000

uenvcmd=fatls mmc 0; fatload mmc 0 0x82000000 uImage;fatload mmc 0 0x80F80000 am335x-evm.dtb;bootm 0x82000000 - 0x80F80000

What are the reasons for this?

  • Hi Qi Fu,

    I'm seeing in your attached booting log you are using very old uboot release. I suggest you to follow the Linux SD card creation guide at:
    software-dl.ti.com/.../Overview.html
    which will help you to flash not only the kernel but uboot, device tree, modules and file system. If you boot from this sd card I expect to have kernel console output. Then you can check the right console tty configuration but I suspect it should be console=ttyO2,115200n8.

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin Shulev,
    thanks for your replay.
    I made a mistake about pinmux reuse.
  • hi everyone,

    I used ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install, create-sdcard.sh in linux 3.2.0 to create an SD card, which is divided into two partitions, which can be run and mounted. File system,
    However, I used the TI-processor-SDK-Linux am335x-EVM-04.03.00.05 to install create-sdcard.sh to re-create the SD card, always fail, MLO, uboot.img can not be started, always print CCCCC, during the production process The following prompt appears

    /dev/sdb1 no such file or directory?what's mean?

  • Must be done in strict accordance with the instructions