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.

PROCESSOR-SDK-AM335X: U-Boot in AM335x

Part Number: PROCESSOR-SDK-AM335X

After making the pinmux changes in the .dts file, how to recompile the kernel and the device tree source using the following commands.

step1 : Add the PATH environment variable. 

step2 : kernel sources are clean.

step3 : i have changed led name and pin mux in file of am335x-evmsk.dts.

These steps are completed.

step4 : Then device tree is not compiled. As show in below figure.

  • Hello Harshad,

    You need to run the make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-evmsk.dtb and the other commands from the kernel's top (linux-4.14.79+gitAUTOINC+bde58ab01e-gbde58ab01e) directory or use the Top-Level Makefile and run make linux-dtbs && make linux && make u-boot commands from the Processor SDK's top (ti-processor-sdk-linux-am335x-evm-05.02.00.10) level directory. You can also check this thread for more details.

    cd ~/ti-processor-sdk-linux-am335x-evm-05.02.00.10/board-support/linux-4.14.79+gitAUTOINC+bde58ab01e-gbde58ab01e/
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-evmsk.dtb

    cd ~/ti-processor-sdk-linux-am335x-evm-05.02.00.10/
    make linux-dtbs && make linux && make u-boot

    Best regards,
    Kemal

  • But there is some directory issue.

    can't find opensslv.h file.

  • Hello Harshad,

    Please, run sudo apt-get install libssl1.0-dev or sudo apt-get install libssl-dev commands to fix this issue.

    Best regards,
    Kemal

  • Thanks for the reply.
    Directory issue is solved. but still is get some warning like,

    arch/arm/boot/dts/am335x-evmsk.dtb: Warning (phys_property): Missing property '#phy-cells' in node /ocp/usb@47400000/usb-phy@47401300 or bad phandle (referred from /ocp/usb@47400000/usb@47401000:phys[0])
    arch/arm/boot/dts/am335x-evmsk.dtb: Warning (phys_property): Missing property '#phy-cells' in node /ocp/usb@47400000/usb-phy@47401b00 or bad phandle (referred from /ocp/usb@47400000/usb@47401800:phys[0])
  • This warning is expected to be seen while building.