On Tue, 2014-09-23 at 12:02 -0700, Steve Langasek wrote: > On Tue, Sep 23, 2014 at 07:31:32PM +0100, Ian Campbell wrote: > > On Mon, 2014-09-22 at 00:17 +0200, Karsten Merker wrote: > > > (bit of an aside) > > > diff --git a/build/boot/arm/bootscr.mainline_common > > > b/build/boot/arm/bootscr.mainline_common > > > new file mode 100644 > > > index 0000000..268eeba > > > --- /dev/null > > > +++ b/build/boot/arm/bootscr.mainline_common > > > This be a good starting point for something which could be added to > > flash-kernel too as a default/generic boot script too. > > > Only wrinkle is the dependency on dtbs/${fdtfile}, but > > http://lists.linaro.org/pipermail/cross-distro/2014-May/000676.html was > > proposing something along those lines too, so perhaps I should just bite > > the bullet and move them... > > Did that thread converge on a recommendation?
It appears not :-/ Thinking about it some more we don't really need this for the sort of default boot script I was thinking about, just a dtb -> dtb-$uname symlink to match the vmlinuz/initrd.img ones is sufficient given the ability to supply our own boot.scr, and flash kernel can arrange that regardless of the packaged location. I notice that the Debian powerpc packages use the same /usr/lib path as the arm ones, I don't have the knowledge to go messing around with that, which makes me inclined to leave ARM alone too rather than diverge across the arches. > The linked wiki page still lists a set of options. FWIW this new u-boot stuff include $fdtfile which is the file name, but I don't think it includes (or cares about) the path to it. > At the time of that thread, I recall that the proposed standardization of > dtb locations was mostly not useful for the platforms I cared about because > they were going to be placed in locations that wouldn't help u-boot find > them in order to pass them to the kernel. Anywhere under /boot would do, wouldn't it? Debian and Ubuntu seem to be the main ones which use /usr or /lib. Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1411502506.3824.4.ca...@hellion.org.uk