Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.01, v2023.04-rc2 / Merge Window is CLOSED, next branch is OPEN / Release v2023.04 is scheduled for 2023-04-03 / Channel archives at https://libera.irclog.whitequark.org/u-boot
Algotech has quit [Ping timeout: 255 seconds]
kettenis has quit [Ping timeout: 268 seconds]
mmu_man has quit [Ping timeout: 255 seconds]
vagrantc has quit [Quit: leaving]
Algotech has joined #u-boot
goliath has quit [Quit: SIGSEGV]
kettenis has joined #u-boot
<Tartarus> Sigh, LTO causes qemu_arm efi_selftest failure
<Tartarus> test/py/tests/test_efi_selftest.py:19: in test_efi_selftest
<Tartarus> disabling, moving on
<xypron> Tartarus: I guess you refer to test_hii_database_new_package_list crashing. Please, keep the branch. This could also be a bug in the HII protocol implementation.
<xypron> I will have a look at it.
qschulz has quit [Read error: Connection reset by peer]
qschulz has joined #u-boot
macromorgan has quit [Quit: Leaving]
camus1 has joined #u-boot
camus has quit [Ping timeout: 248 seconds]
camus1 is now known as camus
<xypron> Tartarus Compiling with lto results in warnings for examples:
<xypron> +arm-linux-gnueabi-ld.bfd: examples/standalone/hello_world.o: plugin needed to handle lto object
<xypron> +arm-linux-gnueabi-ld.bfd: examples/standalone/libstubs.o: plugin needed to handle lto object
<Tartarus> We may need some logic to exempt examples/ from LTO
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
macromorgan has joined #u-boot
thopiekar has quit [Ping timeout: 248 seconds]
thopiekar has joined #u-boot
hanetzer has quit [Ping timeout: 265 seconds]
hanetzer has joined #u-boot
ikarso has joined #u-boot
naoki has joined #u-boot
naoki has quit [Quit: naoki]
camus1 has joined #u-boot
camus has quit [Read error: Connection reset by peer]
camus1 is now known as camus
apalos has quit [Read error: Connection reset by peer]
apalos has joined #u-boot
mmu_man has joined #u-boot
goliath has joined #u-boot
naoki has joined #u-boot
vfazio_ has joined #u-boot
indy- is now known as indy
vfazio has quit [Ping timeout: 260 seconds]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
mckoan|away is now known as mckoan
guillaume_g has joined #u-boot
frieder has joined #u-boot
hanetzer has quit [Read error: Connection reset by peer]
hanetzer has joined #u-boot
ldevulder has joined #u-boot
sszy has joined #u-boot
ccf has joined #u-boot
LordKalma has quit [Quit: Server has probably crashed]
LordKalma has joined #u-boot
d-s-e has joined #u-boot
mmu_man has joined #u-boot
umbramalison_alt has joined #u-boot
umbramalison has quit [Ping timeout: 255 seconds]
mmu_man has quit [Ping timeout: 248 seconds]
mmu_man has joined #u-boot
rvalue has quit [Ping timeout: 248 seconds]
guillaume_g has quit [Quit: Konversation terminated!]
camus has quit [Remote host closed the connection]
camus has joined #u-boot
rvalue has joined #u-boot
d-s-e has quit [Ping timeout: 265 seconds]
mmu_man has quit [Ping timeout: 246 seconds]
hanetzer has quit [Ping timeout: 256 seconds]
hanetzer has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
thopiekar has quit [Ping timeout: 255 seconds]
thopiekar has joined #u-boot
prabhakarlad has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #u-boot
goliath has quit [Quit: SIGSEGV]
d-s-e has joined #u-boot
<Tartarus> marex: LTO for all of ARM causes failure to build problems (that should be fixable) with gardena-smart-gateway-at91sam omapl138_lcdk pogo_e02 pogo_v4 iconnect openrd_base openrd_client openrd_ultimate sheevaplug dockstar goflexhome nsa310s ti816x_evm imx6q_bosch_acc chromebook_jerry chromebook_speedy gxp corstone1000 imx8mp_rsb3720a1_4G imx8mp_rsb3720a1_6G imx8mm-cl-iot-gate imx8mm-cl-iot-gate-optee librem5 mt7981_emmc_rfb mt7981_rfb
<Tartarus> mt7981_sd_rfb mt7986_rfb mt7986a_bpir3_emmc mt7986a_bpir3_sd
<Tartarus> https://source.denx.de/u-boot/u-boot/-/jobs/590013 isn't too bad to read for the 64bit ones
goliath has joined #u-boot
mckoan is now known as mckoan|away
<Tartarus> One 32bit problem wasn't bad
<Tartarus> marex: Remember way back when I asked about if you could backport that __gnu_thumb1_case_si like you did some other asm funcs from an older gcc? That's the next blocking bit for default LTO on arm
<Tartarus> Or at least for more widely
<Tartarus> doing a no-thumb dep for now
ikarso has quit [Quit: Connection closed for inactivity]
jaganteki has joined #u-boot
<Tartarus> Rest of aarch64 seems easy, lets see
stefanro has quit [Quit: Leaving.]
mmu_man has joined #u-boot
frieder has quit [Ping timeout: 256 seconds]
<apalos> so, xypron, Tartarus that linker messup is "known"
<apalos> mess*
<apalos> And apparently there are hacks to work around it. But gdb/objdump etc all agree
<apalos> LTO just completely strips that function....
<apalos> I'll have a look into known fixes and send something
<Tartarus> apalos: Well, we could just rework the logic as I suggested :)
<Tartarus> It's really an arm32 thing
goliath has quit [Quit: SIGSEGV]
<apalos> Tartarus: ah i just saw the mail, yea that would work
mmu_man has quit [Ping timeout: 248 seconds]
Blok has joined #u-boot
frieder has joined #u-boot
cottsay08 has joined #u-boot
cottsay has quit [Quit: TTFN]
cottsay08 is now known as cottsay
<Blok> I have a sama5d35-ek like board that I fail to start U-boot on. Should be trivial, but I fail. I have loaded the at91bootstrap to 0x0 and u-boot to 0x8000 of SPI flash. At the end of the at91bootstrap boot I get "FLASH: copy 0xa0000 bytes from 0x10008000 to 0x26f00000, FLASH: Done to load image" then nothing. I use sama5d3xekdf_uboot as defconfig
<Blok> for both. Any ideas?
naoki has quit [Quit: naoki]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
mmu_man has joined #u-boot
Blok has quit [Quit: Client closed]
goliath has joined #u-boot
d-s-e has quit [Quit: Konversation terminated!]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
redbrain has quit [Read error: Connection reset by peer]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
redbrain has joined #u-boot
ebach has joined #u-boot
vagrantc has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
<Tartarus> marex: Do you have time / inclination to look in to some of the oddities of size growth with LTO?
ebach has quit [Ping timeout: 252 seconds]
<marex> Tartarus: not this and next week, after that, possibly
<Tartarus> OK
<Tartarus> I'll make some further comments in the commit and mark the last part as RFC for now
<Tartarus> There's a few clear issues that I'm resolving for CI to pass
<Tartarus> And then there's stuff like 0fcc1c76d1acaa68a0675f0baa0e5d9a25908bae doesn't work right with LTO, which may mean there's more issues with weak functions than I thought
<Tartarus> apalos? :)
<Tartarus> 915047048f0acd3dbfe8605b854f151815f9be96 is the other half that's not-right
<Tartarus> What we get is sha256_process_one is not discarded, so 8kb of useless function included
ebach has joined #u-boot
pgreco_ is now known as pgreco
<rfs613> any tips to debugging why patman seemed to ignore the [bounces] in my ~/.patman file?
<apalos> Tartarus: ok i'll have a look, i guess that 'urgent' before 2023.04 ?
<Tartarus> Nope, this is all vs next
goliath has quit [Quit: SIGSEGV]
<Tartarus> and may or may not be a good idea for 2023.07
<apalos> ok, i'll have a relaxed look then :>
<apalos> do we need LTO for anything other than size reduction?
ikarso has joined #u-boot
<Tartarus> It's fairly significant size reduction, I don't know if anyone has done any performance testing
<Tartarus> some platforms are 30kb smaller
mmu_man has joined #u-boot
<Tartarus> 5-6kb on the low end, 10-15 feels average
thopiekar has quit [Ping timeout: 268 seconds]
thopiekar has joined #u-boot
goliath has joined #u-boot
ccf has quit [Quit: Leaving.]
frieder has quit [Quit: Leaving]
sakman has quit [Remote host closed the connection]
sakman has joined #u-boot
ebach has quit [Ping timeout: 248 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
naoki has joined #u-boot
ldevulder has quit [Quit: Leaving]
offtherock has quit [Remote host closed the connection]