08-12-2018 12:32 PM
Based on the xilinx-v2017.3 u-boot tag, I produced my own u-boot port for my zynqmp based board.
I now have some problems rebasing my port on the u-boot xilinx-v2018.2 tag.
If I use petalinux 2018.2 to build my U-boot, it produces a working u-boot.
Can I somewhere in my petalinux project directories find an h-file and an defconfig-file that I can use for my port?
I can see that my dts-file is good enough.
08-13-2018 05:56 PM
What kind of error are you seeing ?
I use platform-top.h along with cfg files in project-spec/meta-user/recipes-bsp/u-boot/files to enable / disable what's needed
08-14-2018 07:12 AM
I managed to get it to work in the end, but I am still curious:
I can find the device tree files that petalinux produces for my custom board.
I can also find the dtb-file and so I can recreate the total dts-file used.
A port consists of at least two other files as well:
One file in u-boot-xlnx/include/configs e.g. xilinx_zynqmp_zcu102.h
One file in u-boot-xlnx/configs e.g. xilinx_zynqmp_zcu102_revA_defconfig
Is there anyway I can find what petalinux produces for my board?
08-14-2018 06:48 PM
For the final u-boot (and kernel) config run
find -name .config
in the build directory. The device tree file is in