Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2022.01, v2022.04-rc4 are OUT / Merge Window is CLOSED, next is OPEN / Release v2022.04 is scheduled for 4 April 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
vagrantc has quit [Quit: leaving]
jclsn1 has quit [Ping timeout: 272 seconds]
apritzel has quit [Ping timeout: 252 seconds]
jclsn1 has joined #u-boot
jclsn1 has quit [Ping timeout: 260 seconds]
jclsn1 has joined #u-boot
jclsn1 has quit [Ping timeout: 260 seconds]
tlwoerner has quit [Quit: Leaving]
jclsn1 has joined #u-boot
jclsn1 has quit [Ping timeout: 256 seconds]
jclsn1 has joined #u-boot
jclsn1 has quit [Ping timeout: 260 seconds]
tlwoerner has joined #u-boot
jclsn1 has joined #u-boot
jclsn1 has quit [Ping timeout: 272 seconds]
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
jclsn1 has joined #u-boot
jclsn1 has quit [Ping timeout: 256 seconds]
mmu_man has quit [Ping timeout: 256 seconds]
jclsn1 has joined #u-boot
mripard has quit [Ping timeout: 256 seconds]
mripard has joined #u-boot
jclsn10 has joined #u-boot
jclsn1 has quit [Ping timeout: 260 seconds]
jclsn10 has quit [Ping timeout: 240 seconds]
jclsn10 has joined #u-boot
jclsn10 has quit [Quit: Ping timeout (120 seconds)]
jclsn10 has joined #u-boot
jclsn10 has quit [Ping timeout: 272 seconds]
jclsn10 has joined #u-boot
sobkas has quit [Quit: sobkas]
thopiekar has quit [Ping timeout: 256 seconds]
thopiekar has joined #u-boot
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
___nick___ has joined #u-boot
baltazar has joined #u-boot
apritzel has joined #u-boot
apritzel has quit [Ping timeout: 272 seconds]
mmu_man has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
guillaume_g has quit [Ping timeout: 268 seconds]
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #u-boot
sobkas has joined #u-boot
sobkas has quit [Remote host closed the connection]
sobkas has joined #u-boot
sobkas has quit [Remote host closed the connection]
sobkas has joined #u-boot
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
<baltazar> hi! can u-boot elaborate on `failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND`? what exactly is that supposed to mean?
Peng_Fan has quit [Quit: Connection closed for inactivity]
<baltazar> oh wait I think I figured it out
apritzel has joined #u-boot
<j`ey> CONFIG_BOOTCOMMAND is what gets run automatically, right?
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
<Tartarus> yes
<j`ey> ta, I've been copy/pasting a command line over serial, and it's getting annoying!
alpernebbi has quit [Ping timeout: 250 seconds]
alpernebbi has joined #u-boot
grgy has quit [Quit: ZNC 1.8.2 - https://znc.in]
<marex> baltazar: it means FDT is not found, i.e. you passed invalid input to the function
prabhakarlad has quit [Quit: Client closed]
<kabel> j`ey: why not just 'setenv bootcmd xyz; saveenv'
<j`ey> kabel: there's no way to save environment on this platform currently
<kabel> ok
<marex> j`ey: echo "do random stuff" > /dev/ttyUSBx ... is what I do
<j`ey> that could work too, but for now I'll keep the BOOTCOMMAND, only takes a few seconds to rebuild uboot if I need to change them
<river> i have some code in bootcommand that loads uenv.txt and runs stuff frmo that
<j`ey> that's also a good idea, but not for my case. it's easier for me to load a new u-boot than to edit files on the drive in my case
<river> :)
<marex> river: look at distro bootcommand, that's the standardized version of it
<river> oh the boot.scr thing?
<river> or is that just having code in a header file
<marex> see include/config_distro_bootcmd.h
<marex> it's common set of scripts
<river> thanks!
<marex> the idea is to prevent everyone from hand-rolling their own scripts with various incompatible bugs and quirks
<marex> instead, this is something which even distros (like debian) support
<river> haha I see everyone hand rolling uEnv
<river> so i just copied
<marex> see also doc/develop/distro.rst
<river> this is much cleaner cheers
<j`ey> river: are you using upstream uboot?
<river> not sure, there's some custom code
<marex> j`ey: there is any other option ?
<j`ey> marex: some crappy vendor fork from 2002? :P
<marex> how about no ...
<j`ey> it's not option you want, but it does seem to be what some people end up with
<river> is there a way to error if an env var is not defined? it currently just silently replaces it with empty string and continues
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
<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
<h_ro[m]> video_reserve allocating correctly now. Thanks!
vagrantc has joined #u-boot
vagrantc_ has joined #u-boot
vagrantc has quit [Ping timeout: 260 seconds]
vagrantc_ is now known as vagrantc