Bug 9813 - Strange kernel image for qemumips and qemumips64 in deploy directory
Summary: Strange kernel image for qemumips and qemumips64 in deploy directory
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.99
Assignee: Yi Zhao
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-23 06:35 UTC by Yi Zhao
Modified: 2020-03-23 01:33 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2016-06-23 06:35:05 UTC
Git rev: master/6f0c5537e02c59e1c8f3b08f598dc049ff8ee098

Steps:
Build kernel for qemumips or qemumips64:
$ bitbake linux-yocto

Check the kernel image in tmp/deploy directory:
######################################
$ ls vmlinux*
vmlinux                                                                    vmlinux.bin
vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin  vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin
vmlinux-qemumips.bin                                                       vmlinux.bin-qemumips.bin
#######################################

Looks like there are 2 kernel images:
vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin
and vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin.

The first one is the real kernel image:

$ file vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin
vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, BuildID[sha1]=73c8d754c24a7fb75394312646190bdf3aee7a74, not stripped


But the latter one is not a kernel image:

$ file vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin 
vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin: data

This issue also happens on qemumips64.
Comment 1 Yi Zhao 2016-07-27 06:00:05 UTC
This issue still happens on 2.2 M2 RC1 build
Git rev: master/36feb38045b7a2af86ece147fec54b0db3bf491f
Comment 2 Bruce Ashfield 2017-01-10 20:40:30 UTC
Moving to M3. 

It is unlikely I'll have cycles to look into this .. so if someone else wants to grab it, that would be excellent.
Comment 3 Bruce Ashfield 2017-08-15 14:17:01 UTC
Still no cycles. moving to m4.
Comment 4 Randy MacLeod 2018-03-22 08:23:53 UTC
Zhe, Please check if this is a problem for master.
Comment 5 Randy MacLeod 2020-03-19 15:07:46 UTC
Yi, Does this still happen?