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?