Odroid C2 no longer booting

So you can create a working odroid C2 image, and the only change you did was switching to linux-vim?

Yes, I created the image and so on, I modify the extlinux.conf file…

read my other post, I don’t understand why the ethernet connection was fine !

I added some soft with the arm-profiles, editions, kde-plasma by adding for example smbclient

https://forum.manjaro.org/t/arm-testing-update-2021-06-13-plasma-5-22-boost-1-76-plamo-gear-21-06-pacman-6-and-kernels/70135/40

yesterday the Ethernet connection was fine and not today…

I think I now know what went wrong. I’ll do a couple of tests and push out a fix if I was correct.

1 Like

Thanks a lot, I stay tuned for some test.

A Manjaro user have a working Manjaro arm C2 on this earth.

Applied your workaround, until I get time to look into it more.

So if you update your profiles with sudo getarmprofiles -f and build using unstable branch with -b unstable, you should get a working image.

Manjaro ARM Installer installs won’t work until the fix hits stable branch.

Ok, I note your message, I can’t do it now, but later, for sure :-)

I hope no issue with the Ethernet connection, the wifi is tricky for me…

I invite the other C2 User tot test it.

I wrote this message with the C2.

I updated the profiles with sudo getarmprofiles -f

I build the unstable image as suggested.

sudo buildarmimg -d oc2 -e kde-plasma -v 2021.06.16-01 -b unstable -n

keyring issue solve with your command lines
Ethernet connection is working by default

[nlc2@c2 ~]$ screenfetch
                             nlc2@c2.21.06
                             OS: Manjaro-ARM 21.06
                             Kernel: aarch64 Linux 5.12.9-1-MANJARO-ARM
         #####               Uptime: 16m
        #######              Packages: Unknown
        ##O#O##              Shell: bash 5.1.8
        #######              Resolution: 1920x1080
      ###########            DE: KDE 5.83.0 / Plasma 5.22.1
     #############           WM: KWin
    ###############          GTK Theme: Breeze [GTK2], Breath-Dark [GTK3]
    ################         Icon Theme: oxygen
   #################         Disk: 51G / 115G (46%)
 #####################       CPU: 4x Unknown
 #####################       RAM: 1521MiB / 1952MiB
   #################        
                            
                            
                            
[nlc2@c2 ~]$ pacman-mirrors --get-branch
arm-unstable
[nlc2@c2 ~]$ date -u
mer. 16 juin 2021 15:19:37 UTC
[nlc2@c2 ~]$ uname -a
Linux c2.21.06 5.12.9-1-MANJARO-ARM #1 SMP PREEMPT Tue Jun 8 21:04:14 UTC 2021 aarch64 GNU/Linux
[nlc2@c2 ~]$ 

[nlc2@c2 ~]$ inxi -F
System:    Host: c2.21.06 Kernel: 5.12.9-1-MANJARO-ARM aarch64 bits: 64 Desktop: KDE Plasma 5.22.1 
           Distro: Manjaro ARM 
Machine:   Type: ARM Device System: Hardkernel ODROID-C2 details: N/A serial: 
CPU:       Info: Quad Core model: N/A variant: cortex-a53 bits: 64 type: MCP 
           Speed: N/A min/max: N/A Core speeds (MHz): No per core speed data found. 
Graphics:  Device-1: meson-gxbb-dw-hdmi driver: meson_dw_hdmi v: N/A 
           Device-2: meson-gxbb-vpu driver: meson_drm v: N/A 
           Device-3: meson-gxbb-mali driver: lima v: kernel 
           Display: x11 server: X.Org 1.20.11 driver: loaded: fbturbo s-res: 1920x1080 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: meson-gxbb-dw-hdmi driver: meson_dw_hdmi 
           Device-2: gx-sound-card driver: gx_sound_card 
           Sound Server-1: ALSA v: k5.12.9-1-MANJARO-ARM running: yes 
           Sound Server-2: PipeWire v: 0.3.30 running: yes 
Network:   Device-1: meson-gxbb-dwmac driver: meson8b_dwmac 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 
           IF-ID-1: ip6tnl0 state: down mac: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 
Drives:    Local Storage: total: 114.56 GiB used: 50.86 GiB (44.4%) 
           ID-1: /dev/mmcblk1 vendor: Samsung model: CGND3R size: 58.24 GiB 
           ID-2: /dev/sdb type: USB vendor: Transcend model: JetFlash Transcend 64GB size: 56.32 GiB 
Partition: ID-1: / size: 57.85 GiB used: 5.78 GiB (10.0%) fs: ext4 dev: /dev/mmcblk1p2 
           ID-2: /boot size: 213.4 MiB used: 61.7 MiB (28.9%) fs: vfat dev: /dev/mmcblk1p1 
Swap:      ID-1: swap-1 type: zram size: 2.86 GiB used: 325.2 MiB (11.1%) dev: /dev/zram0 
Sensors:   Message: No sensor data found. Is lm-sensors configured? 
Info:      Processes: 195 Uptime: 27m Memory: 1.91 GiB used: 1.48 GiB (77.7%) Shell: Bash inxi: 3.3.04 
[nlc2@c2 ~]$ 

my kde-plasma conf file

Summary

Maintained by Strit

Minimal packages

sudo
parted
openssh
haveged
xorg-server
xorg-xinit
inxi
ncdu
nano
man-pages
man-db
ntfs-3g
zswap-arm

Sound, Video and bluetooth

alsa-utils
smplayer
#pulseaudio-alsa
#pulseaudio-bluetooth
pipewire-alsa
pipewire-pulse
vlc

Display Manager

sddm
sddm-kcm

Plasma packages

bluedevil
breeze
drkonqi
kde-gtk-config
kinfocenter
kcalc
kscreen
kscreenlocker
ksysguard
kwallet-pam
kwayland-integration
#plasma-wayland-session
kwin
plasma-desktop
plasma-nm
plasma-pa
plasma-workspace
powerdevil
systemsettings
plasma-vault
plasma-firewall
oxygen
oxygen-icons

KDE applications

dolphin
dolphin-plugins
kate
konsole
ark
okular
gwenview
krfb
krdc

Themes

breath2-icon-themes
gtk-theme-breath
plasma5-themes-breath2
sddm-breath2-theme
manjaro-arm-wallpapers
breeze-gtk
manjaro-icons

Office suite

libreoffice-fresh
libreoffice-fresh-fr

Browser

firefox
firefox-ublock-origin

Package Manager

pamac-gtk
pamac-tray-icon-plasma

Fonts

ttf-bitstream-vera
noto-fonts
wqy-microhei #chinese

Manjaro tools

manjaro-settings-manager
manjaro-settings-manager-kcm
manjaro-hotfixes
manjaro-arm-flasher
manjaro-arm-installer
mntray

Other packages

openresolv
wget
tlp
flameshot
xdg-user-dirs
networkmanager-openvpn
firewalld
samba
smbclient
android-file-transfer
filezilla
gparted
partitionmanager
exfat-utils
smbclient

1 Like

Today I up dated the c2

 
[nlc2@c2 ~]$ date -u
ven. 18 juin 2021 19:58:17 UTC
[nlc2@c2 ~]$ screenfetch
                             nlc2@c2.21.06
                             OS: Manjaro-ARM 21.06
                             Kernel: aarch64 Linux 5.12.9-1-MANJARO-ARM
         #####               Uptime: 10h 59m
        #######              Packages: Unknown
        ##O#O##              Shell: bash 5.1.8
        #######              Resolution: 1920x1080
      ###########            DE: KDE 5.83.0 / Plasma 5.22.1
     #############           WM: KWin
    ###############          GTK Theme: Breeze [GTK2], Breath-Dark [GTK3]
    ################         Icon Theme: oxygen
   #################         Disk: 6,2G / 59G (11%)
 #####################       CPU: 4x Unknown
 #####################       RAM: 813MiB / 1952MiB
   #################



[nlc2@c2 ~]$ uname -a
Linux c2.21.06 5.12.9-1-MANJARO-ARM #1 SMP PREEMPT Tue Jun 8 21:04:14 UTC 2021 aarch64 GNU/Linux
[nlc2@c2 ~]$ sudo pacman -Syyuu
[sudo] password for nlc2:
:: Synchronising package databases...
 core                                      234,8 KiB   451 KiB/s 00:01 [#######################################] 100%
 extra                                       2,4 MiB   888 KiB/s 00:03 [#######################################] 100%
 community                                   5,9 MiB   859 KiB/s 00:07 [#######################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) editorconfig-core-c-0.12.5-1  libva-2.12.0-0.1  mkinitcpio-busybox-1.33.1-1

Total Download Size:   0,48 MiB
Total Installed Size:  1,45 MiB
Net Upgrade Size:      0,01 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 editorconfig-core-c-0.12.5-1-aarch64       29,5 KiB   123 KiB/s 00:00 [#######################################] 100%
 libva-2.12.0-0.1-aarch64                  222,7 KiB   428 KiB/s 00:01 [#######################################] 100%
 mkinitcpio-busybox-1.33.1-1-aarch64       241,2 KiB   574 KiB/s 00:00 [#######################################] 100%
 Total (3/3)                               493,5 KiB   352 KiB/s 00:01 [#######################################] 100%
(3/3) checking keys in keyring                                         [#######################################] 100%
(3/3) checking package integrity                                       [#######################################] 100%
(3/3) loading package files                                            [#######################################] 100%
(3/3) checking for file conflicts                                      [#######################################] 100%
(3/3) checking available disk space                                    [#######################################] 100%
:: Processing package changes...
(1/3) upgrading editorconfig-core-c                                    [#######################################] 100%
(2/3) upgrading libva                                                  [#######################################] 100%
(3/3) upgrading mkinitcpio-busybox                                     [#######################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating linux-vim initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-vim.preset: 'default'
  -> -k 5.12.9-1-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.12.9-1-MANJARO-ARM
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [plymouth]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-vim.preset: 'default'
  -> -k 5.12.9-1-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.12.9-1-MANJARO-ARM
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [plymouth]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
[nlc2@c2 ~]$ reboot

Unfortunately the device don’t reboot, should I build an unstable image, testing or stable ?

Did you change to linux-vim, like you found out would work?

I don’t think the “fixed” package got into this update.

Linux-vim is by default install, I only up date the device, no more no less.

## Maintained by Strit ##

# Kernel and bootloader stuff
linux-vim
uboot-odroid-c2-mainline
plymouth
plymouth-theme-manjaro

# Video driver
xf86-video-fbturbo-git

# Other device specific packages
btrfs-progs
fbset
amlogic
oc2-post-install

Right now I build a testing image.

That was changed in the last couple of days.

If you need to build a new image, use unstable branch for now.

Although the packages needed are all in stable branch at this point.

linux or linux-vim kernel ?

linux-vim, but with uboot package 2021.04-2.

OK, now I build a unstable image, see you later with my test report.

[nls@nls-pc ~]$ sudo buildarmimg -d oc2 -e kde-plasma -v 2021.06.18-01 -b unstable -n

The Odroid C2 is an EOL device though, so we probably won’t put to much work into fixing it, if it breaks again. Just so you know. :wink:

Yes, I know, the device is End Of Life, I think it will be nice to keep it alive, until now no hardware issue.

Total Download Size:      8.06 MiB
Total Installed Size:  3867.66 MiB
Net Upgrade Size:      3808.15 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mkinitcpio-busybox-1.33.1-1-aarch64       241.2 KiB  1063 KiB/s 00:00 [########################################] 100%
 libva-2.12.0-0.1-aarch64                  222.7 KiB   891 KiB/s 00:00 [########################################] 100%
 editorconfig-core-c-0.12.5-1-aarch64       29.5 KiB  4.81 MiB/s 00:00 [########################################] 100%
 okular-21.04.2-2-aarch64                    7.6 MiB   842 KiB/s 00:09 [########################################] 100%
(714/714) checking keys in keyring                                     [########################################] 100%

@Strit @spikerguy

What are the difference between the linux kernel and the linux-vim kernel ?

Short answer: The kernel source tree.

The linux package, gets built directly from kernel.org’s source, while linux-vim gets built from Tobetters (from hardkernel) source tree, which includes some fixes and stuff for odroids. I believe he wants to upstream most of it.

1 Like

The C2 have a linux-vim kernel, but the other Odroid devices (N2, C4…) not, why?

Because the other Odroids work fine with linux while, as you found out, the C2 seems to not be anymore.

The C2 had been running linux for years before this.