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

Add RPI 2/3 Firmwares #128

Merged
merged 17 commits into from
Mar 26, 2019
Merged

Add RPI 2/3 Firmwares #128

merged 17 commits into from
Mar 26, 2019

Conversation

nekoprog
Copy link
Member

Copy required firmwares for RPI 2/3 to boot properly.

Required packages for building RPI images:

For RPI2
pkg install git qemu-user-static arm-gnueabi-binutils u-boot-rpi2 rpi-firmware

For RPI3
pkg install git qemu-user-static aarch64-binutils u-boot-rpi3 rpi-firmware

nekoprog added a commit to nekoprog/pieSense that referenced this pull request Mar 25, 2019
Latest PR opnsense/tools#128 will solve boot problem.
build/arm.sh Outdated Show resolved Hide resolved
@fichtner fichtner self-assigned this Mar 25, 2019
@fichtner
Copy link
Member

We need to add the package hint for rpi-firmware somewhere. Or we could check packages at runtime. Doing something similar for core.git runtime deps: https://github.com/opnsense/core/blob/master/Makefile#L166 (arcane expansion, checks for package installed in other targets...)

@nekoprog
Copy link
Member Author

nekoprog commented Mar 25, 2019

We need to add the package hint for rpi-firmware somewhere. Or we could check packages at runtime. Doing something similar for core.git runtime deps: https://github.com/opnsense/core/blob/master/Makefile#L166 (arcane expansion, checks for package installed in other targets...)

Can this check option works if we add some line on device config? If variables can be exported from device config, need to append the list at core.git.

device/bpi.conf Outdated Show resolved Hide resolved
device/rpi2.conf Outdated Show resolved Hide resolved
device/rpi3.conf Outdated Show resolved Hide resolved
build/common.sh Outdated Show resolved Hide resolved
build/kernel.sh Outdated Show resolved Hide resolved
@nekoprog
Copy link
Member Author

Right, I forgot about other arch build, will fix that with a case later.

fichtner and others added 8 commits March 26, 2019 18:52
Co-Authored-By: nekoprog <nekoprog@gmail.com>
Co-Authored-By: nekoprog <nekoprog@gmail.com>
Co-Authored-By: nekoprog <nekoprog@gmail.com>
build/common.sh Outdated Show resolved Hide resolved
@fichtner fichtner merged commit ef08bde into opnsense:master Mar 26, 2019
@fichtner
Copy link
Member

Merged, thanks a lot! :)

@nekoprog
Copy link
Member Author

That's fast! Sure no problem. Will find other way to make the kernel production specific to arm devices.

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

Successfully merging this pull request may close these issues.

2 participants