Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1159879

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

From Krzysztof Kozłowski <k.kozlowski.k@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Documentation: ARM: EXYNOS: Describe boot loaders interface
Date 2015-06-06 13:50 +0200
Message-ID <pykLT-7m7-1@gated-at.bofh.it> (permalink)
References <pyjd8-5et-3@gated-at.bofh.it> <pykiS-6N7-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2015-06-06 20:01 GMT+09:00 Peter Chubb <peter.chubb@nicta.com.au>:
>>>>>> "Krzysztof" == Krzysztof Kozlowski <k.kozlowski.k@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH] Documentation: ARM: EXYNOS: Describe boot loaders interface Peter Chubb <peter.chubb@nicta.com.au> - 2015-06-06 13:20 +0200
  Re: [PATCH] Documentation: ARM: EXYNOS: Describe boot loaders interface Krzysztof Kozłowski <k.kozlowski.k@gmail.com> - 2015-06-06 13:50 +0200

csiph-web