Go to advanced search

by swahren
Sun Nov 21, 2021 12:40 pm
Forum: Pidora / Fedora
Topic: fedora 35 /dev/vchiq missing
Replies: 5
Views: 218

Re: fedora 35 /dev/vchiq missing

Unfortunately the BCM2711 is more complex than the other SoCs on the Raspberry Pi boards. So this is currently not supported in the Mainline kernel.

Reference:
https://lore.kernel.org/linux-arm-kerne ... hat.com/T/

Edit:
This has nothing to do with ARM 64 bit.
by swahren
Fri Nov 05, 2021 4:32 pm
Forum: Linux Kernel
Topic: Mainline status updates
Replies: 1
Views: 1533

Re: Mainline status updates

In the upcoming Mainline Linux 5.16 the support for Compute Module 4 will be included.
by swahren
Sun Jul 25, 2021 6:46 pm
Forum: Arch
Topic: OOM killer - Kodi when playing video - possible memory leak in VC4 driver?
Replies: 6
Views: 1331

Re: OOM killer - Kodi when playing video - possible memory leak in VC4 driver?

Yes, that was the reason why for reply. Emma Anholt isn't active VC4 maintainer anymore. Maxime Ripard is now active maintainer of the driver.
by swahren
Sat Jul 24, 2021 3:33 pm
Forum: Arch
Topic: OOM killer - Kodi when playing video - possible memory leak in VC4 driver?
Replies: 6
Views: 1331

Re: OOM killer - Kodi when playing video - possible memory leak in VC4 driver?

@kwirk Thanks for your report, but please send it to the Raspberry Pi Linux github.
by swahren
Fri Jul 09, 2021 4:24 pm
Forum: Compute Module
Topic: CPU Temperature reads 0 [solved]
Replies: 16
Views: 1311

Re: CPU Temperature reads 0

@piwi Does it work for you?

Looks like the variable t is completely unnecessary now. Are there any plans to upstream a fix?
by swahren
Wed Jun 30, 2021 9:49 am
Forum: Linux Kernel
Topic: Mainline status updates
Replies: 1
Views: 1533

Mainline status updates

Since the old thread has been locked, here some notes about recent Mainline changes related to the Raspberry Pi. Here are the upcoming features for Mainline Linux 5.13: - Raspberry Pi Firmware PoE Hat PWM support - Multi channel support for bcm2835-pcm Here are the upcoming changes for Mainline Linu...
by swahren
Sat Nov 14, 2020 9:00 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

Thanks for the information. With Linux 5.10-rcX i meant the torvalds tree aka mainline. 5.10.0-rc2-next-20201109-v7l+ is not mainline. linux-next = torvalds tree + all planned changes for the next kernel release So linux-next is currently a very early version of Linux 5.11. Btw please don't try to m...
by swahren
Fri Nov 13, 2020 5:27 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

@rimrunner Thanks for your analyze. Could you please provide more information about your setup:

Which Raspberry Pi did you use?
Did you tried Linux 5.10-rcX=?
Which Kernel config did you use (multi_v7_defconfig, arm64/defconfig)?
by swahren
Fri Oct 30, 2020 6:55 pm
Forum: Advanced users
Topic: Moving Linux Kernel to 5.10
Replies: 641
Views: 124734

Re: Moving Linux Kernel to 5.9

Compiled 5.10 kernel with KMS enabled: - WiFi working very unstable - Wifi symbol design changes frequently (to vertical up/down arrows) - USB drives (USB stick) does not get recognized - VNC file transfer (server to viewer; viewer is win10) not working Are you using Wifi on 2.4 GHz with channel 1?...
by swahren
Thu Oct 15, 2020 5:34 pm
Forum: Linux Kernel
Topic: Raspberry Pi 4B - Kernel panic - not syncing: Attempted to kill init!
Replies: 14
Views: 4352

Re: Raspberry Pi 4B - Kernel panic - not syncing: Attempted to kill init!

Does the kernel cmdline point to the right mmcblk device (mmclbk0 vs mmcblk1)?
by swahren
Tue Oct 06, 2020 5:45 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

I won't recommend using a downstream defconfig with a Mainline kernel, but this shouldn't cause this issue.

Another idea is to preserve the downstream commits to the brcmfmac driver and bitsect to the fixing patch(es).
by swahren
Sun Oct 04, 2020 8:18 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

Just a quick test with Mainline 5.9-rc2 + KMS patches on RPi 4 with Raspberry Pi OS (32 bit) showed that i was able to connect to my Wifi access point via 5 GHz. I tested with Kernel config: multi_v7_defconfig and enable ARM_LPAE + BRCMSTB_PCIE manually. dmesg output [ 6.434190] cfg80211: Loading co...
by swahren
Sat Oct 03, 2020 10:28 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

This patch contains a lot of and different changes (ugly hacks). Since the issue affects only 5 GHz, i guess it's related to the region settings.

What's the output of

Code: Select all

iw reg get
by swahren
Fri Oct 02, 2020 4:22 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

Does the Raspberry Pi 4Bs 5GHz wifi work on mainline or is it just me having a problem? Edit: Never mind I figured it. I made a patch in case anyone else is interested. Which Kernel version is affected? Which Wifi mode is affected (AP / STA)? Which Wifi firmware do you use? Could you describe the p...
by swahren
Sun Aug 09, 2020 9:11 am
Forum: Advanced users
Topic: Does uboot has I2c drivers for Raspberry Pi CM3
Replies: 9
Views: 2017

Re: Does uboot has I2c drivers for Raspberry Pi CM3

The problem is that the i2c command does not return any available bus when issued from the U-boot environment. Nevertheless it seems to work right under the Linux kernel. Both the U-Boot and the Kernel use the same device tree (custom-made). Providing the i2c relevant part would be very helpful Whi...
by swahren
Tue Jul 07, 2020 8:30 am
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 22069

Re: Status of Raspberry Pi 4 in Mainline

How does that work if booting from SSD on USB3? The VL805 driver wold need to be in the bootloader EEPROM? I don't know the details, but the VideoCore cares about the VL805 and it's firmware. The kernel only needs to notify the VC about XHCI resets, because after a reset the RAM of the VL805 is cle...
by swahren
Mon Jul 06, 2020 8:38 pm
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 22069

Re: Status of Raspberry Pi 4 in Mainline

Here are the upcoming Raspberry Pi specific features for Mainline Linux 5.8:
- proper USB support for Raspberry Pi 4 boards without separate VL805 EEPROM
by swahren
Thu Jun 25, 2020 4:49 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

I haven't got linux-next (the unreleased mainline kernel) working yet. It doesn't get past the initial colorful screen on the boot. What do you expect from linux-next in comparison from much stable stuff like linux-5.7.x or at least linux-5.8rc2? Do you have your screen connected via HDMI? Did you ...
by swahren
Mon Jun 15, 2020 7:28 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

rimrunner wrote:
Mon Jun 15, 2020 7:10 am
swahren wrote:
Mon Jun 15, 2020 4:59 am
These overlays are not supported by the mainline kernel.
So, no overlays are needed at all to get Raspbian running?
Yes, they are only necessary for I2C or SPI busses. Also mainline DTS are compiled differently which isn't compatible to overlays.
by swahren
Mon Jun 15, 2020 4:59 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

These overlays are not supported by the mainline kernel.
by swahren
Sat Jun 06, 2020 3:59 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

pihacker wrote:
Sat Jun 06, 2020 1:27 pm
garbage in a serial console is the problem now.
There isn't much we can do from kernel side. The parent of the mini UART clock is under control of the VideoCore firmware.

I see two options: remove bluetooth from the other UART and use this instead or force the Core to use a fixed clock.
by swahren
Sat Jun 06, 2020 8:24 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

Yes, it's using simple framebuffer as a workaround. Sorry, i don't have the time for deep investigations but try to apply similiar config options from ARCH config like this:

CONFIG_FB_SIMPLE=y
by swahren
Fri Jun 05, 2020 10:50 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

VC4 KMS support isn't mainlined yet. The whole RPi 4 support is still in progress.
by swahren
Fri Jun 05, 2020 9:13 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 11514

Re: Mainline Kernel building -- problems and issues

You can try console=ttyS1,115200 . In case you see the strange output, this comes from changing core frequency. I think enable_uart=1 could help here. Btw the ttyAMA0 is already reserved for Bluetooth. Instead of initramfs, you can store all the kernel modules in the root partition. Just like Raspbi...

Go to advanced search