-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contrib folder removed in v4.x #144
Comments
I see the transition made in v4.x. The bootstrap is now device-centric, instead of board-centric. |
You are correct, now being a device centric approach, all you have to do is resubmit a new defconfig for your custom boards, you do not have to duplicate code anymore. Contrib subdirectory was not removed, it was not moved to 4.x because it didn't make sense... it was a lot of code duplication. We expect people who want to move to 4.x to submit a patch with a new defconfig for their board. We could not do it since we lack the boards to test it. |
@ehristev can you point me to a document that explains adding a board configuration for yocto builds in v4.x? I've added newboard to the COMPATIBLE_MACHINE definition. Next, I've added a newboard_qspi_uboot_defconfig file to the at91bootstrap/configs folder. Finally, I've added to these definitions in the at91bootstrap.inc file My build is failing with the following error: What am I missing? |
@elockman unfortunately I am not very experienced with yocto. I suggest you open an issue here : my simple suggestion is, have you changed the yocto at91bootstrap recipe to point to your repository, or add a patch, or how did you add the defconfig to the bootstrap project ? |
I forked the repo and added the files to my repo. I'll open an issue in meta-atmel. |
Outside of a new COMPATIBLE_MACHINE definition, a defconfig file, and the changes to the inc file, are there any other changes required for a new board? |
I don't know. Better ask this in meta-atmel |
have you changed yocto recipe to download your repo instead of the original repo ? |
I am currently downloading my repo to build. I'm a little unclear why you don't know what files are used to define a board in the new bootstrap. That seems to be the main point of the changes to v4.x. Maybe I'm not asking my question well. It seems that only a new defconfig is created for a new board now, instead of the /contrib/subfolder. Is that correct? |
A board in the new bootstrap is only a defconfig file. I do not know what COMPATIBLE_MACHINE or inc file you refer to.
That is true. |
I am building code for a custom board using the sama5d2. My builds have broken after the at91bootstrap v4.x release.
In v3.x, I added my custom board config to a contrib/subfolder, much like Acme Systems did. That folder has been removed in v4.x.
Is this an oversight, or is there now a new way to properly add custom board configs?
The text was updated successfully, but these errors were encountered: