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.

  • TI Thinks Resolved

AM5708: U-boot error message

Prodigy 250 points

Replies: 3

Views: 270

Part Number: AM5708

I have recently ported u-boot to 2018.01 from 2016.05 version. When I booted my custom board with new u-boot then I am getting following prints in MLO boot-up,

U-Boot SPL EDGE
DRA722-GP ES2.1
Trying to boot from MMC1
no pinctrl state for default mode
no pinctrl state for default mode
U-Boot: CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 : u-boot.img 
SPL: forcefully loading u-boot.img from primary partition!!
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img

How to solve these and will it cause any issues ?

Thanks,

Vivek Panchal

  • Hi Vivek,

    Make sure your dts file, located in arch/arm/dts/ uses the following definitions of the mmc pins:
    &dra7_pmx_core {
       mmc1_pins_default: mmc1_pins_default {
       pinctrl-single,pins = <

    And then later in the dts file in &mmc1 you should bind the pinmux settings to the corresponding MMC as follows:
    &mmc1 {
        status = "okay";

        pinctrl-names = "default";
        pinctrl-0 = <&mmc1_pins_default>;


    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • In reply to Yordan Kovachev:

    I have checked that and it is ok in my dts file. I debugged issue by further putting prints in to that function and below is my findings,

    Initially some properties is getting removed due to CONFIG_OF_SPL_REMOVE_PROPS config but i made it blank and now it is getting failed as below,

    U-Boot SPL EDGE
    DRA722-GP ES2.1
    Trying to boot from MMC1
    failed to get pinctrl node FDT_ERR_NOTFOUND.
    omap_hsmmc_get_pad_conf : 1760

    Now it could not find pinctrl-single,pins node where initially it could not locate "pinctrl-names" node due to that above config.

    Let me know in case of any more information needed.

    Thanks,
    Vivek
  • In reply to Vivek Panchal:

    Did you change your am57xx_evm.h file?

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

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.