Eric74 Posted May 14, 2021 Posted May 14, 2021 Hello, I am looking the way how to create a new board after cloned https://github.com/armbian/build in my local. I am woking on a A20 (allwinner) project. The Idea is copy the current configuration of eg. cubieboard2 and modify it in order to fit my requirements. I already read the Armbian documentation and I spent 1 day searching in the forum for that receipt. Customize things are pretty easy but no info about how to create a new board. Basically I looking for: 1) How and where to clone an existing A20 board configuration locally (in my PC). 2) How to enable locally (in my PC) that new board in the Armbian developtment environment. 3) After the board will be working well I will send a pull request for that new board. Regards Eric 1 Quote
lanefu Posted May 14, 2021 Posted May 14, 2021 1 hour ago, Eric74 said: he Idea is copy the current configuration of eg. cubieboard2 and modify it in order to fit my requirements. Yeah unfortunately the process isn't well documented.. but literally copying the cubieboard2 board config file for your board and then following the inheritance path and adjust where needed. Most likely your adjustments will just be pointing the board to different device tree files for uboot. 0 Quote
Igor Posted May 14, 2021 Posted May 14, 2021 Examples: - new board to existing family - new board and new family 3 Quote
Eric74 Posted May 16, 2021 Author Posted May 16, 2021 I added to my new board to /config/boards/testboardsunxi20.conf and successfully recognized by the ./compile.sh menu. What I don't understand is : 1) How the added patches to patch/kernel/sunxi-current/mynewpatch.patch (or existing ones) are related with my new board? How the ./compile.sh recongnize the patches that have to be applied to my board during the compile.sh? 2) How to create patches? Where is the kernel and u-boot source in order to create a patch using diff ? Thank you 0 Quote
Werner Posted May 16, 2021 Posted May 16, 2021 1) create a folder and symlink like shown in the example: https://github.com/armbian/build/commit/f60920a2b776b544c9e37cddec8d495d22e2867c copy needed patches into there 2) The sources which you defined in your config/sources/families/whatever.conf will be downloaded to the cache/sources/ folder. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.