Skip to content

Raspberry Pi 4 Support with upgrade to buster #113

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

Closed
wants to merge 8 commits into from

Conversation

lucashalbert
Copy link

@lucashalbert lucashalbert commented Oct 12, 2019

Raspberry Pi 4 support added via sakaki-'s bcm2711 64-bit kernel.

Upgraded to buster release using new HypriotOS rootfs v2.2.1.

@lucashalbert lucashalbert changed the title Rpi4 buster Raspberry Pi 4 Support with upgrade to buster Oct 12, 2019
@lucashalbert lucashalbert marked this pull request as ready for review October 12, 2019 12:50
@asleeis
Copy link

asleeis commented Oct 12, 2019

Fantastic! I’ll be giving this a try this weekend. I was just about to try the steps to make the prior image work on the couple new RPi 4’s I got. Thank you!!

@aatchison
Copy link

aatchison commented Oct 12, 2019 via email

@lucashalbert
Copy link
Author

Be aware that there seems to be an issue with cloud-init processing and applying the /boot/user-data file. The user "debian" is created on first boot without a password which means that you have to manually mount the filesystem on another system to copy a password hash to /etc/shadow.

I haven't had enough time to track down the origin of that problem at this time. If anyone else figures it out, please share.

@StefanScherer
Copy link
Collaborator

@lucashalbert This is awesome!

I tried to pick all relevant commits in the 32bit image-builder-rpi repo for updating to buster:

I've created #114 to switch to CircleCI to have build artifacts for PR's, so it would be easier to share the current status with the corresponding sd-card images. @DieterReuter PTAL

@jmatsushita
Copy link

jmatsushita commented Jan 2, 2020

Got it working here as well. And also figured out why the debian user was created as mentionned here by @lucashalbert

The image-builder-rpi repo diverged a bit from this repo, in particular regarding how the user is created. Simply adding the cloud.cfg file from hypriot/image-builder-rpi in builder/files/etc/cloud to this repo did the trick.

The difference with the stock cloud.cfg are these two lines for the default_user key.

@StefanScherer maybe it's time to provide these arm64 images with the hypriot releases?

jmatsushita added a commit to jmatsushita/image-builder-rpi64 that referenced this pull request Jan 2, 2020
@lucashalbert
Copy link
Author

Sorry for the lack of responses lately everyone. It's been a busy few months.

@StefanScherer, the switch to CircleCI was a great idea to break out each step of the build process and preserve all of the build artifacts.

The fixes that @jmatsushita has put together in PR #116 look very promising. I'm going to close this PR in favor of that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants