[U-Boot] Licensing Question on ARM Semihosting Code

Tom Rini trini at ti.com
Thu Mar 6 21:47:16 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/06/2014 03:43 PM, Darwin Rambo wrote:
> On 14-02-28 10:49 AM, Tom Rini wrote:
> On 02/28/2014 01:18 PM, Darwin Rambo wrote:
>>>> Given the ARM header below, is this code possible to put into
>>>> u-boot?
>>>>
>>>> For reference, I see this discussion below. 
>>>> http://lists.denx.de/pipermail/u-boot/2011-November/110884.html
>>>>
>>>> If this is not acceptable, presumably due to the "All rights
>>>> reserved" and "Redistribution in binary form..." clauses below, we
>>>> could try to find an alternative implementation that is GPL2.0+
>>>> licensed or rewrite the parts we need from scratch.
>>>>
>>>> Any suggestions you have would be most welcome. Thanks.
> 
> So, that particular discussion was about fastboot, and in that
> particular case everything is OK, in the long run (I poked TI's
> lawyers about that).  We're just missing a clean design version being
> ported and I know of a few groups / companies leaning on another
> entity to do so.
> 
> But with your particular quoted header, I think we cannot use it as it
> puts restrictions on the binary redistribution as well.
> 
>> Thanks Tom. If we were to create a small bit of arm-specific semihosting
>> code without the licensing restrictions, and it were acceptable to the
>> maintainers to upstream, would it best live in
>> u-boot/arch/arm/lib/semihosting.c or in u-boot/lib/semihosting.c? I was
>> thinking that arch/arm/lib might be the better place for it, especially
>> since it can support both armv7 and armv8 platforms. The semihosting.h
>> file might live in arch/arm/include/asm?
> 
>> BTW the proposal for this is to be able to use the ARM Trusted Firmware
>> (ATF) to load the various ATF images, plus u-boot, which can then load
>> the kernel/ramdisk/dtb from a standard arm board file using semihosting,
>> and then launch the kernel without a bootwrapper. This gives us a more
>> realistic boot sequence. Thanks!

I would say arch/arm/lib/semihosting.c and
arch/arm/include/asm/semihosting.h, Albert?

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTGN7UAAoJENk4IS6UOR1WsIsP/ibmrhWCwa4lXHTzS4dX4wiO
BKud7138MdIoEhXc36ftikRcggNBap6etTKLjU8hyoL40t9pJboBqu1saSLlFvUU
KIDZAZ8DvmZuGpUdYsK+m8c8vaACZhW+99+ZuMbnp4kdVSI3zsRC7RNuMTCHSol4
WmI96puXEFt98mvS5LzaW1Idl+/GGO0rdL2aNA6l/IUXjgSgt8H85Wk+xsvEQxrJ
LcCmxs38h0nLhABx1NWXgyK5blej9T2tS5VElaRF2UvEmKnoNUTQBPkBZtYS2s7R
a9Az2dh4fEiztPxx21EeWzojIlBoe7d35WrcWpcQ+hLrHFVG6Ez6IHdYriT7tQVi
5/SJUE22hXalQf+RLqGdsDHYhuOifojcX6CVq0Z8Xgx5sXQI9dAugY5fmik51biZ
QfMPT2B1OZFtXAItDRJO0clygSW87kadvoWrtpTp0aMPCIrM49aoOp4MvVclWlZj
9gFFVfXk0IJf66jTH/HDMvHmMPQmQ/6kpI8QaVri2KjQawtit3rwJlJX41qlYQw8
duDBz8YzfXQ6bYHASDNQ2ExhOpx+wdIni931AEnwIbJBciYW/VFuuaOG4Jb8boCo
S9rrU+O+EtamFOK4RFGfbzMTiHudAJkGXabv9HB7zBmmeRuovOw5H0PlSFzZSSlr
Ew6dyP2wsQKk4VtnQPIc
=Nu8F
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list