Odroid C1+ headless - mainline kernel

Discussion about U-Boot and the kernel.

Odroid C1+ headless - mainline kernel

Postby Sagittarius » Sun Jan 05, 2020 2:37 pm

I'm using an Odroid C1+ mainly as a multiple instances of mpd server (one http vorbis 192 Kbits/s stream for each member of the family on our smartphones with mpdroid). Thanks to the Archlinuxarm devs !

I'd like to use it also for home-assistant which works great.

So I'd be glad to read some precise feedback for I have no UART cable (and because pacman -S mainlinekernel does not work as is), on how to install mainline kernel on Odroid C1/C1+ because even if the kernel is available (today linux-armv7-odroidc1 5.4.6-1) there is, unless I'm mistaken, absolutely no place where this is explained on the forum.

So help would be really appreciated.
Last edited by Sagittarius on Sat May 16, 2020 2:58 pm, edited 1 time in total.
Dockstar / GoFlexNet booting on NFS / Odroid C1+ / Odroid C2
Sagittarius
 
Posts: 61
Joined: Mon Nov 14, 2011 9:21 pm
Location: France

Re: Odroid C1+ headless - mainline kernel

Postby windozupdat3 » Tue Jan 07, 2020 8:41 am

AFAIK mainline kernel does not have yet HDMI support and however needs some adjustment to boot.ini
windozupdat3
 
Posts: 39
Joined: Tue Aug 29, 2017 9:07 am

Re: Odroid C1+ headless - mainline kernel

Postby Sagittarius » Wed Jan 08, 2020 10:34 pm

No HDMI, I don't really care for an headless server ;-)
Dockstar / GoFlexNet booting on NFS / Odroid C1+ / Odroid C2
Sagittarius
 
Posts: 61
Joined: Mon Nov 14, 2011 9:21 pm
Location: France

Re: Odroid C1+ headless - mainline kernel

Postby windozupdat3 » Thu Jan 09, 2020 8:41 am

You kneed to adapt the boot.ini then. I once booted the C1 with mainline in the past, unfortunately I don't have my configuration available any more. :roll:

I probably followed some advice like: viewtopic.php?f=23&t=13256#p60119 or https://github.com/armbian/build/blob/m ... oid-c1.ini
windozupdat3
 
Posts: 39
Joined: Tue Aug 29, 2017 9:07 am

Re: Odroid C1+ headless - mainline kernel

Postby moonman » Mon Feb 10, 2020 12:20 am

To boot mainline 2 things need to be changed in boot.ini:

This will enable serial console
$this->bbcode_second_pass_code('', 'setenv condev "console=tty0 console=ttyS0,115200n8" # on both')
needs to become
$this->bbcode_second_pass_code('', 'setenv condev "console=ttyAML0,115200n8"')

This will load proper dtb for the kernel (while still retaining backwards compatibility):
$this->bbcode_second_pass_code('', 'ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb')
to
$this->bbcode_second_pass_code('', 'ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb || ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b-odroidc1.dtb')

There are many things that don't work, specifically what I noticed:
- Display
- eMMC (kernel can't find rootfs)
- slower performance
Probably other things that I haven't mentioned.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Odroid C1+ headless - mainline kernel

Postby Sagittarius » Mon Feb 17, 2020 1:40 am

Thank you very much moonman :)
Dockstar / GoFlexNet booting on NFS / Odroid C1+ / Odroid C2
Sagittarius
 
Posts: 61
Joined: Mon Nov 14, 2011 9:21 pm
Location: France


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 15 guests