Bug#767744: flash-kernel: There is no way to specify a custom dtb
Package: flash-kernel
Version: 3.28
Severity: wishlist
Hello,
I want to use flash-kernel on a machine that uses a device tree blob that isn't
included in the kernel package. So flash-kernel's assumption to find
/usr/lib/linux-image-$kvers/$dtb_id is wrong.
Maybe something like:
# if dtb_name starts with / assume it's a stand alone file. Otherwise
# pick the one shipped by the linux image.
if expr "$dtb_name" : "/" >/dev/null; then
dtb="$dtb_name"
else
dtb="/usr/lib/linux-image-$kvers/$dtb_name"
fi
would work?
Best regards
Uwe
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: armhf (armv7l)
Kernel: Linux 3.16-3-armmp (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages flash-kernel depends on:
ii debconf [debconf-2.0] 1.5.53
ii devio 1.2-1
ii initramfs-tools 0.116
ii linux-base 3.5
ii ucf 3.0030
flash-kernel recommends no packages.
Versions of packages flash-kernel suggests:
ii u-boot-tools 2014.10~rc3+dfsg1-1
-- debconf information excluded
Reply to: