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/AM4378: after i change my custom board bevice tree file,my kernel was stopped here.

Part Number: AM4378


Tool/software: Linux

i have a custom board based on am437x-evm,i try using am437x-evm-gb.dtb file and zImage,i could get in kernel and rootfs without modify the kernel sourec file(from ti-sdk).but when i try to control the gpio pin on my board by /sys/class/gpio/ direction,i failed to do that without any error or waring,the gpio pin value still no change after i do sth,but i do the samething on the custom board kernel and dtb file given by the custom board manufacturer, i can success change the pin value.so i doublt the difference between my board and am437x-evm borad,so i try replacing am437x-evm-gp.dtb by my custom board dtb file,but the result as below

it hang out here Staring kernel

then i replaced am347x-evm-gp(zImage) by my board offical uImage file,as bellow

it's hang out here too,

why could cause these  appearance?it's unbelievable to me......

  • Hi,

    There are several reasons for this:
    1. The dtb is not correct, so u-boot can't load it and start the kernel.
    2. You use different uarts for debug console on u-boot and linux stages
    3. Check the load addresses in u-boot enironment.

    Try enabling the low level debug messages, to see if you'll get some more console output after starting kernel.

    Best Regards,
    Yordan
  • as you can see i can boot success with zImage and am437x-gp-evm.dtb(i build from ti-processor-sdk-linux-am437x-evm-03.02.00.05-Linux-x86-Install),and i can boot with uImage and myir_ricoboard.dtb(given by my custom board Manufacturer myir-co),but i can't boot success with zImage(given by ti) and myir_ricoboard.dtb(given by myir-co),or i can'y boot success with uImage(given by myir-co) and am437x-gp-evm.dtb(given by ti).

    and my custom board use uart0 as the debug console,is not am437x-evm-board?

    and the what's the meaning of your reply load addresses in u-boot enironment,is the dtb load address or the kernel load address??