From: Michel Thebeau <michel.thebeau@windriver.com>
To: Andrea Adami <andrea.adami@gmail.com>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: [PATCH] kernel 3.8: routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image
Date: Tue, 23 Apr 2013 08:25:48 -0400 [thread overview]
Message-ID: <51767DCC.7050105@windriver.com> (raw)
In-Reply-To: <CAAQYJAt-wVghaptCaB9zk8qN7nFckPsF-ZTYQ7L0Z0_o6sF=wg@mail.gmail.com>
On 13-04-23 04:16 AM, Andrea Adami wrote:
> On Mon, Apr 22, 2013 at 11:20 PM, <michel.thebeau@windriver.com> wrote:
>> From: Michel Thebeau <michel.thebeau@windriver.com>
>>
>> routerstationpro is limited to 16mb flash size. Exceeding that size may
>> not be noticed immediately, which we don't want.
>>
>> "The current latest kernel for the routerstationpro machine is far
>> beyond the 16MB of it's flash size [0]. I think it would be good to
>> [test if the size of the image is above that size]."
>>
>> Setting this variable will enable the do_sizecheck task and produce an
>> error when the image is too large:
>>
>> "ERROR: This kernel (size=90230265 > 16777216) is too big for your
>> device. Please reduce the size of the kernel by making more of it
>> modular."
>>
>> Taken from commit 83716e40edacfd20dec8ef41f415ad5828d4643b.
>>
>> [YOCTO #3514]
>>
>> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
>> ---
>> .../recipes-kernel/linux/linux-yocto_3.8.bbappend | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend
>> index 479a386..769dcc0 100644
>> --- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend
>> +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.8.bbappend
>> @@ -12,3 +12,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
>> COMPATIBLE_MACHINE_routerstationpro = "routerstationpro"
>> COMPATIBLE_MACHINE_beagleboard = "beagleboard"
>> COMPATIBLE_MACHINE_atom-pc = "atom-pc"
>> +
>> +# routerstationpro has a flash size of 16mb
>> +KERNEL_IMAGE_MAXSIZE_append_routerstationpro = "16777216"
>
> Why would it need an _append_ ?
> KERNEL_IMAGE_MAXSIZE_routerstationpro = "16777216" should be enough.
>
> And by the way such kernel sizes look really exaggerated.
Thanks Andrea,
I'll drop _append_.
I'm not sure what you mean mean by exaggerated. I multiplied 16mb with
2^20 == 16777216.
M
>
> Regards
>
> Andrea
>
>
>> --
>> 1.7.9.7
>>
>> _______________________________________________
>> poky mailing list
>> poky@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
next prev parent reply other threads:[~2013-04-23 12:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-22 21:20 [PATCH 0/1] routerstationpro: move board off 3.4 and onto the 3.8 kernel michel.thebeau
2013-04-22 21:20 ` [PATCH] " michel.thebeau
2013-04-22 21:20 ` [PATCH] kernel 3.8: routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image michel.thebeau
2013-04-23 8:16 ` Andrea Adami
2013-04-23 12:25 ` Michel Thebeau [this message]
2013-04-25 21:21 ` Andrea Adami
2013-04-25 22:04 ` Michel Thebeau
-- strict thread matches above, loose matches on Subject: below --
2013-04-29 13:54 [PATCH 0/1] [v2] routerstationpro: " michel.thebeau
2013-04-29 13:54 ` [PATCH] " michel.thebeau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51767DCC.7050105@windriver.com \
--to=michel.thebeau@windriver.com \
--cc=andrea.adami@gmail.com \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.