What is the latest kirkwood kernel

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

What is the latest kirkwood kernel

Postby avica » Sat Dec 29, 2018 2:50 pm

Hello
I am running Arch Linux on Goflex home for some time.
I notice that I am not able to upgrade over 4.4.
Are there any newer kernels and if any how should I upgrade?
avica
 
Posts: 3
Joined: Sun Jul 31, 2016 8:13 am

Re: What is the latest kirkwood kernel

Postby summers » Sat Dec 29, 2018 3:21 pm

I'm on 4.19.8-1 IIRC you had to update uboot to use the latest kernels, post is:

https://archlinuxarm.org/forum/viewtopic.php?f=53&t=8857

Oh yes should have explained more. The change came about when linux for arm devices changed to using a device tree. Before each kernel was crafted for a single machine, after generic kernels could be used, with all the hardware description in the device tree. This main maintenance of the kernel better for all, meant that arch has mainly switched to a single kernel for armv5, another for armv6, armv7 and armv8.

However with the device tree, although there are several options, it is best loaded into memory by the boot loader. For uboot to do this, it needed to be a fairly modern version - hence why uboot needed updating.

So anyway after updating uboot, you'll have to update to the mainline kernel as well. But do read the above thread carefully ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: What is the latest kirkwood kernel

Postby avica » Wed Jan 02, 2019 10:42 am

Hi Summer
Thank you for you reply.
I do run U-Boot 2016.09.01-1 .

I am not sure how to switch to the mainline Kernel.
Any hint will be appreciated.
avica
 
Posts: 3
Joined: Sun Jul 31, 2016 8:13 am

Re: What is the latest kirkwood kernel

Postby summers » Wed Jan 02, 2019 12:16 pm

IIRC its $this->bbcode_second_pass_code('', 'pacman -Syu linux-kirkwood-dt linux-kirkwood-dt-headers') at least I'm on both of those packages and on the 4.20 kernel.

Then check $this->bbcode_second_pass_code('', '/boot/uEnv.txt') is correct. Mine has in it:
$this->bbcode_second_pass_code('', 'root=PARTUUID=94a2dc27-01') where the UUID is got from $this->bbcode_second_pass_code('', 'blkid') e.g.$this->bbcode_second_pass_code('', '$ blkid
/dev/sda1: UUID="9c66e1c4-d82b-4606-b686-f5bc6d42e9d9" TYPE="ext4" PARTUUID="94a2dc27-01"
/dev/sda3: UUID="798359f2-6c88-4501-ae73-1f50f2d41590" TYPE="swap" PARTUUID="94a2dc27-03"
/dev/sda4: LABEL="home" UUID="effeb67d-4847-4888-96fc-b1711a8d0057" UUID_SUB="997936fc-4cff-4f73-9689-d1c58eb8d99d" TYPE="btrfs" PARTUUID="94a2dc27-04"
/dev/sdb: LABEL="home" UUID="effeb67d-4847-4888-96fc-b1711a8d0057" UUID_SUB="927ae6c8-e4f2-4c9a-aec2-7be3fc5530c5" TYPE="btrfs"
')
and i think there is a gotcha on accessing the nand flash afterwards. Recent kernels and its called "orion_nand" at least on the NSA325. So I have in /boot/uEnv.txt
$this->bbcode_second_pass_code('', 'mtdparts=mtdparts=orion_nand:0xC0000(uboot),0x40000(uboot_env),0x80000(old_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)')
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: What is the latest kirkwood kernel

Postby avica » Wed Jan 02, 2019 5:13 pm

Thanks
Worked fine for me, only using the:
$this->bbcode_second_pass_code('', 'pacman -Syu linux-kirkwood-dt linux-kirkwood-dt-headers')

I guess the Uboot took care of the rest.
avica
 
Posts: 3
Joined: Sun Jul 31, 2016 8:13 am

Re: What is the latest kirkwood kernel

Postby karog » Thu Jan 03, 2019 8:36 pm

I just did this on a pogo e02 a couple of days ago.

Just had to pacman the uboot-pogo_e02, rebooted, pacman the linux-kirkwood-dt[-headers], and reboot again.

No problems. Now on 4.20.0-1-ARCH
karog
 
Posts: 300
Joined: Thu Jan 05, 2012 7:55 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests