1 [2] MLD-5.x / Systems / Raspberry PI / [MLD-5.5 testing] RPI4 - Docker
 

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 19467
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #15 on: November 19, 2021, 14:24:47 »
Then the packages would not be rebuilded. The option is for both, the filename and the control file.
MLD 5.4 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.4 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559
MLD 5.4 - OctopusNet - ASRock Q1900M - 2GB RAM 250GB HDD

Offline gr4vity

  • Profi Member
  • ****
  • Posts: 456
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #16 on: November 19, 2021, 20:41:14 »
Then the packages would not be rebuilded. The option is for both, the filename and the control file.

Hello Claus,

You're right,
I just tried to build alsa package and +root was removed from package name and control file.
Thanks a lot.

Best Regards.

Edit: there is a weird behaviour i'm having.
The new kernel i build in dev container works with USB sticks but failed with SD cards.
« Last Edit: November 22, 2021, 20:20:10 by gr4vity »

Offline gr4vity

  • Profi Member
  • ****
  • Posts: 456
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #17 on: November 22, 2021, 20:37:40 »
Hi,

This is driving me crazy,
If i used the config file found in /MLD/kernel/src
I get an error about not finding package source.

If i used config file Committed on 2020-02-12 13:03:19 by Claus i can boot from USB only.
However, when i build rpi package, i get the following error

Code: [Select]
make[3]: Entering directory '/MLD/kernel'
make[3]: 'lib' is up to date.
make[3]: Leaving directory '/MLD/kernel'
          Modul nicht gefunden: bcm2835-codec
          Modul nicht gefunden: rpivid-mem
          Modul nicht gefunden: v3d
          Modul nicht gefunden: vc4
          Modul nicht gefunden: bcm2835-v4l2

It means the above modules were not built.
Claus, which config file you're using?

Best Regards.

Offline gr4vity

  • Profi Member
  • ****
  • Posts: 456
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #18 on: November 23, 2021, 19:08:08 »
Hi,

I build all the missing modules, now i'm able to build rpi package.

 
Code: [Select]
LD [M]  kernel/configs.ko
  CC [M]  drivers/media/common/videobuf2/videobuf2-dma-contig.mod.o
  CC [M]  drivers/media/v4l2-core/v4l2-mem2mem.mod.o
  CC [M]  drivers/staging/vc04_services/bcm2835-camera/bcm2835-v4l2.mod.o
  CC [M]  drivers/staging/vc04_services/bcm2835-codec/bcm2835-codec.mod.o
  LD [M]  drivers/media/common/videobuf2/videobuf2-dma-contig.ko
  LD [M]  drivers/media/v4l2-core/v4l2-mem2mem.ko
  LD [M]  drivers/staging/vc04_services/bcm2835-camera/bcm2835-v4l2.ko
  LD [M]  drivers/staging/vc04_services/bcm2835-codec/bcm2835-codec.ko
Code: [Select]
  GZIP    kernel/config_data.gz
  CC [M]  kernel/configs.o
  CC [M]  drivers/char/broadcom/rpivid-mem.o
  MODPOST modules-only.symvers
  GEN     Module.symvers
  LD [M]  kernel/configs.ko
  CC [M]  drivers/char/broadcom/rpivid-mem.mod.o
  LD [M]  drivers/char/broadcom/rpivid-mem.ko

 
Code: [Select]
GEN     Module.symvers
  LD [M]  kernel/configs.ko
  CC [M]  drivers/gpu/drm/scheduler/gpu-sched.mod.o
  CC [M]  drivers/gpu/drm/vc4/vc4.mod.o
  CC [M]  drivers/gpu/drm/v3d/v3d.mod.o
  CC [M]  sound/soc/codecs/snd-soc-hdmi-codec.mod.o
  LD [M]  drivers/gpu/drm/scheduler/gpu-sched.ko
  LD [M]  drivers/gpu/drm/v3d/v3d.ko
  LD [M]  sound/soc/codecs/snd-soc-hdmi-codec.ko
  LD [M]  drivers/gpu/drm/vc4/vc4.ko

I build rpivid-hevc as well, is it included in any MLD package?

Code: [Select]
  LD [M]  drivers/media/common/videobuf2/videobuf2-v4l2.ko
  LD [M]  drivers/media/mc/mc.ko
  LD [M]  kernel/configs.ko
  CC [M]  drivers/staging/media/rpivid/rpivid-hevc.mod.o
  LD [M]  drivers/staging/media/rpivid/rpivid-hevc.ko

Best Regards.

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 19467
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #19 on: November 24, 2021, 17:37:55 »
We use the kernel config file, that is part of the kernel package.
MLD 5.4 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.4 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559
MLD 5.4 - OctopusNet - ASRock Q1900M - 2GB RAM 250GB HDD

Offline gr4vity

  • Profi Member
  • ****
  • Posts: 456
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #20 on: November 24, 2021, 22:55:48 »
Hi Claus,

You mean rpivid-hevc is a built-in module?
Then why i can't play 4K contents?

The kernel config file takes ages to build then i receive an error about not finding package source.

On the other hand, the config file you committed takes less time to build however it requires some modifications.
The system will boot using a USB stick, it does't boot from SD card.

Now i have a weird problem.

If i used dtoverlay=vc4-kms-v3d-pi4,cma-384 in config.txt
The system doesn't boot, only a black screen.

If i used dtoverlay=vc4-kms-v3d,cma-384
The system boots but no HDMI audio.

Code: [Select]
MLD> aplay -l
aplay: device_list:272: no soundcards found...

Do you know how to fix that?

Best Regards.
« Last Edit: November 24, 2021, 23:08:39 by gr4vity »

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 19467
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] RPI4 - Docker
« Reply #21 on: November 25, 2021, 13:51:05 »
You must specify the audio device (plug:iec958) you want to use, like we do for the sofhddrm. It is not configured in the asound.conf, since it needs a other syntax than the devices for all other platforms.
If I remember right, the vc4-kms-v3d-pi4 is an old syntax, that are not supportet any more.
MLD 5.4 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.4 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559
MLD 5.4 - OctopusNet - ASRock Q1900M - 2GB RAM 250GB HDD

Offline gr4vity

  • Profi Member
  • ****
  • Posts: 456
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #22 on: November 25, 2021, 16:34:17 »
Hi Claus,

I think the audio problem i have is different than sofhddrm.



On a working MLD kernel 5.12.6

There is vc4-hdmi-0, vc4-hdmi-1 sound cards.



On MLD kernel 5.12.6.203 i build in dev container

There is no sound cards.

I can't see vc4 module in lsmod.

It seems that vc4 module isn't configured properly , even if i run modprobe vc4
There is no sound cards.

Should i build the kernel again with vc4 built-in?

Bdw: i'm using pulseaudio.

Best Regards.
« Last Edit: November 25, 2021, 16:36:44 by gr4vity »

Online rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1349
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #23 on: November 25, 2021, 21:00:09 »
Hi,

can you teste with

dtoverlay=vc4-kms-v3d,noaudio

in the config.txt

best regrads,
  Roland
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x Cubietruck
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline gr4vity

  • Profi Member
  • ****
  • Posts: 456
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #24 on: November 25, 2021, 22:51:28 »


Hi Roland,

I tested that, unfortunately it didn't work.



I think the problem is due a missing module, i have checked a working alsa package and the package i build.
There is a missing seq folder and snd-seq-device.ko
Could that be the reason?
How to enable it in the config file?

Best Regards.
« Last Edit: November 25, 2021, 23:08:19 by gr4vity »

Offline gr4vity

  • Profi Member
  • ****
  • Posts: 456
    • View Profile
[MLD-5.5 testing] RPI4 - Docker
« Reply #25 on: November 26, 2021, 00:20:19 »
Hi,

I have checked a working MLD system, kernel v5.12.6

If i used dtoverlay=vc4-kms-v3d in config.txt then i'll have no sound cards.

So, it's not related to snd-seq-device module.

You guys can try that too.

Best Regards.


1 [2] MLD-5.x / Systems / Raspberry PI / [MLD-5.5 testing] RPI4 - Docker
 



Users Online Users Online

0 Members and 2 Guests are viewing this topic.