[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian kernel on Odroid xu3?



On 2016-04-01, Vagrant Cascadian wrote:
> On 2016-04-01, Erik de Castro Lopo wrote:
>> I've got an Odroid xu3 with Debian Testing on it. Its currently running the
>> manufacturer's officially blessed kernel (version 3.10.x) compiled from source
>> with the addition of CONFIG_FANOTIFY enabled (required by systemd).
>>
>> Has anyone run a Debian kernel like this on an Odroid xu3?
>>
>>     https://wiki.debian.org/DebianKernel/ARMMP
>>
>> If so, how does one install it and get it set up?
>
> I've the armmp and armmp-lpae kernels on an Odroid-XU4, which is *very*
> similar, so should work for the XU3 as well. It did require setting up
> boot scripts to use the vendor u-boot for the XU4.

A recent commit in u-boot pointed me to how to use mainline u-boot on
the Odroid-XU4 using the odroid-xu3 target. So I'll be adding the
odroid-xu3 target to the Debian u-boot packages soon, which should also
support, not surprisingly, the Odroid-XU3 as well!

Basically, mainline u-boot is larger than the vendor u-boot and requires
using a different offset for the non-free binary blobs and the
u-boot-dtb.bin:

  https://github.com/hardkernel/u-boot/tree/odroidxu3-v2012.07/sd_fuse/hardkernel_1mb_uboot/


In /etc/flash-kernel/db (and soon to be in flash-kernel):

  Machine: Hardkernel Odroid XU4
  Kernel-Flavors: armmp armmp-lpae
  DTB-Id: exynos5422-odroidxu4.dtb
  Boot-Script-Path: /boot/boot.scr
  U-Boot-Script-Name: bootscr.uboot-generic
  Required-Packages: u-boot-tools

Then flash-kernel and mainline u-boot will play nicely together, as long
as your /boot is on eMMC/microSD, and is the first partition or a
partition marked as bootable.


> You will, of course, need to adjust a few of the things above for the
> Odroid-XU3, like the Machine and DTB-Id and so on. You may also need to
> force the use of machine for the first run by setting
> /etc/flash-kernel/machine to be identical to the Machine entry above.

You'll still need to adjust those things for the Odroid-XU3, but if you
have them working, feel free to file a wishlist bug with the appropriate
configuration to enable in flash-kernel.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: