Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-18 Thread Daniel Henrique Barboza
On 5/17/22 23:51, Alexey Kardashevskiy wrote: On 5/18/22 04:58, Daniel Henrique Barboza wrote: Alexey, I had to amend your commit due to Gitlab CI complaining about ... On 5/4/22 03:55, Alexey Kardashevskiy wrote: tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-17 Thread Alexey Kardashevskiy
On 5/18/22 04:58, Daniel Henrique Barboza wrote: Alexey, I had to amend your commit due to Gitlab CI complaining about ... On 5/4/22 03:55, Alexey Kardashevskiy wrote: tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU loads the kernel at 0x40 by default which wo

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-17 Thread Daniel Henrique Barboza
Alexey, I had to amend your commit due to Gitlab CI complaining about ... On 5/4/22 03:55, Alexey Kardashevskiy wrote: tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU loads the kernel at 0x40 by default which works most of the time as Linux kernels are relocatable

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-12 Thread Daniel Henrique Barboza
On 5/4/22 03:55, Alexey Kardashevskiy wrote: tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU loads the kernel at 0x40 by default which works most of the time as Linux kernels are relocatable, 64bit and compiled with "-pie" (position independent code). This works

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-11 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > On 06/05/2022 01:50, Fabiano Rosas wrote: >> Alexey Kardashevskiy writes: >> >>> On 5/5/22 05:16, Fabiano Rosas wrote: Alexey Kardashevskiy writes: > tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. > > QEMU loads the ker

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-05 Thread Alexey Kardashevskiy
On 06/05/2022 01:50, Fabiano Rosas wrote: Alexey Kardashevskiy writes: On 5/5/22 05:16, Fabiano Rosas wrote: Alexey Kardashevskiy writes: tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU loads the kernel at 0x40 by default which works most of the time as Li

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-05 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > On 5/5/22 05:16, Fabiano Rosas wrote: >> Alexey Kardashevskiy writes: >> >>> tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. >>> >>> QEMU loads the kernel at 0x40 by default which works most of >>> the time as Linux kernels are relocatable

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-04 Thread Alexey Kardashevskiy
On 5/5/22 14:16, Joel Stanley wrote: On Thu, 5 May 2022 at 03:31, Alexey Kardashevskiy wrote: On 5/5/22 05:16, Fabiano Rosas wrote: Alexey Kardashevskiy writes: tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU loads the kernel at 0x40 by default which wor

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-04 Thread Joel Stanley
On Thu, 5 May 2022 at 03:31, Alexey Kardashevskiy wrote: > > > > On 5/5/22 05:16, Fabiano Rosas wrote: > > Alexey Kardashevskiy writes: > > > >> tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. > >> > >> QEMU loads the kernel at 0x40 by default which works most of > >> the

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-04 Thread Alexey Kardashevskiy
On 5/5/22 05:16, Fabiano Rosas wrote: Alexey Kardashevskiy writes: tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU loads the kernel at 0x40 by default which works most of the time as Linux kernels are relocatable, 64bit and compiled with "-pie" (position indep

Re: [PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-04 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. > > QEMU loads the kernel at 0x40 by default which works most of > the time as Linux kernels are relocatable, 64bit and compiled with "-pie" > (position independent code). This works for a litt

[PATCH qemu] spapr: Use address from elf parser for kernel address

2022-05-03 Thread Alexey Kardashevskiy
tl;dr: This allows Big Endian zImage booting via -kernel + x-vof=on. QEMU loads the kernel at 0x40 by default which works most of the time as Linux kernels are relocatable, 64bit and compiled with "-pie" (position independent code). This works for a little endian zImage too. However a big end