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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Krzysztof Kozłowski <k.kozlowski.k@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Documentation: ARM: EXYNOS: Describe boot loaders interface
Date Sat, 06 Jun 2015 13:50:01 +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>
X-Original-To Peter Chubb <peter.chubb@nicta.com.au>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=/f2uMxMFu2k1/4dRaS6ZUfeoaa6VLvwYgyVsA05ldpo=; b=wA7y1WSsiJccTz+FPi+GgVemSatK35rKg0B7UDuSr7sRWyJ7uRpN6kkqGownbo+wKa MG4a5zbZr4CpfQOBMH53TMe6MWXOIEJpFINCgf1rEWCerCJRLYwl5AfzcsszCDe1j5Fc NEa1o4UFZkbDM4II6NvhuvF7HCQfMPOaIRd0TNo5InbFVt6KRQaViIen1XJoNeNBdQwD wNr1OinK8A3li1Ls8K8vKodnTns24Kd52soxgYfKETp5Na540V8KvXYLPXX5rscrf8CH NkVea+x2E+lEdTDXIHTGR3wNKEtyf2z2x6ZvrQ8Acw3spNP80JAk6jwtSEh9bnUFDbZc vgew==
MIME-Version 1.0
X-Received by 10.52.136.9 with SMTP id pw9mr14180004vdb.44.1433591026027; Sat, 06 Jun 2015 04:43:46 -0700 (PDT)
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8BIT
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
X-Original-Cc Jonathan Corbet <corbet@lwn.net>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kukjin Kim <kgene@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Russell King <linux@arm.linux.org.uk>, Kevin Hilman <khilman@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>, Javier Martinez Canillas <javier.martinez@collabora.co.uk>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Łukasz Majewski <l.majewski@samsung.com>
X-Original-Date Sat, 6 Jun 2015 20:43:45 +0900
X-Original-Message-ID <CAJKOXPefY1jCddwAL=uSg28St9rZbgxsLcDSmjmFfjYH-8EmGg@mail.gmail.com>
X-Original-References <1433585151-3627-1-git-send-email-k.kozlowski.k@gmail.com> <848ubx2j9v.wl-peter.chubb@nicta.com.au>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1159879

Show key headers only | 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