Skip to content
Snippets Groups Projects
Select Git revision
  • f8c304e07a82921c3f6b7bc482b17cb46d004dc5
  • master default protected
  • master-next
  • scarthgap
  • kirkstone
  • walnascar-next
  • walnascar
  • styhead
  • dunfell
  • nanbield
  • mickledore
  • langdale
  • honister
  • gatesgarth
  • hardknott
  • thud
  • warrior
  • zeus
  • pyro
  • sumo
  • rocko
  • yocto-5.0.9
  • scarthgap-5.0.9
  • yocto-4.0.26
  • kirkstone-4.0.26
  • yocto-5.1.4
  • styhead-5.1.4
  • yocto-5.0.8
  • scarthgap-5.0.8
  • 5.2_M3
  • yocto-5.1.3
  • styhead-5.1.3
  • yocto-4.0.25
  • kirkstone-4.0.25
  • yocto-5.0.7
  • scarthgap-5.0.7
  • 5.2_M2
  • yocto-4.0.24
  • kirkstone-4.0.24
  • yocto-5.1.2
  • styhead-5.1.2
41 results

poky

Forked from opensource / poky
Source project has a limited visibility.
user avatar
Andrea Adami authored and Richard Purdie committed
The routine do_sizecheck() was historically needed by legacy
devices with limited flash memory.
The lowest extreme is probably with Zaurus collie having exactly
1024*1024 = 1048576 bytes for the kernel partition.

In the years the KERNEL_IMAGE_MAXSIZE has been converted to kilobytes
thus rounded so we have now KERNEL_IMAGE_MAXSIZE_collie = "1024".

The effect is that now the check fails because we hit curiously this
 | WARNING: This kernel zImage (size=1024(K) > 1024(K)) is too big for...
even though zImage is 1047288 bytes (kernel + kexecboot-klibc-initramfs).

Fix this case using test -gt (greater) instead of -ge (greater or equal).

(From OE-Core rev: f5fc716d744745d5c2ea83f0b1d63907cfe04c06)

Signed-off-by: default avatarAndrea Adami <andrea.adami@gmail.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 254ca956d63b4ce6aa294213b60bb943f9f3a9e6)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
f8c304e0
History
Name Last commit Last update