[PATCH] Documentation: ARM: EXYNOS: Describe boot loaders interface

Krzysztof Kozłowski k.kozlowski.k at gmail.com
Sat Jun 6 04:43:45 PDT 2015


2015-06-06 20:01 GMT+09:00 Peter Chubb <peter.chubb at nicta.com.au>:
>>>>>> "Krzysztof" == Krzysztof Kozlowski <k.kozlowski.k at gmail.com> writes:
>
> Krzysztof> Various boot loaders for Exynos based boards use certain
> Krzysztof> memory addresses during booting for different
> Krzysztof> purposes. Mostly this is one of following : 1. as a CPU
> Krzysztof> boot address, 2. for storing magic cookie related to low
> Krzysztof> power mode (AFTR, sleep).
>
> Krzysztof> The document, based solely on kernel source code, tries to
> Krzysztof> group the information scattered over different files. This
> Krzysztof> would help in the future when adding support for new SoC or
> Krzysztof> when extending features related to low power modes.
>
> Is it worth grabbing the info from u=boot and documenting it here
> (it's not documented other than in the hardkenel U=Boot source)?
>
> I can send you the info, or you can see it in
> https://github.com/hardkernel/u-boot/blob/odroidxu3-v2012.07/board/samsung/smdk5420/lowlevel_init.S
> at symbol nscode_base near line 104

Hi,

+CC Łukasz Majewski (u-boot)

The patch actually covers u-boot. What is missing:
1, Reset - I think kernel does not set it.
2. LPA - There is no mainline support for it yet so I did not add it.
It should be added along with cpuidle LPA.
3. MCPM and Exynos542x stuff. There are some exceptions and weird
comments in the kernel (like "To increase the stability of KFC reset
we need to program  the PMU SPARE3 register"). It would take me some
more time to understand it so I wanted to start with basic version and
get comments.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list