From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Date: Tue, 09 Dec 2014 16:03:30 -0800 Subject: [U-Boot] [PATCH v9 2/2] Odroid-XU3: Add documentation for Odroid-XU3 In-Reply-To: (Simon Glass's message of "Tue, 9 Dec 2014 06:15:22 -0700") References: <1417094496-28740-1-git-send-email-human.hwang@samsung.com> <1417094496-28740-3-git-send-email-human.hwang@samsung.com> <1417098785.16624.3.camel@collabora.co.uk> <20141128134557.6e50ff1a@hwh-ubuntu> <1417161643.4422.7.camel@collabora.co.uk> <20141128093918.4ab0d7ad@jawa> <20141128144651.122c4a83@jawa> <20141202232945.65fa1de2@jawa> <7hsigqt45s.fsf@deeprootsystems.com> <7h7fy1txxx.fsf@deeprootsystems.com> Message-ID: <7hmw6wpe0d.fsf@deeprootsystems.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Simon Glass writes: > On 8 December 2014 at 18:27, Kevin Hilman wrote: >> [...] >> So is secure-mode enabled before BL2 is started? Or do you mean BL2 is >> where secure-mode is enabled? If it's done in BL2, and if the >> hardkernel folks are willing to sign BL2 images (which I gathered from >> discussions elsewhere in this series) then it seems possible to turn off >> secure-mode. > > Yes it is possible - and easy - to do in BL2 / U-Boot SPL. This is > what the Chromebooks do. OK, good. >> >> So I went to look in the u-boot-samsung repo and didn't see the code for >> the SPL there. Is the BL2 source (which I understood to be u-boot SPL) >> in some other repo? > > > It's in mainline U-Boot so no particular need to go to the Samsung > tree. I went to the samsung tree since the cover letter for this series pointed me there. But I just tried the latest version of this series (v11) using mainlin u-boot. Thanks for the pointer. > See arch/arm/cpu/armv7/exynos/spl_boot.c and tzpc.c for the > TrustZone stuff. OK, thanks. Any pointers on how to get this building with mainline u-boot? Just adding CONFIG_SPL to odroid_xu3.h doesn't seem to work (compile errors.) I'm quite comfortable in the kernel, but I'm not very familiar with u-boot, especially SPL. >> > It takes us back to the 1960s where we sent off our code at night to >> > run it :-) >> > >> > I think the best bet is the current effort to mainline the rest of the >> > Chromebook code then try to build it for XU3. >> >> What's the status of that effort? > > Coming along but the big/little support is still not there. The > display works and most core peripherals. Needs more SPL work. OK, I'll be glad to be a beta tester if/when you get to that point. Thanks, Kevin