From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Date: Thu, 7 Apr 2016 21:59:00 +0800 Subject: [U-Boot] Mainline u-boot installation on Odroid-UX4 In-Reply-To: <57063456.1040800@samsung.com> References: <20160407093534.GC4022@tiger> <57063456.1040800@samsung.com> Message-ID: <20160407135900.GA13735@tiger> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 07, 2016 at 12:20:06PM +0200, Przemyslaw Marczak wrote: > There were two variants of boot chain with U-Boot for XU3/XU4, which > differs in U-Boot size - originally U-Boot was 328K, but for the > mainline we assume 1MB of size. > > So for mainline, you need a prober version of BL2, which loads 1MB > of U-Boot instead of 328K - in other way, the mainline U-Boot will > be overwritten by tzsw and env. > > Please use the resources from this site: > https://github.com/hardkernel/u-boot/tree/odroidxu3-v2012.07/sd_fuse/hardkernel_1mb_uboot Thanks much, Przemyslaw. It works now. I think we should update README.odroid a bit to ease future users. Do you prefer something like the patch below, or we simply replace the existing link with hardkernel_1mb_uboot one, considering the default U-Boot image today is already bigger than 328KB anyway? Shawn ---8<---- diff --git a/doc/README.odroid b/doc/README.odroid index ef243d1bde36..f0d1aa98542f 100644 --- a/doc/README.odroid +++ b/doc/README.odroid @@ -33,6 +33,10 @@ http://odroid.in/guides/ubuntu-lfs/boot.tar.gz It can be downloaded from: https://github.com/hardkernel/u-boot/tree/odroidxu3-v2012.07/sd_fuse/hardkernel +If U-Boot image is bigger than 328KB, the following binaries should be +used instead. +https://github.com/hardkernel/u-boot/tree/odroidxu3-v2012.07/sd_fuse/hardkernel_1mb_uboot + 4. Boot media layout ====================