Odroid HC2/1 Buster Installation

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Odroid HC2/1 Buster Installation

Postby worksAsIntended » 2019-11-13 11:06

Hey there,
as there seem to be no available debian buster images for Odroid hc2/1 I thought I could just create one myself following the wiki
https://wiki.debian.org/InstallingDebianOn/OdroidHC1
Unfortunally this image does not seem to work for me.
It is quite hard to debug, as I got no monitor interfaces on the odroid.
Trying to boot from the sd, I cant see any reading or writing on the sd (no blue led), but I can hear a connected sata hdd spinning up.
Its not a hardware issue as I tested a bunch of odroid hc2s/1s and all of them run fine with other images aswell.
To me it looks like the bootloader is not working at all.
I tried it multiple times, last time without qemu and connecting an sdcard interface to an odroid running debian stretch instead of installing from a desktop .
This time i copied everything from the terminal:
I cant see anything important going wrong, maybe you can. I know it is a huge amount of output to look through for somebody else, so please feel free to suggest anything else I could do.


Code: Select all
root@debian-stretch:~# SDCARD=/dev/sdb

parted --script ${SDCARD}  mklabel msdos  mkpart primary 2MiB 412MiB  mkpart primary 412MiB 2000MiB

root@debian-stretch:~# mkfs.ext4 ${SDCARD}1 -E discard
mke2fs 1.43.4 (31-Jan-2017)
/dev/sdb1 contains a ext4 file system
        last mounted on /mnt/boot on Wed Nov 13 10:01:28 2019
Proceed anyway? (y,N) y

root@debian-stretch:~# mkfs.ext4 ${SDCARD}2 -E discard
mke2fs 1.43.4 (31-Jan-2017)
/dev/sdb2 contains a ext4 file system
        last mounted on /mnt on Wed Nov 13 10:01:27 2019
Proceed anyway? (y,N) y
Creating filesystem with 406528 4k blocks and 101712 inodes
Filesystem UUID: 332fffd2-8afa-4020-86d3-cd56ecad438a
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

root@debian-stretch:~# mount ${SDCARD}2 /mnt/
root@debian-stretch:~# mkdir /mnt/boot /mnt/dev /mnt/proc /mnt/sys
root@debian-stretch:~# mount ${SDCARD}1 /mnt/boot

root@debian-stretch:~# multistrap -f debian-odroid-hc1-multistrap.conf
multistrap 2.2.9 using debian-odroid-hc1-multistrap.conf
multistrap 2.2.9 using debian-odroid-hc1-multistrap.conf
Defaulting architecture to native: armhf
multistrap building armhf multistrap on 'armhf'
I: Setting /mnt/lib64 -> /mnt/lib symbolic link.
I: Downloading debian-archive-keyring
Get:1 http://ftp.debian.org/debian stretch/main armhf debian-archive-keyring all 2017.5+deb9u1 [73.9 kB]
Fetched 73.9 kB in 0s (405 kB/s)           
W: Download is performed unsandboxed as root as file '/root/debian-archive-keyring_2017.5+deb9u1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Getting package lists: APT_CONFIG=/tmp/multistrap.7WkJrV apt-get  -o Apt::Architecture=armhf -o Dir::Etc::TrustedParts=/mnt/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/mnt/etc/apt/trusted.gpg -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/mnt/ -o Dir::Etc=/mnt/etc/apt/ -o Dir::Etc::Parts=/mnt/etc/apt/apt.conf.d/ -o Dir::Etc::PreferencesParts=/mnt/etc/apt/preferences.d/ -o APT::Default-Release='*' -o Dir::State=/mnt/var/lib/apt/ -o Dir::State::Status=/mnt/var/lib/dpkg/status -o Dir::Cache=/mnt/var/cache/apt/ update
Get:1 https://cdn-aws.deb.debian.org/debian buster InRelease [122 kB]
Get:2 https://cdn-aws.deb.debian.org/debian buster/non-free Sources [86.3 kB]
Get:3 https://cdn-aws.deb.debian.org/debian buster/contrib Sources [43.1 kB]
Get:4 https://cdn-aws.deb.debian.org/debian buster/main Sources [7,832 kB]
Get:5 https://cdn-aws.deb.debian.org/debian buster/main armhf Packages [7,690 kB]
Get:6 https://cdn-aws.deb.debian.org/debian buster/main Translation-en [5,967 kB]
Get:7 https://cdn-aws.deb.debian.org/debian buster/contrib armhf Packages [40.9 kB]                                                                           
Get:8 https://cdn-aws.deb.debian.org/debian buster/contrib Translation-en [44.7 kB]                                                                           
Get:9 https://cdn-aws.deb.debian.org/debian buster/non-free armhf Packages [62.0 kB]                                                                         
Get:10 https://cdn-aws.deb.debian.org/debian buster/non-free Translation-en [88.7 kB]                                                                         
Fetched 22.0 MB in 12s (1,746 kB/s)                                                                                                                           
Reading package lists... Done
I: Calculating required packages.
APT_CONFIG=/tmp/multistrap.7WkJrV apt-get  -o Apt::Architecture=armhf -o Dir::Etc::TrustedParts=/mnt/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/mnt/etc/apt/trusted.gpg -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/mnt/ -o Dir::Etc=/mnt/etc/apt/ -o Dir::Etc::Parts=/mnt/etc/apt/apt.conf.d/ -o Dir::Etc::PreferencesParts=/mnt/etc/apt/preferences.d/ -o APT::Default-Release='*' -o Dir::State=/mnt/var/lib/apt/ -o Dir::State::Status=/mnt/var/lib/dpkg/status -o Dir::Cache=/mnt/var/cache/apt/ -y install  apt base-files base-passwd bash bsdutils ca-certificates coreutils dash debconf debian-archive-keyring debianutils diffutils dpkg e2fsprogs findutils firmware-linux firmware-linux-nonfree grep gzip hostname ifupdown init-system-helpers iperf3 iproute2 iputils-ping isc-dhcp-client less libc-bin libpam-modules libpam-modules-bin libpam-runtime linux-image-armmp-lpae login man-db mawk mount ncurses-base ncurses-bin net-tools passwd perl-base sed sudo systemd systemd-sysv sysvinit-utils tar task-ssh-server tzdata u-boot u-boot-exynos u-boot-tools util-linux vim
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  adduser bsdmainutils cpio dmsetup fdisk firmware-amd-graphics firmware-linux-free firmware-misc-nonfree gcc-8-base gpgv groff-base initramfs-tools
  initramfs-tools-core klibc-utils kmod libacl1 libapparmor1 libapt-pkg5.0 libargon2-1 libattr1 libaudit-common libaudit1 libblkid1 libbsd0 libbz2-1.0 libc6
  libcap-ng0 libcap2 libcap2-bin libcom-err2 libcryptsetup12 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libdns-export1104 libedit2 libelf1 libext2fs2
  libfdisk1 libffi6 libgcc1 libgcrypt20 libgdbm6 libgmp10 libgnutls30 libgpg-error0 libgpm2 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libip4tc0
  libiperf0 libisc-export1100 libjson-c3 libk5crypto3 libkeyutils1 libklibc libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblz4-1 liblzma5
  libmnl0 libmount1 libncurses6 libncursesw6 libnettle6 libp11-kit0 libpam0g libpcre3 libpipeline1 libprocps7 libsctp1 libseccomp2 libselinux1
  libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libuchardet0 libudev1 libunistring2
  libuuid1 libwrap0 libxtables12 libzstd1 linux-base linux-image-4.19.0-6-armmp-lpae lsb-base openssh-client openssh-server openssh-sftp-server openssl
  procps sensible-utils tasksel tasksel-data u-boot-imx u-boot-omap u-boot-sunxi ucf udev vim-common vim-runtime xxd zlib1g
Suggested packages:
  perl apt-doc aptitude | synaptic | wajig dpkg-dev gnupg | gnupg2 | gnupg1 powermgmt-base bash-doc cpp wamerican | wordlist whois vacation libarchive1
  debconf-doc debconf-utils whiptail | dialog libterm-readline-gnu-perl libgtk3-perl libnet-ldap-perl debconf-kde-helper diffutils-doc wdiff debsig-verify
  gpart parted fuse2fs e2fsck-static mlocate | locate gnupg groff ppp rdnssd bash-completion iproute2-doc resolvconf avahi-autoipd isc-dhcp-client-ddns
  glibc-doc libc-l10n locales rng-tools gdbm-l10n gnutls-bin gpm krb5-doc krb5-user libpam-doc lksctp-tools linux-doc-4.19 debian-kernel-handbook apparmor
  www-browser nfs-common keychain libpam-ssh monkeysphere ssh-askpass molly-guard rssh ufw systemd-container policykit-1 bzip2 ncompress xz-utils tar-scripts
  tar-doc dosfstools kbd | console-tools util-linux-locales ctags vim-doc vim-scripts
Recommended packages:
  bash-completion apt-utils debconf-i18n e2fsprogs-l10n intel-microcode amd64-microcode busybox | busybox-static pigz libatm1 isc-dhcp-common manpages
  libpam-cap libgpg-error-l10n krb5-locales uuid-runtime apparmor xauth default-logind | logind | libpam-systemd ncurses-term psmisc libpam-systemd dbus
  libnss-systemd laptop-detect device-tree-compiler
The following NEW packages will be installed:
  adduser apt base-files base-passwd bash bsdmainutils bsdutils ca-certificates coreutils cpio dash debconf debian-archive-keyring debianutils diffutils
  dmsetup dpkg e2fsprogs fdisk findutils firmware-amd-graphics firmware-linux firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree gcc-8-base
  gpgv grep groff-base gzip hostname ifupdown init-system-helpers initramfs-tools initramfs-tools-core iperf3 iproute2 iputils-ping isc-dhcp-client
  klibc-utils kmod less libacl1 libapparmor1 libapt-pkg5.0 libargon2-1 libattr1 libaudit-common libaudit1 libblkid1 libbsd0 libbz2-1.0 libc-bin libc6
  libcap-ng0 libcap2 libcap2-bin libcom-err2 libcryptsetup12 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libdns-export1104 libedit2 libelf1 libext2fs2
  libfdisk1 libffi6 libgcc1 libgcrypt20 libgdbm6 libgmp10 libgnutls30 libgpg-error0 libgpm2 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libip4tc0
  libiperf0 libisc-export1100 libjson-c3 libk5crypto3 libkeyutils1 libklibc libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblz4-1 liblzma5
  libmnl0 libmount1 libncurses6 libncursesw6 libnettle6 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre3 libpipeline1
  libprocps7 libsctp1 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 libssl1.1 libstdc++6 libsystemd0 libtasn1-6
  libtinfo6 libuchardet0 libudev1 libunistring2 libuuid1 libwrap0 libxtables12 libzstd1 linux-base linux-image-4.19.0-6-armmp-lpae linux-image-armmp-lpae
  login lsb-base man-db mawk mount ncurses-base ncurses-bin net-tools openssh-client openssh-server openssh-sftp-server openssl passwd perl-base procps sed
  sensible-utils sudo systemd systemd-sysv sysvinit-utils tar task-ssh-server tasksel tasksel-data tzdata u-boot u-boot-exynos u-boot-imx u-boot-omap
  u-boot-sunxi u-boot-tools ucf udev util-linux vim vim-common vim-runtime xxd zlib1g
0 upgraded, 168 newly installed, 0 to remove and 0 not upgraded.
Need to get 99.2 MB of archives.
After this operation, 426 MB of additional disk space will be used.
Get:1 https://cdn-aws.deb.debian.org/debian buster/main armhf gcc-8-base armhf 8.3.0-6 [191 kB]
Get:2 https://cdn-aws.deb.debian.org/debian buster/main armhf libc6 armhf 2.28-10 [2,390 kB]
Get:3 https://cdn-aws.deb.debian.org/debian buster/main armhf libgcc1 armhf 1:8.3.0-6 [37.2 kB]
Get:4 https://cdn-aws.deb.debian.org/debian buster/main armhf mawk armhf 1.3.3-17+b3 [77.2 kB]
Get:5 https://cdn-aws.deb.debian.org/debian buster/main armhf base-files armhf 10.3+deb10u1 [69.7 kB]
Get:6 https://cdn-aws.deb.debian.org/debian buster/main armhf libtinfo6 armhf 6.1+20181013-2+deb10u1 [312 kB]
Get:7 https://cdn-aws.deb.debian.org/debian buster/main armhf debianutils armhf 4.8.6.1 [99.1 kB]
Get:8 https://cdn-aws.deb.debian.org/debian buster/main armhf bash armhf 5.0-4 [1,314 kB]
Get:9 https://cdn-aws.deb.debian.org/debian buster/main armhf libgpg-error0 armhf 1.35-1 [62.6 kB]
Get:10 https://cdn-aws.deb.debian.org/debian buster/main armhf libgcrypt20 armhf 1.8.4-5 [501 kB]
Get:11 https://cdn-aws.deb.debian.org/debian buster/main armhf liblz4-1 armhf 1.8.3-1 [51.2 kB]
Get:12 https://cdn-aws.deb.debian.org/debian buster/main armhf liblzma5 armhf 5.2.4-1 [145 kB]
Get:13 https://cdn-aws.deb.debian.org/debian buster/main armhf libsystemd0 armhf 241-7~deb10u1 [307 kB]
Get:14 https://cdn-aws.deb.debian.org/debian buster/main armhf bsdutils armhf 1:2.33.1-0.1 [115 kB]
Get:15 https://cdn-aws.deb.debian.org/debian buster/main armhf libattr1 armhf 1:2.4.48-4 [20.0 kB]
Get:16 https://cdn-aws.deb.debian.org/debian buster/main armhf libacl1 armhf 2.2.53-4 [27.8 kB]
Get:17 https://cdn-aws.deb.debian.org/debian buster/main armhf libpcre3 armhf 2:8.39-12 [317 kB]
Get:18 https://cdn-aws.deb.debian.org/debian buster/main armhf libselinux1 armhf 2.8-1+b1 [77.4 kB]
Get:19 https://cdn-aws.deb.debian.org/debian buster/main armhf coreutils armhf 8.30-3 [2,596 kB]
Get:20 https://cdn-aws.deb.debian.org/debian buster/main armhf libbz2-1.0 armhf 1.0.6-9.2~deb10u1 [43.6 kB]
Get:21 https://cdn-aws.deb.debian.org/debian buster/main armhf zlib1g armhf 1:1.2.11.dfsg-1 [87.9 kB]
Get:22 https://cdn-aws.deb.debian.org/debian buster/main armhf tar armhf 1.30+dfsg-6 [755 kB]
Get:23 https://cdn-aws.deb.debian.org/debian buster/main armhf dpkg armhf 1.19.7 [2,161 kB]
Get:24 https://cdn-aws.deb.debian.org/debian buster/main armhf perl-base armhf 5.28.1-6 [1,398 kB]
Get:25 https://cdn-aws.deb.debian.org/debian buster/main armhf debconf all 1.5.71 [145 kB]
Get:26 https://cdn-aws.deb.debian.org/debian buster/main armhf dash armhf 0.5.10.2-5 [104 kB]
Get:27 https://cdn-aws.deb.debian.org/debian buster/main armhf diffutils armhf 1:3.7-3 [351 kB]
Get:28 https://cdn-aws.deb.debian.org/debian buster/main armhf findutils armhf 4.6.0+git+20190209-2 [660 kB]
Get:29 https://cdn-aws.deb.debian.org/debian buster/main armhf grep armhf 3.3-1 [362 kB]
Get:30 https://cdn-aws.deb.debian.org/debian buster/main armhf gzip armhf 1.9-3 [124 kB]
Get:31 https://cdn-aws.deb.debian.org/debian buster/main armhf hostname armhf 3.21 [13.9 kB]
Get:32 https://cdn-aws.deb.debian.org/debian buster/main armhf libaudit-common all 1:2.8.4-3 [22.4 kB]                                                       
Get:33 https://cdn-aws.deb.debian.org/debian buster/main armhf libcap-ng0 armhf 0.7.9-2 [12.9 kB]                                                             
Get:34 https://cdn-aws.deb.debian.org/debian buster/main armhf libaudit1 armhf 1:2.8.4-3 [54.0 kB]                                                           
Get:35 https://cdn-aws.deb.debian.org/debian buster/main armhf libpam0g armhf 1.3.1-5 [121 kB]                                                               
Get:36 https://cdn-aws.deb.debian.org/debian buster/main armhf libdb5.3 armhf 5.3.28+dfsg1-0.5 [597 kB]                                                       
Get:37 https://cdn-aws.deb.debian.org/debian buster/main armhf libpam-modules-bin armhf 1.3.1-5 [103 kB]                                                     
Get:38 https://cdn-aws.deb.debian.org/debian buster/main armhf libpam-modules armhf 1.3.1-5 [292 kB]                                                         
Get:39 https://cdn-aws.deb.debian.org/debian buster/main armhf libpam-runtime all 1.3.1-5 [211 kB]                                                           
Get:40 https://cdn-aws.deb.debian.org/debian buster/main armhf login armhf 1:4.5-1.1 [747 kB]                                                                 
Get:41 https://cdn-aws.deb.debian.org/debian buster/main armhf ncurses-bin armhf 6.1+20181013-2+deb10u1 [399 kB]                                             
Get:42 https://cdn-aws.deb.debian.org/debian buster/main armhf sed armhf 4.7-1 [301 kB]                                                                       
Get:43 https://cdn-aws.deb.debian.org/debian buster/main armhf libuuid1 armhf 2.33.1-0.1 [77.5 kB]                                                           
Get:44 https://cdn-aws.deb.debian.org/debian buster/main armhf libblkid1 armhf 2.33.1-0.1 [179 kB]                                                           
Get:45 https://cdn-aws.deb.debian.org/debian buster/main armhf libmount1 armhf 2.33.1-0.1 [191 kB]                                                           
Get:46 https://cdn-aws.deb.debian.org/debian buster/main armhf libsmartcols1 armhf 2.33.1-0.1 [138 kB]                                                       
Get:47 https://cdn-aws.deb.debian.org/debian buster/main armhf libudev1 armhf 241-7~deb10u1 [142 kB]                                                         
Get:48 https://cdn-aws.deb.debian.org/debian buster/main armhf libfdisk1 armhf 2.33.1-0.1 [220 kB]                                                           
Get:49 https://cdn-aws.deb.debian.org/debian buster/main armhf libncursesw6 armhf 6.1+20181013-2+deb10u1 [105 kB]                                             
Get:50 https://cdn-aws.deb.debian.org/debian buster/main armhf fdisk armhf 2.33.1-0.1 [166 kB]                                                               
Get:51 https://cdn-aws.deb.debian.org/debian buster/main armhf util-linux armhf 2.33.1-0.1 [985 kB]                                                           
Get:52 https://cdn-aws.deb.debian.org/debian buster/main armhf libsemanage-common all 2.8-2 [17.7 kB]                                                         
Get:53 https://cdn-aws.deb.debian.org/debian buster/main armhf libsepol1 armhf 2.8-1 [230 kB]                                                                 
Get:54 https://cdn-aws.deb.debian.org/debian buster/main armhf libsemanage1 armhf 2.8-2 [83.5 kB]                                                             
Get:55 https://cdn-aws.deb.debian.org/debian buster/main armhf passwd armhf 1:4.5-1.1 [958 kB]                                                               
Get:56 https://cdn-aws.deb.debian.org/debian buster/main armhf adduser all 3.118 [240 kB]                                                                     
Get:57 https://cdn-aws.deb.debian.org/debian buster/main armhf gpgv armhf 2.2.12-1+deb10u1 [554 kB]                                                           
Get:58 https://cdn-aws.deb.debian.org/debian buster/main armhf debian-archive-keyring all 2019.1 [75.1 kB]                                                   
Get:59 https://cdn-aws.deb.debian.org/debian buster/main armhf libstdc++6 armhf 8.3.0-6 [338 kB]                                                             
Get:60 https://cdn-aws.deb.debian.org/debian buster/main armhf libzstd1 armhf 1.3.8+dfsg-3 [205 kB]                                                           
Get:61 https://cdn-aws.deb.debian.org/debian buster/main armhf libapt-pkg5.0 armhf 1.8.2 [880 kB]                                                             
Get:62 https://cdn-aws.deb.debian.org/debian buster/main armhf libgmp10 armhf 2:6.1.2+dfsg-4 [205 kB]                                                         
Get:63 https://cdn-aws.deb.debian.org/debian buster/main armhf libnettle6 armhf 3.4.1-1 [227 kB]                                                             
Get:64 https://cdn-aws.deb.debian.org/debian buster/main armhf libhogweed4 armhf 3.4.1-1 [130 kB]                                                             
Get:65 https://cdn-aws.deb.debian.org/debian buster/main armhf libunistring2 armhf 0.9.10-1 [368 kB]                                                         
Get:66 https://cdn-aws.deb.debian.org/debian buster/main armhf libidn2-0 armhf 2.0.5-1 [73.7 kB]                                                             
Get:67 https://cdn-aws.deb.debian.org/debian buster/main armhf libffi6 armhf 3.2.1-9 [18.9 kB]                                                               
Get:68 https://cdn-aws.deb.debian.org/debian buster/main armhf libp11-kit0 armhf 0.23.15-2 [292 kB]                                                           
Get:69 https://cdn-aws.deb.debian.org/debian buster/main armhf libtasn1-6 armhf 4.13-3 [46.8 kB]                                                             
Get:70 https://cdn-aws.deb.debian.org/debian buster/main armhf libgnutls30 armhf 3.6.7-4 [1,063 kB]                                                           
Get:71 https://cdn-aws.deb.debian.org/debian buster/main armhf libseccomp2 armhf 2.3.3-4 [33.0 kB]                                                           
Get:72 https://cdn-aws.deb.debian.org/debian buster/main armhf apt armhf 1.8.2 [1,366 kB]                                                                     
Get:73 https://cdn-aws.deb.debian.org/debian buster/main armhf libdebconfclient0 armhf 0.249 [48.6 kB]                                                       
Get:74 https://cdn-aws.deb.debian.org/debian buster/main armhf base-passwd armhf 3.5.46 [55.3 kB]                                                             
Get:75 https://cdn-aws.deb.debian.org/debian buster/main armhf init-system-helpers all 1.56+nmu1 [46.8 kB]               Get:76 https://cdn-aws.deb.debian.org/debian buster/main armhf libc-bin armhf 2.28-10 [664 kB]                                                               
Get:77 https://cdn-aws.deb.debian.org/debian buster/main armhf ncurses-base all 6.1+20181013-2+deb10u1 [258 kB]                                               
Get:78 https://cdn-aws.deb.debian.org/debian buster/main armhf sysvinit-utils armhf 2.93-8 [76.8 kB]                                                         
Get:79 https://cdn-aws.deb.debian.org/debian buster/main armhf libcom-err2 armhf 1.44.5-1+deb10u1 [67.5 kB]                                                   
Get:80 https://cdn-aws.deb.debian.org/debian buster/main armhf libext2fs2 armhf 1.44.5-1+deb10u1 [206 kB]                                                     
Get:81 https://cdn-aws.deb.debian.org/debian buster/main armhf libss2 armhf 1.44.5-1+deb10u1 [70.9 kB]                                                       
Get:82 https://cdn-aws.deb.debian.org/debian buster/main armhf e2fsprogs armhf 1.44.5-1+deb10u1 [552 kB]                                                     
Get:83 https://cdn-aws.deb.debian.org/debian buster/main armhf mount armhf 2.33.1-0.1 [166 kB]                                                               
Get:84 https://cdn-aws.deb.debian.org/debian buster/main armhf libapparmor1 armhf 2.13.2-10 [89.6 kB]                                                         
Get:85 https://cdn-aws.deb.debian.org/debian buster/main armhf libcap2 armhf 1:2.25-2 [16.3 kB]                                                               
Get:86 https://cdn-aws.deb.debian.org/debian buster/main armhf libargon2-1 armhf 0~20171227-0.2 [20.4 kB]                                                     
Get:87 https://cdn-aws.deb.debian.org/debian buster/main armhf dmsetup armhf 2:1.02.155-3 [90.0 kB]                                                           
Get:88 https://cdn-aws.deb.debian.org/debian buster/main armhf libdevmapper1.02.1 armhf 2:1.02.155-3 [131 kB]                                                 
Get:89 https://cdn-aws.deb.debian.org/debian buster/main armhf libjson-c3 armhf 0.12.1+ds-2 [24.9 kB]                                                         
Get:90 https://cdn-aws.deb.debian.org/debian buster/main armhf libssl1.1 armhf 1.1.1c-1 [1,294 kB]                                                           
Get:91 https://cdn-aws.deb.debian.org/debian buster/main armhf libcryptsetup12 armhf 2:2.1.0-5+deb10u2 [174 kB]                                               
Get:92 https://cdn-aws.deb.debian.org/debian buster/main armhf libidn11 armhf 1.33-2.2 [113 kB]                                                               
Get:93 https://cdn-aws.deb.debian.org/debian buster/main armhf libip4tc0 armhf 1.8.2-4 [68.1 kB]                                                             
Get:94 https://cdn-aws.deb.debian.org/debian buster/main armhf libkmod2 armhf 26-1 [46.4 kB]                                                                 
Get:95 https://cdn-aws.deb.debian.org/debian buster/main armhf systemd armhf 241-7~deb10u1 [3,279 kB]                                                         
Get:96 https://cdn-aws.deb.debian.org/debian buster/main armhf systemd-sysv armhf 241-7~deb10u1 [98.8 kB]                                                     
Get:97 https://cdn-aws.deb.debian.org/debian buster/main armhf liblocale-gettext-perl armhf 1.07-3+b4 [18.4 kB]                                               
Get:98 https://cdn-aws.deb.debian.org/debian buster/main armhf tasksel-data all 3.53 [17.9 kB]                                                               
Get:99 https://cdn-aws.deb.debian.org/debian buster/main armhf tasksel all 3.53 [95.0 kB]                                                                     
Get:100 https://cdn-aws.deb.debian.org/debian buster/main armhf libbsd0 armhf 0.9.1-2 [103 kB]                                                               
Get:101 https://cdn-aws.deb.debian.org/debian buster/main armhf bsdmainutils armhf 11.1.2+b1 [186 kB]                                                         
Get:102 https://cdn-aws.deb.debian.org/debian buster/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB]                                                         
Get:103 https://cdn-aws.deb.debian.org/debian buster/main armhf groff-base armhf 1.22.4-3 [828 kB]                                                           
Get:104 https://cdn-aws.deb.debian.org/debian buster/main armhf libgdbm6 armhf 1.18.1-4 [61.4 kB]                                                             
Get:105 https://cdn-aws.deb.debian.org/debian buster/main armhf libpipeline1 armhf 1.5.1-2 [26.8 kB]                                                         
Get:106 https://cdn-aws.deb.debian.org/debian buster/main armhf man-db armhf 2.8.5-2 [1,240 kB]                                                               
Get:107 https://cdn-aws.deb.debian.org/debian buster/main armhf tzdata all 2019b-0+deb10u1 [260 kB]                                                           
Get:108 https://cdn-aws.deb.debian.org/debian buster/main armhf cpio armhf 2.12+dfsg-9 [211 kB]                                                               
Get:109 https://cdn-aws.deb.debian.org/debian buster/main armhf lsb-base all 10.2019051400 [28.4 kB]                                                         
Get:110 https://cdn-aws.deb.debian.org/debian buster/main armhf libelf1 armhf 0.176-1.1 [158 kB]                                                             
Get:111 https://cdn-aws.deb.debian.org/debian buster/main armhf libmnl0 armhf 1.0.4-2 [11.2 kB]                                                               
Get:112 https://cdn-aws.deb.debian.org/debian buster/main armhf libxtables12 armhf 1.8.2-4 [77.2 kB]                                                         
Get:113 https://cdn-aws.deb.debian.org/debian buster/main armhf libcap2-bin armhf 1:2.25-2 [28.0 kB]                                                         
Get:114 https://cdn-aws.deb.debian.org/debian buster/main armhf iproute2 armhf 4.20.0-2 [770 kB]                                                             
Get:115 https://cdn-aws.deb.debian.org/debian buster/main armhf ifupdown armhf 0.8.35 [76.5 kB]                                                               
Get:116 https://cdn-aws.deb.debian.org/debian buster/main armhf iputils-ping armhf 3:20180629-2 [41.5 kB]                                                     
Get:117 https://cdn-aws.deb.debian.org/debian buster/main armhf libisc-export1100 armhf 1:9.11.5.P4+dfsg-5.1 [362 kB]                                         
Get:118 https://cdn-aws.deb.debian.org/debian buster/main armhf libdns-export1104 armhf 1:9.11.5.P4+dfsg-5.1 [897 kB]                                         
Get:119 https://cdn-aws.deb.debian.org/debian buster/main armhf isc-dhcp-client armhf 4.4.1-2 [314 kB]                                                       
Get:120 https://cdn-aws.deb.debian.org/debian buster/main armhf kmod armhf 26-1 [80.5 kB]                                                                     
Get:121 https://cdn-aws.deb.debian.org/debian buster/main armhf less armhf 487-0.1+b1 [121 kB]                                                               
Get:122 https://cdn-aws.deb.debian.org/debian buster/main armhf libncurses6 armhf 6.1+20181013-2+deb10u1 [79.9 kB]                                           
Get:123 https://cdn-aws.deb.debian.org/debian buster/main armhf libprocps7 armhf 2:3.3.15-2 [58.7 kB]                                                         
Get:124 https://cdn-aws.deb.debian.org/debian buster/main armhf procps armhf 2:3.3.15-2 [248 kB]                                                             
Get:125 https://cdn-aws.deb.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB]                                                           
Get:126 https://cdn-aws.deb.debian.org/debian buster/main armhf udev armhf 241-7~deb10u1 [1,249 kB]                                                           
Get:127 https://cdn-aws.deb.debian.org/debian buster/main armhf xxd armhf 2:8.1.0875-5 [139 kB]                                                               
Get:128 https://cdn-aws.deb.debian.org/debian buster/main armhf vim-common all 2:8.1.0875-5 [195 kB]                                                         
Get:129 https://cdn-aws.deb.debian.org/debian buster/main armhf libedit2 armhf 3.1-20181209-1 [79.5 kB]                                                       
Get:130 https://cdn-aws.deb.debian.org/debian buster/main armhf libkeyutils1 armhf 1.6-6 [13.9 kB]                                                           
Get:131 https://cdn-aws.deb.debian.org/debian buster/main armhf libkrb5support0 armhf 1.17-3 [62.3 kB]                                                       
Get:132 https://cdn-aws.deb.debian.org/debian buster/main armhf libk5crypto3 armhf 1.17-3 [119 kB]                                                           
Get:133 https://cdn-aws.deb.debian.org/debian buster/main armhf libkrb5-3 armhf 1.17-3 [323 kB]                                                               
Get:134 https://cdn-aws.deb.debian.org/debian buster/main armhf libgssapi-krb5-2 armhf 1.17-3 [137 kB]                                                       
Get:135 https://cdn-aws.deb.debian.org/debian buster/main armhf openssh-client armhf 1:7.9p1-10 [704 kB]                                                     
Get:136 https://cdn-aws.deb.debian.org/debian buster/main armhf ucf all 3.0038+nmu1 [69.0 kB]                                                                 
Get:137 https://cdn-aws.deb.debian.org/debian buster/main armhf openssl armhf 1.1.1c-1 [815 kB]                                                               
Get:138 https://cdn-aws.deb.debian.org/debian buster/main armhf ca-certificates all 20190110 [157 kB]                                                         
Get:139 https://cdn-aws.deb.debian.org/debian buster/non-free armhf firmware-amd-graphics all 20190114-2 [3,427 kB]                                           
Get:140 https://cdn-aws.deb.debian.org/debian buster/main armhf firmware-linux-free all 3.4 [19.2 kB]                  Get:141 https://cdn-aws.deb.debian.org/debian buster/non-free armhf firmware-misc-nonfree all 20190114-2 [3,338 kB]                                           
Get:142 https://cdn-aws.deb.debian.org/debian buster/non-free armhf firmware-linux-nonfree all 20190114-2 [17.7 kB]                                           
Get:143 https://cdn-aws.deb.debian.org/debian buster/non-free armhf firmware-linux all 20190114-2 [18.0 kB]                                                   
Get:144 https://cdn-aws.deb.debian.org/debian buster/main armhf libklibc armhf 2.0.6-1 [51.8 kB]                                                             
Get:145 https://cdn-aws.deb.debian.org/debian buster/main armhf klibc-utils armhf 2.0.6-1 [85.9 kB]                                                           
Get:146 https://cdn-aws.deb.debian.org/debian buster/main armhf initramfs-tools-core all 0.133+deb10u1 [99.2 kB]                                             
Get:147 https://cdn-aws.deb.debian.org/debian buster/main armhf linux-base all 4.6 [32.4 kB]                                                                 
Get:148 https://cdn-aws.deb.debian.org/debian buster/main armhf initramfs-tools all 0.133+deb10u1 [69.7 kB]                                                   
Get:149 https://cdn-aws.deb.debian.org/debian buster/main armhf libsctp1 armhf 1.0.18+dfsg-1 [27.6 kB]                                                       
Get:150 https://cdn-aws.deb.debian.org/debian buster/main armhf libiperf0 armhf 3.6-2 [69.1 kB]                                                               
Get:151 https://cdn-aws.deb.debian.org/debian buster/main armhf iperf3 armhf 3.6-2 [25.5 kB]                                                                 
Get:152 https://cdn-aws.deb.debian.org/debian buster/main armhf libgpm2 armhf 1.20.7-5 [34.2 kB]                                                             
Get:153 https://cdn-aws.deb.debian.org/debian buster/main armhf libwrap0 armhf 7.6.q-28 [55.9 kB]                                                             
Get:154 https://cdn-aws.deb.debian.org/debian buster/main armhf linux-image-4.19.0-6-armmp-lpae armhf 4.19.67-2 [34.1 MB]                                     
Get:155 https://cdn-aws.deb.debian.org/debian buster/main armhf linux-image-armmp-lpae armhf 4.19+105+deb10u1 [8,136 B]                                       
Get:156 https://cdn-aws.deb.debian.org/debian buster/main armhf net-tools armhf 1.60+git20180626.aebd88e-1 [233 kB]                                           
Get:157 https://cdn-aws.deb.debian.org/debian buster/main armhf openssh-sftp-server armhf 1:7.9p1-10 [38.6 kB]                                               
Get:158 https://cdn-aws.deb.debian.org/debian buster/main armhf openssh-server armhf 1:7.9p1-10 [319 kB]                                                     
Get:159 https://cdn-aws.deb.debian.org/debian buster/main armhf sudo armhf 1.8.27-1 [1,208 kB]                                                               
Get:160 https://cdn-aws.deb.debian.org/debian buster/main armhf task-ssh-server all 3.53 [908 B]                                                             
Get:161 https://cdn-aws.deb.debian.org/debian buster/main armhf u-boot-imx armhf 2019.01+dfsg-7 [773 kB]                                                     
Get:162 https://cdn-aws.deb.debian.org/debian buster/main armhf u-boot-omap armhf 2019.01+dfsg-7 [1,029 kB]                                                   
Get:163 https://cdn-aws.deb.debian.org/debian buster/main armhf u-boot-sunxi armhf 2019.01+dfsg-7 [1,161 kB]                                                 
Get:164 https://cdn-aws.deb.debian.org/debian buster/main armhf u-boot-exynos armhf 2019.01+dfsg-7 [389 kB]                                                   
Get:165 https://cdn-aws.deb.debian.org/debian buster/main armhf u-boot armhf 2019.01+dfsg-7 [24.8 kB]                                                         
Get:166 https://cdn-aws.deb.debian.org/debian buster/main armhf u-boot-tools armhf 2019.01+dfsg-7 [134 kB]                                                   
Get:167 https://cdn-aws.deb.debian.org/debian buster/main armhf vim-runtime all 2:8.1.0875-5 [5,775 kB]                                                       
Get:168 https://cdn-aws.deb.debian.org/debian buster/main armhf vim armhf 2:8.1.0875-5 [1,116 kB]                                                             
Fetched 99.2 MB in 36s (2,711 kB/s)                                                                                                                           
Download complete and in download only mode
I: Calculating obsolete packages
Using directory /mnt/ for unpacking operations
I: Extracting adduser_3.118_all.deb...
 -> Processing conffiles for adduser
I: Extracting apt_1.8.2_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in apt_1.8.2_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
 -> Processing conffiles for apt
I: Extracting base-files_10.3+deb10u1_armhf.deb...
 -> Processing conffiles for base-files
I: Extracting base-passwd_3.5.46_armhf.deb...
I: Extracting bash_5.0-4_armhf.deb...
 -> Processing conffiles for bash
I: Extracting bsdmainutils_11.1.2+b1_armhf.deb...
 -> Processing conffiles for bsdmainutils
I: Extracting bsdutils_1%3a2.33.1-0.1_armhf.deb...
I: Extracting ca-certificates_20190110_all.deb...
I: Extracting coreutils_8.30-3_armhf.deb...
I: Extracting cpio_2.12+dfsg-9_armhf.deb...
I: Extracting dash_0.5.10.2-5_armhf.deb...
I: Extracting debconf_1.5.71_all.deb...
 -> Processing conffiles for debconf
I: Extracting debian-archive-keyring_2019.1_all.deb...
 -> Processing conffiles for debian-archive-keyring
I: Extracting debianutils_4.8.6.1_armhf.deb...
I: Extracting diffutils_1%3a3.7-3_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in diffutils_1%3a3.7-3_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting dmsetup_2%3a1.02.155-3_armhf.deb...
I: Extracting dpkg_1.19.7_armhf.deb...
 -> Processing conffiles for dpkg
I: Extracting e2fsprogs_1.44.5-1+deb10u1_armhf.deb...
 -> Processing conffiles for e2fsprogs
I: Extracting fdisk_2.33.1-0.1_armhf.deb...
I: Extracting findutils_4.6.0+git+20190209-2_armhf.deb...
I: Extracting firmware-amd-graphics_20190114-2_all.deb...
I: Extracting firmware-linux-free_3.4_all.deb...
I: Extracting firmware-linux-nonfree_20190114-2_all.deb...
Warning: unrecognised value 'no' for Multi-Arch field in firmware-linux-nonfree_20190114-2_all.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting firmware-linux_20190114-2_all.deb...
Warning: unrecognised value 'no' for Multi-Arch field in firmware-linux_20190114-2_all.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting firmware-misc-nonfree_20190114-2_all.deb...
I: Extracting gcc-8-base_8.3.0-6_armhf.deb...
I: Extracting gpgv_2.2.12-1+deb10u1_armhf.deb...
I: Extracting grep_3.3-1_armhf.deb...
I: Extracting groff-base_1.22.4-3_armhf.deb...
 -> Processing conffiles for groff-base
I: Extracting gzip_1.9-3_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in gzip_1.9-3_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting hostname_3.21_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in hostname_3.21_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting ifupdown_0.8.35_armhf.deb... -> Processing conffiles for ifupdown
I: Extracting init-system-helpers_1.56+nmu1_all.deb...
I: Extracting initramfs-tools-core_0.133+deb10u1_all.deb...
 -> Processing conffiles for initramfs-tools-core
I: Extracting initramfs-tools_0.133+deb10u1_all.deb...
 -> Processing conffiles for initramfs-tools
I: Extracting iperf3_3.6-2_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in iperf3_3.6-2_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting iproute2_4.20.0-2_armhf.deb...
 -> Processing conffiles for iproute2
I: Extracting iputils-ping_3%3a20180629-2_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in iputils-ping_3%3a20180629-2_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting isc-dhcp-client_4.4.1-2_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in isc-dhcp-client_4.4.1-2_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
 -> Processing conffiles for isc-dhcp-client
I: Extracting klibc-utils_2.0.6-1_armhf.deb...
I: Extracting kmod_26-1_armhf.deb...
 -> Processing conffiles for kmod
I: Extracting less_487-0.1+b1_armhf.deb...
I: Extracting libacl1_2.2.53-4_armhf.deb...
I: Extracting libapparmor1_2.13.2-10_armhf.deb...
I: Extracting libapt-pkg5.0_1.8.2_armhf.deb...
I: Extracting libargon2-1_0~20171227-0.2_armhf.deb...
I: Extracting libattr1_1%3a2.4.48-4_armhf.deb...
 -> Processing conffiles for libattr1
I: Extracting libaudit-common_1%3a2.8.4-3_all.deb...
 -> Processing conffiles for libaudit-common
I: Extracting libaudit1_1%3a2.8.4-3_armhf.deb...
I: Extracting libblkid1_2.33.1-0.1_armhf.deb...
I: Extracting libbsd0_0.9.1-2_armhf.deb...
I: Extracting libbz2-1.0_1.0.6-9.2~deb10u1_armhf.deb...
I: Extracting libc-bin_2.28-10_armhf.deb...
 -> Processing conffiles for libc-bin
I: Extracting libc6_2.28-10_armhf.deb...
 -> Processing conffiles for libc6
I: Extracting libcap-ng0_0.7.9-2_armhf.deb...
I: Extracting libcap2-bin_1%3a2.25-2_armhf.deb...
I: Extracting libcap2_1%3a2.25-2_armhf.deb...
I: Extracting libcom-err2_1.44.5-1+deb10u1_armhf.deb...
I: Extracting libcryptsetup12_2%3a2.1.0-5+deb10u2_armhf.deb...
I: Extracting libdb5.3_5.3.28+dfsg1-0.5_armhf.deb...
I: Extracting libdebconfclient0_0.249_armhf.deb...
I: Extracting libdevmapper1.02.1_2%3a1.02.155-3_armhf.deb...
I: Extracting libdns-export1104_1%3a9.11.5.P4+dfsg-5.1_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in libdns-export1104_1%3a9.11.5.P4+dfsg-5.1_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting libedit2_3.1-20181209-1_armhf.deb...
I: Extracting libelf1_0.176-1.1_armhf.deb...
I: Extracting libext2fs2_1.44.5-1+deb10u1_armhf.deb...
I: Extracting libfdisk1_2.33.1-0.1_armhf.deb...
I: Extracting libffi6_3.2.1-9_armhf.deb...
I: Extracting libgcc1_1%3a8.3.0-6_armhf.deb...
I: Extracting libgcrypt20_1.8.4-5_armhf.deb...
I: Extracting libgdbm6_1.18.1-4_armhf.deb...
I: Extracting libgmp10_2%3a6.1.2+dfsg-4_armhf.deb...
I: Extracting libgnutls30_3.6.7-4_armhf.deb...
I: Extracting libgpg-error0_1.35-1_armhf.deb...
I: Extracting libgpm2_1.20.7-5_armhf.deb...
I: Extracting libgssapi-krb5-2_1.17-3_armhf.deb...
I: Extracting libhogweed4_3.4.1-1_armhf.deb...
I: Extracting libidn11_1.33-2.2_armhf.deb...
I: Extracting libidn2-0_2.0.5-1_armhf.deb...
I: Extracting libip4tc0_1.8.2-4_armhf.deb...
I: Extracting libiperf0_3.6-2_armhf.deb...
I: Extracting libisc-export1100_1%3a9.11.5.P4+dfsg-5.1_armhf.deb...
I: Extracting libjson-c3_0.12.1+ds-2_armhf.deb...
I: Extracting libk5crypto3_1.17-3_armhf.deb...
I: Extracting libkeyutils1_1.6-6_armhf.deb...
I: Extracting libklibc_2.0.6-1_armhf.deb...
I: Extracting libkmod2_26-1_armhf.deb...
I: Extracting libkrb5-3_1.17-3_armhf.deb...
I: Extracting libkrb5support0_1.17-3_armhf.deb...
I: Extracting liblocale-gettext-perl_1.07-3+b4_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in liblocale-gettext-perl_1.07-3+b4_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting liblz4-1_1.8.3-1_armhf.deb...
I: Extracting liblzma5_5.2.4-1_armhf.deb...I: Extracting libmnl0_1.0.4-2_armhf.deb...
I: Extracting libmount1_2.33.1-0.1_armhf.deb...
I: Extracting libncurses6_6.1+20181013-2+deb10u1_armhf.deb...
I: Extracting libncursesw6_6.1+20181013-2+deb10u1_armhf.deb...
I: Extracting libnettle6_3.4.1-1_armhf.deb...
I: Extracting libp11-kit0_0.23.15-2_armhf.deb...
I: Extracting libpam-modules-bin_1.3.1-5_armhf.deb...
I: Extracting libpam-modules_1.3.1-5_armhf.deb...
 -> Processing conffiles for libpam-modules
I: Extracting libpam-runtime_1.3.1-5_all.deb...
 -> Processing conffiles for libpam-runtime
Last edited by worksAsIntended on 2019-11-13 11:07, edited 1 time in total.
worksAsIntended
 
Posts: 7
Joined: 2019-11-13 10:52

Re: Odroid HC2/1 Buster Installation

Postby worksAsIntended » 2019-11-13 11:07

Second half of output:

Code: Select all
I: Extracting libpam0g_1.3.1-5_armhf.deb...
I: Extracting libpcre3_2%3a8.39-12_armhf.deb...
I: Extracting libpipeline1_1.5.1-2_armhf.deb...
I: Extracting libprocps7_2%3a3.3.15-2_armhf.deb...
I: Extracting libsctp1_1.0.18+dfsg-1_armhf.deb...
I: Extracting libseccomp2_2.3.3-4_armhf.deb...
I: Extracting libselinux1_2.8-1+b1_armhf.deb...
I: Extracting libsemanage-common_2.8-2_all.deb...
 -> Processing conffiles for libsemanage-common
I: Extracting libsemanage1_2.8-2_armhf.deb...
I: Extracting libsepol1_2.8-1_armhf.deb...
I: Extracting libsmartcols1_2.33.1-0.1_armhf.deb...
I: Extracting libss2_1.44.5-1+deb10u1_armhf.deb...
I: Extracting libssl1.1_1.1.1c-1_armhf.deb...
I: Extracting libstdc++6_8.3.0-6_armhf.deb...
I: Extracting libsystemd0_241-7~deb10u1_armhf.deb...
I: Extracting libtasn1-6_4.13-3_armhf.deb...
I: Extracting libtinfo6_6.1+20181013-2+deb10u1_armhf.deb...
I: Extracting libuchardet0_0.0.6-3_armhf.deb...
I: Extracting libudev1_241-7~deb10u1_armhf.deb...
I: Extracting libunistring2_0.9.10-1_armhf.deb...
I: Extracting libuuid1_2.33.1-0.1_armhf.deb...
I: Extracting libwrap0_7.6.q-28_armhf.deb...
I: Extracting libxtables12_1.8.2-4_armhf.deb...
I: Extracting libzstd1_1.3.8+dfsg-3_armhf.deb...
I: Extracting linux-base_4.6_all.deb...
I: Extracting linux-image-4.19.0-6-armmp-lpae_4.19.67-2_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in linux-image-4.19.0-6-armmp-lpae_4.19.67-2_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting linux-image-armmp-lpae_4.19+105+deb10u1_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in linux-image-armmp-lpae_4.19+105+deb10u1_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting login_1%3a4.5-1.1_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in login_1%3a4.5-1.1_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
 -> Processing conffiles for login
I: Extracting lsb-base_10.2019051400_all.deb...
I: Extracting man-db_2.8.5-2_armhf.deb...
 -> Processing conffiles for man-db
I: Extracting mawk_1.3.3-17+b3_armhf.deb...
I: Extracting mount_2.33.1-0.1_armhf.deb...
I: Extracting ncurses-base_6.1+20181013-2+deb10u1_all.deb...
 -> Processing conffiles for ncurses-base
I: Extracting ncurses-bin_6.1+20181013-2+deb10u1_armhf.deb...
I: Extracting net-tools_1.60+git20180626.aebd88e-1_armhf.deb...
I: Extracting openssh-client_1%3a7.9p1-10_armhf.deb...
 -> Processing conffiles for openssh-client
I: Extracting openssh-server_1%3a7.9p1-10_armhf.deb...
 -> Processing conffiles for openssh-server
I: Extracting openssh-sftp-server_1%3a7.9p1-10_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in openssh-sftp-server_1%3a7.9p1-10_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting openssl_1.1.1c-1_armhf.deb...
 -> Processing conffiles for openssl
I: Extracting passwd_1%3a4.5-1.1_armhf.deb...
 -> Processing conffiles for passwd
I: Extracting perl-base_5.28.1-6_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in perl-base_5.28.1-6_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting procps_2%3a3.3.15-2_armhf.deb...
 -> Processing conffiles for procps
I: Extracting sed_4.7-1_armhf.deb...
I: Extracting sensible-utils_0.0.12_all.deb...
I: Extracting sudo_1.8.27-1_armhf.deb...I: Extracting sysvinit-utils_2.93-8_armhf.deb...
I: Extracting tar_1.30+dfsg-6_armhf.deb...
I: Extracting task-ssh-server_3.53_all.deb...
Warning: unrecognised value 'no' for Multi-Arch field in task-ssh-server_3.53_all.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting tasksel-data_3.53_all.deb...
Warning: unrecognised value 'no' for Multi-Arch field in tasksel-data_3.53_all.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting tasksel_3.53_all.deb...
Warning: unrecognised value 'no' for Multi-Arch field in tasksel_3.53_all.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting tzdata_2019b-0+deb10u1_all.deb...
I: Extracting u-boot-exynos_2019.01+dfsg-7_armhf.deb...
I: Extracting u-boot-imx_2019.01+dfsg-7_armhf.deb...
I: Extracting u-boot-omap_2019.01+dfsg-7_armhf.deb...
I: Extracting u-boot-sunxi_2019.01+dfsg-7_armhf.deb...
I: Extracting u-boot-tools_2019.01+dfsg-7_armhf.deb...
I: Extracting u-boot_2019.01+dfsg-7_armhf.deb...
I: Extracting ucf_3.0038+nmu1_all.deb...
 -> Processing conffiles for ucf
I: Extracting udev_241-7~deb10u1_armhf.deb...
 -> Processing conffiles for udev
I: Extracting util-linux_2.33.1-0.1_armhf.deb...
 -> Processing conffiles for util-linux
I: Extracting vim-common_2%3a8.1.0875-5_all.deb...
 -> Processing conffiles for vim-common
I: Extracting vim-runtime_2%3a8.1.0875-5_all.deb...
I: Extracting vim_2%3a8.1.0875-5_armhf.deb...
Warning: unrecognised value 'no' for Multi-Arch field in vim_2%3a8.1.0875-5_armhf.deb. (Expecting 'same', 'foreign' or 'allowed'.)
I: Extracting xxd_2%3a8.1.0875-5_armhf.deb...
I: Extracting zlib1g_1%3a1.2.11.dfsg-1_armhf.deb...
I: Unpacking complete.
I: dpkg configuration settings:
        DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C
I: Native mode - configuring unpacked packages . . .
I: Shell found OK in /mnt/bin/sh:
lrwxrwxrwx 1 root root 4 Jan 17  2019 bin/sh -> dash
I: Running preinst scripts with 'install' argument.
dpkg-maintscript-helper: error: couldn't identify the package
dpkg-maintscript-helper: error: couldn't identify the package
dpkg-maintscript-helper: error: couldn't identify the package
dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required
dpkg-maintscript-helper: error: couldn't identify the package
dpkg-maintscript-helper: error: couldn't identify the package
dpkg-maintscript-helper: error: couldn't identify the package
dpkg-maintscript-helper: error: couldn't identify the package
Moving old data out of the way
dpkg-maintscript-helper: error: couldn't identify the package
dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required
Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime'
Ignoring request to rename file '/usr/share/vim/vim81/doc/help.txt' owned by diverting package 'vim-runtime'
Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime'
Ignoring request to rename file '/usr/share/vim/vim81/doc/tags' owned by diverting package 'vim-runtime'
dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required
Setting up lsb-base (10.2019051400) ...
Setting up firmware-linux-free (3.4) ...
update-initramfs: deferring update (trigger activated)
Setting up debian-archive-keyring (2019.1) ...Setting up firmware-misc-nonfree (20190114-2) ...
update-initramfs: deferring update (trigger activated)
Setting up u-boot-sunxi:armhf (2019.01+dfsg-7) ...
Setting up libaudit-common (1:2.8.4-3) ...
Setting up u-boot-omap:armhf (2019.01+dfsg-7) ...
Setting up libsemanage-common (2.8-2) ...
Setting up libklibc:armhf (2.0.6-1) ...
Setting up ncurses-base (6.1+20181013-2+deb10u1) ...
Setting up gcc-8-base:armhf (8.3.0-6) ...
Setting up sensible-utils (0.0.12) ...
Setting up u-boot-imx:armhf (2019.01+dfsg-7) ...
Setting up vim-runtime (2:8.1.0875-5) ...
Setting up klibc-utils (2.0.6-1) ...
No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed.
Setting up u-boot-exynos:armhf (2019.01+dfsg-7) ...
Setting up firmware-amd-graphics (20190114-2) ...
update-initramfs: deferring update (trigger activated)
Setting up u-boot:armhf (2019.01+dfsg-7) ...
Setting up firmware-linux-nonfree (20190114-2) ...
Setting up firmware-linux (20190114-2) ...
Setting up libc6:armhf (2.28-10) ...
Setting up libudev1:armhf (241-7~deb10u1) ...
Setting up libsepol1:armhf (2.8-1) ...
Setting up libsctp1:armhf (1.0.18+dfsg-1) ...
Setting up u-boot-tools (2019.01+dfsg-7) ...
Setting up libattr1:armhf (1:2.4.48-4) ...
Setting up libtasn1-6:armhf (4.13-3) ...
Setting up debianutils (4.8.6.1) ...
Setting up mawk (1.3.3-17+b3) ...
Setting up libdebconfclient0:armhf (0.249) ...
Setting up base-files (10.3+deb10u1) ...
Setting up libbz2-1.0:armhf (1.0.6-9.2~deb10u1) ...
Setting up libbsd0:armhf (0.9.1-2) ...
Setting up base-passwd (3.5.46) ...
Setting up libdb5.3:armhf (5.3.28+dfsg1-0.5) ...
Setting up libgdbm6:armhf (1.18.1-4) ...
Setting up libtinfo6:armhf (6.1+20181013-2+deb10u1) ...
Setting up bash (5.0-4) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
Setting up cpio (2.12+dfsg-9) ...
update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode
Setting up libpipeline1:armhf (1.5.1-2) ...
Setting up libzstd1:armhf (1.3.8+dfsg-3) ...
Setting up libjson-c3:armhf (0.12.1+ds-2) ...
Setting up libkeyutils1:armhf (1.6-6) ...
Setting up libapparmor1:armhf (2.13.2-10) ...
Setting up libgpm2:armhf (1.20.7-5) ...
Setting up libip4tc0:armhf (1.8.2-4) ...
Setting up liblzma5:armhf (5.2.4-1) ...
Setting up libgpg-error0:armhf (1.35-1) ...
Setting up libgcc1:armhf (1:8.3.0-6) ...
Setting up liblz4-1:armhf (1.8.3-1) ...
Setting up libargon2-1:armhf (0~20171227-0.2) ...
Setting up libedit2:armhf (3.1-20181209-1) ...
Setting up libc-bin (2.28-10) ...
Setting up ncurses-bin (6.1+20181013-2+deb10u1) ...
Setting up libacl1:armhf (2.2.53-4) ...
Setting up libunistring2:armhf (0.9.10-1) ...
Setting up libsmartcols1:armhf (2.33.1-0.1) ...
Setting up less (487-0.1+b1) ...
Setting up libgcrypt20:armhf (1.8.4-5) ...
Setting up zlib1g:armhf (1:1.2.11.dfsg-1) ...
Setting up libffi6:armhf (3.2.1-9) ...
Setting up libidn2-0:armhf (2.0.5-1) ...
Setting up libcom-err2:armhf (1.44.5-1+deb10u1) ...
Setting up diffutils (1:3.7-3) ...
Setting up libseccomp2:armhf (2.3.3-4) ...
Setting up xxd (2:8.1.0875-5) ...
Setting up libsystemd0:armhf (241-7~deb10u1) ...
Setting up libcap2:armhf (1:2.25-2) ...Setting up libkrb5support0:armhf (1.17-3) ...
Setting up libcap2-bin (1:2.25-2) ...
Setting up hostname (3.21) ...
Setting up libpcre3:armhf (2:8.39-12) ...
Setting up libcap-ng0:armhf (0.7.9-2) ...
Setting up libext2fs2:armhf (1.44.5-1+deb10u1) ...
Setting up vim-common (2:8.1.0875-5) ...
Setting up libwrap0:armhf (7.6.q-28) ...
Setting up libidn11:armhf (1.33-2.2) ...
Setting up libgmp10:armhf (2:6.1.2+dfsg-4) ...
Setting up libncurses6:armhf (6.1+20181013-2+deb10u1) ...
Setting up libp11-kit0:armhf (0.23.15-2) ...
Setting up libaudit1:armhf (1:2.8.4-3) ...
Setting up libmnl0:armhf (1.0.4-2) ...
Setting up libuuid1:armhf (2.33.1-0.1) ...
Setting up libss2:armhf (1.44.5-1+deb10u1) ...
Setting up libncursesw6:armhf (6.1+20181013-2+deb10u1) ...
Setting up libk5crypto3:armhf (1.17-3) ...
Setting up libnettle6:armhf (3.4.1-1) ...
Setting up libxtables12:armhf (1.8.2-4) ...
Setting up gpgv (2.2.12-1+deb10u1) ...
Setting up libelf1:armhf (0.176-1.1) ...
Setting up iputils-ping (3:20180629-2) ...
Setting up libblkid1:armhf (2.33.1-0.1) ...
Setting up libstdc++6:armhf (8.3.0-6) ...
Setting up bsdutils (1:2.33.1-0.1) ...
Setting up libhogweed4:armhf (3.4.1-1) ...
Setting up libprocps7:armhf (2:3.3.15-2) ...
Setting up e2fsprogs (1.44.5-1+deb10u1) ...
update-initramfs: deferring update (trigger activated)
Setting up libselinux1:armhf (2.8-1+b1) ...
Setting up libgnutls30:armhf (3.6.7-4) ...
Setting up sed (4.7-1) ...
Setting up bsdmainutils (11.1.2+b1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libfdisk1:armhf (2.33.1-0.1) ...
Setting up libdevmapper1.02.1:armhf (2:1.02.155-3) ...
Setting up findutils (4.6.0+git+20190209-2) ...
Setting up dmsetup (2:1.02.155-3) ...
update-initramfs: deferring update (trigger activated)
Setting up libmount1:armhf (2.33.1-0.1) ...
Setting up libuchardet0:armhf (0.0.6-3) ...
Setting up libapt-pkg5.0:armhf (1.8.2) ...
Setting up libsemanage1:armhf (2.8-2) ...
Setting up net-tools (1.60+git20180626.aebd88e-1) ...
Setting up vim (2:8.1.0875-5) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode
Setting up tar (1.30+dfsg-6) ...
update-alternatives: using /usr/sbin/rmt-tar to provide /usr/sbin/rmt (rmt) in auto mode
Setting up coreutils (8.30-3) ...
Setting up fdisk (2.33.1-0.1) ...
Setting up dpkg (1.19.7) ...
Setting up groff-base (1.22.4-3) ...
Setting up grep (3.3-1) ...
Setting up perl-base (5.28.1-6) ...
Setting up init-system-helpers (1.56+nmu1) ...
Setting up gzip (1.9-3) ...
Setting up procps (2:3.3.15-2) ...
update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode
Setting up liblocale-gettext-perl (1.07-3+b4) ...
Setting up debconf (1.5.71) ...
Setting up tzdata (2019b-0+deb10u1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Wed Nov 13 11:18:04 UTC 2019.
Universal Time is now:  Wed Nov 13 11:18:04 UTC 2019.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libpam0g:armhf (1.3.1-5) ...
Setting up ucf (3.0038+nmu1) ...
Setting up dash (0.5.10.2-5) ...
Setting up linux-base (4.6) ...
Setting up iproute2 (4.20.0-2) ...
Setting up libssl1.1:armhf (1.1.1c-1) ...
Setting up libpam-modules-bin (1.3.1-5) ...
Setting up man-db (2.8.5-2) ...
Building database of manual pages ...
Created symlink /etc/systemd/system/timers.target.wants/man-db.timer -> /lib/systemd/system/man-db.timer.
Setting up libiperf0:armhf (3.6-2) ...
Setting up libisc-export1100:armhf (1:9.11.5.P4+dfsg-5.1) ...
Setting up libcryptsetup12:armhf (2:2.1.0-5+deb10u2) ...
Setting up libkrb5-3:armhf (1.17-3) ...
Setting up openssl (1.1.1c-1) ...
Setting up libdns-export1104 (1:9.11.5.P4+dfsg-5.1) ...
Setting up libkmod2:armhf (26-1) ...
Setting up libpam-modules:armhf (1.3.1-5) ...
Setting up iperf3 (3.6-2) ...
Setting up isc-dhcp-client (4.4.1-2) ...
Setting up kmod (26-1) ...
Setting up ca-certificates (20190110) ...
Updating certificates in /etc/ssl/certs...
128 added, 0 removed; done.
Setting up libgssapi-krb5-2:armhf (1.17-3) ...
Setting up sudo (1.8.27-1) ...
invoke-rc.d: could not determine current runlevel
Setting up passwd (1:4.5-1.1) ...
Shadow passwords are now on.
Setting up libpam-runtime (1.3.1-5) ...
Setting up login (1:4.5-1.1) ...
Setting up adduser (3.118) ...
Setting up apt (1.8.2) ...
Created symlink /etc/systemd/system/timers.target.wants/apt-daily-upgrade.timer -> /lib/systemd/system/apt-daily-upgrade.timer.
Created symlink /etc/systemd/system/timers.target.wants/apt-daily.timer -> /lib/systemd/system/apt-daily.timer.
Setting up openssh-client (1:7.9p1-10) ...
Setting up tasksel (3.53) ...
Setting up ifupdown (0.8.35) ...
Creating /etc/network/interfaces.
Created symlink /etc/systemd/system/multi-user.target.wants/networking.service -> /lib/systemd/system/networking.service.
Created symlink /etc/systemd/system/network-online.target.wants/networking.service -> /lib/systemd/system/networking.service.
Setting up util-linux (2.33.1-0.1) ...
Setting up tasksel-data (3.53) ...
Setting up mount (2.33.1-0.1) ...
Setting up sysvinit-utils (2.93-8) ...
Setting up openssh-sftp-server (1:7.9p1-10) ...
Setting up openssh-server (1:7.9p1-10) ...

Creating config file /etc/ssh/sshd_config with new version
Creating SSH2 RSA key; this may take some time ...
2048 SHA256:Pfrime1XxkO1oSEmUgp42eDzyiGJj6hNEnJjI9BB4Js root@debian-stretch (RSA)
Creating SSH2 ECDSA key; this may take some time ...
256 SHA256:2pyQ3NrdFAuFuJIOwOBKIoQI0nKBe0X9VbgZBGNr01I root@debian-stretch (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 SHA256:rDmvJwkh2IhQUvaBK4Cq4iBRPi6Z/fF3zw9I70w6ScI root@debian-stretch (ED25519)
Created symlink /etc/systemd/system/sshd.service -> /lib/systemd/system/ssh.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service -> /lib/systemd/system/ssh.service.
invoke-rc.d: could not determine current runlevel
Setting up systemd (241-7~deb10u1) ...
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service -> /lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target -> /lib/systemd/system/remote-fs.target.
Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service -> /lib/systemd/system/systemd-timesyncd.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service -> /lib/systemd/system/systemd-timesyncd.service.
Initializing machine ID from random generator.
Setting up task-ssh-server (3.53) ...
Setting up udev (241-7~deb10u1) ...
A chroot environment has been detected, udev not started.
update-initramfs: deferring update (trigger activated)
Setting up initramfs-tools-core (0.133+deb10u1) ...
Setting up systemd-sysv (241-7~deb10u1) ...
Setting up initramfs-tools (0.133+deb10u1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.19.0-6-armmp-lpae (4.19.67-2) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.0-6-armmp-lpae
I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.0-6-armmp-lpae
I: /vmlinuz is now a symlink to boot/vmlinuz-4.19.0-6-armmp-lpae
I: /initrd.img is now a symlink to boot/initrd.img-4.19.0-6-armmp-lpae
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-6-armmp-lpae
Setting up linux-image-armmp-lpae (4.19+105+deb10u1) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for ca-certificates (20190110) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-6-armmp-lpae
I: Tidying up apt cache and list data.
I: Tidying up apt cache and list data.

Multistrap system installed successfully in /mnt/.


mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc

chroot /mnt/ env DEBIAN_FRONTEND=noninteractive dpkg --configure -a
chroot /mnt passwd root
New password:
Retype new password:
passwd: password updated successfully
passwd: password updated successfully
root@debian-stretch:~# chroot /mnt systemctl enable serial-getty@ttySAC2.service
Created symlink /etc/systemd/system/getty.target.wants/serial-getty@ttySAC2.service → /lib/systemd/system/serial-getty@.service.
root@debian-stretch:~# echo debian-odroid-h1 > /mnt/etc/hostname
root@debian-stretch:~# echo 127.0.0.1 debian-odroid-hc1 localhost > /mnt/etc/hosts

cat << EOF > /mnt/etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
EOF

root@debian-stretch:~# sed -e "s/^#PermitRootLogin.*/PermitRootLogin Yes/g" -i /mnt/etc/ssh/sshd_config
root@debian-stretch:~# BOOT_UUID="$(lsblk -n -o UUID ${SDCARD}1)"
root@debian-stretch:~# ROOT_UUID="$(lsblk -n -o UUID ${SDCARD}2)"
root@debian-stretch:~# chroot /mnt rm /vmlinuz /vmlinuz.old /initrd.img /initrd.img.old
root@debian-stretch:~# chroot /mnt bash -c 'cd /boot; ln -s $(ls vmlinuz*|tail -n1) vmlinuz; ln -s $(ls initrd*|tail -n1) initrd'
ln: failed to create symbolic link 'vmlinuz': File exists

# seems to already correct

cat << EOF > /mnt/etc/fstab
proc              /proc   proc    defaults
UUID=${ROOT_UUID} /       ext4    noatime,errors=remount-ro,discard
UUID=${BOOT_UUID} /boot   ext4    defaults,discard
EOF

 cat /mnt/etc/fstab
proc              /proc   proc    defaults
UUID=332fffd2-8afa-4020-86d3-cd56ecad438a /       ext4    noatime,errors=remount-ro,discard
UUID=3ec5785d-1e6a-418a-b915-ff979d4ea9ac /boot   ext4    defaults,discard

root@debian-stretch:~# chroot /mnt/ dpkg --configure -a

# did nothing, as it already run completly before (not using qemu)

root@debian-stretch:~# git clone https://github.com/hardkernel/u-boot -b odroidxu3-v2012.07
Cloning into 'u-boot'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 514070 (delta 0), reused 1 (delta 0), pack-reused 514069
Receiving objects: 100% (514070/514070), 151.92 MiB | 8.46 MiB/s, done.
Resolving deltas: 100% (414401/414401), done.
root@debian-stretch:~# cp u-boot/sd_fuse/hardkernel_1mb_uboot//{bl1.bin.hardkernel,bl2.bin.hardkernel.1mb_uboot,sd_fusing.1M.sh,tzsw.bin.hardkernel} /mnt/boot/hardkernel/
root@debian-stretch:~# cp /mnt/usr/lib/u-boot/odroid-xu3/u-boot.bin /mnt/boot/hardkernel/
root@debian-stretch:~# chroot /mnt bash -c "cd /boot/hardkernel; ./sd_fusing.1M.sh ${SDCARD}"
++ '[' -z /dev/sdb ']'
++ '[' -b /dev/sdb ']'
++ echo '/dev/sdb reader is identified.'
/dev/sdb reader is identified.
++ '[' -d /sys/block/sdbboot0 ']'
++ '[' -n '' ']'
++ signed_bl1_position=1
++ bl2_position=31
++ uboot_position=63
++ tzsw_position=2111
++ device=/dev/sdb
++ '[' -f ./u-boot-dtb.bin ']'
++ '[' -f ./u-boot.bin ']'
++ uboot=./u-boot.bin
++ echo 'BL1 fusing'
BL1 fusing
++ sudo dd iflag=dsync oflag=dsync if=./bl1.bin.hardkernel of=/dev/sdb seek=1
sudo: unable to resolve host debian-stretch: Temporary failure in name resolution
30+1 records in
30+1 records out
15616 bytes (16 kB, 15 KiB) copied, 0.0507147 s, 308 kB/s
++ echo 'BL2 fusing'
BL2 fusing
++ sudo dd iflag=dsync oflag=dsync if=./bl2.bin.hardkernel.1mb_uboot of=/dev/sdb seek=31
sudo: unable to resolve host debian-stretch: Temporary failure in name resolution
28+1 records in
28+1 records out
14592 bytes (15 kB, 14 KiB) copied, 0.207855 s, 70.2 kB/s
++ echo 'u-boot fusing'
u-boot fusing
++ sudo dd iflag=dsync oflag=dsync if=./u-boot.bin of=/dev/sdb seek=63
sudo: unable to resolve host debian-stretch: Temporary failure in name resolution
913+1 records in
913+1 records out
467866 bytes (468 kB, 457 KiB) copied, 1.16435 s, 402 kB/s
++ echo 'TrustZone S/W fusing'
TrustZone S/W fusing
++ sudo dd iflag=dsync oflag=dsync if=./tzsw.bin.hardkernel of=/dev/sdb seek=2111
sudo: unable to resolve host debian-stretch: Temporary failure in name resolution
512+0 records in
512+0 records out
262144 bytes (262 kB, 256 KiB) copied, 0.690048 s, 380 kB/s
++ echo 'U-boot image is fused successfully.'
U-boot image is fused successfully.
++ echo 'Eject /dev/sdb and insert it again.'
Eject /dev/sdb and insert it again.
root@debian-stretch:~# cp /etc/resolv.conf /mnt/etc/
root@debian-stretch:~# cat /etc/hosts
127.0.0.1       localhost debian-stretch
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

root@debian-stretch:~# vim /mnt/etc/hosts
 # added debian-stretch in hosts file, run again

root@debian-stretch:~# chroot /mnt bash -c "cd /boot/hardkernel; ./sd_fusing.1M.sh ${SDCARD}"
++ '[' -z /dev/sdb ']'
++ '[' -b /dev/sdb ']'
++ echo '/dev/sdb reader is identified.'
/dev/sdb reader is identified.
++ '[' -d /sys/block/sdbboot0 ']'
++ '[' -n '' ']'
++ signed_bl1_position=1
++ bl2_position=31
++ uboot_position=63
++ tzsw_position=2111
++ device=/dev/sdb
++ '[' -f ./u-boot-dtb.bin ']'
++ '[' -f ./u-boot.bin ']'
++ uboot=./u-boot.bin
++ echo 'BL1 fusing'
BL1 fusing
++ sudo dd iflag=dsync oflag=dsync if=./bl1.bin.hardkernel of=/dev/sdb seek=1
30+1 records in
30+1 records out
15616 bytes (16 kB, 15 KiB) copied, 0.0388892 s, 402 kB/s
++ echo 'BL2 fusing'
BL2 fusing
++ sudo dd iflag=dsync oflag=dsync if=./bl2.bin.hardkernel.1mb_uboot of=/dev/sdb seek=31
28+1 records in
28+1 records out
14592 bytes (15 kB, 14 KiB) copied, 0.0303446 s, 481 kB/s
++ echo 'u-boot fusing'
u-boot fusing
++ sudo dd iflag=dsync oflag=dsync if=./u-boot.bin of=/dev/sdb seek=63
913+1 records in
913+1 records out
467866 bytes (468 kB, 457 KiB) copied, 1.11112 s, 421 kB/s
++ echo 'TrustZone S/W fusing'
TrustZone S/W fusing
++ sudo dd iflag=dsync oflag=dsync if=./tzsw.bin.hardkernel of=/dev/sdb seek=2111
512+0 records in
512+0 records out
262144 bytes (262 kB, 256 KiB) copied, 0.622259 s, 421 kB/s
++ echo 'U-boot image is fused successfully.'
U-boot image is fused successfully.
++ echo 'Eject /dev/sdb and insert it again.'
Eject /dev/sdb and insert it again.

cat <<EOF >> /mnt/etc/default/flash-kernel
LINUX_KERNEL_CMDLINE="console=ttySAC2,115200n8 consoleblank=0 loglevel=8  rootwait rw net.ifnames=0 biosdevname=0  governor=performance root=UUID=${ROOT_UUID} rootfstype=ext4"
LINUX_KERNEL_CMDLINE_DEFAULTS=""
EOF

root@debian-stretch:~# chroot /mnt env FK_MACHINE="Hardkernel Odroid HC1" apt install flash-kernel
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package flash-kernel

#need to run update first

root@debian-stretch:~# chroot /mnt env FK_MACHINE="Hardkernel Odroid HC1" apt install flash-kernel
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  devio liblzo2-2 mtd-utils
The following NEW packages will be installed:
  devio flash-kernel liblzo2-2 mtd-utils
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 308 kB of archives.
After this operation, 1309 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://cdn-aws.deb.debian.org/debian buster/main armhf devio armhf 1.2-1.2+b1 [15.7 kB]
Get:2 https://cdn-aws.deb.debian.org/debian buster/main armhf liblzo2-2 armhf 2.10-0.1 [49.7 kB]
Get:3 https://cdn-aws.deb.debian.org/debian buster/main armhf mtd-utils armhf 1:2.0.1-1 [192 kB]
Get:4 https://cdn-aws.deb.debian.org/debian buster/main armhf flash-kernel armhf 3.99 [50.7 kB]
Fetched 308 kB in 1s (417 kB/s)   
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package devio.
(Reading database ... 16930 files and directories currently installed.)
Preparing to unpack .../devio_1.2-1.2+b1_armhf.deb ...
Unpacking devio (1.2-1.2+b1) ...
Selecting previously unselected package liblzo2-2:armhf.
Preparing to unpack .../liblzo2-2_2.10-0.1_armhf.deb ...
Unpacking liblzo2-2:armhf (2.10-0.1) ...
Selecting previously unselected package mtd-utils.
Preparing to unpack .../mtd-utils_1%3a2.0.1-1_armhf.deb ...
Unpacking mtd-utils (1:2.0.1-1) ...
Selecting previously unselected package flash-kernel.
Preparing to unpack .../flash-kernel_3.99_armhf.deb ...
Unpacking flash-kernel (3.99) ...
Setting up liblzo2-2:armhf (2.10-0.1) ...
Setting up mtd-utils (1:2.0.1-1) ...
Setting up devio (1.2-1.2+b1) ...
Setting up flash-kernel (3.99) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Configuring flash-kernel
------------------------

flash-kernel: A new version (/tmp/flash-kernel.0otBV6nrr6) of configuration file /etc/default/flash-kernel is available, but the version installed currently
has been locally modified.

  1. install the package maintainer's version    3. show the differences between the versions            5. start a new shell to examine the situation
  2. keep the local version currently installed  4. show a side-by-side difference between the versions
What do you want to do about modified configuration file flash-kernel? 3

Line by line differences between versions

--- /etc/default/flash-kernel root.root 0644 2019-11-13 11:32:15
+++ /tmp/flash-kernel.0otBV6nrr6 root.root 0644 2019-11-13 11:33:45
@@ -1,2 +1,2 @@
-LINUX_KERNEL_CMDLINE="console=ttySAC2,115200n8 consoleblank=0 loglevel=8 rootwait rw net.ifnames=0 biosdevname=0 governor=performance
root=UUID=332fffd2-8afa-4020-86d3-cd56ecad438a rootfstype=ext4"
+LINUX_KERNEL_CMDLINE="quiet"
 LINUX_KERNEL_CMDLINE_DEFAULTS=""

flash-kernel: A new version (/tmp/flash-kernel.0otBV6nrr6) of configuration file /etc/default/flash-kernel is available, but the version installed currently
has been locally modified.

  1. install the package maintainer's version    3. show the differences between the versions            5. start a new shell to examine the situation
  2. keep the local version currently installed  4. show a side-by-side difference between the versions
What do you want to do about modified configuration file flash-kernel? 2

Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...

#keeping old boot params, esp uuid

root@debian-stretch:~# chroot /mnt env FK_MACHINE="Hardkernel Odroid HC1" flash-kernel
Using DTB: exynos5422-odroidhc1.dtb
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Installing /usr/lib/linux-image-4.19.0-6-armmp-lpae/exynos5422-odroidhc1.dtb into /boot/dtbs/4.19.0-6-armmp-lpae/./exynos5422-odroidhc1.dtb
Taking backup of exynos5422-odroidhc1.dtb.
Installing new exynos5422-odroidhc1.dtb.
flash-kernel: installing version 4.19.0-6-armmp-lpae
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.

umount /mnt/boot
umount /mnt/dev
umount /mnt/proc
umount /mnt
sync

worksAsIntended
 
Posts: 7
Joined: 2019-11-13 10:52

Re: Odroid HC2/1 Buster Installation

Postby worksAsIntended » 2019-11-15 07:31

As there is no debug information at all, I decided to build a serial interface.
worksAsIntended
 
Posts: 7
Joined: 2019-11-13 10:52

Re: Odroid HC2/1 Buster Installation

Postby worksAsIntended » 2019-11-20 09:47

I did another try following the tutorial exactly which ended the same way as the multiple tries before.
I now got a serial interface which does not prompt anything. It seems like u-boot is not working at all. Any ideas why?
worksAsIntended
 
Posts: 7
Joined: 2019-11-13 10:52

Re: Odroid HC2/1 Buster Installation

Postby pylkko » 2019-11-20 14:59

Could you locate in the manual what the led light signify?
User avatar
pylkko
 
Posts: 1597
Joined: 2014-11-06 19:02

Re: Odroid HC2/1 Buster Installation

Postby worksAsIntended » 2019-11-21 09:05

red: power available
blue solid: u-boot available
blue blinking: kernel running

Obviously the u-boot installation is not working as it should.
I cannot spent more time on this project up until next week. I am positive I can get it running at some point and I will report back if I succeed.
worksAsIntended
 
Posts: 7
Joined: 2019-11-13 10:52

Re: Odroid HC2/1 Buster Installation

Postby pylkko » 2019-11-21 12:13

could be that the primary bootloader is in the wrong place, corrupt or something to that extent. Presuming here that there is a blob that loads u-boot (I haven't checked the boot sequence). Do you know if there is a sequence of led flashes or something from which to deduce exactly at what step the bootloading fails? are you runningthe chroot/ possible compilations on the device itself (in another OS) or in qemu?

EDIT: if I interpret this diagram on this wiki correctly, it is the blob that activates the blue led.
https://wiki.odroid.com/_media/odroid-n ... /boot2.png

it also says that "For some reason, the bootloader cannot start the next software, expensive OS like Linux, it stops and gives a shell prompt through the serial port." [sic, missing an "if" in the beginning of this sentence?"]. So if the primary bootloader finds U-boot, but u-boot fails, you should have serial debugging info at hand.
(https://wiki.odroid.com/odroid-n2/softw ... t_sequence)
Check if the primary bootloader is intact (checksum) and in the right place on the disk and partition structure.
User avatar
pylkko
 
Posts: 1597
Joined: 2014-11-06 19:02


Return to Hardware

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable