# Kernel Versions

**URL:** <https://forum.openwrt.org/t/kernel-versions/50236>\
**Category:** Talk about Documentation\
**Created:** [December 10, 2019, 3:30pm UTC](https://forum.openwrt.org/t/kernel-versions/50236 "2019-12-10T15:30:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiagogaspar8](https://forum.openwrt.org/user_avatar/forum.openwrt.org/tiagogaspar8/32/35875_2.png) [@tiagogaspar8](https://forum.openwrt.org/u/tiagogaspar8)\
**Post date:** [December 10, 2019, 3:30pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/1 "2019-12-10T15:30:17Z")

</div>

Hi everyone!

I'd like to ask you guys for your opinion on something. I think we should have a page where we show the status of each target and their respective kernel versions. What do you think? I believe that way it would be easier to get an idea of the overall status. There we could also have a space where we could say why they're not supported by a newer kernel, if it's being dropped, if it's upgrade is in progress, etc.

What do you guys think?

---

<div class="post-metadata">

**Author:** ![lleachii](https://forum.openwrt.org/letter_avatar/lleachii/32/5_5575768a8748004e209b776fc1b2916d.png) [@lleachii](https://forum.openwrt.org/u/lleachii)\
**Post date:** [December 10, 2019, 5:32pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/2 "2019-12-10T17:32:45Z")

</div>

[https://openwrt.org/docs/techref/targets/start](https://openwrt.org/docs/techref/targets/start)

---

<div class="post-metadata">

**Author:** ![tmomas](https://forum.openwrt.org/letter_avatar/tmomas/32/5_5575768a8748004e209b776fc1b2916d.png) [@tmomas](https://forum.openwrt.org/u/tmomas)\
**Post date:** [December 10, 2019, 5:44pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/3 "2019-12-10T17:44:44Z")

</div>

@hauke Can the Kernel version list you showed in [https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg49755.html](https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg49755.html) be automatically created?

If yes, we could easily integrate it in the wiki.

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [December 10, 2019, 5:46pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/4 "2019-12-10T17:46:19Z")

</div>

Unless automatically generated, it will be as out of date and useless as [https://openwrt.org/docs/platforms/start](https://openwrt.org/docs/platforms/start)

It's unclear to me the benefit, as:

- Most end users don't know what a kernel version means to them
- People who know should be following the openwrt-devel mailing list

The information is readily available from source on a given branch:

```
$ fgrep -r KERNEL_PATCHVER target/linux/
target/linux/brcm63xx/Makefile:KERNEL_PATCHVER:=4.14
target/linux/arc770/Makefile:KERNEL_PATCHVER:=4.14
target/linux/zynq/Makefile:KERNEL_PATCHVER:=4.19
target/linux/octeon/Makefile:KERNEL_PATCHVER:=4.19
target/linux/gemini/Makefile:KERNEL_PATCHVER:=4.19
target/linux/ar71xx/Makefile:KERNEL_PATCHVER:=4.14
target/linux/tegra/Makefile:KERNEL_PATCHVER := 4.19
target/linux/cns3xxx/Makefile:KERNEL_PATCHVER:=4.19
target/linux/kirkwood/Makefile:KERNEL_PATCHVER:=4.14
target/linux/ath79/Makefile:KERNEL_PATCHVER:=4.19
target/linux/x86/Makefile:KERNEL_PATCHVER:=4.19
target/linux/imx6/Makefile:KERNEL_PATCHVER:=4.19
target/linux/layerscape/Makefile:KERNEL_PATCHVER:=4.14
target/linux/ar7/Makefile:KERNEL_PATCHVER:=4.9
target/linux/apm821xx/Makefile:KERNEL_PATCHVER:=4.19
target/linux/ath25/Makefile:KERNEL_PATCHVER:=4.14
target/linux/samsung/Makefile:KERNEL_PATCHVER:=4.14
target/linux/mpc85xx/Makefile:KERNEL_PATCHVER:=4.19
target/linux/brcm2708/Makefile:KERNEL_PATCHVER:=4.19
target/linux/rb532/Makefile:KERNEL_PATCHVER:=4.14
target/linux/mxs/Makefile:KERNEL_PATCHVER:=4.19
target/linux/sunxi/Makefile:KERNEL_PATCHVER:=4.19
target/linux/omap/Makefile:KERNEL_PATCHVER:=4.19
target/linux/lantiq/Makefile:KERNEL_PATCHVER:=4.19
target/linux/orion/Makefile:KERNEL_PATCHVER:=4.9
target/linux/ipq40xx/Makefile:KERNEL_PATCHVER:=4.19
target/linux/armvirt/Makefile:KERNEL_PATCHVER:=4.19
target/linux/archs38/Makefile:KERNEL_PATCHVER:=4.14
target/linux/mvebu/Makefile:KERNEL_PATCHVER:=4.19
target/linux/malta/Makefile:KERNEL_PATCHVER:=4.19
target/linux/at91/Makefile:KERNEL_PATCHVER:=4.14
target/linux/uml/Makefile:KERNEL_PATCHVER:=4.14
target/linux/ramips/Makefile:KERNEL_PATCHVER:=4.14
target/linux/octeontx/Makefile:KERNEL_PATCHVER:=4.14
target/linux/ipq806x/Makefile:KERNEL_PATCHVER:=4.14
target/linux/brcm47xx/Makefile:KERNEL_PATCHVER:=4.14
target/linux/ixp4xx/Makefile:KERNEL_PATCHVER:=4.9
target/linux/mediatek/Makefile:KERNEL_PATCHVER:=4.14
target/linux/mediatek/mt7629/target.mk:KERNEL_PATCHVER:=4.19
target/linux/pistachio/Makefile:KERNEL_PATCHVER:=4.14
target/linux/oxnas/Makefile:KERNEL_PATCHVER:=4.14
target/linux/bcm53xx/Makefile:KERNEL_PATCHVER:=4.14

```

---

<div class="post-metadata">

**Author:** ![tiagogaspar8](https://forum.openwrt.org/user_avatar/forum.openwrt.org/tiagogaspar8/32/35875_2.png) [@tiagogaspar8](https://forum.openwrt.org/u/tiagogaspar8)\
**Post date:** [December 10, 2019, 6:02pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/5 "2019-12-10T18:02:14Z")

</div>

> [@lleachii](#):
>
> [https://openwrt.org/docs/techref/targets/start](https://openwrt.org/docs/techref/targets/start)

I haven't found that page in my search thanks!

> [@tmomas](#):
>
> automatically created?

Automatically I don't think so, but from the link provided by @lleachii each target has a maintainer assigned, so its not hard for each maintainer when upgrading a target to change the kernel version in the wiki, right? Either way I can be the one keeping it updated.

> [@jeff](#):
>
> Unless automatically generated, it will be as out of date and useless as [https://openwrt.org/docs/platforms/start](https://openwrt.org/docs/platforms/start)

Each maintainer should do the updates themselves, I'll try and update it whenever I can.

> [@jeff](#):
>
> It's unclear to me the benefit

This isn't just a simple documentation, it's a way for everyone to have access to all the info about the project without needing to search all over the git.

In a separate subject, the website is pretty confusing, information is hidden and hard to get to and it's design is outdated. But I'm not here just to complain but also to help improving everything.

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [December 10, 2019, 6:07pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/6 "2019-12-10T18:07:57Z")

</div>

> [@tiagogaspar8](#):
>
> but from the link provided by @lleachii each target has a maintainer assigned

That page is every bit as believable as [_6 month release cycle (+ 6 months from date of creating release branch) - “no matter what” approach_](https://openwrt.org/meetings/hamburg2019/start#decisions)

---

<div class="post-metadata">

**Author:** ![lleachii](https://forum.openwrt.org/letter_avatar/lleachii/32/5_5575768a8748004e209b776fc1b2916d.png) [@lleachii](https://forum.openwrt.org/u/lleachii)\
**Post date:** [December 10, 2019, 6:15pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/7 "2019-12-10T18:15:25Z")

</div>

Did you see the link on each page where it shows the last Git commits?

This list will show the last kernel bump, hence your answer.

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [December 10, 2019, 6:38pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/8 "2019-12-10T18:38:43Z")

</div>

My apologies, I conflated the targets page with the target-maintainer page.

_Edit: Though [https://openwrt.org/docs/techref/targets/start](https://openwrt.org/docs/techref/targets/start) does seem to be missing information for ath79, one of the most-widely used targets of OpenWrt._

---

<div class="post-metadata">

**Author:** ![tmomas](https://forum.openwrt.org/letter_avatar/tmomas/32/5_5575768a8748004e209b776fc1b2916d.png) [@tmomas](https://forum.openwrt.org/u/tmomas)\
**Post date:** [December 10, 2019, 7:39pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/9 "2019-12-10T19:39:22Z")

</div>

@hauke Nevermind, got it.

Should anybody feel the need to have the kernel version information in the wiki, here it is:  
[https://openwrt.org/docs/techref/targets/target\_kernelversions](https://openwrt.org/docs/techref/targets/target_kernelversions) (can be updated automatically, without interaction of a maintainer).

@tiagogaspar8: Is that what you were looking for?

---

<div class="post-metadata">

**Author:** ![tiagogaspar8](https://forum.openwrt.org/user_avatar/forum.openwrt.org/tiagogaspar8/32/35875_2.png) [@tiagogaspar8](https://forum.openwrt.org/u/tiagogaspar8)\
**Post date:** [December 11, 2019, 1:46am UTC](https://forum.openwrt.org/t/kernel-versions/50236/10 "2019-12-11T01:46:38Z")

</div>

> [@tmomas](#):
>
> can be updated automatically, without interaction of a maintainer

Can be in the future? Or it is?

> [@tmomas](#):
>
> Is that what you were looking for?

Yes it is, almost. The page should also contain the kernel version for each of the supported major versions, in this case 17, 18 and soon to be 19. After it's support ends they can be removed from the page, which again, I can do.  
Also thanks for the attention and help doing this! 😃

---

<div class="post-metadata">

**Author:** ![lucenera](https://forum.openwrt.org/user_avatar/forum.openwrt.org/lucenera/32/135175_2.png) [@lucenera](https://forum.openwrt.org/u/lucenera)\
**Post date:** [December 11, 2019, 6:52am UTC](https://forum.openwrt.org/t/kernel-versions/50236/11 "2019-12-11T06:52:40Z")

</div>

The thread title should be kernel versions and not verions.

---

<div class="post-metadata">

**Author:** ![lleachii](https://forum.openwrt.org/letter_avatar/lleachii/32/5_5575768a8748004e209b776fc1b2916d.png) [@lleachii](https://forum.openwrt.org/u/lleachii)\
**Post date:** [December 11, 2019, 4:03pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/12 "2019-12-11T16:03:49Z")

</div>

> [@tiagogaspar8](#):
>
> The page should also contain the kernel version for each of the supported major versions, in this case 17, 18 and soon to be 19.

But that depends on target.

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [December 11, 2019, 4:08pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/13 "2019-12-11T16:08:25Z")

</div>

I would also suggest that the Maintainers' concept of "If your target isn't on Linux X.Y or later, it will likely be dropped from the next release." be added to the page.

I've at least read that 4.19 is one proposal for 20.01, as well as 5.4.

I've also read that ar7, ixp4xx, and orion are on 4.9 and are candidates for removal.

---

<div class="post-metadata">

**Author:** ![tmomas](https://forum.openwrt.org/letter_avatar/tmomas/32/5_5575768a8748004e209b776fc1b2916d.png) [@tmomas](https://forum.openwrt.org/u/tmomas)\
**Post date:** [December 11, 2019, 4:36pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/14 "2019-12-11T16:36:06Z")

</div>

Updated: [https://openwrt.org/docs/techref/targets/target\_kernelversions](https://openwrt.org/docs/techref/targets/target_kernelversions)

Like this?

 ![grafik](https://forum.openwrt.org/uploads/default/original/3X/1/7/1707dd71c7162eb86182ca8dca8856e6cc7b671f.png)

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [December 11, 2019, 4:40pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/15 "2019-12-11T16:40:15Z")

</div>

A possible, future enhancement would be to keep the targets aligned in rows.

---

<div class="post-metadata">

**Author:** ![tmomas](https://forum.openwrt.org/letter_avatar/tmomas/32/5_5575768a8748004e209b776fc1b2916d.png) [@tmomas](https://forum.openwrt.org/u/tmomas)\
**Post date:** [December 11, 2019, 4:58pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/16 "2019-12-11T16:58:01Z")

</div>

I knew that request would come sooner or later, because I had similar thoughts too :), but decided for the current solution since that was easier and faster to implement.

What you can see on that page is basically what you can see here:

- [17.01 kernel versions](https://git.openwrt.org/?p=openwrt%2Fopenwrt.git&a=search&h=refs%2Fheads%2Flede-17.01&st=grep&s=KERNEL_PATCHVER%3A%3D%5B0-9%5D%2B&sr=1)
- [18.06 kernel versions](https://git.openwrt.org/?p=openwrt%2Fopenwrt.git&a=search&h=refs%2Fheads%2Fopenwrt-18.06&st=grep&s=KERNEL_PATCHVER%3A%3D%5B0-9%5D%2B&sr=1)
- [snapshot kernel versions](https://git.openwrt.org/?p=openwrt%2Fopenwrt.git&a=search&h=HEAD&st=grep&s=KERNEL_PATCHVER%3A%3D%5B0-9%5D%2B&sr=1)

Technically speaking, just creating a new link for each new release would require the least efforts (but would leave you with separate pages for each release).

Transforming that data into a nice single table as proposed would really be ideal IMO, but requires some more effort.

If someone knowledgeable could write a shellscript or some php that scrapes the data and arranges it in wiki syntax (in a single table!), that would be great!

---

<div class="post-metadata">

**Author:** ![tiagogaspar8](https://forum.openwrt.org/user_avatar/forum.openwrt.org/tiagogaspar8/32/35875_2.png) [@tiagogaspar8](https://forum.openwrt.org/u/tiagogaspar8)\
**Post date:** [December 11, 2019, 5:28pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/17 "2019-12-11T17:28:44Z")

</div>

> [@jeff](#):
>
> I would also suggest that the Maintainers' concept of "If your target isn't on Linux X.Y or later, it will likely be dropped from the next release." be added to the page.

That would be a great idea! That would encourage developers and maintainers to keep their targets updated. That would also imply that the "generic" kernel should be maintained by someone.

> [@tmomas](#):
>
> Like this?

Yeah! Can't you make one table that has something like (now that I've read I don't believe you can ahahah):

```plaintext
target | 17.01 | 18.06 | 19.07 | snapshots
-------------------------------------------
mvebu | 4.4 | 4.14 | 4.14 | 4.19

```

> [@tmomas](#):
>
> If someone knowledgeable could write a shellscript or some php that scrapes the data and arranges it in wiki syntax (in a single table!), that would be great!

Well I have no knowladge of php, but I have someone who does I'll see if he can do it.  
Just another question, if I could provide a new page design for OpenWRT would there be any change of using it?  
Also the table can be static, I can maintain it. I don't have any intentions of dropping OpenWRT and will always be here to help maintain it so I can help as needed. 😃

---

<div class="post-metadata">

**Author:** ![takimata](https://forum.openwrt.org/user_avatar/forum.openwrt.org/takimata/32/114647_2.png) [@takimata](https://forum.openwrt.org/u/takimata)\
**Post date:** [December 11, 2019, 6:07pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/18 "2019-12-11T18:07:45Z")

</div>

> [@tmomas](#):
>
> If someone knowledgeable could write a shellscript or some php that scrapes the data and arranges it in wiki syntax (in a single table!), that would be great!

Done, you got a message. (I hope I got the wiki syntax right.)

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [December 11, 2019, 6:17pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/19 "2019-12-11T18:17:31Z")

</div>

> [@tiagogaspar8](#):
>
> ```plaintext
> target | 17.01 | 18.06 | 19.07 | snapshots
> -------------------------------------------
> mvebu | 4.4 | 4.14 | 4.14 | 4.19
> 
> ```
> 
> ![](https://forum.openwrt.org/letter_avatar/tmomas/40/5_02a1aaf4b66063a8f4cce7151aec9469.png) tmomas:

Let's be careful with the terminology as there are 18.06 snapshots, 19.07 snapshots and master snapshots.

I believe that you intend to reference to "master snapshots", but that should be said clearly.

---

<div class="post-metadata">

**Author:** ![tmomas](https://forum.openwrt.org/letter_avatar/tmomas/32/5_5575768a8748004e209b776fc1b2916d.png) [@tmomas](https://forum.openwrt.org/u/tmomas)\
**Post date:** [December 11, 2019, 6:49pm UTC](https://forum.openwrt.org/t/kernel-versions/50236/20 "2019-12-11T18:49:47Z")

</div>

> [@hnyman](#):
>
> I believe that you intend to reference to "master snapshots", but that should be said clearly.

You are absolutely right!

[Next page](https://forum.openwrt.org/t/kernel-versions/50236.md?page=2)
