VU8m module missing from upgraded Ubuntu 24.04 with kernel 6.6

Post Reply
User avatar
mad_ady
Posts: 12102
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1, M1S
Location: Bucharest, Romania
Has thanked: 663 times
Been thanked: 1323 times
Contact:

VU8m module missing from upgraded Ubuntu 24.04 with kernel 6.6

Post by mad_ady »

Hello all!

I was using tobetter's Ubuntu 23.10 on my M1 + VU8m. I've upgraded (do-release-upgrade) to Ubuntu 24.04. On first reboot everything was fine - the system booted with kernel 6.1.0 and vu8m was working. Next, I enabled /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.sources and did a dist-upgrade. The kernel got upgraded from 6.1 to 6.6. On next reboot, the VU8m did not power on (I mean it worked in petitboot, but remained off when kernel 6.6 started). I also upgraded petitboot to its latest version, just in case.

Anyway, I did a diff between the modules loaded by 6.1 and those loaded by 6.6, and to my untrained eye, this was conspicuously missing from 6.6:

Code: Select all

kernel6.1.txt:panel_ilitek_ili9881c    24576  0
kernel6.1.txt:drm                   569344  18 gpu_sched,panel_ilitek_ili9881c,drm_kms_helper,dw_mipi_dsi,drm_dma_helper,display_connector,drm_shmem_helper,drm_display_helper,rockchipdrm,dw_hdmi,panfrost
Here are the modules (+ some extra info) for 6.6 and 6.1:

Code: Select all

Linux m1 6.6.0-odroid-arm64 #1 SMP PREEMPT Wed, 08 May 2024 07:36:13 +0000 aarch64 aarch64 aarch64 GNU/Linux
Module                  Size  Used by
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
cpufreq_powersave      16384  0
cpufreq_conservative    12288  0
cfg80211              446464  0
rfkill                 28672  3 cfg80211
snd_soc_hdmi_codec     20480  1
hantro_vpu            262144  0
v4l2_vp9               24576  1 hantro_vpu
snd_soc_rk817          40960  1
snd_soc_simple_card    20480  2
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_soc_simple_card_utils    32768  1 snd_soc_simple_card
v4l2_h264              16384  1 hantro_vpu
rockchip_rga           24576  0
videobuf2_dma_contig    24576  1 hantro_vpu
rockchip_thermal       28672  0
v4l2_mem2mem           40960  2 hantro_vpu,rockchip_rga
videobuf2_dma_sg       16384  1 rockchip_rga
snd_soc_rockchip_i2s_tdm    20480  4
display_connector      16384  0
snd_soc_core          262144  5 snd_soc_rockchip_i2s_tdm,snd_soc_hdmi_codec,snd_soc_rk817,snd_soc_simple_card_utils,snd_soc_simple_card
gpio_ir_recv           12288  0
snd_rawmidi            40960  1 snd_seq_midi
snd_pcm_oss            53248  0
panfrost               77824  4
videobuf2_memops       16384  2 videobuf2_dma_contig,videobuf2_dma_sg
snd_mixer_oss          20480  1 snd_pcm_oss
snd_pcm_dmaengine      16384  1 snd_soc_core
gpu_sched              36864  1 panfrost
videobuf2_v4l2         32768  3 hantro_vpu,rockchip_rga,v4l2_mem2mem
rockchip_saradc        20480  0
snd_pcm               143360  5 snd_soc_hdmi_codec,snd_pcm_oss,snd_soc_simple_card_utils,snd_soc_core,snd_pcm_dmaengine
videodev              274432  4 videobuf2_v4l2,hantro_vpu,rockchip_rga,v4l2_mem2mem
dw_hdmi_i2s_audio      12288  0
drm_shmem_helper       20480  1 panfrost
snd_seq                81920  9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
videobuf2_common       61440  7 videobuf2_dma_contig,videobuf2_v4l2,hantro_vpu,rockchip_rga,videobuf2_dma_sg,v4l2_mem2mem,videobuf2_memops
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
mc                     77824  5 videodev,videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem
snd_timer              40960  3 snd_seq,snd_hrtimer,snd_pcm
snd                   114688  15 snd_seq,snd_seq_device,snd_soc_hdmi_codec,snd_timer,snd_pcm_oss,snd_soc_core,snd_pcm,snd_rawmidi,snd_mixer_oss
soundcore              16384  1 snd
sg                     32768  0
squashfs               65536  11
fuse                  135168  3
dm_mod                143360  0
dax                    45056  1 dm_mod
nfsd                  360448  5
auth_rpcgss            65536  1 nfsd
nfs_acl                12288  1 nfsd
lockd                  90112  1 nfsd
grace                  12288  2 nfsd,lockd
sunrpc                344064  17 nfsd,auth_rpcgss,lockd,nfs_acl
nfnetlink              20480  1
ip_tables              32768  0
x_tables               53248  1 ip_tables
realtek                32768  1
rockchipdrm           135168  6
dw_hdmi                53248  2 dw_hdmi_i2s_audio,rockchipdrm
dwmac_rk               28672  0
stmmac_platform        28672  1 dwmac_rk
drm_display_helper    163840  1 dw_hdmi
cec                    73728  2 drm_display_helper,dw_hdmi
stmmac                241664  3 stmmac_platform,dwmac_rk
dw_mipi_dsi            16384  1 rockchipdrm
drm_dma_helper         20480  1 rockchipdrm
pcs_xpcs               24576  1 stmmac
drm_kms_helper        208896  8 dw_mipi_dsi,drm_dma_helper,display_connector,drm_display_helper,rockchipdrm,dw_hdmi
rtc_rk808              16384  1
sdhci_of_dwcmshc       16384  0
phylink                53248  2 stmmac,pcs_xpcs
drm                   651264  17 gpu_sched,drm_kms_helper,dw_mipi_dsi,drm_dma_helper,display_connector,drm_shmem_helper,drm_display_helper,rockchipdrm,dw_hdmi,panfrost
ahci_dwc               12288  0
libahci_platform       24576  1 ahci_dwc
libahci                49152  2 ahci_dwc,libahci_platform
drm_panel_orientation_quirks    12288  1 drm
libata                253952  3 ahci_dwc,libahci,libahci_platform
fbcon=rotate:1  quiet splash console=tty1 console=ttyS2,1500000 pci=nomsi fsck.mode=force fsck.repair=yes net.ifnames=0 console=ttyS0,115200n8 

Code: Select all

Linux m1 6.1.0-odroid-arm64 #1 SMP PREEMPT Thu, 22 Feb 2024 07:24:10 +0000 aarch64 aarch64 aarch64 GNU/Linux
Module                  Size  Used by
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
cpufreq_powersave      20480  0
cpufreq_conservative    16384  0
cfg80211              430080  0
rfkill                 32768  3 cfg80211
snd_soc_hdmi_codec     24576  1
dw_hdmi_i2s_audio      16384  0
snd_soc_rk817          45056  1
snd_seq_midi           20480  0
goodix_ts              32768  0
display_connector      20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_soc_simple_card    24576  2
snd_soc_rockchip_i2s_tdm    32768  4
snd_soc_simple_card_utils    28672  1 snd_soc_simple_card
rockchip_saradc        24576  0
rockchip_thermal       28672  0
snd_rawmidi            40960  1 snd_seq_midi
snd_soc_core          237568  5 snd_soc_rockchip_i2s_tdm,snd_soc_hdmi_codec,snd_soc_rk817,snd_soc_simple_card_utils,snd_soc_simple_card
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm_oss            57344  0
snd_mixer_oss          24576  1 snd_pcm_oss
snd_seq                81920  9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_pcm               135168  5 snd_soc_hdmi_codec,snd_pcm_oss,snd_soc_simple_card_utils,snd_soc_core,snd_pcm_dmaengine
hantro_vpu            139264  0
v4l2_vp9               24576  1 hantro_vpu
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              40960  3 snd_seq,snd_hrtimer,snd_pcm
v4l2_h264              20480  1 hantro_vpu
snd                   102400  15 snd_seq,snd_seq_device,snd_soc_hdmi_codec,snd_timer,snd_pcm_oss,snd_soc_core,snd_pcm,snd_rawmidi,snd_mixer_oss
videobuf2_dma_contig    24576  1 hantro_vpu
v4l2_mem2mem           36864  1 hantro_vpu
soundcore              16384  1 snd
videobuf2_memops       20480  1 videobuf2_dma_contig
videobuf2_v4l2         32768  2 hantro_vpu,v4l2_mem2mem
videobuf2_common       61440  5 videobuf2_dma_contig,videobuf2_v4l2,hantro_vpu,v4l2_mem2mem,videobuf2_memops
videodev              241664  4 videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem
panel_ilitek_ili9881c    24576  0
mc                     65536  5 videodev,videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem
panfrost               73728  4
gpu_sched              36864  1 panfrost
drm_shmem_helper       24576  1 panfrost
sg                     32768  0
squashfs               61440  11
fuse                  135168  3
dm_mod                139264  0
nfsd                  376832  5
dax                    45056  1 dm_mod
auth_rpcgss            69632  1 nfsd
nfs_acl                16384  1 nfsd
lockd                  98304  1 nfsd
grace                  16384  2 nfsd,lockd
sunrpc                319488  17 nfsd,auth_rpcgss,lockd,nfs_acl
nfnetlink              20480  1
ip_tables              32768  0
x_tables               49152  1 ip_tables
realtek                32768  1
rockchipdrm           139264  7
dw_hdmi                53248  2 dw_hdmi_i2s_audio,rockchipdrm
drm_display_helper    151552  1 dw_hdmi
cec                    77824  2 drm_display_helper,dw_hdmi
dw_mipi_dsi            20480  1 rockchipdrm
drm_dma_helper         20480  1 rockchipdrm
dwmac_rk               32768  0
stmmac_platform        24576  1 dwmac_rk
drm_kms_helper        184320  8 dw_mipi_dsi,drm_dma_helper,display_connector,drm_display_helper,rockchipdrm,dw_hdmi
stmmac                237568  3 stmmac_platform,dwmac_rk
cfbfillrect            16384  1 drm_kms_helper
spidev                 24576  0
sdhci_of_dwcmshc       16384  0
rtc_rk808              20480  1
pcs_xpcs               20480  1 stmmac
cfbimgblt              16384  1 drm_kms_helper
phylink                53248  2 stmmac,pcs_xpcs
cfbcopyarea            16384  1 drm_kms_helper
ahci_dwc               16384  0
drm                   569344  18 gpu_sched,panel_ilitek_ili9881c,drm_kms_helper,dw_mipi_dsi,drm_dma_helper,display_connector,drm_shmem_helper,drm_display_helper,rockchipdrm,dw_hdmi,panfrost
libahci_platform       24576  1 ahci_dwc
libahci                49152  2 ahci_dwc,libahci_platform
libata                245760  3 ahci_dwc,libahci,libahci_platform
drm_panel_orientation_quirks    16384  1 drm
pwm_bl                 20480  0
fbcon=rotate:1  quiet splash console=tty1 console=ttyS2,1500000 pci=nomsi fsck.mode=force fsck.repair=yes net.ifnames=0 console=ttyS0,115200n8
For now, I've reverted back to 6.1 with:

Code: Select all

sudo flash-kernel --force 6.1.0-odroid-arm64
But my question for @tobetter is - is there a reason why vu8m isn't included in kernel 6.6? Or is there something I need to do to enable it?
Thanks!

User avatar
joerg
Posts: 2125
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4, M1, M1S
Location: Germany
Has thanked: 222 times
Been thanked: 492 times
Contact:

Re: VU8m module missing from upgraded Ubuntu 24.04 with kernel 6.6

Post by joerg »

As I can see on @tobetter's github, there are no overlays at all for odroid-6.6.y, but for odroid-6.1.y. It seems that it is not yet fully ported to M1.

User avatar
tobetter
Posts: 13404
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1037 times
Been thanked: 2330 times
Contact:

Re: VU8m module missing from upgraded Ubuntu 24.04 with kernel 6.6

Post by tobetter »

@mad_ady, as @joerg is pointed out the v6.6 Linux kernel branch have no device tree overlays since I've worked to manage the device tree file in different repository, but have not been published yet. Personally, I am recommending staying with v6.1 if there is no certain reason to go for v6.6.
https://github.com/tobetter/dtoverlays

User avatar
mad_ady
Posts: 12102
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1, M1S
Location: Bucharest, Romania
Has thanked: 663 times
Been thanked: 1323 times
Contact:

Re: VU8m module missing from upgraded Ubuntu 24.04 with kernel 6.6

Post by mad_ady »

Thanks for the clarification. I'll stick with 6.1!
These users thanked the author mad_ady for the post:
tobetter (Mon Jul 08, 2024 6:03 pm)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest