Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-08 Thread Cédric Le Goater
On 12/8/21 14:19, Thomas Huth wrote: On 08/12/2021 14.15, Cédric Le Goater wrote: On 12/8/21 14:07, Thomas Huth wrote: On 03/12/2021 13.25, Cédric Le Goater wrote: On 12/3/21 11:40, Peter Maydell wrote: On Fri, 3 Dec 2021 at 10:32, Thomas Huth wrote: I guess it's an accidential NULL pointer

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-08 Thread Thomas Huth
On 08/12/2021 14.15, Cédric Le Goater wrote: On 12/8/21 14:07, Thomas Huth wrote: On 03/12/2021 13.25, Cédric Le Goater wrote: On 12/3/21 11:40, Peter Maydell wrote: On Fri, 3 Dec 2021 at 10:32, Thomas Huth wrote: I guess it's an accidential NULL pointer dereference somewhere in the u-boot

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-08 Thread Cédric Le Goater
On 12/8/21 14:07, Thomas Huth wrote: On 03/12/2021 13.25, Cédric Le Goater wrote: On 12/3/21 11:40, Peter Maydell wrote: On Fri, 3 Dec 2021 at 10:32, Thomas Huth wrote: I guess it's an accidential NULL pointer dereference somewhere in the u-boot code ... which will be quite hard to track down

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-08 Thread Thomas Huth
On 03/12/2021 13.25, Cédric Le Goater wrote: On 12/3/21 11:40, Peter Maydell wrote: On Fri, 3 Dec 2021 at 10:32, Thomas Huth wrote: I guess it's an accidential NULL pointer dereference somewhere in the u-boot code ... which will be quite hard to track down when the first page of memory is mark

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-03 Thread Cédric Le Goater
On 12/3/21 11:40, Peter Maydell wrote: On Fri, 3 Dec 2021 at 10:32, Thomas Huth wrote: I guess it's an accidential NULL pointer dereference somewhere in the u-boot code ... which will be quite hard to track down when the first page of memory is marked as writable... :-/ Attach a target-arch g

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-03 Thread Peter Maydell
On Fri, 3 Dec 2021 at 10:32, Thomas Huth wrote: > I guess it's an accidential NULL pointer dereference somewhere in the u-boot > code ... which will be quite hard to track down when the first page of > memory is marked as writable... :-/ Attach a target-arch gdb to the QEMU gdbstub and put a watc

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-03 Thread Thomas Huth
On 03/12/2021 11.27, Cédric Le Goater wrote: On 12/2/21 20:32, LEROY Christophe wrote: Le 02/12/2021 à 20:19, Cédric Le Goater a écrit : On 12/2/21 20:17, Thomas Huth wrote: On 02/12/2021 20.14, Cédric Le Goater wrote: The default addresses to load the kernel, fdt, initrd of AMCC boards in

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-03 Thread Cédric Le Goater
On 12/2/21 20:32, LEROY Christophe wrote: Le 02/12/2021 à 20:19, Cédric Le Goater a écrit : On 12/2/21 20:17, Thomas Huth wrote: On 02/12/2021 20.14, Cédric Le Goater wrote: The default addresses to load the kernel, fdt, initrd of AMCC boards in U-Boot v2015.10 are : "kernel_addr_r=100

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-02 Thread LEROY Christophe
Le 02/12/2021 à 20:19, Cédric Le Goater a écrit : > On 12/2/21 20:17, Thomas Huth wrote: >> On 02/12/2021 20.14, Cédric Le Goater wrote: >>> The default addresses to load the kernel, fdt, initrd of AMCC boards >>> in U-Boot v2015.10 are : >>> >>> "kernel_addr_r=100\0" >>> "fdt_addr_r=

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-02 Thread Thomas Huth
On 02/12/2021 20.14, Cédric Le Goater wrote: The default addresses to load the kernel, fdt, initrd of AMCC boards in U-Boot v2015.10 are : "kernel_addr_r=100\0" "fdt_addr_r=180\0" "ramdisk_addr_r=190\0" The taihu is one of these boards, the ref405ep is not bu

Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address

2021-12-02 Thread Cédric Le Goater
On 12/2/21 20:17, Thomas Huth wrote: On 02/12/2021 20.14, Cédric Le Goater wrote: The default addresses to load the kernel, fdt, initrd of AMCC boards in U-Boot v2015.10 are : "kernel_addr_r=100\0" "fdt_addr_r=180\0" "ramdisk_addr_r=190\0" The taihu is one of these boar