-
Notifications
You must be signed in to change notification settings - Fork 14
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
add Pine64 support #140
base: master
Are you sure you want to change the base?
add Pine64 support #140
Conversation
Can one of the admins verify this patch? |
eca7bb2
to
9a4c8b8
Compare
@resin-jenkins add to whitelist |
balena device repos such as this require an odd commit message
|
@klutchell jenkins didn't even try the new machine type. Is there something I'm missing? |
We would need to set up a new Jenkins job for this device type, we can ask (at)devices for help if we get to that point. I can try building it locally first. Are you still getting build errors? |
@klutchell I tried it twice and it's definitely a permanent error and I'm at a point where I don't know what to do next. So please try it :) |
Confirmed I see the same build error, not enough space in the boot partition. ping64-plus
bananapi-m1-plus
|
pine64-plus
bananapi-m1-plus
Looks like that 30M Image is the problem, vs the 8.2M uImage used for the other platforms. |
@klutchell hmm, yeah and that seems to be because of aarch64. |
I had to specify it via |
Change-type: minor Signed-off-by: Martin Rauscher <[email protected]>
@klutchell I managed to get a build with I updated the PR accordingly, but I only got the parameter working when passing it on the command line. Do you know what I'm doing wrong? It's weird as https://github.com/balena-os/balena-generic/blob/master/layers/meta-balena-generic/conf/machine/generic-aarch64.conf#L12 does the exact same thing... Maybe I just need to do a clean build... Edit: What is our general approach to kernel images? I read, there is also a FIT image type |
Changelog-entry: Add Pine A64+ support Change-type: patch Signed-off-by: Martin Rauscher <[email protected]>
I'm not aware of us using the FIT image type anywhere, Setting However I just noticed that your Unfortunately machine .conf files of the same name will not be respected properly so if we want to override any values of the upstream one we'll need a new filename. I tried setting |
ahh, I see, thanks @klutchell! That sounds like something that would happen alle the time...? What's the best way forward then? Should I prefix it with |
So, I tried the image and absolutely nothing happened. I don't have a UART connector to try to get any debug logs, but after reading https://github.com/u-boot/u-boot/blob/master/board/sunxi/README.sunxi64 I guess getting u-boot running (including the switch from 32bit to 64bit mode) is a little more involved... Looks relevant as well: https://github.com/alistair23/meta-pine64/blob/master/recipes-bsp/u-boot/u-boot_%25.bbappend |
I think you'll struggle without a UART or HDMI monitor to view boot logs. Are you sure that |
@klutchell I connected HDMI, but nothing was happening. I think that file was used because it's the only aarch64 device. But I can try with the other one |
Pine64 meaning the original Pine A64 (not 64-LTS, SoPine64, or Rock64)