All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel size above KERNEL_IMAGE_MAXSIZE
@ 2017-12-14 11:21 Jaap de Jong
  0 siblings, 0 replies; only message in thread
From: Jaap de Jong @ 2017-12-14 11:21 UTC (permalink / raw)
  To: Yocto discussion list

Hi All,
not sure if I should put this here.
If I define KERNEL_IMAGE_MAXSIZE below my actual kernel size I get this 
ugly error:

ERROR: linux-at91-4.9.28-r0.4 do_sizecheck: Function failed: 
do_sizecheck (log file is located at 
xxx/linux-at91/4.9.28-r0.4/temp/log.do_sizecheck.1370)
ERROR: Logfile of failure stored in: 
xxx/linux-at91/4.9.28-r0.4/temp/log.do_sizecheck.1370
Log data follows:
| DEBUG: Executing shell function do_sizecheck
| xxx/linux-at91/4.9.28-r0.4/temp/run.do_sizecheck.1370: line 117: warn: 
command not found
| WARNING: xxx/linux-at91/4.9.28-r0.4/temp/run.do_sizecheck.1370:1 exit 
127 from 'warn "This kernel $type (size=$size(K) > 2100(K)) is too big 
for your device. Please reduce the size of the kernel by making more of 
it modular."'
| ERROR: Function failed: do_sizecheck (log file is located at 
xxx/linux-at91/4.9.28-r0.4/temp/log.do_sizecheck.1370)
ERROR: Task 
(xxx/meta-atmel/recipes-kernel/linux/linux-at91_4.9.bb:do_sizecheck) 
failed with exit code '1'
NOTE: Tasks Summary: Attempted 1646 tasks of which 1638 didn't need to 
be rerun and 1 failed.

Summary: 1 task failed:
   xxx/meta-atmel/recipes-kernel/linux/linux-at91_4.9.bb:do_sizecheck
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Either poky/meta/classes/kernel.bbclass should be changed to run 'die' 
instead of 'warn' or in poky/meta/classes/base.bbclass a function 'warn' 
should be added. Not sure which. I tend to the first option: if the 
kernel image is too large then this is an error.

Regards,
Jaap


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-14 11:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-14 11:21 Kernel size above KERNEL_IMAGE_MAXSIZE Jaap de Jong

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.