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.

  • Resolved

TDA4VM: Regarding boot up of custom board with new SDK 07 and patch

Expert 1350 points

Replies: 35

Views: 415

Part Number: TDA4VM

Dear TI,

I have following error during the boot with custom board using SDK 07, please see the attachment. Can you please help me to figure out which DT has the issue ?

Also, I found a small error related to make u-boot which is in the rules .make , in "arm-none-linux-gnueabihf" you have missing none word which fails the make.

# Add CROSS_COMPILE and UBOOT_MACHINE for the R5
export CROSS_COMPILE_ARMV7=$(LINUX_DEVKIT_PATH)/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-
UBOOT_MACHINE_R5=j721e_evm_r5_config



Regards

Manish

  • Hi Manish,

    7.0 has issues with make u-boot: https://e2e.ti.com/support/processors/f/791/t/916950
    The solution from you is absolutely the right fix for make u-boot.

    There are couple of harmless warnings/errors in sdk-install.sh. All are captured in the above e2e Link.

    Coming to the errors with boot. Have you ported all the patches needed for your custom board from
    older 6.02 release to 7.0? May i know what all changes you had done to get Linux on 6.02 SDK on your custom board?


    Best Regards,
    Keerthy

  • In reply to Keerthy J:

    Hi Keerthy,

    I am attaching the patches for Linux and U-boot.

    With the attachments above do you think U-Boot prompt stage passes ? I had to add all the changes manually.ZF_Modifications_linux_new_SDK.txtZF_Modifications_u-boot_new_SDK.txt

  • In reply to Manish Ahlawat:

    Hi Manish,

    There are multiple changes in your u-boot. Have you tried doing make u-boot and tried
    booting them on your custom board?

    - Keerthy

  • In reply to Keerthy J:

    Hi Keerthy,

    It doesn't get stuck in u-boot actually it has entered kernel boot already if you see the picture from the boot. I did u-boot make and attached is the log.make_u-boot_log.txt

  • In reply to Manish Ahlawat:

    Hi Manish,

    Could you share working logs of kernel you had on 6.02 release? Had you seen similar issues on 6.02?
    That will be helpful. Also please share the text file of the current logs.

    Best Regards,
    Keerthy

  • In reply to Keerthy J:

    Hi Keerthy,

    Please find attached the logs.

    Regards

    Manishlog_06.txtlog_07.txt

  • In reply to Manish Ahlawat:

    Manish,

    Can you experiment with keeping 6.02 u-boot binaries and try to have the 7.0 Kernel/dtb.
    Just to check if latest u-boot is having issues. One of the binaries may be overwritten. Just
    to rule that out.

    Best Regards,
    Keerthy

  • In reply to Keerthy J:

    Hi Keerthy,

    I would like to confirm here, what you mean is transferring k3-j721e-common-proc-board.dtb from version 7 into SD card boot folder for version 6 , right ?: 

     sudo cp board-support/linux-4.19.94+gitAUTOINC+5a23bc00e0-g5a23bc00e0/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dtb /media/user/rootfs/boot/

    Regards

    Manish

  • In reply to Manish Ahlawat:

    Manish,

    k3-j721e-common-proc-board.dtb & also the Image(kerrnel) of 7.0 to 6.02 card.

    Regards,
    Keerthy

  • In reply to Keerthy J:

    Hi Keerthy,

    The log looks the same so issue is in dtb. changed both Image and dtb file.see the attachment.log_with06_07dtbs.txt

    Regards

    Manish

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.