Hmmm, the following line is interesting:

> 12:39:00 Unsupported platform 'BCM2835'.

That suggests that flash-kernel is falling back to querying
/proc/cpuinfo (which lists the "Hardware" field as BCM2835). Ordinarily,
flash-kernel relies on /proc/device-tree/model instead which suggests
that maybe /proc/device-tree isn't mounted (or isn't mounted correctly)
within your chroot?

You could try overriding it by writing the line "Raspberry Pi 4 Model B"
to /etc/flash-kernel/machine, which takes priority over the device-tree
(it doesn't have to be that specific model; pick something relevant from
the "Machine:" lines in /usr/share/flash-kernel/db/all.db). However, I'm
not sure what else will fail if the device-tree isn't available within
the chroot (in other words, it's probably more useful to figure that
out).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955353

Title:
  Installing linux-modules-extra-raspi in chroot triggers flash-kernel
  which fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1955353/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to