
On Wed, Mar 15, 2023 at 04:11:27PM -0700, Tony Dinh wrote:
Hi Pali,
On Wed, Mar 15, 2023 at 2:58 PM Pali Rohár pali@kernel.org wrote:
On Wednesday 15 March 2023 14:56:52 Tony Dinh wrote:
The mainline Pogo V4 DTS uses a stdout-path format that is not recognizable by u-boot. Change it to a commonly used format.
Cannot we teach u-boot to understand also currently used format?
I assume it is good to document the fact that perhaps using dm-pre-reloc tag (and later boot-phase tag) will overcome many odd properties format in Linux DTS. We said dm-pre-reloc is a workaround, but IMHO the tags are really good for u-boot, since u-boot is a multi-phase boot loader. If a device like UART is needed in a certain phase, we should say so.
Also at the moment, modifying the serial-uclass.c is something more than I can chew. If I must do it myself, it will be a while. If anybody wants to give it a try, please do so.
Note that the boot phase tags are now upstream, so those dts changes can also go upstream now.