<marex>
river: just like bourne shell -- test "x${foo}" = "x" && echo empty
<river>
i mean a way for all uses of any variables like set -u but that will be useful for individual cases
<marex>
I dont think u-boot hush shell derivative implements 'set' command at all, although the code is there, so you should be able to add it and send patch
<river>
ok :)
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
<h_ro[m]>
Hello, I am writing adhoc/POC omap4_dss UCLASS_VIDEO driver, but I am failing to understand how devices would get bounded before video_reserve is called (as stated in the theory of operation in drivers/video/video-uclass.c). From my limited testing, I see that video_reserve fail to find video devices and see that... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/fa6166b2f2c49d98e9d6d332dd6a3d243f55e506)
lucaceresoli has quit [Quit: Leaving]
lucaceresoli has joined #u-boot
<marex>
h_ro[m]: I think some part of your message is missing
<marex>
h_ro[m]: why bother with video driver in u-boot, just boot Linux quickly enough and let it bring up the video pipeline
lucaceresoli has quit [Client Quit]
lucaceresoli has joined #u-boot
lucaceresoli has quit [Client Quit]
lucaceresoli has joined #u-boot
<h_ro[m]>
<marex> "h_ro: I think some part of..." <- minimal dummy driver + output on Pandaboard ES: https://pastebin.com/rbzRtmqD
___nick___ has quit [Ping timeout: 272 seconds]
<marex>
"We value your privacy" ...
<marex>
h_ro[m]: why bother with video driver in u-boot, just boot Linux quickly enough and let it bring up the video pipeline
<h_ro[m]>
<marex> "h_ro: why bother with video..." <- This is valid. I was just looking to maintain u-boot support for Kindle Fire (kc1 which got removed last year) which offers somewhat of a legitimate use-case for video driver at bootloader stage.
<marex>
h_ro[m]: ah, because of some DM conversion deadline ?
<h_ro[m]>
yup
<marex>
ahhh
<marex>
h_ro[m]: try marking the device with u-boot,dm-pre-reloc in DT, that _might_ help
<marex>
sjg1: ^
<marex>
Tartarus: I think we really do need better documentation for the DM conversion ?
<h_ro[m]>
marex: Ahh, I have not tried this
<marex>
h_ro[m]: I am not entirely sure it will help, it _might_
<marex>
h_ro[m]: I recall running into similar issue before, but it has been a while