[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALszF6BFXfjWhRgyejJHXMw+EJZUzT_7FtbKhnjS+DJS=vv11Q@mail.gmail.com>
Date: Fri, 22 May 2015 16:04:24 +0200
From: Maxime Coquelin <mcoquelin.stm32@...il.com>
To: Andreas Färber <afaerber@...e.de>
Cc: Kamil Lulko <rev13@...pl>, Rob Herring <robh+dt@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Mark Rutland <mark.rutland@....com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Will Deacon <will.deacon@....com>,
Stefan Agner <stefan@...er.ch>,
Nikolay Borisov <Nikolay.Borisov@....com>,
Peter Meerwald <pmeerw@...erw.net>,
Lee Jones <lee.jones@...aro.org>,
Linux-Arch <linux-arch@...r.kernel.org>,
Daniel Thompson <daniel.thompson@...aro.org>,
Russell King <linux@....linux.org.uk>,
Pawel Moll <pawel.moll@....com>,
Jonathan Corbet <corbet@....net>, Jiri Slaby <jslaby@...e.cz>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Chanwoo Choi <cw00.choi@...sung.com>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Antti Palosaari <crope@....fi>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Kees Cook <keescook@...omium.org>,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
Rusty Russell <rusty@...tcorp.com.au>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
Kumar Gala <galak@...eaurora.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Nicolae Rosia <nicolae.rosia@...il.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Michal Marek <mmarek@...e.cz>, Paul Bolle <pebolle@...cali.nl>,
Peter Hurley <peter@...leysoftware.com>,
"linux-api@...r.kernel.org" <linux-api@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Joe Perches <joe@...ches.com>, Tejun Heo <tj@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"David S. Miller" <davem@...emloft.net>,
Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
Subject: Re: [PATCH v8 07/16] drivers: reset: Add STM32 reset driver
2015-05-22 0:01 GMT+02:00 Andreas Färber <afaerber@...e.de>:
> Am 21.05.2015 um 21:57 schrieb Maxime Coquelin:
>> Note that for now, I still use your bootloader.
>> I have done the changes to reset the timers in the afboot-stm32.
>> That's the reason why I asked you under which licence it is delivered
>> few months ago.
>
> Sorry, too many mails... The stm32 one is GPL-2.0, as parts of it were
> derived from a U-Boot fork. (Personally I prefer GPL-2.0+; fm4 and
> xmc4000 are MIT/X11.)
Not a problem, thanks for providing the licence.
>> I can share you the patch if you want, even if I understand it is more
>> about the concept that you are reluctant.
>>
>> On my side, I plan to move to U-Boot soon, as Kamil Lulko added STM32
>> support in mainline [1].
>
> You're free to use any bootloader you like, but you will find it
> difficult to build in USB etc. drivers given the sheer size of U-Boot.
> That was my motivation for writing the tiny one. ;)
I think the two bootloaders make sense. Indeed, using U-Boot restricts
the size of the Kernel.
I also have the stm32429i-eval board, with 32MB NOR and 32MB SD-Ram.
At least on this one I will use U-Boot, as tftp could be used to load
Kernel since it has Ethernet port.
>> In case of U-Boot, the timer reset should be de-asserted when jumping
>> into the Kernel, as Rob mentionned [0].
>
> Thanks, I've updated the xmc4000 one accordingly and can do the same for
> stm32. But you are right that I consider that an ugly workaround,
> although on the other hand my earlyprintk patches also depend on the
> bootloader setting up GPIOs and UART.
Yes, the Kernel always need to rely on the bootloader to provide a
minimal setup (clock/ddr/muxing...).
Regards,
Maxime
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists