From: Lukasz Majewski <l.majewski@majess.pl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v9 2/2] Odroid-XU3: Add documentation for Odroid-XU3
Date: Fri, 28 Nov 2014 14:46:51 +0100 [thread overview]
Message-ID: <20141128144651.122c4a83@jawa> (raw)
In-Reply-To: <CABxcv=mVRMFf_0sFM3RTJbH0_AwzK8weKPmwsh3kSaB1RkNaug@mail.gmail.com>
Hello Javier,
> Hello Lukasz,
>
> On Fri, Nov 28, 2014 at 9:39 AM, Lukasz Majewski
> <l.majewski@majess.pl> wrote:
> >> I have yet to take him up on that offer though, but it sounds like
> >> a good way forward. The current layout really isn't practical.
> >>
> >
> > It indeed isn't very practical, but this is what you received from
> > HardKernel when you buy XU3 board.
> >
> > Of course you can grab their sources, modify the layout, prepare
> > u-boot's SPL and send it to them to be signed.
> > However, it is not the way the "normal" user do things.
> >
> > He or she would like to replace standard (and outdated) HardKernel
> > u-boot on their SD card and go forward with booting kernel.
> >
>
> I agree with Sjoed that normal users don't replace the low-level
> components that are provided by the board vendor.
>
> After all you can boot a mainline kernel using the vendor u-boot, just
> append the DTB and create a uImage. The practical reason why someone
> would want to replace the vendor u-boot is to have more features but
> is very hard to do if there is a constraint in the maximum u-boot
> image size (even harder if the maximum is such small like in the XU3).
I agree that 328 KiB size for u-boot is a constraint. I don't know
HardKernel's justification for this.
>
> > For now we _must_ focus on supporting XU3 with default BL1/BL2 and
> > hence we are obliged to have u-boot size smaller than 328 KiB.
> >
> > It is challenging but for sure doable.
> >
>
> It is doable but I don't see why the default BL2 _must_ be used.
For practical/pragmatic reasons:
1. It is difficult to have signed BL2 - each time we need to ask
HardKernel for signing it. It is impractical and hampers usage of
mainline SPL (BL2) with XU3.
2. All the documentation on the HardKernel wiki site refers to the
default BL2.
3. We will have "new" BL2, which source code is based on 2012.07
mainline u-boot.
4. Two BL2 binaries - IMHO will hurt (i.e. brick) some device sooner
or latter.
>
> A user that wants to replace the kernel or u-boot is already tech-savy
> and can for sure replace the BL2 as well if it's publicly available.
Sorry, but I'm a bit sceptical about updating such low level code. Bad
things do happen.
> Maybe hardkernel folks can even make the modified BL2 available on
> their website and the link added in the comment explaining the layout?
We would then require HardKernel to:
1. Provide updated BL2.img
2. Update their wiki to reflect the new BL2.
>
> Also, it is an artificial constraint after all and can be easily
> modified. In fact I think we should push hardkernel to change that
> layout by default and use a BL2/SPL that has more sensible size for
> the u-boot binary even if they don't need it for their vendor u-boot
> which seems to be quite small.
I totally agree.
I'd like to propose a following plan:
1. Accept Hyungwon's patches to have XU3 u-boot < 328 KiB (with link to
default BL2) to have XU3 support in place (and treat it as a starting
point)
2. If u-boot's size less than 328 KiB is _really_ a problem to somebody
then ask hardkernel to change BL2 or:
- modify their sources to change the layout (I regard this as a
"quick hack" solution)
- with a lot of pain develop BL2/SPL (by whom?) which base on
newest mainline (then for each test hardkernel must sign the
binary).
>
> > Best regards,
> > Lukasz Majewski
> >
>
> Best regards,
> Javier
Best regards,
Lukasz Majewski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141128/d52a3fa0/attachment.pgp>
next prev parent reply other threads:[~2014-11-28 13:46 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-27 13:21 [U-Boot] [PATCH v9 0/3] Adds support for Exynos5422 odroid xu3 board Hyungwon Hwang
2014-11-27 13:21 ` [U-Boot] [PATCH v9 1/2] Odroid-XU3: Add support for Odroid-XU3 Hyungwon Hwang
2014-11-27 15:16 ` Jaehoon Chung
2014-11-28 1:44 ` Hyungwon Hwang
2014-11-27 16:35 ` Sjoerd Simons
2014-11-28 5:00 ` Hyungwon Hwang
2014-11-28 7:44 ` Sjoerd Simons
2014-11-27 21:45 ` Sjoerd Simons
2014-11-28 2:13 ` Hyungwon Hwang
2014-11-28 8:14 ` Sjoerd Simons
2014-11-28 8:54 ` Jaehoon Chung
2014-12-03 11:34 ` Sjoerd Simons
2014-12-01 17:30 ` Simon Glass
2014-12-02 1:38 ` Hyungwon Hwang
2014-11-27 13:21 ` [U-Boot] [PATCH v9 2/2] Odroid-XU3: Add documentation " Hyungwon Hwang
2014-11-27 14:33 ` Sjoerd Simons
2014-11-28 4:45 ` Hyungwon Hwang
2014-11-28 8:00 ` Sjoerd Simons
2014-11-28 8:39 ` Lukasz Majewski
2014-11-28 10:19 ` Sjoerd Simons
2014-11-28 12:47 ` Lukasz Majewski
2014-11-28 13:31 ` Sjoerd Simons
2014-11-28 11:44 ` Javier Martinez Canillas
2014-11-28 13:46 ` Lukasz Majewski [this message]
2014-11-28 15:06 ` Sjoerd Simons
2014-11-29 17:12 ` Lukasz Majewski
2014-12-01 22:30 ` Simon Glass
2014-12-02 22:29 ` Lukasz Majewski
2014-12-02 23:26 ` Suriyan Ramasami
2014-12-08 17:58 ` Kevin Hilman
2014-12-08 22:31 ` Simon Glass
2014-12-09 1:27 ` Kevin Hilman
2014-12-09 13:15 ` Simon Glass
2014-12-10 0:03 ` Kevin Hilman
2014-12-10 0:11 ` Simon Glass
2014-12-10 19:20 ` Kevin Hilman
2014-12-11 1:13 ` Hyungwon Hwang
2014-12-09 10:05 ` Lukasz Majewski
2014-11-27 15:20 ` Jaehoon Chung
2014-12-01 12:34 ` [U-Boot] [PATCH 0/4] Odroid XU3 support additions Sjoerd Simons
2014-12-01 12:34 ` [U-Boot] [PATCH 1/4] Odroid-XU3: Drop redundant fields Sjoerd Simons
2014-12-01 12:34 ` [U-Boot] [PATCH 2/4] Odroid-XU3: Add entry for DTS EHCI GPIO Sjoerd Simons
2014-12-01 12:34 ` [U-Boot] [PATCH 3/4] ODROID-XU3: Make odroid-xu3 an smdk5420 variant Sjoerd Simons
2014-12-01 12:34 ` [U-Boot] [PATCH 4/4] ODROID-XU3: drop overriding the boot environment Sjoerd Simons
2014-12-02 1:56 ` [U-Boot] [PATCH 0/4] Odroid XU3 support additions Hyungwon Hwang
2015-01-07 8:31 ` Joonyoung Shim
2015-01-07 9:25 ` Sjoerd Simons
2015-01-07 11:49 ` Joonyoung Shim
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=20141128144651.122c4a83@jawa \
--to=l.majewski@majess.pl \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox