Thread (29 messages) 29 messages, 4 authors, 2016-08-24

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

From: Thiago Jung Bauermann <hidden>
Date: 2016-08-24 00:53:24
Also in: kexec, lkml

Am Mittwoch, 24 August 2016, 10:50:26 schrieb Oliver O'Halloran:
On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh [off-list ref] 
wrote:
quoted
quoted
zImage on ppc64 BE is an ELF32 file. This patch set only supports
loading
ELF files of the same class as the kernel, so a 64 bit kernel can't
load an ELF32 file. It would be possible to add such support, but it
would be a new feature.

The distros I was able to check on ppc64 LE and BE all use vmlinux.
kexec-tools with kexec_load also doesn't support zImage. Do you think
it is important to support zImage?
Well if it didn't work already, I think its low priority. Michael should
be able to confirm this. Oliver's been trying to cleanup the zImage to
get rid the old zImage limitation, cc'ing him
I don't think it's ever worked so I wouldn't worry too much about
supporting it. Fixing kexec-into-zImage and fixing the 32bit wrapper
on 64bit BE kernel problem has been on my TODO list for a while, but
it's not a priority.
Ok, thanks for your input.

-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help