Open Source > Open source hardware
zynqberry build u-boot
(1/1)
svenssonjoel:
Hello all,
Have anyone managed to build a u-boot.elf that works for the zynqberry from the source at github.com/Xilinx/u-boot-xilinx ?
If one browses the web with newbie eyes on how to build linux for zynq one can quickly get very very confused.
The petalinux approach to making a linux I have gotten to run (also after headaches ;) ) and that procedure creates a u-boot.elf at one point.
Now it seems one cannot mix and match these things. So if going the route of building linux based on the source found at github.com/Xilinx/linux-xlnx, you cannot hack in a u-boot generated by petalinux.
So when following for example this outline of steps: http://www.wiki.xilinx.com/Build+kernel, eventually it is time to build u-boot. But doing so depends on there being a pre-made "config" for the target platform.
I am asking because i need to build and run the "linux-xlns" at a specific tag/branch where a patch applies (checkout xilinx-v2015.4). But I cannot get through the steps, as they are presented, in any of the "how to build linux for the zynq"-tutorials.
If anyone have insights on this topic, I am very grateful :)
Best regards!
JH:
Hello,
Petalinux used also Xilinx Github. Check Petalinux Config, you can change repo for the most thinks. So link to your local u-boot repository is maybe an option for you to change uboot source code directly.
* https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1144-petalinux-tools-reference-guide.pdf
* page 72ffPetalinux is Yocto based, so you can also add on recipes:
* http://www.wiki.xilinx.com/PetaLinux+Yocto+TipsBut i've not much experience with yocto.
Create all manually from github is of course also possible.
br
John
Navigation
[0] Message Index
Go to full version