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.

am335x using SDK7 and it is not booting after u-boot....

Hi,

I have downloaded the SDK7 from TI site, and compiled the kernel and copied all the boot (MLO, U-boot, zImage) )and rootfs source under the sd-card. when i run this sd-card in my am335x-evm is not booting. It stuck at the before kernel. Please find my cursor held it here. where is the problem???.

For Kernel source i have compiled with the below steps:

---------------------------------------------------------------------------------------------

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- zImage

---------------------------------------------------------------------------------------------

U-Boot SPL 2013.10 (Jun 09 2015 - 15:15:02)

reading args

spl: error reading image args, err - -1

reading u-boot.img

reading u-boot.img

U-Boot 2013.10 (Jun 09 2015 - 15:15:02)

I2C:   ready

DRAM:  512 MiB

NAND:  256 MiB

MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

Net:   cpsw, usb_ether

Hit any key to stop autoboot:  0

reading zImage

4117616 bytes read in 258 ms (15.2 MiB/s)

Kernel image @ 0x80008000 [ 0x000000 - 0x3ed470 ]

Starting kernel ...

Regards,

Anil

  • Hi Anil,

    I will forward this to the SW team.

  • Hi Anil,

    The load address of your kernel image is wrong:
    Kernel image @ 0x80008000
    By default your kernel should be loaded from 0x80200000, see include/configs/am335x_evm.h:
    #define CONFIG_EXTRA_ENV_SETTINGS \
    "loadaddr=0x80200000\0" \
    "fdtaddr=0x80F80000\0" \
    "fdt_high=0xa0000000\0" \
    "boot_fdt=try\0" \
    "rdaddr=0x81000000\0" \
    "bootpart=0:2\0" \
    "bootdir=/boot\0" \
    "bootfile=zImage\0" \

    Can you please stop the boot process at u-boot level, execute the printenv command and post the output?

    Best Regards,
    Yordan
  • Hi Yordan,

    The boot-loader is OK, the same settings are in my am335x_evm..h.

    My problem got rectified due to environment settings. I am using NAND and SD-Card both environmental variables.

    that is what i am facing this error.Now my board is booting. 

    Thanks for the support.

    Regards,

    Anil