alpd4
March 6, 2025, 12:34pm
1
I want to build devicetree, image etc. using shared docker image .
I have tried with Yocto before but my attempts with this docker were not successful. I could not see an SDK, Tool or sources for build for BY-AI in the docker image. I didn’t build Linux image without Yocto, that’s why these comments may seem meaningless to you.
Is there a document or a resource that shows a few minimal examples for basic build operations?
Is docker the most practical method or the instructions in the ti-linux-kernel-dev branch ?
I am talking about these types tools that I found on forum:
Thank you.
In beagleboard.org ’s production scripts, we rely on debian’s debootstrap which is painful in docker. BeagleBoard.org / image-builder · GitLab
Building our kernel can be done in docker, that’s how the ci validates everything.
Your choices for kernel are the ‘development’ repo: Files · ti-linux-arm64-6.1.y · Robert Nelson / ti-linux-kernel-dev · GitLab and you can utilze teh ‘gitlab-ci.yml’ to finish your docker builder: .gitlab-ci.yml · ti-linux-arm64-6.1.y · Robert Nelson / ti-linux-kernel-dev · GitLab
Or, use the linux repo: (use github they have more $ for bandwidth): for example this tag: GitHub - beagleboard/linux at v6.1.83-ti-arm64-r60 and you can see the gitlab-ci.yml here: linux/.gitlab-ci.yml at v6.1.83-ti-arm64-r60 · beagleboard/linux · GitHub
For u-boot on the BeagleY-AI, grab this repo: https://openbeagle.org/beagley-ai/u-boot-beagley-ai It’s setup for building on ‘arm64’ so you’d need to tweak the dependcies for ‘amd64’ but both the .gitlab-ci.yml .gitlab-ci.yml · main · BeagleY-AI / u-boot-beagley-ai · GitLab and the actual build : build_u-boot.sh · main · BeagleY-AI / u-boot-beagley-ai · GitLab
for u-boot, i should warn you thou… Commits · main · BeagleY-AI / u-boot-beagley-ai · GitLab is the ‘develoment’ head… so on a day to day basis it can break, but that’s what ci is for…
Regards,
1 Like
alpd4
March 6, 2025, 1:54pm
3
Great! Thank you so much for your detailed explanation and tricks. It cleared up my confusion.
I need to work on these myself of course after that, but you gave me a great start point.