Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529AbbFFLnw (ORCPT ); Sat, 6 Jun 2015 07:43:52 -0400 Received: from mail-vn0-f45.google.com ([209.85.216.45]:38255 "EHLO mail-vn0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbbFFLnr convert rfc822-to-8bit (ORCPT ); Sat, 6 Jun 2015 07:43:47 -0400 MIME-Version: 1.0 In-Reply-To: <848ubx2j9v.wl-peter.chubb@nicta.com.au> References: <1433585151-3627-1-git-send-email-k.kozlowski.k@gmail.com> <848ubx2j9v.wl-peter.chubb@nicta.com.au> Date: Sat, 6 Jun 2015 20:43:45 +0900 Message-ID: Subject: Re: [PATCH] Documentation: ARM: EXYNOS: Describe boot loaders interface From: =?UTF-8?Q?Krzysztof_Koz=C5=82owski?= To: Peter Chubb Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Russell King , Kevin Hilman , Arnd Bergmann , Olof Johansson , Javier Martinez Canillas , Bartlomiej Zolnierkiewicz , =?UTF-8?Q?=C5=81ukasz_Majewski?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1866 Lines: 42 2015-06-06 20:01 GMT+09:00 Peter Chubb : >>>>>> "Krzysztof" == Krzysztof Kozlowski 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/