Compiling a newer kernel

This forum is for supported devices using an ARMv7 Amlogic SoC.

Compiling a newer kernel

Postby mhf » Tue Dec 13, 2016 7:47 pm

Hi all,
i miss some modules and would like to use a newer kernel. As stated here (https://github.com/umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-for-your-ARM-device) it's possible to compile a kernel > 3.10.

Code: Select all
$ curl -sSL https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.8.tar.xz | unxz | tar -xvf -
$ cd linux
$ make multi_v7_defconfig
$ make -j 4 LOADADDR=0x00208000 uImage dtbs modules
$ sudo cp arch/arm/boot/uImage arch/arm/boot/dts/*.dtb /media/boot
$ sudo make modules_install
$ sudo make firmware_install


My approach will be backing up my current emmc module and compiling the sources. Does it work and what should I pay attention to?
mhf
 
Posts: 6
Joined: Tue Dec 13, 2016 7:21 pm

Re: Compiling a newer kernel

Postby WarheadsSE » Tue Dec 13, 2016 10:45 pm

Mainline kernel does not currently support all of the hardware on the C1 (which I am assuming, based on the forum location)

You may want to look at the existing kernel's PKGBUILD
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6730
Joined: Mon Oct 18, 2010 2:12 pm


Return to Amlogic

Who is online

Users browsing this forum: No registered users and 1 guest