On 2017-05-26, Cyril Brulebois <k...@debian.org> wrote: > And thanks for being persistent.
Indeed, I've been working around this issue locally rather than doing the right things by filing bugs and writing patches... :) > Heinrich Schuchardt <xypron.g...@gmx.de> (2017-05-25): >> In >> https://patchwork.ozlabs.org/patch/753871/ >> I suggested to change U-Boot environment variable fdtfile to >> meson-gxbb-odroidc2.dtb for the Odroid C2. >> >> Unfortunately this patch was not accepted. >> >> So we will need flash-kernel to accommodate U-Boot having >> a directory path in fdtfile. For the Odroid C2 this is: >> fdtfile=amlogic/meson-gxbb-odroidc2.dtb >> >> Kindly review the patch to flash-kernel I have proposed: >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860304#20 >> >> Best regards >> >> Heinrich Schuchardt > > vagrant, any opinion on this topic? Too little flash-kernel knowledge > locally to decide on this. ARM64 boards all appear to have the .dtb in a sub-dir, but the fun part is u-boot may not consistantly include the subdir when setting the fdtfile variable. I think the best thing to do would be to install in both /boot/dtbs/VERSION/FDTFILE and /boot/boot/dtbs/VERSION/SUBDIR/*.dtb, or create symlinks (if supported by the filesystem) if the file is found in a subdir... hopefully that won't require mangling the code too much; I'll take a look at it... or feel free to beat me to it! :) live well, vagrant
signature.asc
Description: PGP signature