Raspberry Pi 2 image LEDs are swapped.

Bug #1574103 reported by Alistair Buxton on 2016-04-23
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Medium
Maciej Borzecki

Bug Description

I built an image as follows:

sudo ./ubuntu-device-flash --verbose core 16 -o rpi2-all-snap.img --channel stable --enable-ssh --gadget canonical-pi2 --kernel canonical-pi2-linux --os ubuntu-core

and then wrote it to the SD card and booted it in a Pi 2.

The heartbeat is on the disk activity LED (green) and disk activity makes the power LED (red) blink.

Michael Vogt (mvo) wrote :

Adding ogra to get his input.

Changed in snappy:
importance: Undecided → Medium
Paolo Pisati (p-pisati) on 2016-04-28
Changed in snappy:
assignee: nobody → Paolo Pisati (p-pisati)
Michael Vogt (mvo) wrote :

AFAICT this is fixed with the latest pi2 images.

Changed in snappy:
status: New → Incomplete
John Bryant (bryantj247) wrote :

I just installed Ubuntu Core on my pi2, and it has the heartbeat on the green LED.

John Bryant (bryantj247) wrote :

In /boot/uboot/config.txt (https://github.com/snapcore/pi2-gadget/blob/master/configs/config.txt), these lines have 'heartbeat' and 'mmc0' reversed:

dtparam=act_led_trigger=heartbeat
dtparam=pwr_led_trigger=mmc0

Oliver Grawert (ogra) wrote :

while landing this fix in the tree is trivial, it will sadly not end up on any devices until https://forum.snapcraft.io/t/updating-bootloader-assets-in-the-gadget-snap is fixed (gadget snap updates currently do not update bootloader bits)

Gadget updates are currently being worked on

Changed in snappy:
status: Incomplete → In Progress
assignee: Paolo Pisati (p-pisati) → Maciej Borzecki (maciek-borzecki)
Zygmunt Krynicki (zyga) wrote :

The blocker for this bug (gadget updates) is still under development but is now very nearly complete. I'm just stating this for the benefit of anyone interested in this issue.

It's a very complex topic of how to perform updates of certain kind in the field and while it takes a while to complete, the code will allow this bug to be fixed without requiring anyone to re-flash their devices.

affects: snappy → snapd

This should be unblocked now, updating the gadget snap will attempt to update the boot assets.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers