ODROID-C2 to aarch64 kernel fails to boot

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

ODROID-C2 to aarch64 kernel fails to boot

Postby graysky » Fri Sep 07, 2018 5:31 pm

Is it known that the 4.18.x series of aarch64 kernels breaks the ODROID-C2? I tried booting to it but all I get a green screen on the HDMI. The blue LED is pusling in heart beat mode, but the network is not up; that yellow LED is just blinking once every 3 seconds or so.

$this->bbcode_second_pass_code('', '% sudo pacman -Rs uboot-odroid-c2
checking dependencies...

Packages (1) uboot-odroid-c2-2015.01-17

Total Removed Size: 0.67 MiB

:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing uboot-odroid-c2 [############################################] 100%
warning: /boot/boot.ini saved as /boot/boot.ini.pacsave

% sudo pacman -S uboot-odroid-c2-mainline linux-aarch64
resolving dependencies...
looking for conflicting packages...
:: linux-aarch64 and linux-odroid-c2 are in conflict (linux). Remove linux-odroid-c2? [y/N] y

Packages (3) linux-odroid-c2-3.16.57-2 [removal] linux-aarch64-4.18.5-1 uboot-odroid-c2-mainline-2018.05-1

Total Download Size: 65.77 MiB
Total Installed Size: 114.21 MiB
Net Upgrade Size: 67.60 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
linux-aarch64-4.18.5-1-aarch64 65.6 MiB 11.0M/s 00:06 [############################################] 100%
uboot-odroid-c2-mainline-2018.05-1-aarch64 213.1 KiB 10.4M/s 00:00 [############################################] 100%
(2/2) checking keys in keyring [############################################] 100%
(2/2) checking package integrity [############################################] 100%
(2/2) loading package files [############################################] 100%
(2/2) checking for file conflicts [############################################] 100%
:: Processing package changes...
(1/1) removing linux-odroid-c2 [############################################] 100%
(1/2) installing uboot-odroid-c2-mainline [############################################] 100%
A new U-Boot version needs to be flashed onto /dev/mmcblk0.
Do you want to do this now? [y|N]
y
BL1 fusing
442+0 records in
442+0 records out
442 bytes copied, 0.019374 s, 22.8 kB/s
96+0 records in
96+0 records out
49152 bytes (49 kB, 48 KiB) copied, 0.010865 s, 4.5 MB/s
u-boot fusing
1152+0 records in
1152+0 records out
589824 bytes (590 kB, 576 KiB) copied, 0.119877 s, 4.9 MB/s
(2/2) installing linux-aarch64 [############################################] 100%
>>> Updating module dependencies. Please wait ...
Optional dependencies for linux-aarch64
crda: to set the correct wireless channels of your country
:: Running post-transaction hooks...
(1/3) Updating linux-aarch64 initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'default'
-> -k 4.18.5-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.18.5-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'fallback'
-> -k 4.18.5-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.18.5-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
(2/3) Reloading system manager configuration...
(3/3) Arming ConditionNeedsUpdate...
')
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: ODROID-C2 to aarch64 kernel fails to boot

Postby summers » Fri Sep 07, 2018 6:51 pm

just updated, and my ODROID-c2 booted fine:
$this->bbcode_second_pass_code('', '[ 0.000000] Linux version 4.18.6-1-ARCH (builduser@leming) (gcc version 8.2.0 (GCC)) #1 SMP Wed Sep 5 21:37:17 MDT 2018
[ 0.000000] Machine model: Hardkernel ODROID-C2
')
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: ODROID-C2 to aarch64 kernel fails to boot

Postby graysky » Fri Sep 07, 2018 7:44 pm

Did you simply run the two commands I did, ie:
$this->bbcode_second_pass_code('', 'pacman -Rs uboot-odroid-c2
pacman -S uboot-odroid-c2-mainline linux-aarch64')
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: ODROID-C2 to aarch64 kernel fails to boot

Postby summers » Fri Sep 07, 2018 8:05 pm

I updated uboot several months ago - and it worked. So tonight I just ran $this->bbcode_second_pass_code('', 'pacman -Suy') alas no records on the uboot update. linux update ran as usual ..
$this->bbcode_second_pass_code('', ':: Synchronizing package databases...
core 190.1 KiB 594K/s 00:00 [######################] 100%
extra 2.2 MiB 637K/s 00:04 [######################] 100%
community 4.2 MiB 634K/s 00:07 [######################] 100%
alarm 46.2 KiB 577K/s 00:00 [######################] 100%
aur is up to date
:: Starting full system upgrade...
:: Replace ca-certificates-cacert with core/ca-certificates? [Y/n]
resolving dependencies...
looking for conflicting packages...

Packages (24) ca-certificates-20180821-1
ca-certificates-cacert-20140824-4 [removal]
ca-certificates-mozilla-3.39-1 ca-certificates-utils-20180821-1
coreutils-8.30-1 dbus-1.12.10-2 e2fsprogs-1.44.4-1
expat-2.2.6-1 file-5.34-1 filesystem-2018.8-1 glib2-2.56.2-1
gnupg-2.2.10-1 haveged-1.9.4-3 keyutils-1.5.11-1
libtirpc-1.1.4-1 linux-aarch64-4.18.6-1
linux-firmware-20180825.fea76a0-1 openssh-7.8p1-1
openssl-1.1.0.i-1 p11-kit-0.23.14-1
pacman-mirrorlist-20180903-1 s-nail-14.9.11-1 shadow-4.6-1
sudo-1.8.25-1

Total Download Size: 151.25 MiB
Total Installed Size: 491.31 MiB
Net Upgrade Size: 5.04 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
filesystem-2018.8-1... 8.8 KiB 438K/s 00:00 [######################] 100%
openssl-1.1.0.i-1-a... 2.8 MiB 631K/s 00:05 [######################] 100%
coreutils-8.30-1-aa... 2.2 MiB 631K/s 00:04 [######################] 100%
p11-kit-0.23.14-1-a... 433.9 KiB 620K/s 00:01 [######################] 100%
ca-certificates-uti... 8.0 KiB 802K/s 00:00 [######################] 100%
ca-certificates-moz... 327.6 KiB 642K/s 00:01 [######################] 100%
ca-certificates-201... 2.1 KiB 0.00B/s 00:00 [######################] 100%
expat-2.2.6-1-aarch64 89.7 KiB 528K/s 00:00 [######################] 100%
dbus-1.12.10-2-aarch64 287.5 KiB 639K/s 00:00 [######################] 100%
e2fsprogs-1.44.4-1-... 1010.7 KiB 632K/s 00:02 [######################] 100%
file-5.34-1-aarch64 276.2 KiB 600K/s 00:00 [######################] 100%
glib2-2.56.2-1-aarch64 2.3 MiB 638K/s 00:04 [######################] 100%
gnupg-2.2.10-1-aarch64 2.0 MiB 633K/s 00:03 [######################] 100%
keyutils-1.5.11-1-a... 73.4 KiB 525K/s 00:00 [######################] 100%
libtirpc-1.1.4-1-aa... 177.3 KiB 572K/s 00:00 [######################] 100%
linux-firmware-2018... 70.6 MiB 613K/s 01:58 [######################] 100%
shadow-4.6-1-aarch64 1093.4 KiB 632K/s 00:02 [######################] 100%
linux-aarch64-4.18.... 65.6 MiB 602K/s 01:52 [######################] 100%
openssh-7.8p1-1-aarch64 744.7 KiB 631K/s 00:01 [######################] 100%
pacman-mirrorlist-2... 2.6 KiB 0.00B/s 00:00 [######################] 100%
s-nail-14.9.11-1-aa... 460.1 KiB 622K/s 00:01 [######################] 100%
sudo-1.8.25-1-aarch64 718.5 KiB 636K/s 00:01 [######################] 100%
haveged-1.9.4-3-aarch64 44.0 KiB 489K/s 00:00 [######################] 100%
(23/23) checking keys in keyring [######################] 100%
(23/23) checking package integrity [######################] 100%
(23/23) loading package files [######################] 100%
(23/23) checking for file conflicts [######################] 100%
(24/24) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) removing ca-certificates-cacert [######################] 100%
( 1/23) upgrading filesystem [######################] 100%
( 2/23) upgrading openssl [######################] 100%
( 3/23) upgrading coreutils [######################] 100%
( 4/23) upgrading p11-kit [######################] 100%
Created symlink /etc/systemd/user/sockets.target.wants/p11-kit-server.socket -> /usr/lib/systemd/user/p11-kit-server.socket.
( 5/23) upgrading ca-certificates-utils [######################] 100%
( 6/23) upgrading ca-certificates-mozilla [######################] 100%
( 7/23) upgrading ca-certificates [######################] 100%
( 8/23) upgrading expat [######################] 100%
( 9/23) upgrading dbus [######################] 100%
(10/23) upgrading e2fsprogs [######################] 100%
(11/23) upgrading file [######################] 100%
(12/23) upgrading glib2 [######################] 100%
(13/23) upgrading gnupg [######################] 100%
(14/23) upgrading haveged [######################] 100%
(15/23) upgrading keyutils [######################] 100%
(16/23) upgrading libtirpc [######################] 100%
(17/23) upgrading linux-firmware [######################] 100%
(18/23) upgrading shadow [######################] 100%
==> Warning: /etc/group or /etc/gshadow are inconsistent.
Run 'grpck' to correct this.
(19/23) upgrading linux-aarch64 [######################] 100%
>>> Updating module dependencies. Please wait ...
(20/23) upgrading openssh [######################] 100%
(21/23) upgrading pacman-mirrorlist [######################] 100%
(22/23) upgrading s-nail [######################] 100%
(23/23) upgrading sudo [######################] 100%
:: Running post-transaction hooks...
(1/8) Updating linux-aarch64 initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'default'
-> -k 4.18.6-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.18.6-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'fallback'
-> -k 4.18.6-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.18.6-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
(2/8) Reloading system manager configuration...
(3/8) Applying kernel sysctl settings...
(4/8) Creating system user accounts...
(5/8) Creating temporary files...
(6/8) Arming ConditionNeedsUpdate...
(7/8) Updating the info directory file...
(8/8) Rebuilding certificate stores...')
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 12 guests