Skip to content
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

BCM2712d0 support #884

Merged
merged 9 commits into from
Jun 25, 2024
Merged

BCM2712d0 support #884

merged 9 commits into from
Jun 25, 2024

Conversation

tdewey-rpi
Copy link
Collaborator

Uprate the buildroot distribution we use for the embedded imager, selecting a new kernel, firmware and mesa in the process.

Tested on BCM2712d0.

Resolves #795

@tdewey-rpi tdewey-rpi marked this pull request as draft June 18, 2024 15:40
@tdewey-rpi
Copy link
Collaborator Author

Holding review requests until I've rebuilt cleanly from this PR, and confirmed it boots on D0 and C1 variants of BCM2712.

- Apply with p1, using a patch generated from git-format-patch.
- Use POSIX 'cd' over 'pushd, popd'
- Use OLDPWD to the find the patch, rather than making assumptions
  about the relative location of it.
@tdewey-rpi
Copy link
Collaborator Author

Confirmed that the updated PR builds, boots on C1 and D0.

@tdewey-rpi tdewey-rpi marked this pull request as ready for review June 19, 2024 12:38
@tdewey-rpi tdewey-rpi merged commit 686ad14 into qml Jun 25, 2024
@tdewey-rpi tdewey-rpi deleted the dev/tdewey/bcm2712d0 branch June 25, 2024 09:11
#
BR2_HAVE_DOT_CONFIG=y
BR2_EXTERNAL_NAMES="IMAGER"
BR2_EXTERNAL_IMAGER_PATH="/home/tdewey/src/rpi-imager/embedded/imager"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this still build for users that don't have a /home/tdewey/... directory on their computer?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll prune it, but I would expect it to be overridden at build-time. The correct way to build the Embedded Imager is to use the build.sh file, which should override these BR2_EXTERNAL directives with the buildroot invocation:

make -C "${BUILDROOT}" BR2_EXTERNAL="${PWD}/imager" rpi-imager_defconfig

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, awesome; I didn't realise that 👍

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.

[BUG] Embedded: Pi 4: Imager doesn't see my USB SATA drive
2 participants