[PATCH v2 0/3] watchdog: K3: Add RTI watchdog support

Jan Kiszka jan.kiszka at siemens.com
Tue Aug 11 14:37:29 CEST 2020


On 11.08.20 12:46, Lokesh Vutla wrote:
> 
> 
> On 11/08/20 4:12 pm, Jan Kiszka wrote:
>> On 11.08.20 12:33, Lokesh Vutla wrote:
>>>
>>>
>>> On 23/06/20 4:45 pm, Jan Kiszka wrote:
>>>> This brings watchdog support for the TI K3 SoCs, derived from the Linux
>>>> kernel, augmented with firmware loading as needed on the AM65x.
>>>>
>>>> Tested on the AM65x EVM and the IOT2050 (also AM65x-based, upstream
>>>> support will be posted soon).
>>>>
>>>> Changes in v2:
>>>>    - keep watchdog powered when handing over to Linux
>>>>    - drop unneeded explicit power-on
>>>>    - account for RTI firmware locking the power domain
>>>
>>> Patch 1 and 3 merged applied.
>>>
>>
>> Thanks. Still taking workable suggestions for loading the firmware.
> 
> FIT image is the one that I can think off. Since SPL is loading the FIT image,
> SPL_HANDOFF can be used to pass on the loadaddr from SPL to U-Boot and U-Boot
> can start the remote cores using this info.

OK, just the ensure I got the idea correctly:

  - extend struct spl_handoff or arch_spl_handoff with the fit image
    loadaddr that spl is processing

  - stick the watchdog firmware into the u-boot proper fit image
    (generated by tools/k3_fit_atf.sh or shipped via the board folder, as
    in our case)

  - from the watchdog driver, trigger parsing of that fit image and
    extracting of the firmware from there

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux


More information about the U-Boot mailing list