Skip to content

Commit

Permalink
Box64: remove 16K pagesize build as pagesize support is now determine…
Browse files Browse the repository at this point in the history
…d at runtime
  • Loading branch information
theofficialgman committed Jan 31, 2024
1 parent 3c5838f commit d2b7bcd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/Box64/install-64
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ fi

# obtain SOC_ID
get_model
PAGE_SIZE="$(getconf PAGE_SIZE)"
if [[ "$SOC_ID" == "tegra-x1" ]] || [[ "$SOC_ID" == "tegra-x2" ]]; then
install_packages box64-tegrax1 || exit 1
elif [[ "$SOC_ID" == "rk3399" ]]; then
Expand All @@ -23,10 +22,6 @@ elif [[ "$SOC_ID" == "bcm2711" ]]; then
install_packages box64-rpi4arm64 || exit 1
elif [[ "$SOC_ID" == "bcm2837" ]]; then
install_packages box64-rpi3arm64 || exit 1
elif cat /proc/cpuinfo | grep -q aes && [[ "$PAGE_SIZE" == "16384" ]]; then
warning "There is no box64 pre-build for your device $SOC_ID $model and it has a 16K pagesize"
warning "Installing the generic arm page16k box64 build as a fallback (crypto extensions enabled)"
install_packages box64-generic-arm-page16k || exit 1
elif cat /proc/cpuinfo | grep -q aes; then
warning "There is no box64 pre-build for your device $SOC_ID $model"
warning "Installing the generic arm box64 build as a fallback (crypto extensions enabled)"
Expand Down

0 comments on commit d2b7bcd

Please sign in to comment.