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: Custom Device Tree, SPL can't find serial driver

Part Number: AM4378
Other Parts Discussed in Thread: AM4372

Tool/software: Linux

When I try to boot my board using my custom device tree, the SPL fails and gets to the line:

panic_str("No serial driver found");

When I use the am437x-gp-evm device tree file, it loads the serial driver just fine and prints the U-boot output to minicom. I'm using uart0 for the serial console, and I'm pretty sure I have things set up the same way the EVM device tree file does it, so I'm not sure why it is failing.

In my .dts file, I have the stdout path set as follows:

chosen {
  stdout-path = &uart0;
};

And I configure the uart0 pins in the mux.c file, just like the EVM file does. Any ideas about what I am doing wrong?