[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#772983: kirkwood kernel image is too big



Package: src:linux
Version: 3.16.7-2
Severity: serious

The kirkwood and orion5x kernel images generally have to be installed
in flash partitions with a fixed size.  Currently we check at build
time that vmlinuz is small enough to fit.  However, these platforms
now require Device Tree blobs, and the appropriate DTB must be
appended to the kernel image in flash since the boot loader won't load
it separately.

The kirkwood machines with the smallest known kernel partition are
QNAP TS-119/TS-219, with 2097080 bytes space.  We need to fit:

-rw-r--r-- 1 ben ben 2094680 Nov  7 03:37 vmlinuz-3.16.0-4-kirkwood
-rw-r--r-- 1 ben ben   10394 Dec  9 04:57 kirkwood-ts219-6281.dtb

                  2094680 < 2097080
2094680 + 10394 = 2105074 > 2097080

The orion5x machine with the smallest known kernel partition is D-Link
DNS-323, with 1572792 bytes space.  We currently have less than 1 KB
to spare here.  Thankfully this machine is still supported by board
code and doesn't need a DTB.  But if any of the other orion5x machines
we intend to support have a similarly small kernel partition and
require a DTB they will not work with this version.

Ben.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: