[Bug 1765628] Re: Create an image for all raspberry models
Adam Smith
1765628 at bugs.launchpad.net
Tue Oct 23 18:20:40 UTC 2018
I understand why flash-kernel was used, and in the past I myself have
suggested its use (https://bugs.launchpad.net/raspbian/+bug/1723203 ).
I've created installers for the pi using ubiquity (https://ubuntu-
mate.community/t/aarch64-on-raspberry-pi-2-rev-1-2-3b-3b/16853 ) and the
debian-installer, which is why I'm convinced flash-kernel is not fit for
purpose on the pi.
To my knowledge there are currently no installers that use flash-kernel
as intended on the pi. Currently you can't boot the generic armhf
kernel on the pi
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1795869 ), and the
generic kernel uses different dtb names, so flash-kernel doesn't work
even if you could boot the debian-installer. The Linux-raspi2 kernel
doesn't have any udebs, nor does the debian-installer recognise the
kernel (it absolutely refuses to install it on the target system).
If arm is switching to grub2, then grub-installer will be run by
ubiquity/debian-installer instead of flash-kernel-installer.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1765628
Title:
Create an image for all raspberry models
Status in livecd-rootfs package in Ubuntu:
New
Bug description:
Currently (Xenial to Bionic) server images only run on the raspberry
pi 2. This is due to the u-boot bootloader.
However it is possible to produce one image that runs on a pi 2 and 3.
Fedora arm 32 bit produce such an image. They make use of conditional
filters in the config.txt
(https://www.raspberrypi.org/documentation/configuration/config-
txt/conditional.md ) and put two versions of u-boot on the image.
They other way to do it is to remove u-boot entirely and just rely on
the internal pi bootloader to sort it out. This could be permanent,
or just for first boot where upon flash-installer is called to install
the correct u-boot file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1765628/+subscriptions
More information about the foundations-bugs
mailing list