I am trying to build Linux with flex-builder for our new board. The build crashes on not finding the DTB file in the correct folder. The DTB is generated down in the folder
flexbuild_lsdk2012\build\linux\kernel\arm64\LS\output\LSDK-20.12-V5.4\arch\arm64\boot\dts\freescale
But is not being copied to the folder
flexbuild_lsdk2012\build\linux\kernel\arm64\LS
If I manually copy the file, the the build completes. However, if I then try to boot Linux with the resultant ITB file, then it hangs on BMan.
Using the same ITB file, I can boot the ls1046ardb and it completes to a prompt. Comparing the boot messages of the two different boots, when my board is the target, then a bunch of stuff gets assigned the DMA which then later fails. On the ls1046ardb boot, this does not get assigned to DMA. Below are the differences.
**************************
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node qman-fqd, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000f8000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000fa000000, size 16 MiB
[ 0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id shared-dma-pool
[ 1.858118] bman-fbpr addr 0x0000000000000000 size 0x1000000
[ 1.864159] Bman err interrupt handler present
[ 1.868869] Can't get bman-portal@0 property 'cell-index'
[ 1.874318] Can't get bman-portal@10000 property 'cell-index'
[ 1.880116] Can't get bman-portal@20000 property 'cell-index'
[ 1.885913] Can't get bman-portal@30000 property 'cell-index'
[ 1.891710] Can't get bman-portal@40000 property 'cell-index'
[ 1.897507] Can't get bman-portal@50000 property 'cell-index'
[ 1.903303] Can't get bman-portal@60000 property 'cell-index'
[ 1.909099] Can't get bman-portal@70000 property 'cell-index'
[ 1.914895] Can't get bman-portal@80000 property 'cell-index'
[ 1.920692] Can't get bman-portal@90000 property 'cell-index'
[ 1.926490] No BMan portals available!
********************************************
Questions:
1. What additional script of Makefile do I need to modify to get it to copy the DTB file to the proper folder?
2. What is incorrect or missing in my configuration that I get this BMan error which hangs the boot?
Thanks.