[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address
From: |
LEROY Christophe |
Subject: |
Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address |
Date: |
Thu, 2 Dec 2021 19:32:11 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
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=1000000\0"
>>> "fdt_addr_r=1800000\0"
>>> "ramdisk_addr_r=1900000\0"
>>>
>>> The taihu is one of these boards, the ref405ep is not but we don't
>>> have much information on it and both boards have a very similar
>>> address space layout. Change the kernel load address to match U-Boot
>>> expectations and fix loading.
>>
>> You could additionally mention that U-Boot corrupts the kernel if it
>> gets loaded to address 0.
>
> True. The first word is overwritten with zeros. I looked for it
> in the code but could not find the reason.
>
Isn't it because U-boot unzips the kernel at address 0 ?
Christophe
- [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Cédric Le Goater, 2021/12/02
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Thomas Huth, 2021/12/02
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Cédric Le Goater, 2021/12/02
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address,
LEROY Christophe <=
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Cédric Le Goater, 2021/12/03
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Thomas Huth, 2021/12/03
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Peter Maydell, 2021/12/03
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Cédric Le Goater, 2021/12/03
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Thomas Huth, 2021/12/08
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Cédric Le Goater, 2021/12/08
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Thomas Huth, 2021/12/08
- Re: [PATCH] hw/ppc/ppc405_boards: Change kernel load address, Cédric Le Goater, 2021/12/08