static dtb location

Josh Boyer jwboyer at gmail.com
Wed Dec 18 23:36:27 UTC 2013


On Wed, Dec 18, 2013 at 6:26 PM, Dennis Gilmore <dennis at ausil.us> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> Back in August I started a thread[1] on the cross-distro list at linaro
> on standardising the location of dtb files. While tehre was not a lot
> fo input there was a consensus to use /boot/dtb/ as the location. since
> the dtb generation is still tied to kernel building. I would like to
> have us have the most recently installed kernel link its dtb directory
> to /boot/dtb/ I am working on a change for Fedora 21 to get u-boot that
> we provide loading the dtb automatically and there is no way that ive
> worked out to have u-boot work out the path as they exist today.

Can you provide a little more context to those of us that don't have a
clue as to what you're talking about?

Looking in koji, it seems the arm kernels install dtbs in:

/boot/dtb-{kver}.armv7hl/

Are you asking to have them installed in /boot/dtb/ instead?  If so,
wouldn't /boot/dtb/{kver}/ work, much like we do for modules in
/lib/modules/{kver} ?

I'm not really understanding what you mean by "link its dtb directory
to /boot/dtb/".  If you mean making /boot/dtb a symlink to the
dtb-{kver} directory on each kernel install, that seems a bit
suboptimal.  There's no guarantee that kernel will boot, or that the
dtbs contained in the directory are working.  Blindly changing the
symlink seems wrong, plus there is a lot of headache on kernel
uninstall to restore it to something (which might not be the previous
kernel at install time).

josh


More information about the kernel mailing list