[Sound-open-firmware] [PATCH] arch: xtensa: set SRAM window error codes during bootloader

Pan, Xiuli xiuli.pan at linux.intel.com
Mon Jun 11 07:10:35 CEST 2018



On 6/9/2018 03:06, Liam Girdwood wrote:
> On Fri, 2018-06-08 at 19:42 +0100, Liam Girdwood wrote:
>> From: Kamil Kulesza <kamil.kulesza at linux.intel.com>
>>
>> Set status (0x05) and error (0x00) code in Memory Window 0 when the bootloader
>> starts.
>> boot_entry.S - set status (0x05) and error (0x00) code before wnd0 reprogram
>> platform/memory.h - increase bootloader size
>>
>> Signed-off-by: Kamil Kulesza <kamil.kulesza at linux.intel.com>
>> ---
>>   src/arch/xtensa/boot_entry.S                  | 22 +++++++++++++++++++
>>   .../apollolake/include/platform/memory.h      |  2 +-
>>   .../cannonlake/include/platform/memory.h      |  2 +-
>>   3 files changed, 24 insertions(+), 2 deletions(-)
>>
>>
This patch seems to be a workaround for the firmware boot up. The status 
(0x05) should be set by the rom.
With the rmbox and dump data from status registers. It seems all memory 
window is fulled with rodata of the firmware. I think there is some 
potential bugs for memory window.
If this is not a bug maybe we need to add memset for memory windows.

Thanks
Xiuli

> Applied.
>
> Thanks
>
> Liam
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware



More information about the Sound-open-firmware mailing list