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/AM3358: AM3358

Part Number: AM3358


Tool/software: Linux

Hi 

    I am using u-boot-2017 version for my custom am335x board . SD boot and NAND boot is working fine .512mb NAND  we are using.. 

1.NAND boot i was tested in uboot environment by giving commands manually. How to set in auto nand boot. i have writeen uEnv.txt in NAND.u-boot-env.

2.During NAND boot ,SD card is not detected ..  mmc info shows " "Card did not respond to voltage select! "

 My u-boot log is given below.

   

U-Boot SPL 2017.01-g5875b5f507 (May 30 2017 - 13:20:35)
Trying to boot from NAND
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

U-Boot 2017.01-g5875b5f507 (May 30 2017 - 13:20:35 +0530)

CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
NAND: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

In: ns16550_serial
Out: ns16550_serial
Err: ns16550_serial
<ethaddr> not set. Validating first E-fuse MAC
Net: No ethernet found.
Press SPACE to abort autoboot in 2 seconds
=> mmc info
Card did not respond to voltage select!

  • Hi Raji,

    1.NAND boot i was tested in uboot environment by giving commands manually. How to set in auto nand boot. i have writeen uEnv.txt in NAND.u-boot-env.

    You can hardcode the bootargs in uboot config in include/configs/am335x_evm.h NANDARGS

    Or else

    make sure in defconfig CONFIG_SYS_EXTRA_OPTIONS="NAND,ENV_IS_IN_NAND"

    It is required to set ENV_IS_IN_NAND for the uboot to read the uEnv.txt you stored in NAND.


    2. During NAND boot ,SD card is not detected .. mmc info shows " "Card did not respond to voltage select! "

    Check the difference in configuration and initialization between the two uboot configs specific to MMC. Looks like MMC controller is not enabled in NAND boot.

  • Hi
    Thanks .Nand autoboot is working fine . From run nandboot i can see kernel boot messages.. During autoboot ,after starting kernel ,it reaches linux prompt..

    I will check configuration for why sd card is not detected in nand boot.
    Regards
    Rajalakshmi A
  • Hi
    i fixed the kernel console issue .. I will check configuration for why sd card is not detected in nand boot.
    Regards
    Rajalakshmi A
  • Good to know. Mark his thread closed, if it has answered all your queries.