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.

AM3352: U-Boot hangs at "Loading Kernel..." for mainline

Part Number: AM3352

I have a custom AM3352 board that has a Microchip KSZ switch on it that I’m trying to get DSA to work with. I have an older 2019 u-boot/spl that I’ve been using on a couple AM3352 projects that I’ve found “just works.” I initially grabbed a 6.1 kernel from the TI BSP since that’s what I’ve always had the best luck with, everything boots up and is happy as can be, except the KSZ drivers don’t seem to work at all. kernel 6.6 and 6.7 have very significant revisions to these drivers.

Rootfs is a 12.1 minimal Debian from Robert Nelson's repo.

I first tried a mainline 6.6. I don’t care about the PRU, power management or the couple other things that won’t work, as long as I can get the KSZ switch going. I copied my defconfig from an existing and pulled in my devicetree, everything compiled smoothly, install my modules in my rootfs, u-boot hangs at “Loading Kernel…”

I scratched my head for a while and eventually came across Robert’s repo of patches and scripts and used that to download and patch 6.7, did my defconfig, devicetree, no issues compiling, same “Loading Kernel…” hang.

I’m at kind of a loss why 6.1 (TI BSP) works perfect but 6.6 (mainline) and 6.7 (RN) hang. Was there some change between those that I need to account for? Is my u-boot 2019 too old for 6.6 or 6.7? I’m stuck. Any suggestions are helpful.

I know the officially answer will be "we only support the BSP kernel" but I'm just looking for any differences between the BSP 6.1 and mainline to help me get it launched.