ubuntu-device-flash creates an rpi2 image that won't boot
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Snappy |
Undecided
|
Unassigned | ||
| | goget-ubuntu-touch (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
I did this:
$ sudo ubuntu-device-flash core 15.04 --channel edge --developer-mode --enable-ssh --install webdm -o myimage.img --oem pi2.canonical
$ ls
myimage.img
$ sudo umount /media/
$ sudo dd if=./myimage.img of=/dev/sdb bs=32M
$ sync
When I plug the sd card into my laptop, it has the four expected partitions. However, when I try to boot my rpi2 with it, the green light flashes briefly, then it appears there is no activity.
| Oliver Grawert (ogra) wrote : | #1 |
| Oliver Grawert (ogra) wrote : | #2 |
after talking to sergio it turns out that there is currently no way to bind the pi2 snap to a certain device tarball, especially when --developer-mode is set.
this will change once the device tarballs become snaps themselves and will carry a package name for the respective device (kernel) snap in package.yaml
| Changed in goget-ubuntu-touch (Ubuntu): | |
| status: | New → Invalid |
| Oliver Grawert (ogra) wrote : | #3 |
we have actual raspi2 device tarballs on the system-image server now (requires to use the --device raspi2_armhf option in ubuntu-
| Changed in snappy: | |
| status: | New → Fix Released |


i'm not really sure how that built at all ... since there is no device tarball anywhere for this image (ubuntu- device- flash should have failed) ... as you can see in the RPi2 section on https:/ /developer. ubuntu. com/en/ snappy/ start/ you need the "device- pi2-*.tar. xz: device tarball" from http:// people. canonical. com/~platform/ snappy/ raspberrypi2/ to get the RPi2 kernel into the image, i assume your image has the -generic kernel from the archive now.