Bug#773890: flash-kernel: No entry for BeagleBone Black when running 3.18 kernel
On Mon, 2014-12-29 at 08:48 -0800, Vagrant Cascadian wrote:
> On 2014-12-29, Ian Campbell wrote:
> > Given the beaglebone specific findfdt which Robert links to above
> Several other ti platforms also use findfdt, FWIW.
> > could we add a check to bootscr.beaglebone which refuses to boot on a
> > white? (looks like we can look at $board_name directly).
> Yes, that should work. The standard boot command runs findfdt before
> loading the boot script. So, something along these lines:
Thanks, lets go with this plus the one new line for the machine id then.
Was this snippet tested?
> Although, ideally, this case should be detected before the user reboots,
> so they can manually tweak /etc/flash-kernel/ to use a customized boot
Indeed, but that would be a lot more complex I think, so we won't be
able to make that work for Jessie, and if the BB White is rare anyway...
BTW, the flash-kernel currently in experimental can run a script to
obtain the DTB-Id. If it is possible to programatically spot the
difference between the various beagle boards then that might be one way
to approach it in the future.