All of lore.kernel.org
 help / color / mirror / Atom feed
From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Mainline u-boot installation on Odroid-UX4
Date: Thu, 07 Apr 2016 16:23:59 +0200	[thread overview]
Message-ID: <57066D7F.7030803@samsung.com> (raw)
In-Reply-To: <20160407135900.GA13735@tiger>

Hello Shawn,

On 04/07/2016 03:59 PM, Shawn Guo wrote:
> 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
>

Good point, it wasn't updated for a long time. Yes, useful U-Boot's size 
is much bigger than 328k, so you can just, replace the link.

> ---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
>   ====================
>
>
>

It would be nice if you could update the supported fdt files list at 
line 25 of doc/README.odroid - with file: exynos5422-odroidxu4.dtb, 
mentioned by Anand Moon.

Best regards,
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com

      reply	other threads:[~2016-04-07 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07  9:35 [U-Boot] Mainline u-boot installation on Odroid-UX4 Shawn Guo
2016-04-07 10:20 ` Przemyslaw Marczak
2016-04-07 13:57   ` Anand Moon
2016-04-07 13:59   ` Shawn Guo
2016-04-07 14:23     ` Przemyslaw Marczak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57066D7F.7030803@samsung.com \
    --to=p.marczak@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.