Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
6f4d9895
Commit
6f4d9895
authored
Jul 19, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm-rpi4: use mode nouboot for rpi kernel only
parent
edd7cced
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
config.mk
features.in/arm-rpi4/config.mk
+2
-0
98-bootstrap-boot-by-firmware
...in/arm-rpi4/image-scripts.d/98-bootstrap-boot-by-firmware
+6
-7
No files found.
features.in/arm-rpi4/config.mk
View file @
6f4d9895
...
@@ -21,6 +21,8 @@ use/arm-rpi4/x11: use/arm-rpi4
...
@@ -21,6 +21,8 @@ use/arm-rpi4/x11: use/arm-rpi4
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd hciuart)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd hciuart)
use/arm-rpi4/kernel: use/arm-rpi4
use/arm-rpi4/kernel: use/arm-rpi4
@$(call set,RPI_NOUBOOT,yes)
@$(call xport,RPI_NOUBOOT)
ifeq (aarch64,$(ARCH))
ifeq (aarch64,$(ARCH))
@$(call set,KFLAVOURS,rpi-un rpi-def)
@$(call set,KFLAVOURS,rpi-un rpi-def)
else
else
...
...
features.in/arm-rpi4/image-scripts.d/98-bootstrap-boot-by-firmware
View file @
6f4d9895
...
@@ -28,11 +28,11 @@ hdmi_ignore_edid_audio=1
...
@@ -28,11 +28,11 @@ hdmi_ignore_edid_audio=1
[pi3]
[pi3]
kernel=uboot-rpi_3.bin
kernel=uboot-rpi_3.bin
dtoverlay=vc4-fkms-v3d
#
dtoverlay=vc4-fkms-v3d
[pi4]
[pi4]
kernel=uboot-rpi_4.bin
kernel=uboot-rpi_4.bin
dtoverlay=vc4-fkms-v3d
#
dtoverlay=vc4-fkms-v3d
[all]
[all]
EOF
EOF
...
@@ -40,11 +40,10 @@ EOF
...
@@ -40,11 +40,10 @@ EOF
[
"
$GLOBAL_ARCH
"
=
armh
]
&&
\
[
"
$GLOBAL_ARCH
"
=
armh
]
&&
\
sed
-i
's/.bin/_32b.bin/g'
/boot/efi/config.txt
sed
-i
's/.bin/_32b.bin/g'
/boot/efi/config.txt
# framebuffer not working with dtoverlay=vc4-fkms-v3d on RPi3 aarch64
[
"
$GLOBAL_ARCH
"
=
armh
]
&&
\
sed
-i
'/#dtoverlay=vc4-fkms-v3d/s/#//'
/boot/efi/config.txt
# Enable bootloading without u-boot
# Enable bootloading without u-boot
sh
-x
rpi4-boot-nouboot
$kflavour
if
[
-n
"
${
GLOBAL_RPI_NOUBOOT
-
}
"
]
;
then
rpi4-boot-nouboot
$kflavour
sed
-i
'/#dtoverlay=vc4-fkms-v3d/s/#//'
/boot/efi/config.txt
fi
exit
0
exit
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment