On Tue, Mar 10, 2015 at 11:33:51PM +0100, Hans de Goede wrote: > >>>and we have no way to replace U-Boot in NAND > >>>so far (afaik). But replacing them by stdout-path is a very good > >>>solution too. > >> > >>You mean putting stdout-path in the dts, I'm not sure if I like that, > >>to me both bootargs and stdout-path are something which should be > >>left to the bootloader to set. But I understand that when not > >>using upstream u-boot that may be an issue. > > > >I know that some other platforms ask for stdout-path when they review > >it, because iirc, barebox uses it to know on which console to output > >its log and export its shell, which is also a valid interpretation of > >that property, and, contrary to bootargs, doesn't really imply that > >the bootloader should update it. > > Hmm, that is interesting we should probably start doing the same in > all the sunxi dts files, as eventually I would like to move all u-boot > board config to devicetree, so that we only need to maintain dts files > and not both dts files and u-boot board configs. I had the plan to remove all earlyprintk in the bootargs of the DTS, I can do it to convert all DTS to use stdout-path as well. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Attachment:
signature.asc
Description: Digital signature