bootloader firmware needs update to get vchiq working with 4.2

Bug #1500755 reported by Victor Mayoral
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
High
Oliver Grawert

Bug Description

Just putting together a demo with the newer Rpi2 Snappy image (4.2 kernel) and bumped into (this did not happen with the previous kernel):

[ 3.083682] vchiq: vchiq_init_state: slot_zero = 0xb5c80000, is_master = 0
[ 3.093381] bcm2835_vchiq 3f00b840.vchiq: failed to set channelbase
[ 3.102039] vchiq: could not load vchiq
[ 3.107878] bcm2835_vchiq: probe of 3f00b840.vchiq failed with error -1271651840

According to https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=120977 an update on the "firmware" (https://github.com/raspberrypi/firmware) fixes this issue however this repo contains a different kernel and modules than the one shipped. Will try modifying /opt/vc for now.

Tags: 4.2 rpi2
Revision history for this message
Victor Mayoral (vmayoral) wrote :

In case it's not obvious, the result of the issue reported above is that /dev/vchiq is not exposed thereby the camera can't be accessed.

tags: added: rpi2
tags: added: 4.2
Oliver Grawert (ogra)
summary: - vchiq not working on 4.2
+ bootloader firmware needs update to get vchiq working with 4.2
Changed in snappy:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
Renat (renat2017) wrote :

Can confirm that still doesn't work. Upgrading firmware using rpi-update helped.

Revision history for this message
Viktor Petersson (vpetersson) wrote :

Any update on this, guys?

Revision history for this message
Oliver Grawert (ogra) wrote :

it is next on my TODO, there are some more urgent things first though

Revision history for this message
Renat (renat2017) wrote :

Replacing start.elf and fixup.elf from the https://github.com/raspberrypi/firmware "next" branch fixed this issue.

Revision history for this message
Oliver Grawert (ogra) wrote :

the pi2 snap in the store has been updated with the latest stable firmware:

(RaspberryPi2)ubuntu@localhost:~$ ls -l /dev/vchiq
crw------- 1 root root 245, 0 Feb 5 17:35 /dev/vchiq

i will set this bug to "Fix Released" state once we had the next 15.04 stable release with this new pi2 snap included (unlike in 16.04 the bootloader does not get updated in 15.04, so you need to re-flash). if you want to test it, just using ubuntu-device-flash to create a fresh img from 15.04/edge will get you the new oem snap.

Changed in snappy:
status: Confirmed → Fix Committed
Revision history for this message
Viktor Petersson (vpetersson) wrote :

Yay. Thanks @ogra!

Michael Vogt (mvo)
Changed in snappy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.