Go to advanced search

by Alex.
Mon Feb 10, 2020 12:14 pm
Forum: Advanced users
Topic: Power cycling WiFi chipset
Replies: 0
Views: 85

Power cycling WiFi chipset

Hi all, for specific reasons I need to perfrom a power cycle of Pi 3B/0W's WiFi chipset (bcm43430a1) w/o rebooting the system On Pi 3B+ I can do it by unbinding and rebinding the MMC device echo -n "3f300000.mmcnr" > /sys/devices/platform/soc/3f300000.mmcnr/driver/unbind sleep 1 echo -n "3f300000.mm...
by Alex.
Thu Feb 06, 2020 7:10 pm
Forum: Graphics, sound and multimedia
Topic: ffmpeg's h264_mmal decoder on RPi 4
Replies: 3
Views: 507

Re: ffmpeg's h264_mmal decoder on RPi 4

I tried h264_v4l2m2m and it plays both 30 and 60fps without tearing, but the playback isn't smooth (30fps clips work a little better).
Except for tearing 30fps playback is smoother with h264_mmal
Are there any examples (except for VLC) of a full MMAL (decoding+rendering) video player?
by Alex.
Mon Feb 03, 2020 6:09 pm
Forum: Advanced users
Topic: VLC testing
Replies: 78
Views: 9825

Re: VLC testing

@6by9 Any clue about why rotation effects break mmal acceleration?
by Alex.
Sat Feb 01, 2020 11:10 pm
Forum: Advanced users
Topic: VLC testing
Replies: 78
Views: 9825

Re: VLC testing

Using latest VLC (3.0.8.0-gf350b6b5a7), Video Geometry Effects don't mix well with h264 MMAL accelerated decoding [00cabb58] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. qt5ct: using qt5ct plugin qt5ct: D-Bus global menu: no qt5ct: D-Bus system tray: ...
by Alex.
Sat Feb 01, 2020 5:25 pm
Forum: Graphics, sound and multimedia
Topic: ffmpeg's h264_mmal decoder on RPi 4
Replies: 3
Views: 507

ffmpeg's h264_mmal decoder on RPi 4

Hi, I' doing some experiments with HW accelerated H264 video decoding on my Pi4 2GB(running up-to-date Buster) I'm using ffmpeg/ffplay for my tests, but I'm having issues with some (most of them) kinds of videos: Jellyfish bitrate test videos (FHD 30 fps) played with ffplay+h264_mmal works fine with...
by Alex.
Mon Jan 27, 2020 9:57 pm
Forum: C/C++
Topic: ffmpeg+mmal hw decoding crash on Raspberry Pi4
Replies: 3
Views: 439

Re: ffmpeg+mmal hw decoding crash on Raspberry Pi4

I don't think it's related to ffmepeg: it crashes beacuse mmal queue gets corrupted (real length != length field), and ffmpeg's libavcodec just gets/puts buffers from/in queue. length field is handled by mmal interface library and not exposed to libavcodec. However operations on it look like protect...
by Alex.
Mon Jun 24, 2019 10:47 am
Forum: Raspbian
Topic: STICKY: Raspbian 'Buster' 2019-06-20 / 07-10
Replies: 141
Views: 50359

Re: Raspbian 'Buster' 2019-06-20

Is there any technical reason why the WiFi/BT radio FW is not kept up-to-date with vendor releases? As far as I read from changelogs there were many bufix/improvements.
Just asking...
by Alex.
Mon Jun 24, 2019 9:49 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 945
Views: 128615

Re: Raspberry Pi 4 Thread - general discussion

Wow, really impressive!

There's a detail I don't understand: you said it's Bluetooth 5, but according to specs the CYW43455 is only 4.1. Is there a new unannounced chipset release that supports 5?
by Alex.
Thu Mar 14, 2019 11:54 am
Forum: Troubleshooting
Topic: RPi 3B+ sometimes fails to reboot
Replies: 3
Views: 221

Re: RPi 3B+ sometimes fails to reboot

UPDATE: I tried enabling bootcode UART logging through UART and I see that if I set in config.txt a gpu_mem value below 32 (current is 16) logging stops at Read File: fixup_cd.dat, 2623 (bytes) but system boots fine. This is my actual config.txt dtparam=audio=on initramfs initrd followkernel ramfsfi...
by Alex.
Wed Mar 13, 2019 2:10 pm
Forum: Troubleshooting
Topic: RPi 3B+ sometimes fails to reboot
Replies: 3
Views: 221

Re: RPi 3B+ sometimes fails to reboot

Raspbian 2018-04, I even tried with updated bootcode.
Reboot is done with /sbin/reboot, and systemd is configured to use a wdt for runtime/shutdown.
The IHS is warm, so it's powered. Could it be a bootcode crash?
by Alex.
Wed Mar 13, 2019 11:34 am
Forum: Troubleshooting
Topic: RPi 3B+ sometimes fails to reboot
Replies: 3
Views: 221

RPi 3B+ sometimes fails to reboot

Hi all, I have a weird problem with some Raspberry Pis 3B+ They are connected to Internet over WiFi and have a periodic check for connectivity that reboots the Pi if network is down. Sometimes network goes down for hours (or even days) and in the meantime Pis are in a sort of bootloop (they reboot e...
by Alex.
Fri Mar 08, 2019 8:37 am
Forum: General discussion
Topic: Unusual RPi 3B
Replies: 21
Views: 1316

Re: Unusual RPi 3B

drgeoff wrote:
Fri Mar 08, 2019 12:29 am
DougieLawson wrote:
Fri Mar 08, 2019 12:23 am
The 3B+ & 3A+ are both USB boot ready. There's no reason to assume that can't happen for 3B.
That is not what W.H. Heydt asked.

Quite possibly a 3B using the 2837B0 can be supplied in USB boot ready form. But would whoever has the say, choose to do that?
Mine isn't USB boot ready
by Alex.
Thu Mar 07, 2019 11:27 pm
Forum: General discussion
Topic: Unusual RPi 3B
Replies: 21
Views: 1316

Re: Unusual RPi 3B

jamesh wrote:
Thu Mar 07, 2019 11:21 pm
It's defo. a B0. Economies of scale and all that.

I'll post tomorow on any specifics. If I remember to ask.
Uhm, ok.
But if it's a B0 how can it boot older raspbian images that don't boot on 3B+ (I tested it) ?
by Alex.
Thu Mar 07, 2019 8:31 pm
Forum: General discussion
Topic: Unusual RPi 3B
Replies: 21
Views: 1316

Re: Unusual RPi 3B

The BCM2837B0 is what was developed for the Pi3B+. It's also used on the Pi3A+, and CM3+ modules. I don't find it surprising that it would show up on the Pi3B, as that would be a means to reduce the number of different inventory items needed. I'll have to keep my eyes peeled...perhaps it will show ...
by Alex.
Thu Mar 07, 2019 6:29 pm
Forum: General discussion
Topic: Unusual RPi 3B
Replies: 21
Views: 1316

Unusual RPi 3B

Hi all, today I received the RPis 3B that I bought from my local reseller, but I scratched my head when, opening one, I found this http://i68.tinypic.com/2lb2uj4.jpg Yes, it looks like a 3B with 3B+'s SoC (prints on IHS say BCM2837B0). Turns out it's just a BCM2837 packaged as a BCM2837B0. That's we...
by Alex.
Sun Jan 13, 2019 12:03 am
Forum: Raspbian
Topic: Upgrading 3B+ radio firmware
Replies: 4
Views: 1115

Re: Upgrading 3B+ radio firmware

UPDATE: the only public Cypress fw that works with Raspbian's brcmfmac is 7.45.132 (besides the official 7.45.154 that's shipped with Raspbian), newer don't (same timeout error). Fortunately I managed to merge Cypress's brcmfmac patches into Raspbian, and now my 3B+ is happly working with 7.45.165 :...
by Alex.
Fri Jan 11, 2019 8:21 pm
Forum: Raspbian
Topic: Upgrading 3B+ radio firmware
Replies: 4
Views: 1115

Re: Upgrading 3B+ radio firmware

We have a custom firmware from Cypress for the wireless chip, so I am not sure if "any old firmware" will work. We are constantly in discussion with Cypress on newer firmware, and its released once we have tested it to our satisfaction. If you want to try the latest Linux side, simpy clone our repo...
by Alex.
Fri Jan 11, 2019 3:46 pm
Forum: Raspbian
Topic: Upgrading 3B+ radio firmware
Replies: 4
Views: 1115

Upgrading 3B+ radio firmware

Hi all, I've seen that even the latest raspbian on 3B+ uses a pretty old WiFi FW (Feb 27 2018 03:15:32 version 7.45.154). In the meantime Cypress released new FWs which include bugfix and improvements (latest is 7.45.173 ), and I would like to try them. Unfortunately it seems that replacing the bins...
by Alex.
Wed May 09, 2018 8:21 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.14
Replies: 161
Views: 92552

Re: Moving Linux kernel to 4.14

Another regression with the 4.14 series kernel is reported here . The issue seems to be that the new kernel requires an additional module in the initial ram filesystem, if booting that way. This could also be fixed by building the necessary module into the kernel. It seems that's the same (or simil...
by Alex.
Wed May 09, 2018 12:19 pm
Forum: Troubleshooting
Topic: Initramfs is broken on latest kernels (unless UART is enabled)
Replies: 0
Views: 394

Initramfs is broken on latest kernels (unless UART is enabled)

Hi all, I'm doing experiments with iniramfs and I noticed a weird behaviour: on latest Raspbian (kernels 4.14.34/39) if I try to boot with an iniramfs (made with mkinitramfs on a clean install) it panics during boot, but the problem disappers if I enable UART in config.txt I'm on RPi 3B/3B+, and the...
by Alex.
Sun Mar 18, 2018 4:40 pm
Forum: Advanced users
Topic: Booting into another kernel downloaded from network
Replies: 7
Views: 1188

Re: Booting into another kernel downloaded from network

asandford wrote:
Sat Mar 17, 2018 11:47 pm
you can also use iscsi to boot over network, but you need to roll your own.
Um, I think that's beyond my skills :oops:

Regarding kexec, I see that's disabled in arch/arm/Kconfig.
Did anyone successfully used that syscall on RPi or is totally unsupported and I'm wasting my time?
by Alex.
Sat Mar 17, 2018 10:07 pm
Forum: Advanced users
Topic: Booting into another kernel downloaded from network
Replies: 7
Views: 1188

Re: Booting into another kernel downloaded from network

Coming back to kexec, I'm getting this error

Code: Select all

kexec_load failed: Function not implemented
when I try to use kexec command

I'm on Raspbian, using a kernel I compiled with CONFIG_KEXEC=y added in .config file.

Am I missing something?
by Alex.
Fri Mar 16, 2018 7:37 pm
Forum: Advanced users
Topic: Booting into another kernel downloaded from network
Replies: 7
Views: 1188

Re: Booting into another kernel downloaded from network

Thank you for your reply.
I'll start with kexec to see if I manage to boot into another kernel w/o too much trouble.

And what if I choose to keep the kernel, download and mount just the ramdisk and use pivot_root to change the rootfs?
At the moment I don't think I'll need to update kernel...
by Alex.
Thu Mar 15, 2018 9:02 pm
Forum: Advanced users
Topic: Booting into another kernel downloaded from network
Replies: 7
Views: 1188

Booting into another kernel downloaded from network

Hi all, I'm planning to use RPi 3 for a personal project in which I have multiple Pis placed in remote locations. I would like to experiment with network booting, since I need an easy way to keep up-to-date my Pis and to preserve microSD's life for as long as possible. In my mind I imagined this arc...

Go to advanced search