-
Notifications
You must be signed in to change notification settings - Fork 68
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
Building Armbian image for A06 fails, wiki instructions incomplete #26
Comments
Hi |
Looking for full instructions, end to end, on building an image for my A06. The wiki document I linked is missing information and steps on building the base image, it errors out during compile.sh. I'm hoping, at the very least, to just get a recording of a beginning to end build so I can put together a process for automating it. If, instead, a working wiki document can be provided that would work as well. I just figured that a screen recording would be easier to provide. |
what errors? could you paste the output of the errors here ? and also make sure to do the git hard reset step
the armbian building system is always updating,so errors might happen |
You can see an example of errors on the ClockworkPi Forum: https://forum.clockworkpi.com/t/does-anyone-have-a-dockerfile-for-building-the-devterm-image/8325/5
I did. Here are the exact steps I performed (based on information from the wiki article and trial and error):
No information was provided as to what to select when executing the build script. A UI pops up asking questions, so I've had to guess my way through it and so far have ended up with the following so I don't have to interact with the UI to set options:
The image fails to build, specifically when trying to build the patches copied over. I'll dig up the latest failed logs tomorrow to share (getting late here). In the mean time, if you can review the steps I performed above and provide feedback/corrections that would be awesome. Or, if it wouldn't be too much to ask, a screen recording of the build from beginning to end should help in addressing the above, and any other possible gaps in the documentation. |
Here's a complete log of a failed docker build (Linux Mint laptop): Build Commands:
Complete log (via script): Log highlights:
|
As a comparison, I tried compiling directly on the A06. Same as above, just ./compile.sh instead of ./compile.sh docker. Same patch failures, same build error. |
@cuu have you seen the above? |
I've attached logs and an asciicinema cast file from my attempt to build Armbian for the A06, using the instructions from the wiki article. |
I've changed the title of this issue. |
after a little digging first what we use in a06 stock image is 5.10.60 and now it is 5.10.100 today so
these two clockworkpi patches won't work even if the compile went through second:
after googled a bit It may be is an armbian build system related issue looks like we need to update the armbian build system to fix this kernel compilation issue or manually fix other armbian patches for this newer kernel cause this commit hash we set is only for kernel 5.10.60 and armbian continues to update kernel version so RIght now, you can not just follow the wiki the produce the image as we want the wiki is not incomplete, it is just outdated you need to fix it manually by yourself, update the patches to fit kernel updates looks like manjaro is a better choice for now |
@cuu Thank you very, very much for reviewing and responding. The wiki is incomplete. It lacks instructions for creating directories to copy the patches into, plus the options to pick for compile.sh. One of the options (board version) can't be set from the config UI that loads up, so it needs to be set manually at the CLI. As for it being outdated, perhaps it can be updated, at the very least a warning that the instructions no longer work? That way no one else spends time on something that won't work, unless they want to either 1) manually fix the kernel patch files to work with the latest kernel or 2) dig into the guts of the Armbian build script configuration files to set a fixed kernel version. Again, thank you very much for your time on this. It's greatly appreciated. |
Fixed. Create file build/userpatches/lib.config lib.config: I've created pull-request #28. It adds the file and improves the readme. |
omg i was right behind you I just didn't have |
merged to armbian/build@1f54bc3 master now, you can try it |
Could you create Asciicinema recordings (or maybe even just plain YouTube recordings) of the image build process?
https://github.com/clockworkpi/DevTerm/wiki/Create-DevTerm-A06-OS-image-from-scratch
The wiki document lacks some information, which makes following the process difficult.
The text was updated successfully, but these errors were encountered: