Поставил Ubuntu в VBox и пытаюсь сделать прошивку для своего устройства. Само устройство - ARM64 архитектуры. Все скрипты вроде нормально отрабатывают. Но скрипт rootfs выдает ошибку. Подскажите, что нужно доустановить?
Фрагмент скрипта:
genrootfs() {
echo "
deb http://ports.ubuntu.com/ubuntu-ports/ jammy main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ jammy-security main restricted universe multiverse
" | $MMDEBSTRAP --architectures=arm64 -v -d \
--include="ca-certificates locales dosfstools binutils file \
tree sudo bash-completion memtester openssh-server wireless-regdb \
wpasupplicant systemd-timesyncd usbutils parted systemd-sysv \
iperf3 stress-ng avahi-daemon tmux screen i2c-tools net-tools \
ethtool ckermit lrzsz minicom picocom btop neofetch iotop htop \
bmon e2fsprogs nvi tcpdump alsa-utils squashfs-tools evtest \
bluez bluez-hcidump bluez-tools btscanner bluez-alsa-utils \
device-tree-compiler ubuntu-keyring connman-gtk chromium-browser \
xfce4 xfce4-terminal xfce4-screenshooter \
pulseaudio-module-bluetooth blueman fonts-noto-core fonts-noto-cjk \
fonts-noto-mono fonts-noto-ui-core tango-icon-theme" > ./build/rootfs-ubuntu.tar
}
Ошибка при работе:
+ genrootfs
+ echo '
deb http://ports.ubuntu.com/ubuntu-ports/ jammy main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ jammy-security main restricted universe multiverse
'
+ mmdebstrap --architectures=arm64 -v -d '--include=ca-certificates locales dosfstools binutils file tree sudo bash-completion memtester openssh-server wireless-regdb wpasupplicant systemd-timesyncd usbutils parted systemd-sysv iperf3 stress-ng avahi-daemon tmux screen i2c-tools net-tools ethtool ckermit lrzsz minicom picocom btop neofetch iotop htop bmon e2fsprogs nvi tcpdump alsa-utils squashfs-tools evtest bluez bluez-hcidump bluez-tools btscanner bluez-alsa-utils device-tree-compiler ubuntu-keyring connman-gtk chromium-browser xfce4 xfce4-terminal xfce4-screenshooter pulseaudio-module-bluetooth blueman fonts-noto-core fonts-noto-cjk fonts-noto-mono fonts-noto-ui-core tango-icon-theme'
I: 3642 4829 automatically chosen mode: unshare
D: 3642 4960 Native architecture (outside): amd64
D: 3642 4961 Native architecture (inside): arm64
D: 3642 4963 Foreign architectures (inside):
update-binfmts: warning: qemu-aarch64 not in database of installed binary formats.
update-binfmts: exiting due to previous errors
W: qemu-aarch64 is not a supported binfmt name
E: arm64 can neither be executed natively nor via qemu user emulation with binfmt_misc at /usr/bin/mmdebstrap line 192.
main::error("arm64 can neither be executed natively nor via qemu user emul"...) called at /usr/bin/mmdebstrap line 5105
main::main() called at /usr/bin/mmdebstrap line 6253