Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image | Radxa Zero #4831

Closed
almirus opened this issue Oct 13, 2021 · 197 comments · Fixed by #4900
Closed

Image | Radxa Zero #4831

almirus opened this issue Oct 13, 2021 · 197 comments · Fixed by #4900
Milestone

Comments

@almirus
Copy link

almirus commented Oct 13, 2021

Err:3 https://deb.debian.org/debian bullseye/main arm64 bash arm64 5.1-2+b3
  Temporary failure resolving 'deb.debian.org'
Err:4 https://deb.debian.org/debian bullseye/main arm64 bsdutils arm64 1:2.36.1-8
  Temporary failure resolving 'deb.debian.org'
Err:5 https://deb.debian.org/debian bullseye/main arm64 gcc-10-base arm64 10.2.1-6
  Temporary failure resolving 'deb.debian.org'
Err:6 https://deb.debian.org/debian bullseye/main arm64 libgcc-s1 arm64 10.2.1-6
  Temporary failure resolving 'deb.debian.org'
Err:7 https://deb.debian.org/debian bullseye/main arm64 libcrypt1 arm64 1:4.4.18-4
  Temporary failure resolving 'deb.debian.org'
Err:8 https://deb.debian.org/debian bullseye/main arm64 libc6 arm64 2.31-13+deb11u2
  Temporary failure resolving 'deb.debian.org'
Err:9 https://deb.debian.org/debian bullseye/main arm64 libc-bin arm64 2.31-13+deb11u2
  Temporary failure resolving 'deb.debian.org'
Err:10 https://deb.debian.org/debian bullseye/main arm64 libpcre2-8-0 arm64 10.36-2
  Temporary failure resolving 'deb.debian.org'
Err:11 https://deb.debian.org/debian bullseye/main arm64 libselinux1 arm64 3.1-3
  Temporary failure resolving 'deb.debian.org'
Err:12 https://deb.debian.org/debian bullseye/main arm64 coreutils arm64 8.32-4
  Temporary failure resolving 'deb.debian.org'
Err:13 https://deb.debian.org/debian bullseye/main arm64 tar arm64 1.34+dfsg-1
  Temporary failure resolving 'deb.debian.org'
@MichaIng
Copy link
Owner

The DNS resolution seems to be (temporarily) broken. Try:

curl -I https://deb.debian.org/
# or
getent ahosts deb.debian.org

When the first does not report an error and the second returns one or more IP addresses, then it works and you can repeat PREP. If not, then check:

cat /etc/resolv.conf

where it has a valid DNS nameserver entry.

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng thanks
it looks like the network down after purging packages (step 3)

@MichaIng
Copy link
Owner

Was either NetworkManager or connman installed? In case it is a known issue as those completely break the network connection when being uninstalled, so you need to switch to at best ifupdown network stack first: #2054

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng
it looks like this is my case. I am trying to build an image for a new device Radxa Zero (there isn't eth0)
😒 but i have usb lan adapter 🥳

@MichaIng
Copy link
Owner

Probably this works:

apt install ifupdown isc-dhcp-client
echo -e 'allow-hotplug wlan0\niface wlan0 inet dhcp' > /etc/network/interfaces
ifup --force wlan0

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng

my full log stuck here
apt install ifupdown isc-dhcp-client
echo -e 'allow-hotplug wlan0\niface wlan0 inet dhcp' > /etc/network/interfaces
ifup --force wlan0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/20:50:e7:19:93:a9
Sending on LPF/wlan0/20:50:e7:19:93:a9
Sending on Socket/fallback
Created duid "\000\001\000\001(\371\243{ P\347\031\223\251".
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.1.77 from 192.168.1.254
DHCPREQUEST for 192.168.1.77 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.77 from 192.168.1.254
RTNETLINK answers: File exists
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
bound to 192.168.1.77 -- renewal in 39712 seconds.
ter/PREP_SYSTEM_FOR_DIETPI.shtps://raw.githubusercontent.com/MichaIng/DietPi/mas
--2021-10-13 14:03:10-- https://raw.githubusercontent.com/MichaIng/DietPi/master/PREP_SYSTEM_FOR_DIETPI.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 75690 (74K) [text/plain]
Saving to: ‘PREP_SYSTEM_FOR_DIETPI.sh’

PREP_SYSTEM_FOR_DIE 100%[===================>] 73.92K --.-KB/s in 0.06s

2021-10-13 14:03:11 (1.26 MB/s) - ‘PREP_SYSTEM_FOR_DIETPI.sh’ saved [75690/75690]

root@zero:/home/rock# ./PREP_SYSTEM_FOR_DIETPI.sh
bash: ./PREP_SYSTEM_FOR_DIETPI.sh: Permission denied
root@zero:/home/rock# chmod 777 PREP_SYSTEM_FOR_DIETPI.sh
root@zero:/home/rock# ./PREP_SYSTEM_FOR_DIETPI.sh
Get:1 http://httpredir.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:3 http://apt.radxa.com/buster-stable buster InRelease [2363 B]
Get:4 http://httpredir.debian.org/debian buster-updates InRelease [51.9 kB]
Get:5 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB]
Get:6 http://security.debian.org buster/updates/main arm64 Packages [301 kB]
Get:7 http://httpredir.debian.org/debian buster/contrib arm64 Packages [38.4 kB]
Get:8 http://httpredir.debian.org/debian buster/non-free arm64 Packages [53.9 kB]
Get:9 http://httpredir.debian.org/debian buster/main arm64 Packages [7735 kB]
Get:10 http://apt.radxa.com/buster-stable buster/main arm64 Packages [25.3 kB]
Get:11 http://httpredir.debian.org/debian buster-updates/main arm64 Packages [14.5 kB]
Get:12 http://httpredir.debian.org/debian buster-backports/non-free arm64 Packages [21.9 kB]
Get:13 http://httpredir.debian.org/debian buster-backports/contrib arm64 Packages [8424 B]
Get:14 http://httpredir.debian.org/debian buster-backports/main arm64 Packages [482 kB]
Fetched 8968 kB in 5s (1665 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcurl4
The following NEW packages will be installed:
curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 572 kB of archives.
After this operation, 1084 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian buster/main arm64 libcurl4 arm64 7.64.0-4+deb10u2 [312 kB]
Get:2 http://httpredir.debian.org/debian buster/main arm64 curl arm64 7.64.0-4+deb10u2 [260 kB]
Fetched 572 kB in 0s (1229 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libcurl4:arm64.
(Reading database ... 71651 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_arm64.deb ...
Unpacking libcurl4:arm64 (7.64.0-4+deb10u2) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.64.0-4+deb10u2_arm64.deb ...
Unpacking curl (7.64.0-4+deb10u2) ...
Setting up libcurl4:arm64 (7.64.0-4+deb10u2) ...
Setting up curl (7.64.0-4+deb10u2) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
whiptail
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 38.9 kB of archives.
After this operation, 71.7 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian buster/main arm64 whiptail arm64 0.52.20-8 [38.9 kB]
Fetched 38.9 kB in 0s (189 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package whiptail.
(Reading database ... 71666 files and directories currently installed.)
Preparing to unpack .../whiptail_0.52.20-8_arm64.deb ...
Unpacking whiptail (0.52.20-8) ...
Setting up whiptail (0.52.20-8) ...
Processing triggers for man-db (2.8.5-2) ...
DietPi-PREP

┌───────────────────────────────┤ DietPi-PREP ├────────────────────────────────┐
│ Please select the Git branch the installer should use: │
│ │
│ master : Stable release branch (recommended) │
│ beta : Public beta testing branch │
│ dev : Unstable development branch │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────┘

[ INFO ] Selected Git branch: MichaIng/master
[ INFO ] DietPi-PREP | Detected distribution version: Buster (ID: 5)
[ INFO ] DietPi-PREP | Detected target CPU architecture: aarch64 (ID: 3)

DietPi-PREP
─────────────────────────────────────────────────────
Step: [0] Detecting existing DietPi system

[ INFO ] DietPi-PREP | No DietPi system found, skipping old instance uninstall...

DietPi-PREP
─────────────────────────────────────────────────────
Step: [1] Target system inputs

┌───────────────────────────────┤ DietPi-PREP ├────────────────────────────────┐
│ Please enter your name. This will be used to identify the image creator │
│ within credits banner. │
│ │
│ You can add your contact information as well for end users. │
│ │
│ NB: An entry is required. │
│ │
│ almirus_____________________________________________________________________ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────┘

[ INFO ] DietPi-PREP | Entered image creator: almirus

┌───────────────────────────────┤ DietPi-PREP ├────────────────────────────────┐
│ Please enter the name or URL of the pre-image you installed on this system, │
│ prior to running this script. This will be used to identify the pre-image │
│ credits. │
│ │
│ EG: Debian, Raspberry Pi OS Lite, Meveric or │
│ "forum.odroid.com/viewtopic.php?t=123456" etc. │
│ │
│ NB: An entry is required. │
│ │
│ Debian, RADXA Zero__________________________________________________________ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────┘

[ INFO ] DietPi-PREP | Entered pre-image info: Debian, RADXA Zero

┌───────────────────────────────┤ DietPi-PREP ├────────────────────────────────┐
│ Please select the current device this is being installed on: │
│ - NB: Select "Generic device" if not listed. │
│ - "Core devices": Fully supported by DietPi, offering full GPU acceleration │
│ + Kodi support. │
│ - "Limited support devices": No GPU acceleration guaranteed. │
│ │
│ 47 : NanoPi R4S ↑ │
│ 72 : ROCK Pi 4 ▒ │
│ 73 : ROCK Pi S ▒ │
│ ●─ Other ──────────────────────────────────● ▒ │
│ 29 : Generic Amlogic S922X ▒ │
│ 28 : Generic Amlogic S905 ▒ │
│ 27 : Generic Allwinner H6 ▒ │
│ 26 : Generic Allwinner H5 ▒ │
│ 25 : Generic Allwinner H3 ▒ │
│ 24 : Generic Rockchip RK3399 ▒ │
│ 23 : Generic Rockchip RK3328 ▮ │
│ 22 : Generic Device ↓ │
│ │
│ │
│ │
│ │
[ INFO ] DietPi-PREP | Selected hardware model ID: 22

┌───────────────────────────────┤ DietPi-PREP ├────────────────────────────────┐
│ Please select an option: │
│ │
│ 0 : I do not require WiFi functionality, skip related package install. │
│ 1 : I require WiFi functionality, install related packages. │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────┘

[ INFO ] DietPi-PREP | Marking WiFi as required

┌───────────────────────────────┤ DietPi-PREP ├────────────────────────────────┐
│ Please select a Debian version to install on this system. │
│ │
│ Currently installed: buster (ID: 5) │
│ │
│ 5 : Buster (oldstable, if you must stay with an old release) │
│ 6 : Bullseye (current stable release, recommended) │
│ 7 : Bookworm (testing, if you want to live on bleeding edge) │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────┘

[ INFO ] DietPi-PREP | Selected Debian version: buster (ID: 5)

DietPi-PREP
─────────────────────────────────────────────────────
Step: [2] Downloading and installing DietPi source code
[ OK ] DietPi-PREP | Checking URL: https://github.com/MichaIng/DietPi/archive/master.tar.gz
[ OK ] DietPi-PREP | Downloading DietPi sourcecode
[ OK ] DietPi-PREP | Extracting DietPi sourcecode
[ INFO ] DietPi-PREP | Moving kernel and boot configuration to /boot
[ OK ] DietPi-PREP | mv DietPi-master/dietpi.txt /boot/
[ OK ] DietPi-PREP | mv DietPi-master/README.md /boot/dietpi-README.md
[ OK ] DietPi-PREP | mv DietPi-master/LICENSE /boot/dietpi-LICENSE.txt
[ OK ] DietPi-PREP | mv DietPi-master/CHANGELOG.txt /boot/dietpi-CHANGELOG.txt
[ OK ] DietPi-PREP | Copy DietPi scripts to /boot/dietpi
[ OK ] DietPi-PREP | Copy DietPi system files in place
[ OK ] DietPi-PREP | Clean download location
[ OK ] DietPi-PREP | Set execute permissions for DietPi scripts
[ INFO ] DietPi-PREP | Storing DietPi version info:
[ OK ] DietPi-PREP | Desired setting in /boot/dietpi.txt was already set: DEV_GITBRANCH=master
[ OK ] DietPi-PREP | Desired setting in /boot/dietpi.txt was already set: DEV_GITOWNER=MichaIng
[ INFO ] DietPi-PREP | Applying DietPi live patches to fix known bugs in this version
[ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[0]='not applicable' to end of file /boot/dietpi/.version
[ INFO ] DietPi-PREP | Applying live patch 1
[ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[1]='applied' to end of file /boot/dietpi/.version
[ INFO ] DietPi-PREP | Applying live patch 2
[ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[2]='applied' to end of file /boot/dietpi/.version
[ INFO ] DietPi-PREP | Applying live patch 3
[ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[3]='applied' to end of file /boot/dietpi/.version
[ OK ] DietPi-PREP | cp /boot/dietpi/.version /var/lib/dietpi/.dietpi_image_version
[ OK ] DietPi-PREP | systemctl daemon-reload

DietPi-PREP
─────────────────────────────────────────────────────
Step: [3] APT configuration

[ INFO ] DietPi-PREP | Setting APT sources.list: buster 5
[ OK ] DietPi-PREP | /boot/dietpi/func/dietpi-set_software apt-mirror default
[ OK ] DietPi-PREP | mkdir -p /run/dietpi /var/tmp/dietpi/logs
[ INFO ] DietPi-PREP | APT update, please wait...
Hit:1 http://apt.radxa.com/buster-stable buster InRelease
Get:2 https://deb.debian.org/debian buster InRelease [122 kB]
Get:3 https://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 https://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:5 https://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:6 https://deb.debian.org/debian buster/contrib arm64 Packages [38.4 kB]
Get:7 https://deb.debian.org/debian buster/main arm64 Packages [7735 kB]
Get:8 https://deb.debian.org/debian buster/non-free arm64 Packages [53.9 kB]
G .. ttps://deb.debian.org/debian buster-updates/main arm64 Packages [14.5 kB]
Get:10 https://deb.debian.org/debian-security buster/updates/main arm64 Packages [301 kB]
Get:11 https://deb.debian.org/debian buster-backports/non-free arm64 Packages [21.9 kB]
Get:12 https://deb.debian.org/debian buster-backports/contrib arm64 Packages [8424 B]
Get:13 https://deb.debian.org/debian buster-backports/main arm64 Packages [482 kB]
Fetched 8941 kB in 5s (1723 kB/s)
Reading package lists...
[ OK ] DietPi-PREP | APT update
[ INFO ] DietPi-PREP | Marking all packages as auto-installed first, to allow effective autoremove afterwards
[ ] DietPi-PREP | apt-mark auto adduser alsa-utils apt apt-transport-https autoconf avahi-daemon avahi-utils base-files base-passwd bash bash-completion bc binutils blueman bluez bsdutils ca-certificates chromium coreutils curl dash debconf debian-archive-keyring debianutils debsums dhcpcd5 dialog diffutils dirmngr dpkg e2fsprogs ethtool fake-hwclock fdisk file findutils firefox-esr fping gcc-8-base gdisk gnupg gnupg1 gnupg2 gpgv grep gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-x gzip hostname htop i2c-tools ifupdown init-system-helpers initramfs-tools iperf3 iproute2 iputils-ping isc-dhcp-client iw jq kbd kmod libacl1 libapt-pkg5.0 libattr1 libaudit-common libaudit1 libblkid1 libbz2-1.0 libc-bin libc6 libcap-ng0 libcom-err2 libdb5.3 libdebconfclient0 libext2fs2 libfdisk1 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libhogweed4 libidn2-0 liblz4-1 liblzma5 libmount1 libncursesw6 libnettle6 libnotify4 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcap0.8 libpcre3 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libudev1 libunistring2 libuuid1 libxml2 libzstd1 lightdm linux-base linux-headers-5.10.69-2-amlogic-g981b0a3cef linux-image-5.10.69-2-amlogic-g981b0a3cef login mawk mc mount mtd-utils nano ncurses-base ncurses-bin net-tools netbase network-manager nmap ntp openssh-client openssh-server openssl parted passwd pciutils perl-base psmisc pulseaudio pulseaudio-module-bluetooth resize-assistant resolvconf rfkill rsync sed software-properties-common ssh sudo sysfsutils sysstat systemd systemd-sysv sysvinit-utils tango-icon-theme tar task-xfce-desktop tzdata u-boot-tools udev unzip usbutils util-linux vim wget whiptail wireless-tools wpasupplicant xfce4 xfce4-goodies xz-utils zip zlib1g
[ OK ] DietPi-PREP | apt-mark auto adduser alsa-utils apt apt-transport-https autoconf avahi-daemon avahi-utils base-files base-passwd bash bash-completion bc binutils blueman bluez bsdutils ca-certificates chromium coreutils curl dash debconf debian-archive-keyring debianutils debsums dhcpcd5 dialog diffutils dirmngr dpkg e2fsprogs ethtool fake-hwclock fdisk file findutils firefox-esr fping gcc-8-base gdisk gnupg gnupg1 gnupg2 gpgv grep gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-x gzip hostname htop i2c-tools ifupdown init-system-helpers initramfs-tools iperf3 iproute2 iputils-ping isc-dhcp-client iw jq kbd kmod libacl1 libapt-pkg5.0 libattr1 libaudit-common libaudit1 libblkid1 libbz2-1.0 libc-bin libc6 libcap-ng0 libcom-err2 libdb5.3 libdebconfclient0 libext2fs2 libfdisk1 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libhogweed4 libidn2-0 liblz4-1 liblzma5 libmount1 libncursesw6 libnettle6 libnotify4 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcap0.8 libpcre3 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libudev1 libunistring2 libuuid1 libxml2 libzstd1 lightdm linux-base linux-headers-5.10.69-2-amlogic-g981b0a3cef linux-image-5.10.69-2-amlogic-g981b0a3cef login mawk mc mount mtd-utils nano ncurses-base ncurses-bin net-tools netbase network-manager nmap ntp openssh-client openssh-server openssl parted passwd pciutils perl-base psmisc pulseaudio pulseaudio-module-bluetooth resize-assistant resolvconf rfkill rsync sed software-properties-common ssh sudo sysfsutils sysstat systemd systemd-sysv sysvinit-utils tango-icon-theme tar task-xfce-desktop tzdata u-boot-tools udev unzip usbutils util-linux vim wget whiptail wireless-tools wpasupplicant xfce4 xfce4-goodies xz-utils zip zlib1g
[ INFO ] DietPi-PREP | APT install for: linux-image-5.10.69-2-amlogic-g981b0a3cef, please wait...
[ OK ] DietPi-PREP | APT install for: linux-image-5.10.69-2-amlogic-g981b0a3cef
[ OK ] DietPi-PREP | apt-get clean
[ INFO ] DietPi-PREP | Generating list of minimal packages, required for DietPi installation
[ OK ] DietPi-PREP | Marking required packages as manually installed
[ INFO ] DietPi-PREP | APT purge for: dbus dhcpcd5 mountall initscripts office xfce qt5 xserver xorg glib-networking libgtk-3-0, please wait...
(Reading database ... 71675 files and directories currently installed.)
Removing firefox-esr (78.14.0esr-1deb10u1) ...
update-alternatives: using /usr/bin/chromium to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/chromium to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
Removing 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr'
Removing xfce4-goodies (4.12.6) ...
Removing xfce4-xkb-plugin (1:0.8.1-2) ...
Removing task-xfce-desktop (3.53) ...
Removing xfce4 (4.12.5) ...
Removing xfwm4 (4.12.5-1) ...
Removing alsa-utils (1.1.8-2) ...
Removing apt-transport-https (1.8.2.3) ...
Removing autoconf (2.69-11) ...
Removing avahi-utils (0.7-4+deb10u1) ...
Removing avahi-daemon (0.7-4+deb10u1) ...
Created symlink /run/systemd/system/avahi-daemon.service → /dev/null.
Removed /run/systemd/system/avahi-daemon.service.
Removing bc (1.07.1-2+b1) ...
Removing bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u5) ...
Removing binutils (2.31.1-16) ...
Removing binutils-aarch64-linux-gnu (2.31.1-16) ...
Removing libbinutils:arm64 (2.31.1-16) ...
Removing binutils-common:arm64 (2.31.1-16) ...
Removing blueman (2.0.8-1+deb10u1) ...
Removing pulseaudio-module-bluetooth (12.2-4+deb10u1) ...
Removing bluez (5.50-1.2
deb10u2) ...
Removing bluez-obexd (5.50-1.2deb10u2) ...
Removing task-desktop (3.53) ...
Removing xorg (1:7.7+19) ...
Removing x11-apps (7.7+7) ...
Removing man-db (2.8.5-2) ...
Removing bsdmainutils (11.1.2+b1) ...
Removing chromium (89.0.4389.114-1
deb10u1) ...
Removing chromium-common (89.0.4389.114-1deb10u1) ...
Removing x11-xserver-utils (7.7+8) ...
Removing x11-session-utils (7.7+3) ...
Removing cpp (4:8.3.0-1) ...
Removing cpp-8 (8.3.0-6) ...
Removing network-manager (1.14.6-2+deb10u1) ...
Removing policykit-1 (0.105-25) ...
Removing light-locker (1.8.0-3) ...
Removing lightdm (1.26.0-4) ...
Removing xfdesktop4 (4.12.4-2) ...
Removing xfce4-notes-plugin (1.8.1-2) ...
Removing xfce4-notes (1.8.1-2) ...
Removing libunique-1.0-0 (1.1.6-6) ...
Removing mousepad (0.4.1-2) ...
Removing gir1.2-appindicator3-0.1:arm64 (0.4.92-7) ...
Removing gir1.2-gtk-3.0:arm64 (3.24.5-1) ...
Removing xfce4-weather-plugin (0.8.10-1+deb10u1) ...
Removing debsums (2.2.3) ...
Removing desktop-base (10.0.2) ...
Removing thunar-archive-plugin (0.4.0-2) ...
Removing xfce4-places-plugin (1.7.0-4) ...
Removing dhcpcd5 (7.1.0-2) ...
Removing dialog (1.3-20190211-1) ...
Removing software-properties-common (0.96.20.2-2) ...
Removing python3-software-properties (0.96.20.2-2) ...
Removing lsb-release (10.2019051400) ...
Removing distro-info-data (0.41+deb10u4) ...
Removing xfce4-verve-plugin (2.0.0-1) ...
Removing file (1:5.35-4+deb10u2) ...
Removing gir1.2-pango-1.0:arm64 (1.42.4-8
deb10u1) ...
Removing libpangoxft-1.0-0:arm64 (1.42.4-8deb10u1) ...
Removing xfce4-wavelan-plugin (0.6.0-2) ...
Removing xterm (344-1+deb10u1) ...
Removing fonts-quicksand (0.2016-2) ...
dpkg: warning: while removing fonts-quicksand, directory '/usr/share/fonts/truetype/quicksand' not empty so not removed
Removing fping (4.2-1) ...
Removing resize-assistant (0.2) ...
Removing gdisk (1.0.3-1.1) ...
Removing gir1.2-atk-1.0:arm64 (2.30.0-2) ...
Removing gir1.2-freedesktop:arm64 (1.58.3-2) ...
Removing gir1.2-notify-0.7:arm64 (0.7.7-4) ...
Removing gir1.2-gdkpixbuf-2.0:arm64 (2.38.1+dfsg-1) ...
Removing python3-gi-cairo (3.30.4-1) ...
Removing python3-gi (3.30.4-1) ...
Removing gir1.2-packagekitglib-1.0 (1.1.12-5) ...
Removing gir1.2-glib-2.0:arm64 (1.58.3-2) ...
Removing gnome-icon-theme (3.12.0-3) ...
update-alternatives: using /usr/share/icons/gnome/scalable/places/gnome-foot.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode
update-alternatives: warning: skip creation of /usr/share/icons/gnome/256x256/places/start-here.png because associated file /usr/share/icons/gnome/256x256/places/gnome-foot.png (of link group start-here.svg) doesn't exist
Removing gnupg1 (1.4.23-1) ...
Removing gnupg2 (2.2.12-1+deb10u1) ...
Removing groff-base (1.22.4-3+deb10u1) ...
Removing gstreamer1.0-plugins-bad:arm64 (1.14.4-1+deb10u2) ...
Removing gstreamer1.0-plugins-good:arm64 (1.14.4-1+deb10u1) ...
Removing gstreamer1.0-plugins-base:arm64 (1.14.4-2+deb10u1) ...
Removing gstreamer1.0-plugins-ugly:arm64 (1.14.4-1+deb10u1) ...
Removing gstreamer1.0-tools (1.14.4-1) ...
Removing gstreamer1.0-x:arm64 (1.14.4-2+deb10u1) ...
Removing gtk2-engines-xfce (3.2.0-4) ...
Removing tango-icon-theme (0.8.90-7) ...
Removing i2c-tools (4.1-1) ...
Removing iperf3 (3.6-2) ...
Removing xfburn (0.5.5-2) ...
Removing libgstreamer-gl1.0-0:arm64 (1.14.4-2+deb10u1) ...
Removing jq (1.5+dfsg-2+b1) ...
Removing kbd (2.0.4-4) ...
Removing xserver-xorg (1:7.7+19) ...
Removing xserver-xorg-video-all (1:7.7+19) ...
Removing xserver-xorg-video-vesa (1:2.4.0-1) ...
Removing xserver-xorg-video-nouveau (1:1.0.16-1) ...
Removing xserver-xorg-input-all (1:7.7+19) ...
Removing xserver-xorg-input-libinput (0.28.2-2) ...
Removing xserver-xorg-video-fbdev (1:0.5.0-1) ...
Removing xserver-xorg-video-ati (1:19.0.1-1) ...
Removing xserver-xorg-video-radeon (1:19.0.1-1) ...
Removing liba52-0.7.4:arm64 (0.7.4-19) ...
Removing libaa1:arm64 (1.4p5-46) ...
Removing libavformat58:arm64 (7:4.1.6-1
deb10u1) ...
Removing libchromaprint1:arm64 (1.4.3-3) ...
Removing libappindicator3-1:arm64 (0.4.92-7) ...
Removing python3-apt (1.8.4.3) ...
Removing libapt-inst2.0:arm64 (1.8.2.3) ...
Removing pulseaudio (12.2-4+deb10u1) ...
Removing libopenal1:arm64 (1:1.19.1-1) ...
Removing libsndio7.0:arm64 (1.5.0-3) ...
Removing libasound2-plugins:arm64 (1.1.8-1) ...
Removing libass9:arm64 (1:0.14.0-2) ...
Removing pulseaudio-utils (12.2-4+deb10u1) ...
Removing libpulsedsp:arm64 (12.2-4+deb10u1) ...
Removing xfce4-timer-plugin (1.7.0-1) ...
Removing libatomic1:arm64 (8.3.0-6) ...
Removing libavahi-core7:arm64 (0.7-4+deb10u1) ...
Removing libavc1394-0:arm64 (0.5.4-5) ...
Removing libavresample4:arm64 (7:4.1.6-1deb10u1) ...
Removing libbind9-161:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ...
Removing nmap (7.70+dfsg1-6+deb10u2) ...
Removing liblinear3:arm64 (2.1.0+dfsg-4) ...
Removing libblas3:arm64 (3.8.0-2) ...
Removing libbluetooth3:arm64 (5.50-1.2
deb10u2) ...
Removing libbluray2:arm64 (1:1.1.0-1) ...
Removing libbs2b0:arm64 (3.1.0+dfsg-2.2) ...
Removing x11-utils (7.7+4) ...
Removing libburn4:arm64 (1.5.0-1+deb10u1) ...
Removing libcaca0:arm64 (0.99.beta19-2.1) ...
Removing xfce4-systemload-plugin (1.2.2-1) ...
Removing xfce4-whiskermenu-plugin (2.3.1-1) ...
Removing xfce4-terminal (0.8.7.4-2) ...
Removing libcdio18:arm64 (2.0.0-2) ...
Removing libcdparanoia0:arm64 (3.10.2+debian-13) ...
Removing python3-pycurl (7.43.0.2-0.1) ...
Removing libcurl3-gnutls:arm64 (7.64.0-4+deb10u2) ...
Removing libdaemon0:arm64 (0.14-7) ...
Removing xfce4-session (4.12.1-6) ...
Removing xfce4-settings (4.12.4-1) ...
Removing xfce4-mailwatch-plugin (1.2.0-3) ...
Removing xfce4-pulseaudio-plugin:arm64 (0.4.1-1) ...
Removing libdbusmenu-gtk3-4:arm64 (18.10.20180917bzr490+repack1-1) ...
Removing libdbusmenu-glib4:arm64 (18.10.20180917
bzr490+repack1-1) ...
Removing libdc1394-22:arm64 (2.2.5-1) ...
Removing libdca0:arm64 (0.0.6-1) ...
Removing libde265-0:arm64 (1.0.3-1+b1) ...
Removing libisccfg163:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ...
Removing libdns1104:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ...
Removing libdpkg-perl (1.19.7) ...
Removing xserver-xorg-video-amdgpu (18.1.99+git20190207-1) ...
Removing libdv4:arm64 (1.0.0-12) ...
Removing libdvdnav4:arm64 (6.0.0-1) ...
Removing libdvdread4:arm64 (6.0.1-1) ...
Removing libdw1:arm64 (0.176-1.1) ...
Removing ssh (1:7.9p1-10+deb10u2) ...
Removing openssh-server (1:7.9p1-10+deb10u2) ...
Removing openssh-sftp-server (1:7.9p1-10+deb10u2) ...
Removing openssh-client (1:7.9p1-10+deb10u2) ...
Removing ntp (1:4.2.8p12+dfsg-4) ...
Removing libinput10:arm64 (1.12.6-2+deb10u1) ...
Removing libinput-bin (1.12.6-2+deb10u1) ...
Removing libevdev2:arm64 (1.6.0+dfsg-1) ...
Removing libevent-2.1-6:arm64 (2.1.8-stable-4) ...
Removing thunar-media-tags-plugin (0.3.0-2) ...
Removing ristretto (0.8.3-1) ...
Removing xfce4-screenshooter (1.9.3-1) ...
Removing python3-cairo:arm64 (1.16.2-1+b1) ...
Removing python3-dbus (1.2.8-3) ...
Removing python3 (3.7.3-1) ...
Removing python3.7 (3.7.3-2+deb10u3) ...
Removing python3-minimal (3.7.3-1) ...
Removing python3.7-minimal (3.7.3-2+deb10u3) ...
Removing libpython3.7:arm64 (3.7.3-2+deb10u3) ...
Removing libfaad2:arm64 (2.8.8-3) ...
Removing libofa0:arm64 (0.9.3-19) ...
Removing libfftw3-double3:arm64 (3.3.8-2) ...
Removing libfftw3-single3:arm64 (3.3.8-2) ...
Removing libfile-fnmatch-perl (0.02-2+b6) ...
Removing libfluidsynth1:arm64 (1.1.11-1+deb10u1) ...
Removing libflite1:arm64 (2.1-release-3) ...
Removing xfonts-scalable (1:1.0.3-1.1) ...
Removing xfonts-base (1:1.0.5) ...
Removing libxft2:arm64 (2.3.2-2) ...
Removing liblwres161:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ...
Removing libisccc161:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ...
Removing xfce4-appfinder (4.12.0-2) ...
Removing perl (5.28.1-6+deb10u1) ...
Removing libperl5.28:arm64 (5.28.1-6+deb10u1) ...
Removing libgdbm-compat4:arm64 (1.18.1-4) ...
Removing libgdbm6:arm64 (1.18.1-4) ...
Removing xfce4-taskmanager (1.2.2-1) ...
Removing libisc1100:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ...
Removing libgeoip1:arm64 (1.6.12-1) ...
Removing libgfortran5:arm64 (8.3.0-6) ...
Removing libgirepository-1.0-1:arm64 (1.58.3-2) ...
Removing libpulse-mainloop-glib0:arm64 (12.2-4+deb10u1) ...
Removing libmm-glib0:arm64 (1.10.0-1) ...
Removing libglu1-mesa:arm64 (9.0.0-2.1+b3) ...
Removing libgme0:arm64 (0.6.2-1) ...
Removing vim (2:8.1.0875-5) ...
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode
Removing mc (3:4.8.22-1) ...
Removing libgpm2:arm64 (1.20.7-5) ...
Removing libnice10:arm64 (0.1.14-1) ...
Removing libgupnp-igd-1.0-4:arm64 (0.2.5-3) ...
Removing libgupnp-1.0-4:arm64 (1.0.5-0+deb10u1) ...
Removing libgssdp-1.0-3:arm64 (1.0.5-0+deb10u1) ...
Removing libgstreamer-plugins-bad1.0-0:arm64 (1.14.4-1+deb10u2) ...
Removing libgtksourceview-3.0-1:arm64 (3.24.9-2) ...
Removing libgtksourceview-3.0-common (3.24.9-2) ...
Removing libwacom2:arm64 (0.32-1) ...
Removing libi2c0:arm64 (4.1-1) ...
Removing libical3:arm64 (3.0.4-3) ...
Removing libzbar0:arm64 (0.22-1) ...
Removing xfce4-clipman-plugin (2:1.4.3-1) ...
Removing libtagc0:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ...
Removing libtag1v5:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ...
Removing libtag1v5-vanilla:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ...
Removing libiec61883-0:arm64 (1.2.0-3) ...
Removing libopenexr23:arm64 (2.2.1-4.1+deb10u1) ...
Removing libilmbase23:arm64 (2.2.1-2) ...
Removing lightdm-gtk-greeter (2.0.6-1) ...
Removing libindicator3-7:arm64 (0.5.0-4) ...
Removing libiperf0:arm64 (3.6-2) ...
Removing libisl19:arm64 (0.20-2) ...
Removing libisofs6:arm64 (1.5.0-1) ...
Removing libjack-jackd2-0:arm64 (1.9.12dfsg-2) ...
Removing libjansson4:arm64 (2.12-1) ...
Removing libspandsp2:arm64 (0.0.6+dfsg-2) ...
Removing libv4l-0:arm64 (1.16.3-3) ...
Removing libv4lconvert0:arm64 (1.16.3-3) ...
Removing libjq1:arm64 (1.5+dfsg-2+b1) ...
Removing libjsoncpp1:arm64 (1.7.4-3) ...
Removing libjte1 (1.21-1) ...
Removing libkate1:arm64 (0.4.1-9) ...
Removing libkeybinder-3.0-0:arm64 (0.3.2-1) ...
Removing liblightdm-gobject-1-0:arm64 (1.26.0-4) ...
Removing liblilv-0-0:arm64 (0.24.2
dfsg0-2) ...
Removing liblmdb0:arm64 (0.9.22-1) ...
Removing libltdl7:arm64 (2.4.6-9) ...
Removing liblua5.3-0:arm64 (5.3.3-1.1) ...
Removing mtd-utils (1:2.0.1-1) ...
Removing liblzo2-2:arm64 (2.10-0.1) ...
Removing libmagic1:arm64 (1:5.35-4+deb10u2) ...
Removing libmagic-mgc (1:5.35-4+deb10u2) ...
Removing libminizip1:arm64 (1.1-8+b1) ...
Removing libmplex2-2.1-0 (1:2.1.0+debian-5) ...
Removing libmpeg2encpp-2.1-0 (1:2.1.0+debian-5) ...
Removing libmjpegutils-2.1-0 (1:2.1.0+debian-5) ...
Removing libmms0:arm64 (0.6.4-3) ...
Removing libmodplug1:arm64 (1:0.8.9.0-2) ...
Removing libmpc3:arm64 (1.1.0-1) ...
Removing libmpcdec6:arm64 (2:0.1r495-1+b2) ...
Removing libpython3-stdlib:arm64 (3.7.3-1) ...
Removing libpython3.7-stdlib:arm64 (3.7.3-2+deb10u3) ...
find: ‘/usr/lib/python3’: No such file or directory
Removing libmpdec2:arm64 (2.4.2-2) ...
Removing libmpeg2-4:arm64 (0.5.1-8) ...
Removing libmpfr6:arm64 (4.0.2-1) ...
Removing libopenmpt0:arm64 (0.4.3-1+deb10u1) ...
Removing libmpg123-0:arm64 (1.25.10-2) ...
Removing libmtdev1:arm64 (1.1.5-1+b1) ...
Removing libndp0:arm64 (1.6-1+b1) ...
Removing libnm0:arm64 (1.14.6-2+deb10u1) ...
Removing xfce4-sensors-plugin (1.3.0-2+b1) ...
Removing libnss3:arm64 (2:3.42.1-1+deb10u3) ...
Removing libnspr4:arm64 (2:4.20-1) ...
Removing libvorbisfile3:arm64 (1.3.6-2) ...
Removing libonig5:arm64 (6.9.1-1) ...
Removing libopenal-data (1:1.19.1-1) ...
Removing libopencore-amrnb0:arm64 (0.1.3-2.1+b2) ...
Removing libopencore-amrwb0:arm64 (0.1.3-2.1+b2) ...
Removing libopts25:arm64 (1:5.18.12-4) ...
Removing libpackagekit-glib2-18:arm64 (1.1.12-5) ...
Removing libpcap0.8:arm64 (1.8.1-6) ...
Removing pciutils (1:3.5.2-1) ...
Removing libpci3:arm64 (1:3.5.2-1) ...
Removing libpipeline1:arm64 (1.5.1-2) ...
Removing libpolkit-agent-1-0:arm64 (0.105-25) ...
Removing libpolkit-backend-1-0:arm64 (0.105-25) ...
Removing libpolkit-gobject-1-0:arm64 (0.105-25) ...
Removing libprotobuf-c1:arm64 (1.3.1-1+b1) ...
Removing libpython3.7-minimal:arm64 (3.7.3-2+deb10u3) ...
find: ‘/usr/lib/python3’: No such file or directory
Removing xfce4-clipman (2:1.4.3-1) ...
Removing libqrencode4:arm64 (4.0.2-1) ...
Removing libraw1394-11:arm64 (2.1.2-1+b1) ...
Removing libre2-5:arm64 (20190101+dfsg-2) ...
Removing libsamplerate0:arm64 (0.1.9-2) ...
Removing libsbc1:arm64 (1.4-1) ...
Removing libsctp1:arm64 (1.0.18+dfsg-1) ...
Removing sysstat (12.0.3-2) ...
Removing libsratom-0-0:arm64 (0.6.0
dfsg0-1) ...
Removing libsord-0-0:arm64 (0.16.0dfsg0-1+b1) ...
Removing libserd-0-0:arm64 (0.28.0
dfsg0-1) ...
Removing libshout3:arm64 (2.4.1-2) ...
Removing libsidplay1v5:arm64 (1.36.59-11) ...
Removing m4 (1.4.18-2) ...
Removing libsigsegv2:arm64 (2.12-2) ...
Removing libsoundtouch1:arm64 (2.1.2+ds1-1) ...
Removing libspeexdsp1:arm64 (1.2rc1.2-1+b2) ...
Removing libsrtp2-1:arm64 (2.2.0-1) ...
Removing libssh-gcrypt-4:arm64 (0.8.7-1+deb10u1) ...
Removing xfce4-smartbookmark-plugin (0.5.0-1) ...
Removing libwnck-3-0:arm64 (3.30.0-2) ...
Removing sysfsutils (2.1.0+repack-5) ...
Removing libsysfs2:arm64 (2.1.0+repack-5) ...
Removing libtdb1:arm64 (1.3.16-2+b1) ...
Removing libteamdctl0:arm64 (1.28-1) ...
Removing libuchardet0:arm64 (0.0.6-3) ...
Removing libupower-glib3:arm64 (0.99.10-1) ...
Removing libutempter0:arm64 (1.1.6-3) ...
Removing libvisual-0.4-0:arm64 (0.4.0-15) ...
Removing libvo-aacenc0:arm64 (0.1.3-1+b1) ...
Removing libvo-amrwbenc0:arm64 (0.1.3-1+b1) ...
Removing libvte-2.91-0:arm64 (0.54.2-2) ...
Removing libvte-2.91-common (0.54.2-2) ...
Removing libvulkan1:arm64 (1.1.97-2) ...
Removing libwacom-common (0.32-1) ...
Removing libwebpdemux2:arm64 (0.6.1-2+deb10u1) ...
Removing libwebrtc-audio-processing1:arm64 (0.3-1) ...
Removing libwildmidi2:arm64 (0.4.3-1) ...
Removing libwnck-3-common (3.30.0-2) ...
Removing libxnvctrl0:arm64 (418.74-1) ...
Removing xinit (1.4.0-1) ...
Removing xauth (1:1.0.10-1) ...
Removing libxcb-shape0:arm64 (1.13.1-2) ...
Removing libxxf86dga1:arm64 (2:1.1.4-1+b3) ...
Removing xfce4-netload-plugin (1.3.1-2) ...
Removing libxfce4ui-utils (4.12.1-3) ...
Removing xfce4-genmon-plugin (4.0.1-2) ...
Removing libxklavier16:arm64 (5.4-4) ...
Removing libxmuu1:arm64 (2:1.1.2-2+b3) ...
Removing libxslt1.1:arm64 (1.1.32-2.2
deb10u1) ...
Removing libxss1:arm64 (1:1.2.3-1) ...
Removing libxv1:arm64 (2:1.0.11-1) ...
Removing mc-data (3:4.8.22-1) ...
Removing mime-support (3.62) ...
Removing net-tools (1.60+git20180626.aebd88e-1) ...
Removing netbase (5.6) ...
Removing nmap-common (7.70+dfsg1-6+deb10u2) ...
Removing notification-daemon (3.20.0-4) ...
Removing perl-modules-5.28 (5.28.1-6+deb10u1) ...
Removing python-apt-common (1.8.4.3) ...
Removing resolvconf (1.79) ...
resolvconf.postrm: Reboot recommended
Removing rsync (3.1.3-6) ...
Removing u-boot-tools (2019.01+dfsg-7) ...
Removing vim-common (2:8.1.0875-5) ...
Removing vim-runtime (2:8.1.0875-5) ...
Removing 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime'
Removing 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime'
Removing xbitmaps (1.1.1-2) ...
Removing xdg-utils (1.1.3-1+deb10u1) ...
Removing xfce4-battery-plugin (1.1.2-1) ...
Removing xfce4-cpufreq-plugin (1.2.1-1) ...
Removing xfce4-cpugraph-plugin (1.0.5-2) ...
Removing xfce4-datetime-plugin (0.7.0-2) ...
Removing xfce4-dict (0.8.2-1) ...
Removing xfce4-diskperf-plugin (2.6.1-2) ...
Removing xfce4-fsguard-plugin (1.1.0-2) ...
Removing xfdesktop4-data (4.12.4-2) ...
Removing xfonts-100dpi (1:1.0.4+nmu1) ...
Removing xfonts-75dpi (1:1.0.4+nmu1) ...
Removing xorg-docs-core (1:1.7.1-1.1) ...
Removing xxd (2:8.1.0875-5) ...
Removing xz-utils (5.2.4-1) ...
Removing zip (3.0-11+b1) ...
Removing thunar (1.8.4-1) ...
Removing desktop-file-utils (0.23-4) ...
Removing libgstreamer-plugins-base1.0-0:arm64 (1.14.4-2+deb10u1) ...
Removing iso-codes (4.2-1) ...
Removing xserver-xorg-core (2:1.20.4-1+deb10u3) ...
Removing keyboard-configuration (1.193deb10u1) ...
Removing libavcodec58:arm64 (7:4.1.6-1
deb10u1) ...
Removing libaom0:arm64 (1.0.0-3) ...
Removing libasound2:arm64 (1.1.8-1) ...
Removing libasound2-data (1.1.8-1) ...
Removing libpulse0:arm64 (12.2-4+deb10u1) ...
Removing libasyncns0:arm64 (0.8-6) ...
Removing libswresample3:arm64 (7:4.1.6-1deb10u1) ...
Removing libavutil56:arm64 (7:4.1.6-1
deb10u1) ...
Removing libgl1:arm64 (1.1.0-1) ...
Removing libglx0:arm64 (1.1.0-1) ...
Removing libglx-mesa0:arm64 (18.3.6-2+deb10u1) ...
Removing libcodec2-0.8.1:arm64 (0.8.1-2) ...
Removing xfce4-panel (4.12.2-1) ...
Removing libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ...
Removing libdrm-amdgpu1:arm64 (2.4.97-1) ...
Removing libegl1:arm64 (1.1.0-1) ...
Removing libegl-mesa0:arm64 (18.3.6-2+deb10u1) ...
Removing libgbm1:arm64 (18.3.6-2+deb10u1) ...
Removing libdrm-radeon1:arm64 (2.4.97-1) ...
Removing libdrm-etnaviv1:arm64 (2.4.97-1) ...
Removing libdrm-nouveau2:arm64 (2.4.97-1) ...
Removing libthunarx-3-0:arm64 (1.8.4-1) ...
Removing libexif12:arm64 (0.6.21-5.1+deb10u5) ...
Removing libexo-1-0:arm64 (0.12.4-1) ...
Removing libsndfile1:arm64 (1.0.28-6+deb10u1) ...
Removing libflac8:arm64 (1.3.2-3) ...
Removing xfonts-utils (1:7.7+6) ...
Removing libxfont2:arm64 (1:2.0.3-1) ...
Removing libfontenc1:arm64 (1:1.1.3-1+b2) ...
Removing libfstrm0:arm64 (0.4.0-1) ...
Removing libgarcon-1-0 (0.6.2-1) ...
Removing libgarcon-common (0.6.2-1) ...
Removing libglapi-mesa:arm64 (18.3.6-2+deb10u1) ...
Removing libglvnd0:arm64 (1.1.0-1) ...
Removing libsoxr0:arm64 (0.1.2-3) ...
Removing libgomp1:arm64 (8.3.0-6) ...
Removing libgsm1:arm64 (1.0.18-2) ...
Removing libgstreamer1.0-0:arm64 (1.14.4-1) ...
Removing libgudev-1.0-0:arm64 (232-2) ...
Removing libllvm7:arm64 (1:7.0.1-8+deb10u2) ...
Removing libmp3lame0:arm64 (3.100-2+b1) ...
Removing libnotify4:arm64 (0.7.7-4) ...
Removing libx265-165:arm64 (2.9-4) ...
Removing libnuma1:arm64 (2.0.12-1) ...
Removing libvorbisenc2:arm64 (1.3.6-2) ...
Removing libopenjp2-7:arm64 (2.3.0-2+deb10u2) ...
Removing libopus0:arm64 (1.3-1) ...
Removing liborc-0.4-0:arm64 (1:0.4.28-3.1) ...
Removing libpciaccess0:arm64 (0.14-1) ...
Removing libzvbi0:arm64 (0.2.35-16) ...
Removing libsensors5:arm64 (1:3.5.0-3) ...
Removing libsensors-config (1:3.5.0-3) ...
Removing libshine3:arm64 (3.1.1-2) ...
Removing xserver-common (2:1.20.4-1+deb10u3) ...
Removing x11-xkb-utils (7.7+4) ...
Removing libsnappy1v5:arm64 (1.1.7-1) ...
Removing libspeex1:arm64 (1.2rc1.2-1+b2) ...
Removing libtheora0:arm64 (1.1.1+dfsg.1-15) ...
Removing libtwolame0:arm64 (0.3.13-4) ...
Removing libunwind8:arm64 (1.2.1-10
deb10u1) ...
Removing libva-drm2:arm64 (2.4.0-1) ...
Removing libva-x11-2:arm64 (2.4.0-1) ...
Removing libva2:arm64 (2.4.0-1) ...
Removing libvdpau1:arm64 (1.1.1-10) ...
Removing libvorbis0a:arm64 (1.3.6-2) ...
Removing libvpx5:arm64 (1.7.0-3+deb10u1) ...
Removing libwavpack1:arm64 (5.1.0-6) ...
Removing libwayland-server0:arm64 (1.16.0-1) ...
Removing libwebpmux3:arm64 (0.6.1-2+deb10u1) ...
Removing libwnck22:arm64 (2.30.7-6) ...
Removing libwnck-common (2.30.7-6) ...
Removing libwrap0:arm64 (7.6.q-28) ...
Removing libx264-155:arm64 (2:0.155.2917+git0a84d98-2) ...
Removing libxaw7:arm64 (2:1.0.13-1+b2) ...
Removing libxcb-dri2-0:arm64 (1.13.1-2) ...
Removing libxcb-dri3-0:arm64 (1.13.1-2) ...
Removing libxcb-glx0:arm64 (1.13.1-2) ...
Removing libxcb-present0:arm64 (1.13.1-2) ...
Removing libxcb-sync1:arm64 (1.13.1-2) ...
Removing libxcb-xfixes0:arm64 (1.13.1-2) ...
Removing libxxf86vm1:arm64 (1:1.1.4-1+b2) ...
Removing libxfce4panel-2.0-4 (4.12.2-1) ...
Removing libxtst6:arm64 (2:1.2.3-1) ...
Removing libxkbfile1:arm64 (1:1.0.9-2+b11) ...
Removing libxmu6:arm64 (2:1.1.2-2+b3) ...
Removing libxpm4:arm64 (1:3.5.12-1) ...
Removing libxres1:arm64 (2:1.2.0-2) ...
Removing libxshmfence1:arm64 (1.3-1) ...
Removing libxvidcore4:arm64 (2:1.3.5-1) ...
Removing libzvbi-common (0.2.35-16) ...
Removing thunar-data (1.8.4-1) ...
Removing xfonts-encodings (1:1.0.4-2) ...
dpkg: warning: while removing xfonts-encodings, directory '/usr/share/fonts/X11/encodings/large' not empty so not removed
Removing exo-utils (0.12.4-1) ...
Removing libxfce4ui-1-0:arm64 (4.12.1-3) ...
Removing libdrm2:arm64 (2.4.97-1) ...
Removing libdrm-common (2.4.97-1) ...
Removing libedit2:arm64 (3.1-20181209-1) ...
Removing libexo-2-0:arm64 (0.12.4-1) ...
Removing libexo-helpers (0.12.4-1) ...
Removing libexo-common (0.12.4-1) ...
Removing libogg0:arm64 (1.3.2-1+b1) ...
Removing libxt6:arm64 (1:1.1.5-1+b3) ...
Removing libxfce4ui-2-0:arm64 (4.12.1-3) ...
Removing libstartup-notification0:arm64 (0.12-6) ...
Removing libx11-xcb1:arm64 (2:1.6.7-1+deb10u2) ...
Removing libxcb-util0:arm64 (0.3.8-3+b2) ...
Removing libxfce4ui-common (4.12.1-3) ...
Removing libgtk-3-0:arm64 (3.24.5-1) ...
Removing libgtk2.0-0:arm64 (2.24.32-3) ...
Removing adwaita-icon-theme (3.30.1-1) ...
Removing libxfconf-0-2 (4.12.1-1) ...
Removing xfconf (4.12.1-1) ...
Removing libgtk-3-common (3.24.5-1) ...
Removing gtk-update-icon-cache (3.24.5-1) ...
Removing hicolor-icon-theme (0.17-2) ...
Removing libatk-bridge2.0-0:arm64 (2.30.0-5) ...
Removing libatk1.0-0:arm64 (2.30.0-2) ...
Removing libatk1.0-data (2.30.0-2) ...
Removing libatspi2.0-0:arm64 (2.30.0-7) ...
Removing libcups2:arm64 (2.2.10-6+deb10u4) ...
Removing libavahi-client3:arm64 (0.7-4+deb10u1) ...
Removing libavahi-common3:arm64 (0.7-4+deb10u1) ...
Removing libavahi-common-data:arm64 (0.7-4+deb10u1) ...
Removing libcairo-gobject2:arm64 (1.16.0-4+deb10u1) ...
Removing libcolord2:arm64 (1.4.3-4) ...
Removing librsvg2-common:arm64 (2.44.10-2.1) ...
Removing librsvg2-2:arm64 (2.44.10-2.1) ...
Removing libcroco3:arm64 (0.6.12-3) ...
Removing libdbus-glib-1-2:arm64 (0.110-4) ...
Removing libepoxy0:arm64 (1.5.3-0.1) ...
Removing libgdk-pixbuf2.0-0:arm64 (2.38.1+dfsg-1) ...
Removing libgdk-pixbuf2.0-common (2.38.1+dfsg-1) ...
Removing libgtk2.0-common (2.24.32-3) ...
Removing shared-mime-info (1.10-1) ...
Removing libtiff5:arm64 (4.1.0+git191117-2deb10u2) ...
Removing libjbig0:arm64 (2.1-3.1+b2) ...
Removing libjpeg62-turbo:arm64 (1:1.5.2-2+deb10u1) ...
Removing libjson-glib-1.0-0:arm64 (1.4.4-2) ...
Removing libjson-glib-1.0-common (1.4.4-2) ...
Removing liblcms2-2:arm64 (2.9-3) ...
Removing librest-0.7-0:arm64 (0.8.1-1) ...
Removing libsm6:arm64 (2:1.2.3-1) ...
Removing libsoup-gnome2.4-1:arm64 (2.64.2-2) ...
Removing libwayland-cursor0:arm64 (1.16.0-1) ...
Removing libwayland-client0:arm64 (1.16.0-1) ...
Removing libwayland-egl1:arm64 (1.16.0-1) ...
Removing libwebp6:arm64 (0.6.1-2+deb10u1) ...
Removing libxcomposite1:arm64 (1:0.4.4-2) ...
Removing libxcursor1:arm64 (1:1.1.15-2) ...
Removing libxdamage1:arm64 (1:1.1.4-3+b3) ...
Removing libxfce4util7:arm64 (4.12.1-3) ...
Removing libxfce4util-common (4.12.1-3) ...
Removing libxfixes3:arm64 (1:5.0.3-1) ...
Removing libxi6:arm64 (2:1.7.9-1) ...
Removing libxinerama1:arm64 (2:1.1.4-2) ...
Removing libxkbcommon0:arm64 (0.8.2-1) ...
Removing libxrandr2:arm64 (2:1.5.1-1) ...
Removing xkb-data (2.26-2) ...
Removing libsoup2.4-1:arm64 (2.64.2-2) ...
Removing glib-networking:arm64 (2.58.0-2+deb10u2) ...
Removing gsettings-desktop-schemas (3.28.1-1) ...
Removing dconf-gsettings-backend:arm64 (0.30.1-2) ...
Removing dconf-service (0.30.1-2) ...
Removing libpangocairo-1.0-0:arm64 (1.42.4-8
deb10u1) ...
Removing libpangoft2-1.0-0:arm64 (1.42.4-8deb10u1) ...
Removing libpango-1.0-0:arm64 (1.42.4-8
deb10u1) ...
Removing fontconfig (2.13.1-2) ...
Removing glib-networking-services (2.58.0-2+deb10u2) ...
Removing glib-networking-common (2.58.0-2+deb10u2) ...
Removing libcairo2:arm64 (1.16.0-4+deb10u1) ...
Removing libthai0:arm64 (0.1.28-2) ...
Removing libdatrie1:arm64 (0.2.12-2) ...
Removing libdconf1:arm64 (0.30.1-2) ...
Removing libfribidi0:arm64 (1.0.5-3.1+deb10u1) ...
Removing libharfbuzz0b:arm64 (2.3.1-1) ...
Removing libgraphite2-3:arm64 (1.3.13-7) ...
Removing libice6:arm64 (2:1.0.9-2) ...
Removing libxml2:arm64 (2.9.4+dfsg1-7+deb10u2) ...
Removing libicu63:arm64 (63.1-6+deb10u1) ...
Removing libpixman-1-0:arm64 (0.36.0-1) ...
Removing libproxy1v5:arm64 (0.4.15-5+deb10u1) ...
Removing libthai-data (0.1.28-2) ...
Removing libxcb-render0:arm64 (1.13.1-2) ...
Removing libxcb-shm0:arm64 (1.13.1-2) ...
Removing libxext6:arm64 (2:1.3.3-1+b2) ...
Removing libxrender1:arm64 (1:0.9.10-1) ...
Removing x11-common (1:7.7+19) ...
Removing dbus-user-session (1.12.20-0+deb10u1) ...
Removing libpam-systemd:arm64 (241-7deb10u8) ...
Removing dbus (1.12.20-0+deb10u1) ...
Removing libfontconfig1:arm64 (2.13.1-2) ...
Removing fontconfig-config (2.13.1-2) ...
Removing fonts-dejavu-core (2.37-1) ...
Removing libexpat1:arm64 (2.2.6-2+deb10u1) ...
Removing libfreetype6:arm64 (2.9.1-3+deb10u2) ...
Removing libglib2.0-0:arm64 (2.58.3-2+deb10u3) ...
Removing libpng16-16:arm64 (1.6.36-6) ...
Removing libx11-6:arm64 (2:1.6.7-1+deb10u2) ...
Removing libx11-data (2:1.6.7-1+deb10u2) ...
Removing ucf (3.0038+nmu1) ...
Removing sensible-utils (0.0.12) ...
Removing libxcb1:arm64 (1.13.1-2) ...
Removing libxdmcp6:arm64 (1:1.1.2-3) ...
Removing libbsd0:arm64 (0.9.1-2+deb10u1) ...
Removing libxau6:arm64 (1:1.0.8-1+b2) ...
Removing tasksel (3.53) ...
Removing tasksel-data (3.53) ...
Removing liblocale-gettext-perl (1.07-3+b4) ...
Processing triggers for libc-bin (2.28-10) ...
(Reading database ... 30641 files and directories currently installed.)
Purging configuration files for xinit (1.4.0-1) ...
Purging configuration files for dhcpcd5 (7.1.0-2) ...
Purging configuration files for fontconfig (2.13.1-2) ...
Purging configuration files for xfce4-notes (1.8.1-2) ...
Purging configuration files for libasound2-plugins:arm64 (1.1.8-1) ...
Purging configuration files for vim (2:8.1.0875-5) ...
Purging configuration files for xfonts-100dpi (1:1.0.4+nmu1) ...
dpkg: warning: while removing xfonts-100dpi, directory '/usr/share/fonts/X11/100dpi' not empty so not removed
Purging configuration files for desktop-file-utils (0.23-4) ...
Purging configuration files for mime-support (3.62) ...
Purging configuration files for mc (3:4.8.22-1) ...
Purging configuration files for ssh (1:7.9p1-10+deb10u2) ...
Purging configuration files for openssh-server (1:7.9p1-10+deb10u2) ...
Purging configuration files for libvte-2.91-common (0.54.2-2) ...
Purging configuration files for libexo-common (0.12.4-1) ...
Purging configuration files for sysfsutils (2.1.0+repack-5) ...
Purging configuration files for libpulse0:arm64 (12.2-4+deb10u1) ...
Purging configuration files for libglib2.0-0:arm64 (2.58.3-2+deb10u3) ...
Purging configuration files for fontconfig-config (2.13.1-2) ...
Purging configuration files for libgtk-3-0:arm64 (3.24.5-1) ...
Purging configuration files for openssh-client (1:7.9p1-10+deb10u2) ...
Purging configuration files for xserver-xorg (1:7.7+19) ...
Purging configuration files for xfce4-whiskermenu-plugin (2.3.1-1) ...
Purging configuration files for libgtk2.0-0:arm64 (2.24.32-3) ...
Purging configuration files for libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ...
Purging configuration files for xserver-xorg-core (2:1.20.4-1+deb10u3) ...
rm: cannot remove '/var/log/Xorg.*.log.old': No such file or directory
Purging configuration files for x11-common (1:7.7+19) ...
Purging configuration files for libsensors-config (1:3.5.0-3) ...
Purging configuration files for tasksel (3.53) ...
Purging configuration files for libmagic1:arm64 (1:5.35-4+deb10u2) ...
Purging configuration files for bc (1.07.1-2+b1) ...
Purging configuration files for x11-apps (7.7+7) ...
Purging configuration files for python3 (3.7.3-1) ...
Purging configuration files for network-manager (1.14.6-2+deb10u1) ...
dpkg: warning: while removing network-manager, directory '/etc/NetworkManager/system-connections' not empty so not removed
Purging configuration files for resolvconf (1.79) ...
Purging configuration files for blueman (2.0.8-1+deb10u1) ...
Purging configuration files for xfonts-utils (1:7.7+6) ...
dpkg: warning: while removing xfonts-utils, directory '/usr/share/fonts/X11/util' not empty so not removed
Purging configuration files for x11-xserver-utils (7.7+8) ...
Purging configuration files for man-db (2.8.5-2) ...
Removing catpages as well as /var/cache/man hierarchy.
Purging configuration files for pulseaudio (12.2-4+deb10u1) ...
Purging configuration files for libpython3.7-minimal:arm64 (3.7.3-2+deb10u3) ...
Purging configuration files for software-properties-common (0.96.20.2-2) ...
Purging configuration files for notification-daemon (3.20.0-4) ...
Purging configuration files for libgarcon-common (0.6.2-1) ...
Purging configuration files for alsa-utils (1.1.8-2) ...
Purging configuration files for dbus-user-session (1.12.20-0+deb10u1) ...
Purging configuration files for desktop-base (10.0.2) ...
Purging configuration files for bluez (5.50-1.2
deb10u2) ...
Purging configuration files for perl (5.28.1-6+deb10u1) ...
Purging configuration files for xfonts-base (1:1.0.5) ...
dpkg: warning: while removing xfonts-base, directory '/usr/share/fonts/X11/misc' not empty so not removed
Purging configuration files for light-locker (1.8.0-3) ...
Purging configuration files for vim-common (2:8.1.0875-5) ...
Purging configuration files for thunar (1.8.4-1) ...
Purging configuration files for adwaita-icon-theme (3.30.1-1) ...
Purging configuration files for libwrap0:arm64 (7.6.q-28) ...
Purging configuration files for libgdk-pixbuf2.0-0:arm64 (2.38.1+dfsg-1) ...
Purging configuration files for ntp (1:4.2.8p12+dfsg-4) ...
dpkg: warning: while removing ntp, directory '/etc/NetworkManager' not empty so not removed
Purging configuration files for dbus (1.12.20-0+deb10u1) ...
rmdir: failed to remove '/var/run/dbus': Directory not empty
Purging configuration files for shared-mime-info (1.10-1) ...
Purging configuration files for bsdmainutils (11.1.2+b1) ...
Purging configuration files for xfce4-session (4.12.1-6) ...
Purging configuration files for fonts-dejavu-core (2.37-1) ...
dpkg: warning: while removing fonts-dejavu-core, directory '/usr/share/fonts/truetype/dejavu' not empty so not removed
Purging configuration files for ucf (3.0038+nmu1) ...
Purging configuration files for pciutils (1:3.5.2-1) ...
Purging configuration files for python3.7-minimal (3.7.3-2+deb10u3) ...
Purging configuration files for autoconf (2.69-11) ...
Purging configuration files for xfce4-appfinder (4.12.0-2) ...
Purging configuration files for avahi-daemon (0.7-4+deb10u1) ...
rmdir: failed to remove '/var/run/avahi-daemon': Directory not empty
Purging configuration files for groff-base (1.22.4-3+deb10u1) ...
Purging configuration files for xfce4-panel (4.12.2-1) ...
Purging configuration files for libvdpau1:arm64 (1.1.1-10) ...
Purging configuration files for x11-utils (7.7+4) ...
Purging configuration files for libopenal-data (1:1.19.1-1) ...
Purging configuration files for kbd (2.0.4-4) ...
Purging configuration files for netbase (5.6) ...
Purging configuration files for x11-session-utils (7.7+3) ...
Purging configuration files for libgtk2.0-common (2.24.32-3) ...
Purging configuration files for debsums (2.2.3) ...
Purging configuration files for chromium (89.0.4389.114-1deb10u1) ...
Purging configuration files for xterm (344-1+deb10u1) ...
Purging configuration files for xfce4-settings (4.12.4-1) ...
Purging configuration files for xfonts-75dpi (1:1.0.4+nmu1) ...
dpkg: warning: while removing xfonts-75dpi, directory '/usr/share/fonts/X11/75dpi' not empty so not removed
Purging configuration files for keyboard-configuration (1.193
deb10u1) ...
Purging configuration files for libxfce4ui-common (4.12.1-3) ...
Purging configuration files for vim-runtime (2:8.1.0875-5) ...
Purging configuration files for lsb-release (10.2019051400) ...
Purging configuration files for lightdm-gtk-greeter (2.0.6-1) ...
Purging configuration files for thunar-data (1.8.4-1) ...
Purging configuration files for policykit-1 (0.105-25) ...
Purging configuration files for sysstat (12.0.3-2) ...
Purging configuration files for firefox-esr (78.14.0esr-1deb10u1) ...
Purging configuration files for xfonts-scalable (1:1.0.3-1.1) ...
dpkg: warning: while removing xfonts-scalable, directory '/usr/share/fonts/X11/Type1' not empty so not removed
Purging configuration files for libgtk-3-common (3.24.5-1) ...
Purging configuration files for xfce4-clipman (2:1.4.3-1) ...
Purging configuration files for rsync (3.1.3-6) ...
Purging configuration files for tango-icon-theme (0.8.90-7) ...
Purging configuration files for lightdm (1.26.0-4) ...
Removing user lightdm' ... Warning: group lightdm' has no more members.
Done.
Processing triggers for systemd (241-7
deb10u8) ...
[ OK ] DietPi-PREP | APT purge for: dbus dhcpcd5 mountall initscripts office xfce qt5 xserver xorg glib-networking libgtk-3-0
removed '/etc/apt/apt.conf.d/01autoremove'
removed '/etc/apt/apt.conf.d/01autoremove-kernels'
[ INFO ] DietPi-PREP | APT autopurge, please wait...
(Reading database ... 30321 files and directories currently installed.)
Removing linux-headers-5.10.69-2-amlogic-g981b0a3cef (5.10.69-2-amlogic-g981b0a3cef) ...
[ OK ] DietPi-PREP | APT autopurge

DietPi-PREP
─────────────────────────────────────────────────────
Step: [4] APT installations

[ INFO ] DietPi-PREP | APT dist-upgrade, please wait...
[ OK ] DietPi-PREP | APT dist-upgrade
[ OK ] DietPi-PREP | apt-get clean
[ INFO ] DietPi-PREP | Installing core DietPi pre-req DEB packages
[ INFO ] DietPi-PREP | APT install for: apt bash-completion bzip2 ca-certificates console-setup cron curl ethtool fake-hwclock fdisk gnupg htop ifupdown iputils-ping isc-dhcp-client kmod locales nano p7zip parted procps psmisc rfkill sudo systemd-sysv tzdata udev unzip usbutils wget whiptail dropbear-run initramfs-tools haveged hdparm iw wireless-tools crda wpasupplicant dosfstools firmware-realtek firmware-linux-free firmware-misc-nonfree firmware-atheros firmware-brcm80211 firmware-iwlwifi, please wait...

after exit
root@zero:/tmp/DietPi-PREP# ifup --force wlan0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/20:50:e7:19:93:a9
Sending on LPF/wlan0/20:50:e7:19:93:a9
Sending on Socket/fallback
DHCPREQUEST for 192.168.1.77 on wlan0 to 255.255.255.255 port 67
DHCPREQUEST for 192.168.1.77 on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
Trying recorded lease 192.168.1.77
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.

--- 192.168.1.254 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

No working leases in persistent database - sleeping.

root@zero:/tmp/DietPi-PREP#  nmcli r wifi on
bash: nmcli: command not found

@MichaIng
Copy link
Owner

MichaIng commented Oct 13, 2021

No DHCPOFFERS received.

Ah, forgot wpasupplicant:

apt install ifupdown isc-dhcp-client wpasupplicant crda
echo -e 'allow-hotplug wlan0\niface wlan0 inet dhcp\nwireless-power off\nwpa-conf /etc/wpa_supplicant/wpa_supplicant.conf' > /etc/network/interfaces
cat << '_EOF_' > /etc/wpa_supplicant/wpa_supplicant.conf
# Grant all members of group "netdev" permissions to configure WiFi, e.g. via wpa_cli or wpa_gui
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
# Allow wpa_cli/wpa_gui to overwrite this config file
update_config=1
network={
	ssid="<WiFi SSID>"
	scan_ssid=1
	key_mgmt=WPA-PSK
	psk="<WiFi key>"
}
_EOF_
# Replace `<WiFi SSID>` and `<WiFi key>` with the actual ones, of course.
ifup --force wlan0

bash: nmcli: command not found

Makes sense as NetMan was uninstalled.

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng

root@zero:/home/rock# ifup --force wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlan0
root@zero:/home/rock# ifconfig -a
lo: flags=73  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163  mtu 1500
        inet 192.168.1.77  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fd98:7272:9188:1:f758:5e36:d341:f26  prefixlen 64  scopeid 0x0
        inet6 fe80::8dba:ed27:f6b8:7d65  prefixlen 64  scopeid 0x20
        ether 20:50:e7:19:93:a9  txqueuelen 1000  (Ethernet)
        RX packets 13728  bytes 19215928 (18.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6675  bytes 591071 (577.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@zero:/home/rock#

root@zero:/home/rock# cat /etc/network/interfaces
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-power off
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
root@zero:/home/rock#

@MichaIng
Copy link
Owner

MichaIng commented Oct 13, 2021

Can you try again with this wpasupplicant config:

cat << '_EOF_' > /etc/wpa_supplicant/wpa_supplicant.conf
# Grant all members of group "netdev" permissions to configure WiFi, e.g. via wpa_cli or wpa_gui
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
# Allow wpa_cli/wpa_gui to overwrite this config file
update_config=1
network={
	ssid="<WiFi SSID>"
	scan_ssid=1
	key_mgmt=WPA-PSK
	psk="<WiFi key>"
}

_EOF_

Probably it conflicts with NetMan and how it invokes wpasupplicant, so maybe it needs to be disabled first. To not break e.g. an SSH connection, last resort would be, after above:

systemctl disable networkmanager
systemctl disable wpasupplicant # the static service which is not used by ifupdown
systemctl enable networking
reboot

So on reboot the network should then be established from ground up by ifupdown, and NetMan can then be removed without it breaking the active network connection.

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng 😌 I'm sorry to disturb you. Tomorrow I'll try it through a USB LAN.

root@zero:/home/rock# cat /etc/wpa_supplicant/wpa_supplicant.conf
# Grant all members of group "netdev" permissions to configure WiFi, e.g. via wpa_cli or wpa_gui
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
# Allow wpa_cli/wpa_gui to overwrite this config file
update_config=1
network={
ssid="MYHOMENETWORK"
scan_ssid=1
key_mgmt=WPA-PSK
psk="MYSUPERSECRETPASSWORD"
}

root@zero:/home/rock# ifup --force wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlan0
root@zero:/home/rock#

@MichaIng
Copy link
Owner

See my edit above. I'll also do some more tests when I find time, looks like there is no chance to fully automate this without a reboot 🤔.

@MichaIng MichaIng added the Installer 💠 Issues related to DietPi-Installer and/or pre-image used label Oct 13, 2021
@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng

If your script first download the necessary (deb) files, copy them to a temporary directory and, after cleaning (step 3), install from there?
and then up the network?

See my edit above

Failed to disable unit: Unit file networkmanager.service does not exist.

@MichaIng
Copy link
Owner

MichaIng commented Oct 13, 2021

The packages can be installed directly, they do not configure anything on install. But NetMan deconfigures the network on uninstall, so before removing it, it must not be active anymore it seems. And it furthermore seems to break ifupdown WiFi from being configured. So steps would be:

  • Install ifupdown network stack (the four packages to include WiFi)
  • Create wpasupplicant and interfaces configuration files
  • Enable (but not start) the networking service
  • Disable (but not stop) NetMan (and static wpasupplicant)
  • Reboot
  • Continue/run PREP

To fully implement this into PREP, the left question is how to translate NetMan (and consequently connman) configurations into wpasupplicant and interfaces configs, so that SSID + key and DHCP/static IP are preserved the way they were with NetMan (connman) before.

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng last small question - my Radxa Zero have SOC S905Y2, is it equivalent to "28 : Generic Amlogic S905 "?

@MichaIng
Copy link
Owner

MichaIng commented Oct 13, 2021

Quite a different SoC despite the similar naming:

  • different GPU
  • DDR3 vs DDR4
  • Different default frequency
  • Bluetooth 4 vs Bluetooth 5 (okay that is not part of the SoC)
  • USB 2 vs USB 3

At least the CPU is the same. Currently it won't make any difference but when we implement more SoC-specific steps to the code, I think it deserves an own ID. Mean I'd stay with "Generic device".

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng success after #4831 (comment) !
the wlan0 has up after step 3!

@almirus
Copy link
Author

almirus commented Oct 13, 2021

Yippee!

[ OK ] DietPi-PREP | Completed, disk can now be saved to .img for later use, or, reboot system to start first run of DietPi.

@almirus
Copy link
Author

almirus commented Oct 13, 2021

@MichaIng 😌 new image (loading from sd) stuck

here
G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;0.0?
                                                                                            bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0001 - pwm id 0x00
bl2_stage_init 0xc0
bl2_stage_init 0x02

no sdio debug board detected
L0:00000000
L1:00000703
L2:00008067
L3:04000000
S1:00000000
B2:00002000
B1:e0f83180

TE: 265268

BL2 Built : 15:21:48, Aug 28 2019. g12a g1bf2b53 - luan.yuan@droid15-sz

Board ID = 2
Set cpu clk to 24M
Set clk81 to 24M
CPU clk: 1200 MHz
Set clk81 to 166.6M
DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:21:45
board id: 2
Load FIP HDR from SD, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
Load ddrfw from SD, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0
Load ddrfw from SD, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0
PIEI prepare done
fastboot data load
fastboot data verify
verify result: 266
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
LPDDR4 probe
ddr clk to 792MHz
Load ddrfw from SD, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0

dmc_version 0000
Check phy result
INFO : ERROR : Training has failed!
1D training failed
Cfg max: 2, cur: 2. Board id: 255. Force loop cfg
LPDDR4 probe
ddr clk to 792MHz
Load ddrfw from SD, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0

dmc_version 0000
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of Write leveling coarse delay
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Load ddrfw from SD, src: 0x00048200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!

channel==0
RxClkDly_Margin_A0==256 ps 13
TxDqDly_Margin_A0==256 ps 13
RxClkDly_Margin_A1==0 ps 0
TxDqDly_Margin_A1==0 ps 0
TrainedVREFDQ_A0==74
TrainedVREFDQ_A1==0
VrefDac_Margin_A0==28
DeviceVref_Margin_A0==40
VrefDac_Margin_A1==0
DeviceVref_Margin_A1==0

channel==1
RxClkDly_Margin_A0==256 ps 13
TxDqDly_Margin_A0==256 ps 13
RxClkDly_Margin_A1==0 ps 0
TxDqDly_Margin_A1==0 ps 0
TrainedVREFDQ_A0==74
TrainedVREFDQ_A1==0
VrefDac_Margin_A0==29
DeviceVref_Margin_A0==40
VrefDac_Margin_A1==0
DeviceVref_Margin_A1==0

dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0004

soc_vref_reg_value 0x 00000019 0000001a 00000017 00000019 00000018 00000016 0000001a 00000016 00000017 00000018 00000019 0000001c 00000019 00000019 00000019 0000001b 0000001b 00000018 00000019 00000017 0000001b 00000018 00000018 00000017 00000018 00000019 00000017 0000001a 0000001a 00000018 00000018 00000017 dram_vref_reg_value 0x 00000062
2D training succeed
aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:53:31
auto size-- 65535DDR cs0 size: 1024MB
DDR cs1 size: 0MB
DMC_DDR_CTRL: 00c0002bDDR size: 1024MB
cs0 DataBus test pass
cs0 AddrBus test pass

100bdlr_step_size ps== 447
result report
boot times 0Enable ddr reg access
Load FIP HDR from SD, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from SD, src: 0x0006c200, des: 0x0175c000, size: 0x000ec000, part: 0
bl2z: ptr: 05129330, size: 00001e40
0.0;M3 CHK:0;cm4_sp_mode 0
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12a_v1.1.3390-6ac5299 2019-09-26 14:09:46 luan.yuan@droid15-sz]
OPS=0x30
ring efuse init
28 0b 30 00 01 19 39 00 00 14 35 39 53 42 56 50
[0.017150 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE: BL31: v1.3(release):4fc40b1
NOTICE: BL31: Built : 15:57:33, May 22 2019
NOTICE: BL31: G12A normal boot!
ERROR: Error initializing runtime service opteed_fast

U-Boot 2021.07-24129-g105a2deb65 (Oct 10 2021 - 15:29:12 +0800) radxa-zero

Model: Radxa Zero
SoC: Amlogic Meson G12A (S905Y2) Revision 28:b (30:2)
DRAM: 1 GiB
MMC: sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
3260 bytes read in 1 ms (3.1 MiB/s)

Executing script at 08000000

317 bytes read in 1 ms (309.6 KiB/s)
12207302 bytes read in 521 ms (22.3 MiB/s)
25526784 bytes read in 1093 ms (22.3 MiB/s)
72075 bytes read in 7 ms (9.8 MiB/s)
232 bytes read in 5 ms (44.9 KiB/s)
Applying kernel provided DT fixup script (meson-fixup.scr)

Executing script at 01600000

initrdsize = 0x
Moving Image from 0x8080000 to 0x8200000, end=9af0000

Flattened Device Tree blob at 08008000

Booting using the fdt blob at 0x8008000
Loading Ramdisk to 40000000, end 40000000 ... OK
Loading Device Tree to 000000003bec3000, end 000000003bf3cfff ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.69-2-amlogic-g981b0a3cef (root@mrs-ella) (aarch64-none-elf-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #g981b0a3cef SMP PREEMPT Sun Oct 10 15:41:00 CST 2021
[ 0.000000] Machine model: Radxa Zero
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'secmon@5000000': base 0x0000000005000000, size 3 MiB
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000002bc00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x3fda8100-0x3fda9fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 23 pages/cpu s56920 r8192 d29096 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: initrd=initrd.img-5.10.69-2-amlogic-g981b0a3cef root=UUID=59a99a38-c4bc-4887-bcf8-dd93e10c4f2a rootwait rw rootfstype=ext4 console=tty1 console=ttyAML0,115200 panic=10 consoleblank=0 loglevel=7 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 737048K/1048576K available (14336K kernel code, 1760K rwdata, 5452K rodata, 3264K init, 589K bss, 49384K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[ 0.000000] random: get_random_bytes called from start_kernel+0x364/0x528 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000200] Console: colour dummy device 80x25
[ 0.000613] printk: console [tty1] enabled
[ 0.000703] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000727] pid_max: default: 32768 minimum: 301
[ 0.000806] LSM: Security Framework initializing
[ 0.000836] Yama: becoming mindful.
[ 0.000927] AppArmor: AppArmor initialized
[ 0.000975] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.000995] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.002621] rcu: Hierarchical SRCU implementation.
[ 0.004744] EFI services will not be available.
[ 0.005074] smp: Bringing up secondary CPUs ...
[ 0.005578] Detected VIPT I-cache on CPU1
[ 0.005646] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.006166] Detected VIPT I-cache on CPU2
[ 0.006196] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.006679] Detected VIPT I-cache on CPU3
[ 0.006706] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.006764] smp: Brought up 1 node, 4 CPUs
[ 0.006825] SMP: Total of 4 processors activated.
[ 0.006836] CPU features: detected: 32-bit EL0 Support
[ 0.006849] CPU features: detected: CRC32 instructions
[ 0.006861] CPU features: detected: 32-bit EL1 Support
[ 0.015077] CPU: All CPU(s) started at EL2
[ 0.015139] alternatives: patching kernel code
[ 0.016497] devtmpfs: initialized
[ 0.027234] Registered cp15_barrier emulation handler
[ 0.027272] Registered setend emulation handler
[ 0.027467] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.027511] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.034123] pinctrl core: initialized pinctrl subsystem
[ 0.035041] DMI not present or invalid.
[ 0.035563] NET: Registered protocol family 16
[ 0.037231] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.037343] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.037464] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.037552] audit: initializing netlink subsys (disabled)
[ 0.037716] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[ 0.039853] thermal_sys: Registered thermal governor 'fair_share'
[ 0.039864] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.039892] thermal_sys: Registered thermal governor 'step_wise'
[ 0.039904] thermal_sys: Registered thermal governor 'user_space'
[ 0.040477] cpuidle: using governor menu
[ 0.040853] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.040967] ASID allocator initialised with 65536 entries
[ 0.042309] Serial: AMBA PL011 UART driver
[ 0.081748] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.081785] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.081798] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.081811] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.084031] cryptd: max_cpu_qlen set to 1000
[ 0.153263] raid6: neonx8 gen() 2138 MB/s
[ 0.221342] raid6: neonx8 xor() 1596 MB/s
[ 0.289366] raid6: neonx4 gen() 2202 MB/s
[ 0.357418] raid6: neonx4 xor() 1569 MB/s
[ 0.425470] raid6: neonx2 gen() 2085 MB/s
[ 0.493526] raid6: neonx2 xor() 1435 MB/s
[ 0.561602] raid6: neonx1 gen() 1789 MB/s
[ 0.629660] raid6: neonx1 xor() 1219 MB/s
[ 0.697732] raid6: int64x8 gen() 1437 MB/s
[ 0.765786] raid6: int64x8 xor() 771 MB/s
[ 0.833930] raid6: int64x4 gen() 1599 MB/s
[ 0.901932] raid6: int64x4 xor() 815 MB/s
[ 0.970016] raid6: int64x2 gen() 1399 MB/s
[ 1.038085] raid6: int64x2 xor() 749 MB/s
[ 1.106172] raid6: int64x1 gen() 1033 MB/s
[ 1.174225] raid6: int64x1 xor() 517 MB/s
[ 1.174236] raid6: using algorithm neonx4 gen() 2202 MB/s
[ 1.174246] raid6: .... xor() 1569 MB/s, rmw enabled
[ 1.174257] raid6: using neon recovery algorithm
[ 1.174938] ACPI: Interpreter disabled.
[ 1.175323] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517
[ 1.175664] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517
[ 1.175755] reg-fixed-voltage regulator-vcc_3v3: Failed to register regulator: -517
[ 1.175893] reg-fixed-voltage regulator-vddao_1v8: Failed to register regulator: -517
[ 1.175973] VDDAO_3V3: supplied by DC_IN
[ 1.176767] iommu: Default domain type: Translated
[ 1.176977] vgaarb: loaded
[ 1.177980] SCSI subsystem initialized
[ 1.178445] usbcore: registered new interface driver usbfs
[ 1.178525] usbcore: registered new interface driver hub
[ 1.178585] usbcore: registered new device driver usb
[ 1.179014] pps_core: LinuxPPS API ver. 1 registered
[ 1.179039] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 1.179073] PTP clock support registered
[ 1.179388] EDAC MC: Ver: 3.0.0
[ 1.181334] NetLabel: Initializing
[ 1.181364] NetLabel: domain hash size = 128
[ 1.181373] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.181442] NetLabel: unlabeled traffic allowed by default
[ 1.181907] clocksource: Switched to clocksource arch_sys_counter
[ 1.182235] VFS: Disk quotas dquot_6.6.0
[ 1.182297] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.182862] AppArmor: AppArmor Filesystem Enabled
[ 1.182941] pnp: PnP ACPI: disabled
[ 1.190108] NET: Registered protocol family 2
[ 1.190244] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 1.191008] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 1.191093] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.191189] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 1.191300] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.191462] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[ 1.191522] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.191559] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.191706] NET: Registered protocol family 1
[ 1.191738] PCI: CLS 0 bytes, default 64
[ 1.192907] kvm [1]: IPA Size Limit: 40 bits
[ 1.193858] kvm [1]: vgic interrupt IRQ9
[ 1.194370] kvm [1]: Hyp mode initialized successfully
[ 1.200064] Initialise system trusted keyrings
[ 1.200139] Key type blacklist registered
[ 1.200270] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[ 1.205005] zbud: loaded
[ 1.206701] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.207367] fuse: init (API version 7.32)
[ 1.208419] integrity: Platform Keyring initialized
[ 1.244160] xor: measuring software checksum speed
[ 1.248362] 8regs : 2363 MB/sec
[ 1.251897] 32regs : 2798 MB/sec
[ 1.256071] arm64_neon : 2367 MB/sec
[ 1.256082] xor: using function: 32regs (2798 MB/sec)
[ 1.256097] Key type asymmetric registered
[ 1.256108] Asymmetric key parser 'x509' registered
[ 1.256178] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 1.256316] io scheduler mq-deadline registered
[ 1.256329] io scheduler kyber registered
[ 1.256467] io scheduler bfq registered
[ 1.263695] EINJ: ACPI disabled.
[ 1.271277] soc soc0: Amlogic Meson G12A (Unknown) Revision 28:b (30:2) Detected
[ 1.273046] VDDCPU: supplied by regulator-dummy
[ 1.274238] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 1.277242] Serial: AMBA driver
[ 1.277651] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 21, base_baud = 1500000) is a meson_uart
[ 2.297462] printk: console [ttyAML0] enabled
[ 2.302829] ffd24000.serial: ttyAML2 at MMIO 0xffd24000 (irq = 26, base_baud = 1500000) is a meson_uart
[ 2.311269] serial serial0: tty port ttyAML2 registered
[ 2.485938] loop: module loaded
[ 2.488634] libphy: Fixed MDIO Bus: probed
[ 2.490394] tun: Universal TUN/TAP device driver, 1.6
[ 2.493389] thunder_xcv, ver 1.0
[ 2.495790] thunder_bgx, ver 1.0
[ 2.498951] nicpf, ver 1.0
[ 2.502154] e1000e: Intel(R) PRO/1000 Network Driver
[ 2.506516] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.512433] igb: Intel(R) Gigabit Ethernet Network Driver
[ 2.517720] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.523279] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 2.529449] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 2.535506] sky2: driver version 1.30
[ 2.539437] VFIO - User Level meta-driver version: 0.3
[ 2.545810] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.550565] ehci-pci: EHCI PCI platform driver
[ 2.554960] ehci-platform: EHCI generic platform driver
[ 2.560303] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.566214] ohci-pci: OHCI PCI platform driver
[ 2.570642] ohci-platform: OHCI generic platform driver
[ 2.576300] usbcore: registered new interface driver usb-storage
[ 2.583260] mousedev: PS/2 mouse device common for all mice
[ 2.587939] i2c /dev entries driver
[ 2.597447] sdhci: Secure Digital Host Controller Interface driver
[ 2.598018] sdhci: Copyright(c) Pierre Ossman
[ 2.602531] Synopsys Designware Multimedia Card Interface Driver
[ 2.608882] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.609427] meson-gx-mmc ffe05000.sd: Got CD GPIO
[ 2.618641] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.625186] meson-sm: secure-monitor enabled
[ 2.629087] hid: raw HID events driver (C) Jiri Kosina
[ 2.633939] usbcore: registered new interface driver usbhid
[ 2.639320] usbhid: USB HID core driver
[ 2.644951] NET: Registered protocol family 10
[ 2.648213] Segment Routing with IPv6
[ 2.651338] NET: Registered protocol family 17
[ 2.655608] 8021q: 802.1Q VLAN Support v1.8
[ 2.659710] Key type dns_resolver registered
[ 2.664342] registered taskstats version 1
[ 2.667959] Loading compiled-in X.509 certificates
[ 2.674675] Loaded X.509 cert 'Build time autogenerated kernel key: 34811813b8a704b907ec76bad4d3b818baef1c24'
[ 2.684446] zswap: loaded using pool zstd/z3fold
[ 2.687364] Key type ._fscrypt registered
[ 2.690075] mmc1: new high speed SDHC card at address aaaa
[ 2.691085] Key type .fscrypt registered
[ 2.697337] mmcblk1: mmc1:aaaa SC32G 29.7 GiB
[ 2.700379] Key type fscrypt-provisioning registered
[ 2.702226] Btrfs loaded, crc32c=crc32c-generic
[ 2.709849] mmcblk1: p1 p2
[ 2.714885] Key type encrypted registered
[ 2.720942] AppArmor: AppArmor sha1 policy hashing enabled
[ 2.737695] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517
[ 2.740335] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517
[ 2.747701] VCC_3V3: supplied by VDDAO_3V3
[ 2.752136] VCC_5V: supplied by DC_IN
[ 2.755457] VDDAO_1V8: supplied by VDDAO_3V3
[ 2.762798] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2
[ 2.764556] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1
[ 2.773004] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator
[ 2.776974] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator
[ 2.784060] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[ 2.792302] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.796332] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 2.804023] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010
[ 2.813246] xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0xff500000
[ 2.819289] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 2.827268] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.834418] usb usb1: Product: xHCI Host Controller
[ 2.839245] usb usb1: Manufacturer: Linux 5.10.69-2-amlogic-g981b0a3cef xhci-hcd
[ 2.846578] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 2.851801] hub 1-0:1.0: USB hub found
[ 2.855146] hub 1-0:1.0: 2 ports detected
[ 2.859334] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.864531] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 2.872118] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 2.878614] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.886670] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 2.894795] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.901950] usb usb2: Product: xHCI Host Controller
[ 2.906777] usb usb2: Manufacturer: Linux 5.10.69-2-amlogic-g981b0a3cef xhci-hcd
[ 2.914110] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 2.919312] hub 2-0:1.0: USB hub found
[ 2.922683] hub 2-0:1.0: 1 port detected
[ 2.927869] FLASH_1V8: supplied by VCC_3V3
[ 2.928672] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq
[ 2.931100] VCC_1V8: supplied by VCC_3V3
[ 2.942289] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
[ 2.974234] Waiting for root device UUID=59a99a38-c4bc-4887-bcf8-dd93e10c4f2a...
[ 2.994746] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.996854] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.002135] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.009194] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[ 3.015464] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[ 3.074044] random: fast init done
[ 3.117908] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 3.131810] mmc2: new high speed SDIO card at address 0001
[ 3.267034] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36
[ 3.269559] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.276633] usb 1-1: Product: USB2.0 Hub
[ 3.327073] hub 1-1:1.0: USB hub found
[ 3.327369] hub 1-1:1.0: 4 ports detected
[ 3.617915] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd
[ 3.721890] usb 1-1.2: New USB device found, idVendor=0b95, idProduct=6802, bcdDevice= 0.12
[ 3.724591] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.731840] usb 1-1.2: Product: AX68002
[ 3.735632] usb 1-1.2: Manufacturer: ASIX Electronics
[ 3.740634] usb 1-1.2: SerialNumber: 00000001
[ 3.807039] hub 1-1.2:1.0: USB hub found
[ 3.807520] hub 1-1.2:1.0: 7 ports detected
[ 4.097915] usb 1-1.2.1: new full-speed USB device number 4 using xhci-hcd
[ 4.201565] usb 1-1.2.1: New USB device found, idVendor=c0f4, idProduct=02e0, bcdDevice= 1.10
[ 4.204435] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.211847] usb 1-1.2.1: Product: usb keyboard
[ 4.216243] usb 1-1.2.1: Manufacturer: USB
[ 4.289199] input: USB usb keyboard as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:C0F4:02E0.0001/input/input0
[ 4.358596] hid-generic 0003:C0F4:02E0.0001: input,hidraw0: USB HID v1.10 Keyboard [USB usb keyboard] on usb-xhci-hcd.0.auto-1.2.1/input0
[ 4.368716] input: USB usb keyboard Consumer Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:C0F4:02E0.0002/input/input1
[ 4.438216] input: USB usb keyboard System Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:C0F4:02E0.0002/input/input2
[ 4.449298] hid-generic 0003:C0F4:02E0.0002: input,hidraw1: USB HID v1.10 Device [USB usb keyboard] on usb-xhci-hcd.0.auto-1.2.1/input1
[ 4.541918] usb 1-1.2.2: new full-speed USB device number 5 using xhci-hcd
[ 4.645473] usb 1-1.2.2: New USB device found, idVendor=046d, idProduct=c542, bcdDevice= 3.02
[ 4.648352] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.655760] usb 1-1.2.2: Product: Wireless Receiver
[ 4.660585] usb 1-1.2.2: Manufacturer: Logitech
[ 4.705629] input: Logitech Wireless Receiver Mouse as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2:1.0/0003:046D:C542.0003/input/input3
[ 4.716871] hid-generic 0003:046D:C542.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech Wireless Receiver] on usb-xhci-hcd.0.auto-1.2.2/input0
[ 33.765919] VCC_5V: disabling
[ 208.549939] random: crng init done

@MichaIng
Copy link
Owner

MichaIng commented Oct 13, 2021

Seems to be an entropy issue. Do you have a possibility to attach a keyboard and hit some random key?

And do you know from the initial image, whether rng-tools, rng-tools5 and/or haveged were installed? The PREP script installs haveged but I know from cases where it starts too late (in your case obviously, since I don't see any systemd/init system output yet). It should then be the initramfs which does some initial entropy pool feeding, e.g. on my notebook with a proper initramfs (initramfs-tools) it boots fine, with tiny-initramfs (a minimal one) I need to press some keys at a certain boot stage for it to continue, which means a kernel module which is responsible for this was not loaded by the initramfs.

However, by default initramfs-tools with "full" kernel modules is installed, so it "should" load everything related. Do you have still the full PREP output, so we can check which packages were installed before? Probably there was some special Radxa firmware/driver/dtb package or so which needs to be preserved.


These are the installed kernel packages, I guess? https://github.com/radxa/apt/tree/gh-pages/buster-testing/pool/main/l/linux-5.10.69-3-amlogic-gacf75c74f9

@almirus
Copy link
Author

almirus commented Oct 13, 2021

nothing happened

[   33.758229] VCC_5V: disabling
[  208.510239] random: crng init done
sl;ltket;qwerkt'q; tqwe;rlt kwe;rtk;el rtk;ewrlkt e;lrkt ew;rlkt ertekr;l t'kelrkt erlt; e'lrt;k e'lrtk ewr;tkewrtbkhkhkhjkhkjkjhk ejdgtekrt hwkerthlktr
tertkwer ktkwert'
test

These are the installed kernel packages, I guess?

I think yes. no options - brand new device

@MichaIng
Copy link
Owner

[ 208.510239] random: crng init done

That is however pretty clear. This message should appear a few seconds after boot. Either the delay was too long already and the init system is not initialised anymore, of keyboard hits do not create entropy 🤔. Not sure, we need to compare to check what may be missing.

@almirus almirus changed the title PREP_SYSTEM_FOR_DIETPI.sh Image creation error PREP_SYSTEM_FOR_DIETPI.sh Image creation error (Radxa Zero) Oct 13, 2021
@almirus
Copy link
Author

almirus commented Oct 14, 2021

@MichaIng today i tried install Bullseye (instead Buster) but get another error

APT purge for: dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5*       │
│ *xserver* *xorg* glib-networking libgtk-3-0                                  │
│  - Command: apt-get -qq --allow-change-held-packages --autoremove purge dbus │
│ dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg*          │
│ glib-networking libgtk-3-0                                                   │
│  - Exit code: 100                                                            │
│  - DietPi version: v7.6.2 (MichaIng/master) | HW_MODEL: 22 | HW_ARCH: 3 |    │
│ DISTRO: 5                                                                    │
│  - Error log:                                                                │
│ E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused   │
│ by held packages.                                                            │
│                                                                              │
│     Retry          : Re-run the last command that failed                     │
│     DietPi-Config  : Edit network, APT/NTP mirror settings etc               │
│     Open subshell  : Open a subshell to investigate or solve the issue       │
│     Send report    : Uploads bugreport containing system info to DietPi      │
│                    ●─ Devs only ──────────────────────────────────────●      │
│     Change command : Adjust and rerun the command                            │
│                                                                              │
│                                                                            

@almirus
Copy link
Author

almirus commented Oct 14, 2021

and new, if i try to send bugreport get error

│     Send report    : Uploads bugreport containing system info to DietPi      │
│                    ●─ Devs only ──────────────────────────────────────●      │
│     Change command : Adjust and rerun the command                            │
│                                                                              │
│                                                                              │
│                                                                    │
│                                                                              │
[ INFO ] DietPi-BugReport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT, please wait...
[  OK  ] DietPi-BugReport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT
[FAILED] DietPi-BugReport | Packing upload archive
 - Command: 7zr a -m0=lzma2 -mx=9 -spf .7z CMD_OUT.txt G_EXEC_ERROR_REPORT /var/log /boot/config.txt /boot/cmdline.txt /boot/boot.ini /boot/uenv.txt /boot/uEnv.txt /boot/armbianEnv.txt /boot/boot.cmd /boot/dietpi.txt /boot/dietpi /var/lib/dietpi /var/tmp/dietpi /run/dietpi /etc/bash.bashrc /etc/bashrc.d /root/.bashrc /etc/profile /etc/profile.d /root/.profile /etc/rc.local /etc/X11/xorg.conf /etc/X11/xorg.conf.d /etc/asound.conf /etc/network/interfaces /etc/network/interfaces.d /etc/wpa_supplicant/wpa_supplicant.conf /etc/fstab /etc/sysctl.conf /etc/sysctl.d /etc/init.d /etc/systemd/system /lib/systemd/system /usr/local/lib/systemd/system /etc/apt/sources.list /etc/apt/sources.list.d /etc/apt/preferences /etc/apt/preferences.d /etc/apt/apt.conf.d
 | Use up/down buttons to scroll texti-BugReport ├─────────────────────────────┐
│ /var/log /boot/config.txt /boot/cmdline.txt /boot/boot.ini /boot/uenv.txt
│ /boot/uEnv.txt /boot/armbianEnv.txt /boot/boot.cmd /boot/dietpi.txt
│ /boot/dietpi /var/lib/dietpi /var/tmp/dietpi /run/dietpi /etc/bash.bashrc
│ /etc/bashrc.d /root/.bashrc /etc/profile /etc/profile.d /root/.profile
│ /etc/rc.local /etc/X11/xorg.conf /etc/X11/xorg.conf.d /etc/asound.conf
│ /etc/network/interfaces /etc/network/interfaces.d
│ /etc/wpa_supplicant/wpa_supplicant.conf /etc/fstab /etc/sysctl.conf
│ /etc/sysctl.d /etc/init.d /etc/systemd/system /lib/systemd/system
│ /usr/local/lib/systemd/system /etc/apt/sources.list /etc/apt/sources.list.d
│ /etc/apt/preferences /etc/apt/preferences.d /etc/apt/apt.conf.d
│  - Exit code: 127
│  - DietPi version: v7.6.2 (MichaIng/master) | HW_MODEL:  | HW_ARCH:  |
│ DISTRO:
│  - Error log:
│ /boot/dietpi/func/dietpi-globals: line 846: 7zr: command not found
│

@MichaIng
Copy link
Owner

MichaIng commented Oct 14, 2021

Can you show the full output of this command:

apt-get --allow-change-held-packages --autoremove purge dbus dhcpcd5 mountall initscripts '*office*' '*xfce*' '*qt5*' '*xserver*' '*xorg*' glib-networking libgtk-3-0

Makes sense that sending a bug report fails as this is not yet a DietPi system (the scripts were not yet installed). However, it makes sense that we disable the option for DietPi-PREP where it simply doesn't make sense at all: 4bb11e1

@almirus
Copy link
Author

almirus commented Oct 14, 2021

@MichaIng error log in wizard

 APT purge for: dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5*       │
│ *xserver* *xorg* glib-networking libgtk-3-0                                  │
│  - Command: apt-get -qq --allow-change-held-packages --autoremove purge dbus │
│ dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg*          │
│ glib-networking libgtk-3-0                                                   │
│  - Exit code: 100                                                            │
│  - DietPi version: v7.6.2 (MichaIng/master) | HW_MODEL: 22 | HW_ARCH: 3 |    │
│ DISTRO: 5                                                                    │
│  - Error log:                                                                │
│ E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused   │
│ by held packages.

if i execute custom (actually not changing) command:

[ INFO ] DietPi-PREP | Executing alternative command: apt-get -qq --allow-change-held-packages --autoremove purge dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg* glib-networking libgtk-3-0
E: Unable to locate package mountall
[FAILED] Alternative command execution | Exited with error
Press any key to return to error handler menu...

@MichaIng
Copy link
Owner

MichaIng commented Oct 14, 2021

Ah APT alone does not filter packages by those which are actually installed. The error handler filters the list internally. Please open a subshell to get the list of actually installed packages:

dpkg --get-selections dbus dhcpcd5 mountall initscripts '*office*' '*xfce*' '*qt5*' '*xserver*' '*xorg*' glib-networking libgtk-3-0 2> /dev/null | mawk '{print $1}'

@almirus
Copy link
Author

almirus commented Oct 14, 2021

can't open

┌───────────────────────────────┤ DietPi-PREP ├────────────────────────────────┐
│                                                                              │
│ A bash subshell will now open which allows you to investigate and/or fix the │
│ issue.                                                                       │
│                                                                              │
│ Please use the "exit" command when you are finished, to return to this error │
│ handler menu.                                                                │
│                                                                              │
│                                                                          │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

@MichaIng
Copy link
Owner

Just hit return, then it should open.

@almirus
Copy link
Author

almirus commented Oct 29, 2021

same
uart doesn't work after
Starting kernel ...

@MichaIng
Copy link
Owner

I see there is a new UART device tree overlay. Does it help to add

meson-g12a-uart-ao-a-on-gpioao-0-gpioao-1

to the overlays= setting in uEnv.txt, respectively

overlays=meson-g12a-uart-ao-a-on-gpioao-0-gpioao-1

Actually strange that the prefix meson- needs to be added, but indeed with this boot.scr it is only used to load the correct meson-fixup.scr, but not for the overlays.

@almirus
Copy link
Author

almirus commented Oct 29, 2021

but UART earlier work fine, without specifying meson-g12a-uart*
and work in zero_debian_buster_xfce4_arm64_20211028_1030-mbr.img

@MichaIng
Copy link
Owner

As said, there is a new device tree overlay for this, so ttyAML0 was hardcoded in the earlier kernel packages and has now become optional, so that you need to add the overlay.

@almirus
Copy link
Author

almirus commented Oct 29, 2021

yes, default uEnv.tx now is

verbosity=7
console=ttyAML0,115200
overlay_prefix=meson
rootfstype=ext4
fdtfile=amlogic/meson-g12a-radxa-zero.dtb
overlays=meson-g12a-uart-ao-a-on-gpioao-0-gpioao-1
rootuuid=30422831-c223-492f-959c-0fc18139c228
initrdsize=0xb906b7
kernelversion=5.10.69-6-amlogic-g775a46783ad8
initrdimg=initrd.img-5.10.69-6-amlogic-g775a46783ad8
kernelimg=vmlinuz-5.10.69-6-amlogic-g775a46783ad8

@MichaIng
Copy link
Owner

Makes sense then. I'll wait a bit before updating our image, until Radxa reached a more stable state on this 🙂.

UART works again with this overlay added, right?

@almirus
Copy link
Author

almirus commented Oct 29, 2021

not tested yet

@almirus
Copy link
Author

almirus commented Oct 29, 2021

@MichaIng hmmm

Applying kernel provided DT overlay meson-g12a-uart-ao-a-on-gpioao-0-gpioao-1.dtbo
failed on fdt_overlay_apply(): FDT_ERR_NOSPACE
Error applying DT overlays, restoring original DT

@MichaIng
Copy link
Owner

FDT_ERR_NOSPACE

Hmm, the boot.scr contains the fdt resize 6xxxx command?

@almirus
Copy link
Author

almirus commented Oct 29, 2021

# DO NOT EDIT THIS FILE
#
# Please edit /boot/uEnv.txt to set supported parameters
#

setenv load_addr "0x1600000"
#setenv kernel_addr_r "0x34000000"
#setenv fdt_addr_r "0x4080000"
setenv overlay_error "false"
# default values
#setenv rootdev "/dev/mmcblk1p1"
setenv verbosity "1"
setenv console "ttyAML0,115200"
setenv bootlogo "false"
setenv rootfstype "ext4"
setenv docker_optimizations "on"

# odroid c4 legacy kernel values from boot.ini

setenv dtb_loadaddr "0x1000000"
setenv k_addr "0x1100000"
#setenv loadaddr "0x1B00000"
setenv initrd_loadaddr "0x4080000"

# fix zero 512M
setenv dtb_mem_addr "0x01000000"
setenv fdt_addr_r "0x08008000"
setenv fdtoverlay_addr_r "0x01000000"
setenv initrd_start "0x13000000"
setenv kernel_addr_r "0x08080000"
setenv loadaddr "0x01080000"
setenv pxefile_addr_r "0x01080000"
setenv ramdisk_addr_r "0x13000000"
setenv scriptaddr "0x08000000"

if test -e ${devtype} ${devnum} ${prefix}uEnv.txt; then
        load ${devtype} ${devnum} ${load_addr} ${prefix}uEnv.txt
        env import -t ${load_addr} ${filesize}
fi

# Workaround missing kernel_comp_addr_r and kernel_comp_size
test -n "${kernel_comp_addr_r}" || setenv kernel_comp_addr_r "0x19000000"
test -n "${kernel_comp_size}" || setenv kernel_comp_size "0x04000000"

# get PARTUUID of first partition on SD/eMMC the boot script was loaded from
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:1 partuuid; fi

setenv bootargs "initrd=${initrdimg} root=UUID=${rootuuid} rootwait rw rootfstype=${rootfstype} console=tty1 console=${console} panic=10 consoleblank=
0 loglevel=${verbosity} ${extraargs} ${extraboardargs}"

if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1";
fi

load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}${initrdimg}
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}${kernelimg}

load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtbs/${kernelversion}/${fdtfile}
fdt addr ${fdt_addr_r}
test -z "${overlays}" && test -z "${user_overlays}" || fdt resize 65536
for overlay_file in ${overlays}; do
        if load ${devtype} ${devnum} ${load_addr} ${prefix}dtbs/${kernelversion}/amlogic/overlay/${overlay_file}.dtbo; then
                echo "Applying kernel provided DT overlay ${overlay_file}.dtbo"
                fdt apply ${load_addr} || setenv overlay_error "true"
        fi
done
for overlay_file in ${user_overlays}; do
        if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
                echo "Applying user provided DT overlay ${overlay_file}.dtbo"
                fdt apply ${load_addr} || setenv overlay_error "true"
        fi
done
if test "${overlay_error}" = "true"; then
        echo "Error applying DT overlays, restoring original DT"
        load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtbs/${kernelversion}/${fdtfile}
else
        if load ${devtype} ${devnum} ${load_addr} ${prefix}dtbs/${kernelversion}/amlogic/overlay/${overlay_prefix}-fixup.scr; then
                echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
                source ${load_addr}
        fi
        if test -e ${devtype} ${devnum} ${prefix}overlay-user/fixup.scr; then
                load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/fixup.scr
                echo "Applying user provided fixup script (overlay-user/fixup.scr)"
                source ${load_addr}
        fi
fi
echo "initrdsize = $initrdsize"
booti ${kernel_addr_r} ${ramdisk_addr_r}:${initrdsize} ${fdt_addr_r}
# Recompile with:
# mkimage -C none -A arm64 -T script -d /boot/boot.cmd /boot/boot.scr

@MichaIng
Copy link
Owner

I changed it a way that the device tree is only resized when any actual overlays are added. But probably I added it with wrong syntax. Is there something visible on the serial console about the resize, shortly before the failure?

Probably chaning:

test -z "${overlays}" && test -z "${user_overlays}" || fdt resize 65536

to

fdt resize 65536

helps.

@almirus
Copy link
Author

almirus commented Oct 29, 2021

how edit this file, is it binary?

@MichaIng
Copy link
Owner

Ah dammit yes, sorry, it needs to be edited in /boot/boot.cmd and then compiled to /boot/boot.scr via the command provided at the bottom of that file. This can be generally done on every Linux system with u-boot-tools installed.

@almirus
Copy link
Author

almirus commented Oct 29, 2021

changed line
test -z "${overlays}" && test -z "${user_overlays}" || fdt resize 65536
to
fdt resize 65536
recompiled

mkimage -C none -A arm64 -T script -d /boot/boot.cmd /boot/boot.scr
Image Name:
Created:      Fri Oct 29 18:15:38 2021
Image Type:   AArch64 Linux Script (uncompressed)
Data Size:    3418 Bytes = 3.34 KiB = 0.00 MiB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 3410 Bytes = 3.33 KiB = 0.00 MiB

now SBC totally is dead 😂
G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:20000;USB:8;LOOP:1;EMMC:800;NAND:81;SD?:20000;USB:8;LOOP:2;EMMC:800;NAND:81;SD?:20000;USB:8;LOOP:3;EMMC:800;NAND:81;SD?:20000;USB:8;LOOP:4;EMMC:800;NAND:81;SD?:20000;USB:8;LOOP:5;EMMC:800;NAND:81;SD?:20000;USB:8;

@MichaIng
Copy link
Owner

MichaIng commented Oct 29, 2021

Have you checked both files? The second should contain everything from the first + a binary header which contains a hash and some info.

fdt resize 65536 without the checks is how the default image is shipped, so this generally works. Are there any other logs before the failure, or filesystem errors fixable from a remote system?

@almirus
Copy link
Author

almirus commented Oct 29, 2021

boot.zip

@almirus
Copy link
Author

almirus commented Oct 29, 2021

@MichaIng
there was probably a glitch
I reconnected SD - UART works (and i2c to)!

U-Boot 2021.07-24129-g105a2deb65 (Oct 10 2021 - 15:29:12 +0800) radxa-zero

Model: Radxa Zero
SoC:   Amlogic Meson G12A (S905Y2) Revision 28:b (30:2)
DRAM:  1 GiB
MMC:   sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
3482 bytes read in 2 ms (1.7 MiB/s)
## Executing script at 08000000
444 bytes read in 2 ms (216.8 KiB/s)
12884166 bytes read in 555 ms (22.1 MiB/s)
24902144 bytes read in 1069 ms (22.2 MiB/s)
72823 bytes read in 8 ms (8.7 MiB/s)
396 bytes read in 6 ms (64.5 KiB/s)
Applying kernel provided DT overlay meson-g12a-uart-ao-a-on-gpioao-0-gpioao-1.dtbo
464 bytes read in 6 ms (75.2 KiB/s)
Applying kernel provided DT overlay meson-g12a-i2c-ao-m0-gpioao-2-gpioao-3.dtbo
863 bytes read in 6 ms (139.6 KiB/s)
Applying kernel provided DT fixup script (meson-fixup.scr)
## Executing script at 01600000
initrdsize = 0xc498c6
Moving Image from 0x8080000 to 0x8200000, end=9a60000
## Flattened Device Tree blob at 08008000
   Booting using the fdt blob at 0x8008000
   Loading Ramdisk to 3b2f3000, end 3bf3c8c6 ... OK
   Loading Device Tree to 000000003b278000, end 000000003b2f2fff ... OK

Starting kernel ...

[    1.178665] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517
[    1.179033] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517
[    1.179118] reg-fixed-voltage regulator-vcc_3v3: Failed to register regulator: -517
[    1.179256] reg-fixed-voltage regulator-vddao_1v8: Failed to register regulator: -517
[    2.062742] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517
[    2.065420] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517
Loading, please wait...
Starting version 247.3-6
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p2] fsck.ext4 -a -C0 /dev/mmcblk1p2
rootfs: clean, 46422/1842048 files, 608057/7656576 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 11 (bullseye)!

@MichaIng
Copy link
Owner

Ah that is good 👍.

@MichaIng
Copy link
Owner

MichaIng commented Nov 19, 2021

New image is up for testing: https://dietpi.com/downloads/images/DietPi_RadxaZero-ARMv8-Bullseye.7z

@almirus
Copy link
Author

almirus commented Nov 19, 2021

it works

@MichaIng
Copy link
Owner

MichaIng commented Nov 19, 2021

Great, many thanks for testing! Let's get it released at the download page. I'll mark this issue as closed. If there are any new issues faced, they deserve a dedicate thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants