All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2, 1/2] common: Add support for Android DT image
Date: Wed, 16 May 2018 08:08:47 -0400	[thread overview]
Message-ID: <20180516120847.GU3424@bill-the-cat.ec.rr.com> (raw)
In-Reply-To: <20180419205137.29182-1-semen.protsenko@linaro.org>

On Thu, Apr 19, 2018 at 11:51:36PM +0300, Sam Protsenko wrote:

> Android documentation recommends new image format for storing DTB/DTBO
> files: [1]. To support that format, two things should be done:
> 
> 1. Add dt_table.h file from Android (BSD-3 relicensed version): [2].
>    This header defines structures and constants that we need to work
>    with that DT image format.
> 
>    Changes:
>     - re-licensed from Apache to BSD-3
>     - removed functions declarations
>     - change the coding style to kernel (make checkpatch happy)
> 
> 2. Add helper functions for Android DTB/DTBO format. In
>    image-android-dt.* files you can find helper functions to work with
>    Android DT image format, such us routines for:
>     - printing the dump of image structure
>     - getting the address and size of desired dtb/dtbo file
> 
> [1] https://source.android.com/devices/architecture/dto/partitions
> [2] https://android.googlesource.com/platform/system/libufdt/+/58a7582180f477032cd6c74f8d9afad0038e74c3/utils/src/dt_table.h
> 
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

Why is it OK to change the license on the code?  AFAICT someone can't
just relicense Apache to BSD-3.  What happened for
include/android_image.h was that Google relicensed the Android code in
question to BSD-2 (which in turn allows us in GPL projects).  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180516/8668a9e4/attachment.sig>

  parent reply	other threads:[~2018-05-16 12:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-19 20:51 [U-Boot] [PATCH v2 1/2] common: Add support for Android DT image Sam Protsenko
2018-04-19 20:51 ` [U-Boot] [PATCH v2 2/2] cmd: Add dtimg command Sam Protsenko
2018-05-08 15:25   ` Alex Deymo
2018-05-08 15:32 ` [U-Boot] [PATCH v2 1/2] common: Add support for Android DT image Alex Deymo
2018-05-16 12:08 ` Tom Rini [this message]
2018-05-18 18:47   ` [U-Boot] [U-Boot, v2, " Sam Protsenko
2018-05-25  1:54     ` Tom Rini
2018-05-28 10:02       ` Alex Deymo
2018-05-28 14:01         ` Tom Rini

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=20180516120847.GU3424@bill-the-cat.ec.rr.com \
    --to=trini@konsulko.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.