forked from nberlee/kernel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raspberry Pi foundation kernel variant (#7)
* RPi5 kernel variant * Hmm * fail with the pkg name --------- Signed-off-by: Skyler Mäntysaari <[email protected]>
- Loading branch information
Showing
15 changed files
with
4,170 additions
and
10,995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2024-08-08T07:05:38Z by kres dbf015a. | ||
# Generated on 2024-12-05T23:59:54Z by kres 232fe63. | ||
|
||
_out | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
kind: pkgfile.Build | ||
spec: | ||
targets: | ||
- kernel | ||
- kernel-rpi | ||
--- | ||
kind: auto.CustomSteps | ||
spec: | ||
steps: | ||
- name: kernel-olddefconfig | ||
toplevel: true | ||
- name: kernel-% | ||
toplevel: true | ||
- name: rpi-kernel-% | ||
toplevel: true | ||
--- | ||
kind: custom.Step | ||
name: kernel-olddefconfig | ||
spec: | ||
makefile: | ||
enabled: true | ||
script: | ||
- | | ||
@$(MAKE) local-kernel-build TARGET_ARGS="--build-arg=KERNEL_TARGET=olddefconfig" PLATFORM=linux/amd64 DEST="kernel/build" | ||
@$(MAKE) local-kernel-build TARGET_ARGS="--build-arg=KERNEL_TARGET=olddefconfig" PLATFORM=linux/arm64 DEST="kernel/build" | ||
--- | ||
kind: custom.Step | ||
name: kernel-rpi-bcm2712-defconfig | ||
spec: | ||
makefile: | ||
enabled: true | ||
script: | ||
- | | ||
@$(MAKE) local-rpi-kernel-build TARGET_ARGS="--build-arg=KERNEL_TARGET=bcm2712_defconfig" PLATFORM=linux/arm64 DEST="rpi-kernel/build" | ||
--- | ||
kind: custom.Step | ||
name: kernel-% | ||
spec: | ||
makefile: | ||
enabled: true | ||
script: | ||
- | | ||
for platform in $(shell echo $(PLATFORM) | tr "," " "); do \ | ||
arch=`basename $$platform` ; \ | ||
$(MAKE) docker-kernel-prepare PLATFORM=$$platform TARGET_ARGS="--tag=$(REGISTRY)/$(USERNAME)/kernel:$(TAG)-$$arch --load"; \ | ||
docker run --rm -it --entrypoint=/toolchain/bin/bash -e PATH=/toolchain/bin:/bin -w /src -v $$PWD/kernel/build/config-$$arch:/host/.hostconfig $(REGISTRY)/$(USERNAME)/kernel:$(TAG)-$$arch -c 'cp /host/.hostconfig .config && make $* && cp .config /host/.hostconfig'; \ | ||
done | ||
--- | ||
kind: custom.Step | ||
name: rpi-kernel-% | ||
spec: | ||
makefile: | ||
enabled: true | ||
script: | ||
- | | ||
for platform in $(shell echo $(PLATFORM) | tr "," " "); do \ | ||
arch=`basename $$platform` ; \ | ||
$(MAKE) docker-rpi-kernel-prepare PLATFORM=$$platform TARGET_ARGS="--tag=$(REGISTRY)/$(USERNAME)/kernel-rpi:$(TAG)-$$arch --load"; \ | ||
docker run --rm -it --entrypoint=/toolchain/bin/bash -e PATH=/toolchain/bin:/bin -w /src -v $$PWD/rpi-kernel/build/config-$$arch:/host/.hostconfig $(REGISTRY)/$(USERNAME)/kernel-rpi:$(TAG)-$$arch -c 'cp /host/.hostconfig .config && make $* && cp .config /host/.hostconfig'; \ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ string_mask = utf8only | |
x509_extensions = myexts | ||
|
||
[ req_distinguished_name ] | ||
O = Sidero Labs, Inc. | ||
O = Sky M Tmi | ||
CN = Build time throw-away kernel key | ||
#emailAddress = [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# RPI Kernel aka Foundation's variant | ||
|
||
This is required for RPi5 support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ req ] | ||
default_bits = 4096 | ||
distinguished_name = req_distinguished_name | ||
prompt = no | ||
string_mask = utf8only | ||
x509_extensions = myexts | ||
|
||
[ req_distinguished_name ] | ||
O = Sky M Tmi | ||
CN = Build time throw-away kernel key | ||
#emailAddress = [email protected] | ||
|
||
[ myexts ] | ||
basicConstraints=critical,CA:FALSE | ||
keyUsage=digitalSignature | ||
subjectKeyIdentifier=hash | ||
authorityKeyIdentifier=keyid |
Oops, something went wrong.