Kernel 5.0 development thread

MastaG
Posts: 284
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: Kernel 5.0 development thread

Unread post by MastaG » Tue Jul 23, 2019 8:42 pm

Yeah, lot's of awesome stuff already got into 5.3. like ceph for example.
So the next LTS release will be very nice.

I hope you can make a branch that works with the panfrost driver.

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Kernel 5.0 development thread

Unread post by escalade » Mon Sep 02, 2019 5:06 am

@memeka

I put in some work and managed to port your patches to 5.2. Everything seems to work great :)

Link to my patches if anyone is interested: https://github.com/escalade/RetroELEC/t ... ux/default
These users thanked the author escalade for the post:
mad_ady (Mon Sep 02, 2019 5:38 am)
Maintainer of RetroELEC (XU4 support!)

savitawanjale
Posts: 1
Joined: Mon Sep 02, 2019 6:49 pm
languages_spoken: english
ODROIDs: none
Has thanked: 0
Been thanked: 0
Contact:

Re: Kernel 5.0 development thread

Unread post by savitawanjale » Mon Sep 02, 2019 6:50 pm

Excellent thread! Thank you!

MastaG
Posts: 284
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: Kernel 5.0 development thread

Unread post by MastaG » Mon Sep 02, 2019 11:20 pm

5.4 will be longterm supported!
So I hope memeka can host two branches again.

One with the arm driver and with the bits required for panfrost.

User avatar
AreaScout
Posts: 1064
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 15 times
Been thanked: 47 times
Contact:

Re: Kernel 5.0 development thread

Unread post by AreaScout » Tue Sep 03, 2019 3:03 am

    I haven't seen him for quite a while here in the forums, I hope to see a 5.4 kernel from him too, he was really good in that stuff :?

    RG

    User avatar
    odroid
    Site Admin
    Posts: 32318
    Joined: Fri Feb 22, 2013 11:14 pm
    languages_spoken: English
    ODROIDs: ODROID
    Has thanked: 138 times
    Been thanked: 315 times
    Contact:

    Re: Kernel 5.0 development thread

    Unread post by odroid » Tue Sep 03, 2019 11:54 am

    I hope memeka appears when the Kernel 5.4 RC1 appears. ;)
    These users thanked the author odroid for the post (total 2):
    AreaScout (Tue Sep 03, 2019 9:46 pm) • MastaG (Wed Sep 04, 2019 6:06 pm)

    escalade
    Posts: 93
    Joined: Thu Mar 14, 2019 8:34 pm
    languages_spoken: english and norwegian
    Has thanked: 3 times
    Been thanked: 13 times
    Contact:

    Re: Kernel 5.0 development thread

    Unread post by escalade » Fri Sep 06, 2019 5:39 pm

    I can get 5.3 mainline up and running (with mali), but had issues getting the HMP code to compile due to scheduler changes. Also there was an issue with the RTL8812AU driver for wireless which I'm sure can be resolved. Other than that everything seemed to be in working order.
    These users thanked the author escalade for the post:
    odroid (Fri Sep 06, 2019 5:43 pm)
    Maintainer of RetroELEC (XU4 support!)

    elatllat
    Posts: 1526
    Joined: Tue Sep 01, 2015 8:54 am
    languages_spoken: english
    ODROIDs: XU4, N1, N2
    Has thanked: 21 times
    Been thanked: 49 times
    Contact:

    Re: Kernel 5.0 development thread

    Unread post by elatllat » Sat Sep 07, 2019 12:21 am

    MastaG wrote:
    Mon Sep 02, 2019 11:20 pm
    5.4 will be longterm supported!
    src?

    User avatar
    AreaScout
    Posts: 1064
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell
    Has thanked: 15 times
    Been thanked: 47 times
    Contact:

    Re: Kernel 5.0 development thread

    Unread post by AreaScout » Sat Sep 07, 2019 2:20 am


    User avatar
    memeka
    Posts: 4339
    Joined: Mon May 20, 2013 10:22 am
    languages_spoken: english
    ODROIDs: XU rev2 + eMMC + UART
    U3 + eMMC + IO Shield + UART
    Has thanked: 1 time
    Been thanked: 23 times
    Contact:

    Re: Kernel 5.0 development thread

    Unread post by memeka » Sat Sep 07, 2019 7:11 pm

    Unfortunately it's a short LTS :(
    I was hoping for a 2025-like EOL ...
    Oh well, it's a step for the 5.9 (maybe) long LTS :)

    PS: still here, just lurking mostly :P
    These users thanked the author memeka for the post:
    odroid (Mon Sep 09, 2019 10:26 am)

    User avatar
    mad_ady
    Posts: 6646
    Joined: Wed Jul 15, 2015 5:00 pm
    languages_spoken: english
    ODROIDs: XU4, C1+, C2, N1, H2, N2
    Location: Bucharest, Romania
    Has thanked: 188 times
    Been thanked: 143 times
    Contact:

    Re: Kernel 5.0 development thread

    Unread post by mad_ady » Sat Sep 07, 2019 10:05 pm

    Welcome back!

    User avatar
    AreaScout
    Posts: 1064
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell
    Has thanked: 15 times
    Been thanked: 47 times
    Contact:

    Re: Kernel 5.0 development thread

    Unread post by AreaScout » Sun Sep 08, 2019 5:13 am

      Yes, welcome back ! :ugeek:

      MastaG
      Posts: 284
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 4 times
      Been thanked: 2 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by MastaG » Thu Sep 26, 2019 5:43 pm

      Well I gave memeka's 5.0.3 kernel a try using the r12 wayland/gbm driver.
      And Fedora 31 beta runs beautifully well with gnome 3.34.0.

      Also the segfault when closing windows in chromium seems solved!

      It's not fully stable yet and I'm still looking into hardware accelerated playback of html5 video but it's looking so far!
      These users thanked the author MastaG for the post:
      rooted (Sun Sep 29, 2019 7:37 pm)

      ard
      Posts: 73
      Joined: Tue Jul 09, 2013 2:12 am
      languages_spoken: english, dutch, german
      ODROIDs: ODROID-U2
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by ard » Thu Oct 10, 2019 1:10 am

      memeka wrote:
      Sat Sep 07, 2019 7:11 pm
      PS: still here, just lurking mostly :P
      Meeh, I already have 5.4-rc2 running. On my laptop. Would be nice to have SX3 support without having to patch a kernel on my xu4 :-).

      User avatar
      memeka
      Posts: 4339
      Joined: Mon May 20, 2013 10:22 am
      languages_spoken: english
      ODROIDs: XU rev2 + eMMC + UART
      U3 + eMMC + IO Shield + UART
      Has thanked: 1 time
      Been thanked: 23 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by memeka » Tue Oct 15, 2019 12:38 pm

      Let's start the debugging party...

      Code: Select all

      odroid@odroid:~$ uname -a
      Linux odroid 5.4.0-rc3+ #1 SMP PREEMPT Tue Oct 15 11:15:43 ACDT 2019 armv7l armv7l armv7l GNU/Linux
      
      These users thanked the author memeka for the post:
      mad_ady (Tue Oct 15, 2019 1:32 pm)

      User avatar
      memeka
      Posts: 4339
      Joined: Mon May 20, 2013 10:22 am
      languages_spoken: english
      ODROIDs: XU rev2 + eMMC + UART
      U3 + eMMC + IO Shield + UART
      Has thanked: 1 time
      Been thanked: 23 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by memeka » Tue Oct 15, 2019 1:08 pm

      * USB3 working correctly

      * Suspend/Resume working


      These users thanked the author memeka for the post:
      tobetter (Tue Oct 15, 2019 1:11 pm)

      User avatar
      mad_ady
      Posts: 6646
      Joined: Wed Jul 15, 2015 5:00 pm
      languages_spoken: english
      ODROIDs: XU4, C1+, C2, N1, H2, N2
      Location: Bucharest, Romania
      Has thanked: 188 times
      Been thanked: 143 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by mad_ady » Tue Oct 15, 2019 2:08 pm

      Nice work, memeka! One question though. How do you type and record video at the same time?

      User avatar
      memeka
      Posts: 4339
      Joined: Mon May 20, 2013 10:22 am
      languages_spoken: english
      ODROIDs: XU rev2 + eMMC + UART
      U3 + eMMC + IO Shield + UART
      Has thanked: 1 time
      Been thanked: 23 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by memeka » Tue Oct 15, 2019 2:16 pm

      mad_ady wrote:
      Tue Oct 15, 2019 2:08 pm
      Nice work, memeka! One question though. How do you type and record video at the same time? Image
      i grab the phone with my nose! :lol: :lol: :lol:
      These users thanked the author memeka for the post:
      odroid (Tue Oct 15, 2019 6:01 pm)

      User avatar
      mad_ady
      Posts: 6646
      Joined: Wed Jul 15, 2015 5:00 pm
      languages_spoken: english
      ODROIDs: XU4, C1+, C2, N1, H2, N2
      Location: Bucharest, Romania
      Has thanked: 188 times
      Been thanked: 143 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by mad_ady » Tue Oct 15, 2019 2:51 pm

      "- What a big nose you have, grandma!
      - So that I can better hold my camera, Little Red Riding Hood!"
      :D

      User avatar
      odroid
      Site Admin
      Posts: 32318
      Joined: Fri Feb 22, 2013 11:14 pm
      languages_spoken: English
      ODROIDs: ODROID
      Has thanked: 138 times
      Been thanked: 315 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by odroid » Tue Oct 15, 2019 6:05 pm

      Great nose! :D

      BTW, are you going to upload your Kernel 5.4.x source into your Github with new branch?
      I can't find a new branch yet. https://github.com/mihailescu2m/linux

      User avatar
      memeka
      Posts: 4339
      Joined: Mon May 20, 2013 10:22 am
      languages_spoken: english
      ODROIDs: XU rev2 + eMMC + UART
      U3 + eMMC + IO Shield + UART
      Has thanked: 1 time
      Been thanked: 23 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by memeka » Tue Oct 15, 2019 6:17 pm

      Will upload soon (tomorrow maybe), still working on GPU patches.
      I am using the arm drivers, not panfrost yet.

      User avatar
      odroid
      Site Admin
      Posts: 32318
      Joined: Fri Feb 22, 2013 11:14 pm
      languages_spoken: English
      ODROIDs: ODROID
      Has thanked: 138 times
      Been thanked: 315 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by odroid » Tue Oct 15, 2019 6:50 pm

      Ok. Well noted. :)

      User avatar
      memeka
      Posts: 4339
      Joined: Mon May 20, 2013 10:22 am
      languages_spoken: english
      ODROIDs: XU rev2 + eMMC + UART
      U3 + eMMC + IO Shield + UART
      Has thanked: 1 time
      Been thanked: 23 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by memeka » Wed Oct 16, 2019 3:04 pm

      update: GPU working, but performance is not great. i suspect that the new DMC drivers set the memory clocks to min freq, can't find other reason why :(
      These users thanked the author memeka for the post:
      rooted (Wed Oct 16, 2019 8:24 pm)

      User avatar
      memeka
      Posts: 4339
      Joined: Mon May 20, 2013 10:22 am
      languages_spoken: english
      ODROIDs: XU rev2 + eMMC + UART
      U3 + eMMC + IO Shield + UART
      Has thanked: 1 time
      Been thanked: 23 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by memeka » Thu Oct 17, 2019 3:25 pm

      UPDATE: uploading slowly on https://github.com/mihailescu2m/linux/t ... dxu4-5.4.y

      bootlog: https://pastebin.com/ZfXQGXQX

      * added patches for dynamic memory controller (DMC) - now you get access to memory and bus freqs via devfreq

      Code: Select all

      devfreq 0
           system: mali
           governor: simple_ondemand
           available freqs: 600000000 543000000 480000000 420000000 350000000 266000000 177000000
           current freq: 177000000
      devfreq 1
           system: memory-controller
           governor: performance
           available freqs: 165000000 206000000 275000000 413000000 543000000 633000000 728000000 825000000
           current freq: 825000000
      devfreq 2
           system: bus_wcore
           governor: performance
           available freqs: 84000000 111000000 222000000 333000000 400000000
           current freq: 400000000
      devfreq 3
           system: bus_noc
           governor: passive
           available freqs: 67000000 75000000 86000000 100000000
           current freq: 100000000
      devfreq 4
           system: bus_fsys_apb
           governor: passive
           available freqs: 100000000 200000000
           current freq: 200000000
      devfreq 5
           system: bus_fsys
           governor: passive
           available freqs: 100000000 200000000
           current freq: 200000000
      devfreq 6
           system: bus_fsys2
           governor: passive
           available freqs: 75000000 100000000 150000000
           current freq: 150000000
      devfreq 7
           system: bus_mfc
           governor: passive
           available freqs: 96000000 111000000 167000000 222000000 333000000
           current freq: 333000000
      devfreq 8
           system: bus_gen
           governor: passive
           available freqs: 89000000 133000000 178000000 267000000
           current freq: 267000000
      devfreq 9
           system: bus_peri
           governor: passive
           available freqs: 67000000
           current freq: 67000000
      devfreq 10
           system: bus_g2d
           governor: passive
           available freqs: 84000000 167000000 222000000 300000000 333000000
           current freq: 333000000
      devfreq 11
           system: bus_g2d_acp
           governor: passive
           available freqs: 67000000 133000000 178000000 267000000
           current freq: 267000000
      devfreq 12
           system: bus_jpeg
           governor: passive
           available freqs: 75000000 150000000 200000000 300000000
           current freq: 300000000
      devfreq 13
           system: bus_jpeg_apb
           governor: passive
           available freqs: 84000000 111000000 134000000 167000000
           current freq: 167000000
      devfreq 14
           system: bus_disp1_fimd
           governor: passive
           available freqs: 120000000 200000000
           current freq: 200000000
      devfreq 15
           system: bus_disp1
           governor: passive
           available freqs: 120000000 200000000 300000000
           current freq: 300000000
      devfreq 16
           system: bus_gscl_scaler
           governor: passive
           available freqs: 150000000 200000000 300000000
           current freq: 300000000
      devfreq 17
           system: bus_mscl
           governor: passive
           available freqs: 84000000 167000000 222000000 333000000 400000000
           current freq: 400000000
      
      * added patches for ASV freq tables

      Code: Select all

       soc soc0: Exynos: CPU[EXYNOS5800] PRO_ID[0xe5422001] REV[0x1] Detected
      
      * added patches to fix thermals/cpu freqs (although ASV tables are being used, you need freq definitions to be able to use them)

      * added patches for thermals (irq-mode trip points, 6 trip-points patch)

      * added patches for mali GPU (ARM driver, not panfrost). Performance is bad atm, no idea why :(
      These users thanked the author memeka for the post:
      rooted (Thu Oct 17, 2019 5:29 pm)

      User avatar
      odroid
      Site Admin
      Posts: 32318
      Joined: Fri Feb 22, 2013 11:14 pm
      languages_spoken: English
      ODROIDs: ODROID
      Has thanked: 138 times
      Been thanked: 315 times
      Contact:

      Re: Kernel 5.0 development thread

      Unread post by odroid » Thu Oct 17, 2019 5:19 pm

      Thank you for the update!
      I will try it next week.

      Post Reply

      Return to “Ubuntu”

      Who is online

      Users browsing this forum: No registered users and 3 guests