> -Original Message-
> From: Marek Vasut
> Sent: Friday, March 6, 2020 8:43 AM
> To: Tan, Ley Foon ; Ley Foon Tan
>
> Cc: u-boot@lists.denx.de; Simon Goldschmidt
> ; See, Chin Liang
> ; Chee, Tien Fong
> Subject: Re: [PATCH] arm: socfpga: arria10: Add save_b
On 3/6/20 1:33 AM, Tan, Ley Foon wrote:
[...]
Aren't those already defined in include/configs/socfpga_common.h ?
>>> socfpga_common.h have this:
>>> #define CONFIG_SYS_INIT_RAM_SIZE(0x4 -
>> CONFIG_SYS_SPL_MALLOC_SIZE)
>>>
>>> But, we can't use it here.
> -Original Message-
> From: Marek Vasut
> Sent: Thursday, March 5, 2020 8:23 PM
> To: Ley Foon Tan
> Cc: Tan, Ley Foon ; u-boot@lists.denx.de; Simon
> Goldschmidt ; See, Chin Liang
> ; Chee, Tien Fong
> Subject: Re: [PATCH] arm: socfpga: arria10: Add save_boot
On 3/5/20 9:56 AM, Ley Foon Tan wrote:
Hi,
[...]
>> Aren't those already defined in include/configs/socfpga_common.h ?
> socfpga_common.h have this:
> #define CONFIG_SYS_INIT_RAM_SIZE(0x4 -
CONFIG_SYS_SPL_MALLOC_SIZE)
>
> But, we can't use it here.
c: Tan, Ley Foon ; u-boot@lists.denx.de; Simon
> >> Goldschmidt ; See, Chin Liang
> >> ; Chee, Tien Fong
> >> Subject: Re: [PATCH] arm: socfpga: arria10: Add save_boot_params()
> >>
> >> On 3/3/20 10:14 AM, Ley Foon Tan wrote:
> >>
; ; Chee, Tien Fong
>> Subject: Re: [PATCH] arm: socfpga: arria10: Add save_boot_params()
>>
>> On 3/3/20 10:14 AM, Ley Foon Tan wrote:
>>> On Mon, Mar 2, 2020 at 6:40 PM Marek Vasut wrote:
>>>>
>>>> On 3/2/20 8:20 AM, Tan, Ley Foon wrote:
>>
> -Original Message-
> From: Marek Vasut
> Sent: Tuesday, March 3, 2020 8:13 PM
> To: Ley Foon Tan
> Cc: Tan, Ley Foon ; u-boot@lists.denx.de; Simon
> Goldschmidt ; See, Chin Liang
> ; Chee, Tien Fong
> Subject: Re: [PATCH] arm: socfpga: arria10: Add save_boot
On 3/3/20 10:14 AM, Ley Foon Tan wrote:
> On Mon, Mar 2, 2020 at 6:40 PM Marek Vasut wrote:
>>
>> On 3/2/20 8:20 AM, Tan, Ley Foon wrote:
>> Hi,
>>
>> [...]
>>
On 2/26/20 8:01 PM, Ley Foon Tan wrote:
[...]
> +#define BOOTROM_SHARED_MEM_ADDR
(CONFIG_SYS_INIT_RAM_ADDR +
On Mon, Mar 2, 2020 at 6:40 PM Marek Vasut wrote:
>
> On 3/2/20 8:20 AM, Tan, Ley Foon wrote:
> Hi,
>
> [...]
>
> >> On 2/26/20 8:01 PM, Ley Foon Tan wrote:
> >> [...]
> >>> +#define BOOTROM_SHARED_MEM_ADDR
> >> (CONFIG_SYS_INIT_RAM_ADDR + 0x4 \
> >>> +
On 3/2/20 8:20 AM, Tan, Ley Foon wrote:
Hi,
[...]
>> On 2/26/20 8:01 PM, Ley Foon Tan wrote:
>> [...]
>>> +#define BOOTROM_SHARED_MEM_ADDR
>> (CONFIG_SYS_INIT_RAM_ADDR + 0x4 \
>>> +- 0x800)
>>> +#define RST_STATUS_SHARED_ADDR
>>
> -Original Message-
> From: Marek Vasut
> Sent: Sunday, March 1, 2020 11:12 PM
> To: Tan, Ley Foon ; u-boot@lists.denx.de
> Cc: Simon Goldschmidt ; Ley Foon Tan
> ; See, Chin Liang ; Chee,
> Tien Fong
> Subject: Re: [PATCH] arm: socfpga: arria10: Add save_boot_
On 2/26/20 8:01 PM, Ley Foon Tan wrote:
[...]
> +#define BOOTROM_SHARED_MEM_ADDR (CONFIG_SYS_INIT_RAM_ADDR +
> 0x4 \
> + - 0x800)
> +#define RST_STATUS_SHARED_ADDR (BOOTROM_SHARED_MEM_ADDR +
> 0x438)
Are all these magic values
Add save_boot_params() to save reset status value from bootrom.
Bootrom will clear the status register in reset manager and stores the
reset status value in shared memory. Bootrom stores shared data at last
2KB of onchip RAM.
This function save reset status provided by BootROM to rst_mgr_status.
13 matches
Mail list logo