Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC] [PATCH 0/2] Routerstation Pro: kernel.bbclass: do_sizecheck, do_strip
@ 2013-04-08 20:15 michel.thebeau
  2013-04-08 20:15 ` [PATCH 1/2] kernel.bbclass: do_sizecheck: update path to build image and do not delete michel.thebeau
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: michel.thebeau @ 2013-04-08 20:15 UTC (permalink / raw)
  To: richard.purdie; +Cc: Bruce.Ashfield, Michel.Thebeau, openembedded-core

Hi Richard,

Here is request for comment, v2 of fixes to kernel.bbclass for 3514 and
3514 bugs (and now bug 4220).  

For the first patch you had asked that KERNEL_OUTPUT be used
consistently for the kernel.

The second patch is new, and what I'm especially looking for comments
on.  It is to get back to what 3515 original said, to strip the elf
image, and what Bruce said: finding the right place to strip the image.

Commit 9cd3816e4db97c8fd093a120a75a2b5d193afcdd didn't quite work,
which made vmlinux.bin (binary format) the default kernel image.  See
also bug 4220.

FYI, the binary vmlinux.bin does boot when you know how.  0x806a5430
comes from copying the entry address of the elf.
RedBoot> load -v -m tftp -h 128.224.149.6 -b 0x80060000 -r mthebeau/vmlinux.bin
RedBoot> exec -b 0x80060000 -c "console=ttyS0,115200 root=/dev/sda1 rw rootdelay=2 board=UBNT-RSPRO" 0x806a5430

I have a version of this patch that strips the kernel in place
instead of carrying a copy.  One reason to carry a seperate copy could
be the following build warning, which is issued when stripping the
image in place:

WARNING: File '/usr/src/kernel/arch/mips/boot/vmlinux.stripped' from
linux-yocto was already stripped, this will prevent future debugging!

A third patch here for your reference only; will resend it to the poky
list if you like this approach.

Thanks,

M






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

end of thread, other threads:[~2013-04-09 13:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 20:15 [RFC] [PATCH 0/2] Routerstation Pro: kernel.bbclass: do_sizecheck, do_strip michel.thebeau
2013-04-08 20:15 ` [PATCH 1/2] kernel.bbclass: do_sizecheck: update path to build image and do not delete michel.thebeau
2013-04-08 20:15 ` [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel michel.thebeau
2013-04-08 20:54   ` Richard Purdie
2013-04-08 21:24     ` Michel Thebeau
2013-04-08 21:24     ` michel.thebeau
2013-04-08 21:28       ` Michel Thebeau
2013-04-08 21:48         ` Richard Purdie
2013-04-09 12:44           ` Michel Thebeau
2013-04-08 20:15 ` [poky] [PATCH 1/1] routerstationpro: strip the output kernel of .comment section michel.thebeau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox