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... > @@ -0,0 +1,30 @@ > +# Bootscript using the new unified bootcmd handling > +# introduced with u-boot v2014.10 > + > +if test -n "${boot_targets}"; then > + echo "Mainline u-boot / new-style environment detected." > +else > + echo "Non-mainline u-boot detected. This boot script uses the unified > bootcmd" > + echo "handling of mainline u-boot (>=v2014.10), which is not available on > your" > + echo "system. Please boot the installer manually." > + exit 0 > +fi > + > +if test -z "${fdtfile}"; then > + echo 'fdtfile environment variable not set. Aborting boot process.' > + exit 0 > +fi > + > +if test ! -e ${devtype} ${devnum}:${bootpart} dtbs/${fdtfile}; then > + echo "This installer medium does not contain a suitable device-tree file > for" > + echo "this system (${fdtfile}). Aborting boot process." > + exit 0 > +fi > + > +setenv bootargs "${bootargs} console=${console}" > + > +load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} vmlinuz \ > +&& load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} dtbs/${fdtfile} \ > +&& load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} initrd.gz \ > +&& echo "Booting the Debian installer..." \ > +&& bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r} -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1411497092.27559.28.ca...@hellion.org.uk