RPi-Distro / raspi-config

Configuration tool for the Raspberry Pi
Other
565 stars 206 forks source link

Wait for network on boot, and the memory split command does not work on raspbian arm64. #222

Closed fti-sfuke closed 11 months ago

fti-sfuke commented 11 months ago

I just downloaded the official raspbian of Bookworm from here. https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit

Here is the environment details :

root@raspberrypi:~/# cat /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
#deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
#deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
#deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
root@raspberrypi:~/# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@raspberrypi:~/# uname -a
Linux raspberrypi 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux
root@raspberrypi:~/# getconf LONG_BIT
64

Here are the issues: only following commands is not able to execute:

root@raspberrypi:~# raspi-config nonint do_boot_wait 1
/usr/bin/raspi-config: 2989: do_boot_wait: not found

root@raspberrypi:~# raspi-config nonint do_boot_wait 0
/usr/bin/raspi-config: 2989: do_boot_wait: not found

root@raspberrypi:~# raspi-config nonint do_boot_wait 
/usr/bin/raspi-config: 2989: do_boot_wait: not found

root@raspberrypi:~# raspi-config nonint do_memory_split
/usr/bin/raspi-config: 2989: do_memory_split: not found

root@raspberrypi:~# raspi-config nonint do_pi4video
/usr/bin/raspi-config: 1253: [: -eq: unexpected operator
/usr/bin/raspi-config: 1261: [: -eq: unexpected operator
XECDesign commented 11 months ago

I wouldn't expect any of those to work on bookworm. An issue should be opened against the documentation that suggests doing any of that or the software that does it.