xypron changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot 2023.01 / Merge Window is OPEN / Release v2023.04 is scheduled for 2023-04-03 / Channel archives at https://libera.irclog.whitequark.org/u-boot
vagrantc has joined #u-boot
vagrantc has quit [Client Quit]
goliath has quit [Quit: SIGSEGV]
urjaman has quit [Read error: Connection reset by peer]
zkrx has quit [Ping timeout: 260 seconds]
zkrx has joined #u-boot
urjaman has joined #u-boot
Leopold has joined #u-boot
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #u-boot
<sjg1> bryanb: I suppose you can make it a bool instead of a choice, or perhaps use the 'default' option in the choice to select things depending on those other options, if that is allowed?
<sjg1> apalos: OK. How are you planning to handle TPM selection? I suggest using a sysinfo node, perhaps
Leopold has quit [Ping timeout: 252 seconds]
mckoan|away has quit [Ping timeout: 268 seconds]
mckoan|away has joined #u-boot
thopiekar has quit [Ping timeout: 256 seconds]
thopiekar has joined #u-boot
Leopold has joined #u-boot
<bryanb> ah thanks! let me see what I can put together
sakman_ has joined #u-boot
sakman has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 246 seconds]
Leopold has quit [Ping timeout: 248 seconds]
GNUtoo has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
Leopold has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
matthias_bgg has joined #u-boot
ikarso has joined #u-boot
vagrantc has joined #u-boot
<apalos> sjg1: I haven't thought about it yet, but the sysinfo could work
wooosaiiii has joined #u-boot
frieder has joined #u-boot
mckoan|away is now known as mckoan
vagrantc has quit [Quit: leaving]
sszy has joined #u-boot
guillaume_g has joined #u-boot
Leopold has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
prabhakarlad has joined #u-boot
<apalos> sjg1: https://lore.kernel.org/u-boot/20230126081844.591148-1-ilias.apalodimas@linaro.org/ at least this gives us a function we can reliably initialize the tpm
<apalos> (and it wont fail if it runs multiple times)
<apalos> In the future we can try hokking this to events
<apalos> So whoever wants to init the TPM now call call this instead of open coding the sequence
GNUtoo has joined #u-boot
ldevulder has joined #u-boot
matthias_bgg has quit [Ping timeout: 248 seconds]
matthias_bgg has joined #u-boot
hanetzer has quit [Remote host closed the connection]
apritzel has joined #u-boot
<frieder> marex: Is there a specific reason why all regulators in pca9450.c are prevented to be disabled via the HW_STATE_CONTROL mask?
<frieder> marex: The comment in the driver explains this for BUCK 1-3, but not for BUCK 4-6 and LDO 1-5.
mmu_man has quit [Ping timeout: 246 seconds]
___nick___ has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
urjaman has quit [Ping timeout: 268 seconds]
<marex> frieder: seems like copy-paste implementation, so no, you should be able to relax that restriction
<frieder> marex: Ok, thanks for confirming
<marex> frieder: plumbing in the PCA9450 regulator VSELECT thing ?
<marex> frieder: you're welcome
mmu_man has joined #u-boot
<frieder> marex: yeah, I'm looking into it...
<marex> frieder: good luck
___nick___ has quit [Ping timeout: 246 seconds]
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #u-boot
___nick___ has joined #u-boot
___nick___ has quit [Ping timeout: 248 seconds]
___nick___ has joined #u-boot
<marex> Tartarus: Forty-Bot: https://www.mail-archive.com/u-boot@lists.denx.de/msg423564.html is likely also borked with -Os
<marex> specifically the u32_encode_bits and co, which is a non-const mask replacement for FIELD_PREP/FIELD_GET
mahk has quit [Ping timeout: 265 seconds]
mahk has joined #u-boot
hanetzer has joined #u-boot
mahk has quit [Ping timeout: 268 seconds]
mahk has joined #u-boot
___nick___ has quit [Ping timeout: 268 seconds]
Sout_ has quit [Ping timeout: 268 seconds]
___nick___ has joined #u-boot
Sout_ has joined #u-boot
ikarso has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #u-boot
urjaman has joined #u-boot
mahk has quit [Ping timeout: 248 seconds]
goliath has joined #u-boot
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #u-boot
epoll has quit [Ping timeout: 255 seconds]
epoll has joined #u-boot
torez has joined #u-boot
mahk has joined #u-boot
mahk has joined #u-boot
mahk has quit [Changing host]
prabhakarlad has quit [Quit: Client closed]
<Tartarus> -O0 not supported in Linux nor us
<Tartarus> And we do -Os by default?
prabhakarlad has joined #u-boot
naoki has quit [Quit: naoki]
monstr has joined #u-boot
<marex> Tartarus: same problem with -Os
<marex> Tartarus: -O2 is fine
zibolo has quit [Ping timeout: 268 seconds]
mmu_man has quit [Quit: reboot]
mmu_man has joined #u-boot
goliath has quit [Quit: SIGSEGV]
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
<sjg1> apalos: I did find the virtio problem but ran out of time to sort out the patches. Will do that this evening or tomorrow morning. It would be great if we had sandbox support for virtio block devices , as debugging things in qemu is not a lot of fun
<apalos> sjg1 thanks, cc me and I can test it
<apalos> sjg1: have a peek in that TPM patch if you find time, it's pretty straightforward
monstr has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot
frieder has quit [Remote host closed the connection]
guillaume_g has quit [Quit: Konversation terminated!]
vagrantc has joined #u-boot
mckoan is now known as mckoan|away
apritzel has quit [Ping timeout: 260 seconds]
PhoenixMage has quit [Ping timeout: 252 seconds]
PhoenixMage has joined #u-boot
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #u-boot
<sjg1> apalos: Will do, I need to try it out and dig in a bit. It could use a few comments as to why the code is like it is (e.g. why only tpm2)
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #u-boot
<xypron> Tartarus: EFI_RESERVED_MEMORY_TYPE is used for no-map memory. So the patch sounds reasonable.
<Tartarus> Thanks
<apalos> sjg1: I dont have a tpm1.2 to test, it's on the commit log
ikarso has quit [Quit: Connection closed for inactivity]
<apalos> lokking at the kernel code tpm1.2 just runs the selftests and not the startup sequence,
<apalos> we will have setvariable at runtime with u-boot :>
<apalos> well only for boards that have an RPMB, but that's a start
<apalos> sjg1: but in any case, the measurement code only works with a tpm2.0 and that's the only cases we need to initialize a TPM from a subsystem
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<marex> Tartarus: yes, CC me pretty please ?
<sjg1> apalos: OK will look
<marex> Tartarus: btw where is Bin ?
<Tartarus> marex: Dunno
<marex> Tartarus: I have a feeling the dwc3-generic.c is becoming dwc3-bloated-soon-to-burst.c , there was a patchset from Socionext/Hayashi-san allowing better separation
<marex> Tartarus: I would say, wait until that lands and then introduce dwc3-ti.c which contains this glue stuff
<marex> (and I think maybe a MAINTAINERS entry needs a tweak, unless Bin comes back)
<Tartarus> ok
mmu_man has quit [Ping timeout: 260 seconds]
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #u-boot
torez has quit [Quit: torez]
PhoenixMage has quit [Ping timeout: 248 seconds]
PhoenixMage has joined #u-boot
ius has quit [Changing host]
ius has joined #u-boot
PhoenixMage has quit [Ping timeout: 252 seconds]
PhoenixMage has joined #u-boot
mmu_man has joined #u-boot
PhoenixMage has quit [Ping timeout: 252 seconds]
PhoenixMage has joined #u-boot
ikarso has joined #u-boot
___nick___ has quit [Ping timeout: 248 seconds]
goliath has joined #u-boot
hanetzer has quit [Ping timeout: 248 seconds]
hanetzer has joined #u-boot
Rahix has quit [Quit: ZNC - https://znc.in]
Rahix has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
prabhakarlad has quit [Quit: Client closed]
shyeline has quit [Quit: Connection closed for inactivity]
umbramalison has quit [Remote host closed the connection]
umbramalison has joined #u-boot