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.

AM5749: AM574x Custom board kernel failed to boot. Any hint on booting Log.

Part Number: AM5749

Hi Dear.

Board is custom board refer to AM574x IDK and some components are removed.

I download the TISDK_08_02_01_00 and install some libraries successfully to Ubuntu-18.04(64-LTS).

So some commands "make linux" or "make u-boot-spl" are work well with no error.

After upper commands I made a sd booting device(32GB) using this command "sudo bin/create-sdcard.sh".

Some warning message shows but completed successfully.

And then custom board boots but encountered booting error. (refer my previous thread)

So I change the u-boot source below two files three modifications.

1) ${TI_SDK}/board-support/${U-BOOT}/board/ti/am57xx/board.c : SEEPROM parameter set default

   void do_board_detect() {

      int rc;

      ti_i2c_eeprom_am_set("AM574IDK", "1.3A");  // added

      ...

   }

2)  ${TI_SDK}/board-support/${U-BOOT}/board/ti/am57xx/board.c : I have no LCD so set environment variable "idk_lcd=no"

   void am57x_idk_lcd_detect() {

      ...

      if (!board_is_ti_idk()) return;

      goto out;   // added

      ... // original codes

   }

3) ${TI_SDK}/board-support/${U-BOOT}/board/ti/common/board_detect.c : SEEPROM parameter setting

   int ti_i2c_eeprom_am_set(char *pszbd, char *pszrev) {

      ...

      ep->mac_addr[0][0] = 0x90;

      ...

already_set:

      return 0;

   }

I don't save the SEEPROM variables to serial EEPROM device. But I want to know how to save.

After this command("make u-boo-spl"). I copied to u-boot.img to sd-card.

And then power on my custom board.

It looks kernel booting started and I want to show Login prompt but met kernel error messages.

Can I get some advice?

Below is the booting messages and cut because of repetition.

Booting Error-20220925.txt

And what I more want to know is

1) How can I specify for using am574x-idk.dtb file?

2) After "make linux" command, how or what can I prepare for make a booting image.

Thanks.

  • Hi,

    I believe there is an issue with the MMC-SD. Could you try creating with a different SD card?

    - Keerthy

  • Thanks Keerthy.

    I used two 32GB SD-cards but similar errors.

    So I change the ${KERNEL}/arch/arm/boot/dts/am574x-idk.dts as like below, and opp_nom clock speed to 800MHz.

    After this modification custom board boots more(?) time.  :)

    Thanks.

    ============== am574x-idk ============

    &mmc1 {
     pinctrl-names = "default", "hs";
     pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
     pinctrl-1 = <&mmc1_pins_default_no_clk_pu>; /* pinctrl-1 = <&mmc1_pins_hs>; */
    };

    &mmc2 {
     pinctrl-names = "default", "hs", "ddr_3_3v";
     pinctrl-0 = <&mmc2_pins_default>;
     pinctrl-1 = <&mmc2_pins_default>;
     pinctrl-2 = <&mmc2_pins_default>;

  • Hi,

    Booting Error-20220925.txt

    Is this the complete logs? Does it ever come out of the loop and proceed further?

    After this modification custom board boots more(?) time.  :)

    I am little confused with the statement here. Are you saying that after the above modifications your board is booting fine always?

    Regards,
    Parth