# Upstream R01 kernel

**URL:** <https://forum.clockworkpi.com/t/upstream-r01-kernel/11165>\
**Category:** uConsole\
**Created:** [October 3, 2023, 1:35pm UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165 "2023-10-03T13:35:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![wdouglass](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/wdouglass/32/6678_2.png) [@wdouglass](https://forum.clockworkpi.com/u/wdouglass)\
**Post date:** [October 3, 2023, 1:35pm UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/1 "2023-10-03T13:35:28Z")

</div>

Has anyone gotten an updated kernel running on R01, with either the devterm or uconsole? it looks like someone was trying here  
[https://groups.google.com/g/linux-sunxi/c/AKK7b-Km37Y](https://groups.google.com/g/linux-sunxi/c/AKK7b-Km37Y)

but that thread goes cold pretty quickly. I want to try and add support for the uConsole to buildroot; a closer-to-mainline kernel may make that easier.

---

<div class="post-metadata">

**Author:** ![NekoRouter](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@NekoRouter](https://forum.clockworkpi.com/u/NekoRouter)\
**Post date:** [October 3, 2023, 2:15pm UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/2 "2023-10-03T14:15:09Z")

</div>

mainline 6.5 kernel has no ANY display driver for D1, so you’ll get no display and lots of other peripherals.  
smauel’s 6.1 kernel has display driver and other needed drivers, you’d better check this one as start point.

---

<div class="post-metadata">

**Author:** ![wdouglass](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/wdouglass/32/6678_2.png) [@wdouglass](https://forum.clockworkpi.com/u/wdouglass)\
**Post date:** [October 3, 2023, 2:20pm UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/3 "2023-10-03T14:20:00Z")

</div>

cool thanks – hopefully i can manipulate the allwinner dts into something that’ll work with the smauel kernel

---

<div class="post-metadata">

**Author:** ![PotatoMania](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/potatomania/32/8072_2.png) [@PotatoMania](https://forum.clockworkpi.com/u/PotatoMania)\
**Post date:** [October 4, 2023, 7:18am UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/4 "2023-10-04T07:18:48Z")

</div>

Recently I’m trying to run both smaeul’s 6.1 and mainline 6.5 on R01. Now both will boot, but I cannot get LCD panel work on any of them.

On smaeul’s fork, the driver complains about vblank wait timed out. It looks like there’s a timing issue. HDMI works though.  
On mainline 6.5, the module clock for DSI interface(which is `<&tcon_top CLK_TCON_TOP_DSI>` in the device tree) cannot be acquired. I spent some time but found no solution or cause.

---

<div class="post-metadata">

**Author:** ![wdouglass](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/wdouglass/32/6678_2.png) [@wdouglass](https://forum.clockworkpi.com/u/wdouglass)\
**Post date:** [October 4, 2023, 11:54am UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/5 "2023-10-04T11:54:13Z")

</div>

Has anyone been successful downloading kernel source from allwinner? i’ve created an account (with some luck and some google translate) but so far no luck finding the actual kernel source. Do i need to sign an NDA? seems like a GPL violation but good luck going after anyone for it

---

<div class="post-metadata">

**Author:** ![NekoRouter](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@NekoRouter](https://forum.clockworkpi.com/u/NekoRouter)\
**Post date:** [October 4, 2023, 4:30pm UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/6 "2023-10-04T16:30:16Z")

</div>

[https://linux-sunxi.org/Allwinner\_Nezha#BSP\_Linux\_Kernel](https://linux-sunxi.org/Allwinner_Nezha#BSP_Linux_Kernel)

---

<div class="post-metadata">

**Author:** ![wdouglass](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/wdouglass/32/6678_2.png) [@wdouglass](https://forum.clockworkpi.com/u/wdouglass)\
**Post date:** [October 4, 2023, 5:15pm UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/7 "2023-10-04T17:15:12Z")

</div>

That’s what i needed, thanks a ton!

---

<div class="post-metadata">

**Author:** ![wdouglass](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/wdouglass/32/6678_2.png) [@wdouglass](https://forum.clockworkpi.com/u/wdouglass)\
**Post date:** [October 4, 2023, 5:19pm UTC](https://forum.clockworkpi.com/t/upstream-r01-kernel/11165/8 "2023-10-04T17:19:59Z")

</div>

the commit mentioned in cpi’s repo (2c3a14af7536e7a4be9f2b0550f04457ae585be6) isn’t present there unfortunately

cpi’s patches don’t apply

> <https://github.com/clockworkpi/uConsole/blob/master/Code/patch/r01/20230614/r01_v1.01_230614.patch>
