mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Adjust few RPi parameters (#3401)
This commit is contained in:
@@ -11,6 +11,8 @@ pre_initramfs_flash_kernel__write_raspi_config() {
|
||||
cat <<-EOD >"${FIRMWARE_DIR}/config.txt"
|
||||
[pi4]
|
||||
max_framebuffers=2
|
||||
over_voltage=2
|
||||
arm_freq=1800
|
||||
|
||||
[all]
|
||||
kernel=vmlinuz
|
||||
@@ -19,13 +21,15 @@ pre_initramfs_flash_kernel__write_raspi_config() {
|
||||
disable_overscan=1
|
||||
hdmi_drive=2
|
||||
arm_64bit=1
|
||||
disable_splash=1
|
||||
logo.nologo
|
||||
|
||||
# bootloader logs to serial, second stage
|
||||
# enable_uart=1
|
||||
|
||||
# overclock. requires decent thermals. COMMENT OUT IF DON'T USE A GREAT COOLER OR HEATSINK.
|
||||
over_voltage=6
|
||||
arm_freq=2000
|
||||
# over_voltage=6
|
||||
# arm_freq=2000
|
||||
|
||||
# uncomment to disable wifi or bt.
|
||||
#dtoverlay=disable-wifi
|
||||
|
||||
@@ -41,7 +41,7 @@ prepare_partitions_custom__add_rootfs_raspi_label_to_mkfs() {
|
||||
|
||||
pre_initramfs_flash_kernel__write_raspi_cmdline() {
|
||||
cat <<-EOD >"${FIRMWARE_DIR}/cmdline.txt"
|
||||
root=LABEL=${RASPI_ROOT_FS_LABEL} rootfstype=ext4 elevator=deadline rootwait fixrtc cgroup_enable=memory cgroup_memory=1 console=tty1
|
||||
root=LABEL=${RASPI_ROOT_FS_LABEL} rootfstype=ext4 elevator=deadline rootwait fixrtc cgroup_enable=memory cgroup_memory=1 console=tty1 logo.nologo loglevel=1
|
||||
EOD
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user