Skip to content

Commit

Permalink
rpi5b: drop LINUXFAMILY=bcm2712 as it is exactly the same as bcm2711
Browse files Browse the repository at this point in the history
- in f3f10a9 the 16k-page stuff was dropped
  - and that was the only reason for a separate kernel
  - thus drop the change and unify; 2 less kernels to build and same result
  • Loading branch information
rpardini committed Jan 3, 2025
1 parent 7267225 commit 70b725d
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions config/boards/rpi5b.csc
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,3 @@ declare -g BOARD_MAINTAINER=""
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="current"
declare -g ASOUND_STATE="asound.state.rpi"

function post_family_config__rename_linux_family() {
display_alert "rpi5b" "Changing LINUXFAMILY" "info"
declare -g LINUXFAMILY=bcm2712
}

#function custom_kernel_config__rpi5b_16k_variant() {
# display_alert "rpi5b" "Enabling 16K page size" "info"
# kernel_config_modifying_hashes+=(
# "CONFIG_ARM64_16K_PAGES=y"
# "CONFIG_ARCH_MMAP_RND_BITS=18"
# "CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11"
# )

# # As kernel config is shared between two variants, override the settings
# # but make sure not to write them back to config/kernel directory
# if [[ -f .config ]] && [[ "${KERNEL_CONFIGURE:-yes}" != "yes" ]]; then
# display_alert "Enabling 16K page size" "armbian-kernel" "debug"
# kernel_config_set_y CONFIG_ARM64_16K_PAGES
# run_host_command_logged ./scripts/config --set-val CONFIG_ARCH_MMAP_RND_BITS 18
# run_host_command_logged ./scripts/config --set-val CONFIG_ARCH_MMAP_RND_COMPAT_BITS 11
# run_kernel_make olddefconfig
# fi
#}

0 comments on commit 70b725d

Please sign in to comment.