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

Bug#870185: armel/marvell kernel size



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


Reply to: