marex changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot 2022.10, 2023.01-rc3 / Merge Window is CLOSED, -next is OPEN / Release v2023.01 is scheduled for 2023-01-09 / Channel archives at https://libera.irclog.whitequark.org/u-boot
redbrain has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
mahk has quit [Ping timeout: 265 seconds]
mahk has joined #u-boot
<tlwoerner> marex: i thought it would be nice to add "gpio-line-names" for the olinuxino-maxi, but then i realized that in order to do so i'd have to create 4 u-boot defconfigs and 4 linux kernel device trees
apritzel_ has quit [Ping timeout: 268 seconds]
<marex> tlwoerner: how so ?
<tlwoerner> unless i can figure out how to programmatically tell the difference between the 4 imx233-olinuxino boards
<tlwoerner> because the u-boot defconfig includes the name of the linux device tree
<marex> oh, because of the variants
<marex> there is the maxi, mini, nano and something ?
<tlwoerner> micro
<marex> good thing they stopped just short of yocto
<tlwoerner> lol!
Leopold has quit [Quit: No Ping reply in 180 seconds.]
<marex> tlwoerner: hmmm, does the same U-Boot work on all of them ?
<marex> maybe you can at least shift the decision to U-Boot shell
<marex> and there you can script it
<tlwoerner> apparently (i only have the maxi...i think)
GNUtoo has quit [Ping timeout: 255 seconds]
<tlwoerner> a script in u-boot would have to "look" for some difference? e.g. check some gpios or something?
<marex> yeah, but at least you dont have to encode four DTs into U-Boot itself
Leopold has joined #u-boot
<tlwoerner> okay. so use the same u-boot on all 4, write a script to figure out the variant, which then chooses the correct DT for linux?
<marex> tlwoerner: that might be easiest , if possible , yes
<tlwoerner> would i have to rely on the manufacturer doing something explicit in hardware, or are there other tricks? e.g. probing peripherals?
<tlwoerner> i guess looking through the schematics or manuals might show peripherals at different locations
GNUtoo has joined #u-boot
<marex> tlwoerner: there are differences
<marex> the reduced versions might not have all the I2C peripherals , although , probing i2c is a bit iffy practice, it might lock up ancient I2C devices
<tlwoerner> digikey doesn't have any in stock
<tlwoerner> mouser has a couple
sam_sepi0l has joined #u-boot
hanetzer has quit [Ping timeout: 268 seconds]
hanetzer has joined #u-boot
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #u-boot
thopiekar has quit [Ping timeout: 246 seconds]
thopiekar has joined #u-boot
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #u-boot
vagrantc has joined #u-boot
mckoan_ has joined #u-boot
mckoan|away has quit [Ping timeout: 256 seconds]
ikarso has joined #u-boot
vagrantc has quit [Quit: leaving]
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
GNUtoo has quit [Ping timeout: 255 seconds]
Leopold has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
GNUtoo has joined #u-boot
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #u-boot
mahk has joined #u-boot
mahk has quit [Changing host]
apritzel_ has joined #u-boot
apteryx has quit [Ping timeout: 252 seconds]
apritzel_ has quit [Ping timeout: 246 seconds]
apteryx has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
apritzel_ has joined #u-boot
apritzel_ has quit [Ping timeout: 265 seconds]
Leopold has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
Net147_ has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
xroumegue has quit [Ping timeout: 260 seconds]
xroumegue has joined #u-boot
mmu_man has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
GNUtoo has quit [Ping timeout: 255 seconds]
ebach has joined #u-boot
Leopold has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
Gravis has quit [Ping timeout: 256 seconds]
Gravis has joined #u-boot
prabhakarlad has quit [Ping timeout: 260 seconds]
GNUtoo has joined #u-boot
prabhakarlad has joined #u-boot
Gravis has quit [Ping timeout: 256 seconds]
Gravis_ has joined #u-boot
<Tartarus> For platforms where there's a run-time way to check what the variant is, if U-Boot doesn't have to care which one it's on to function, 1 U-Boot picking the right dtb for Linux is best. If U-Boot itself has to care (some difference that can't be run-time safely failed) then SPL picking the right dtb to pass to full U-Boot is best, assuming we have space for that.
mmu_man has joined #u-boot
mmu_man has quit [Quit: reboot]
Gravis_ has quit [Ping timeout: 256 seconds]
Gravis has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
mmu_man has joined #u-boot
<marex> tlwoerner: there is also DTB_RESELECT
<marex> Tartarus: ^
<marex> that's u-boot picking the right dtb for u-boot
mmu_man has quit [Ping timeout: 268 seconds]
<Tartarus> Right, if we need it
<Tartarus> Esp given the "fun" of some of the TI evms, if we can just punt to Linux, with the full DTB and not have to worry about things in U-Boot, that's the best
<Tartarus> But if we need it in U-Boot, DTB_RESELECT (or the SPL option to find the right FIT name match?)
mmu_man has joined #u-boot
ebach has quit [Ping timeout: 260 seconds]
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
mthall has quit [Ping timeout: 248 seconds]
mthall has joined #u-boot
naoki has quit [Quit: naoki]
<marex> Tartarus: if we could just apply DTOs in Linux ...
mmu_man has quit [Ping timeout: 246 seconds]
sam_sepi0l has quit [Quit: Textual IRC Client: www.textualapp.com]
apritzel_ has joined #u-boot
mmu_man has joined #u-boot
umbramalison has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
GNUtoo has quit [Ping timeout: 255 seconds]
umbramalison has quit [Client Quit]
srk has quit [Ping timeout: 252 seconds]
umbramalison has joined #u-boot
GNUtoo has joined #u-boot
srk has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
vagrantc has joined #u-boot
naoki has joined #u-boot
rburkholder has quit [Ping timeout: 268 seconds]
WoC has quit [Remote host closed the connection]
WoC has joined #u-boot