[PATCH 4/5] arm: mvebu: Espressobin: Define console env

Andre Heider a.heider at gmail.com
Thu Aug 27 16:34:08 CEST 2020

On 27/08/2020 12:29, Pali Rohár wrote:
> On Thursday 27 August 2020 06:51:57 Andre Heider wrote:
>> On the other hand, check "git grep 'console='". So why not just add the
>> earlycon to bootargs directly so it works everywhere?
> The only useful thing about CONFIG_DEFAULT_CONSOLE and ${console} env is
> to propagate earlycon argument to kernel. As console kernel argument is
> already set via chosen/stdout in DTS.
> Setting earlycon directly to ${bootargs} env does not work as basically
> all distribution scripts set/overwrite ${bootargs} on their own.
> So we need to store earlycon argument into some other uboot env and then
> teach these distribution scripts to append that new uboot env into their
> bootargs...
> Or is there any other way?

I don't know the answer to that, but as we've seen with $console, it's 
hard to get everyone on the same page.

But maybe it's not worth the hassle, since console works, and earlycon 
may only be interesting to ppl who know how to enable it anyway.


More information about the U-Boot mailing list