Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #846081

Bug#870185: armel/marvell kernel size

From Roger Shimizu <rogershimizu@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#870185: armel/marvell kernel size
Date 2017-08-27 17:40 +0200
Message-ID <uj7Pj-16w-15@gated-at.bofh.it> (permalink)
References (14 earlier) <uiMhQ-3vg-11@gated-at.bofh.it> <uiMhQ-3vg-13@gated-at.bofh.it> <uj7Pk-16w-17@gated-at.bofh.it> <uj7Pk-16w-19@gated-at.bofh.it> <uiMhQ-3vg-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, Aug 27, 2017 at 1:31 AM, Roger Shimizu <rogershimizu@gmail.com> wrote:
> On Sun, Aug 27, 2017 at 1:27 AM, Roger Shimizu <rogershimizu@gmail.com> wrote:
>> On Tue, Aug 22, 2017 at 2:55 AM, Ben Hutchings <ben@decadent.org.uk> wrote:
>>> For the size check, you're mostly duplicating the existing check_size()
>>> function.  It would be preferable to have a single function with some
>>> extra parameters so that it can do both compressed and uncompressed
>>> size checks.
>
> Forgot to give out result of my test run.
>
> $ debian/bin/buildcheck.py debian/build/build_armel_none_marvell armel
> none marvell
> Can't read ABI reference.  ABI not checked!
> Image size 2084434/2097080, using 99.40%.  Under 1% space in
> UNRELEASED.  Continuing.
> Uncompressed Image size 5934896/7340032, using 80.86%.  Uncompressed
> Image fits.  Continuing.

I changed a bit by adding more error checking, and pushed to the same branch.
now its hash code is cc7783a.

Another question, the main fix for the bug, which is the commit below,
is pushed to master.
Can I cherry-pick this commit to branch sid? Thanks!

====
commit d0704122dd83e5b4258184a0e92dc57934477c71
Author:     Roger Shimizu <rogershimizu@gmail.com>
AuthorDate: Tue Aug 22 01:01:21 2017 +0900
Commit:     Roger Shimizu <rogershimizu@gmail.com>
CommitDate: Tue Aug 22 01:01:21 2017 +0900

    [armel] Disable CONFIG_STRICT_KERNEL_RWX

    This will save about 3MB on linux Image (before compression).
    u-boot loader on some armel devices has limitation that:
     - kernel image size <= 2MB (already described in
    debian/config/armel/defines)
     - kernel size after decompression <= 7MB
====

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-19 06:10 +0200
  Bug#870185: armel/marvell kernel size Ian Campbell <ijc@debian.org> - 2017-08-19 18:00 +0200
    Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-19 19:40 +0200
      Bug#870185: armel/marvell kernel size Ben Hutchings <ben@decadent.org.uk> - 2017-08-20 00:00 +0200
        Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-20 14:30 +0200
          Bug#870185: armel/marvell kernel size Ben Hutchings <ben@decadent.org.uk> - 2017-08-20 17:50 +0200
            Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-21 02:40 +0200
              Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-21 18:30 +0200
                Bug#870185: armel/marvell kernel size Ben Hutchings <ben@decadent.org.uk> - 2017-08-21 20:00 +0200
                Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-26 18:40 +0200
                Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-26 18:40 +0200
                Bug#870185: armel/marvell kernel size Roger Shimizu <rogershimizu@gmail.com> - 2017-08-27 17:40 +0200
                Bug#870185: armel/marvell kernel size Ben Hutchings <ben@decadent.org.uk> - 2017-08-27 17:40 +0200

csiph-web