All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image
@ 2013-03-20 15:32 michel.thebeau
  2013-03-20 15:32 ` [PATCH] " michel.thebeau
  0 siblings, 1 reply; 2+ messages in thread
From: michel.thebeau @ 2013-03-20 15:32 UTC (permalink / raw)
  To: Bruce.Ashfield, poky


Hi Bruce, et al

I hope I have all the details in order, let me know if I missed
anything.

(I see others are pushing to poky-contrib, requires access.)

Michel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image
  2013-03-20 15:32 [PATCH 0/1] routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image michel.thebeau
@ 2013-03-20 15:32 ` michel.thebeau
  0 siblings, 0 replies; 2+ messages in thread
From: michel.thebeau @ 2013-03-20 15:32 UTC (permalink / raw)
  To: Bruce.Ashfield, poky

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."

[YOCTO #3514]

Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 .../recipes-kernel/linux/linux-yocto_3.4.bbappend  |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend
index 3e80bf1..40ebe15 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend
@@ -13,3 +13,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"
-- 
1.7.9.7



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-20 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20 15:32 [PATCH 0/1] routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image michel.thebeau
2013-03-20 15:32 ` [PATCH] " michel.thebeau

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.