We have a custom board with an ls1046a that I have been struggling to get Linux running on for several months. I have tried nearly every branch of Linux available in the github archives for lsdk. The version that gets furthest through the boot process is the 5.4.47 branch.
Our board does not have any native ethernet ports using the fman facilities, but we do want to support networking expansion cards via USB and PCIe. It is not clear to me what options I need in the .dts file to allow this. As it stands, Linux 5.4.47 boots normally until it reaches the following statements, after which it hangs:
[ 1.870489] bman-fpbr addr 0x0000000000000000 size 0x1000000
[ 1.876537] Bman err interrupt handler present
[ 1.881248] Can't get bman-portal@0 property 'cell-index'
[ 1.886704] Can't get bman-portal@10000 property 'cell-index'
[ 1.892509] Can't get bman-portal@20000 property 'cell-index'
[ 1.898327] Can't get bman-portal@30000 property 'cell-index'
[ 1.904137] Can't get bman-portal@40000 property 'cell-index'
[ 1.909942] Can't get bman-portal@50000 property 'cell-index'
[ 1.915747] Can't get bman-portal@60000 property 'cell-index'
[ 1.921551] Can't get bman-portal@70000 property 'cell-index'
[ 1.927356] Can't get bman-portal@80000 property 'cell-index'
[ 1.933160] Can't get bman-portal@90000 property 'cell-index'
[ 1.938953] No Bman portals available!
After this point, the everything just hangs. I have no idea what the CPU is doing, but it doesn't appear to be executing kernel code any longer, and the synchronous exception handler is never triggered.
We are using the standard fsl-ls1046a.dtsi file that comes with the 5.4.47 lsdk distribution, with the attached .dts file for our board. I have also attached the .config that we are compiling against, which was created simply by doing a "make defconfig lsdk" after a pristine clone of the github branch.
Can someone suggest what might be going on, and what I need to modify to get this to work properly? We are not concerned with security in this project, so we do not need a trusted architecture. I have not currently loaded any special firmware, as there does not appear to be a need for it. Please let me know if I have misunderstood or overlooked something.
Thank you for any assistance.