[OE-core] [RFC] [PATCH 0/2] Routerstation Pro: kernel.bbclass: do_sizecheck, do_strip

michel.thebeau at windriver.com michel.thebeau at windriver.com
Mon Apr 8 20:15:50 UTC 2013


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







More information about the Openembedded-core mailing list