Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2025.01, v2025.04-rc3 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2025.04 is scheduled for 07 April 2025 / Channel archives at https://libera.irclog.whitequark.org/u-boot
joeskb7 has joined #u-boot
vagrantc has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
shoragan has quit [Quit: quit]
shoragan has joined #u-boot
ldevulder has joined #u-boot
shoragan has quit [Read error: Connection reset by peer]
shoragan has joined #u-boot
qschulz has quit [Read error: Connection reset by peer]
zibolo has quit [Ping timeout: 244 seconds]
qschulz has joined #u-boot
zibolo has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
Jones42 has quit [Ping timeout: 244 seconds]
Jones42 has joined #u-boot
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #u-boot
ldevulder has quit [Ping timeout: 244 seconds]
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 252 seconds]
rvalue- is now known as rvalue
dsimic has quit [Ping timeout: 268 seconds]
dsimic has joined #u-boot
persmule has quit [Remote host closed the connection]
gsz has joined #u-boot
gsz has quit [Ping timeout: 260 seconds]
vagrantc has quit [Quit: leaving]
clamor has joined #u-boot
ikarso has joined #u-boot
joeskb7 has quit [Remote host closed the connection]
joeskb7 has joined #u-boot
clamor has quit [Ping timeout: 260 seconds]
clamor has joined #u-boot
enok has joined #u-boot
warpme has joined #u-boot
mmu_man has joined #u-boot
f_ has quit [Ping timeout: 246 seconds]
f_ has joined #u-boot
gachikuku has quit [Ping timeout: 260 seconds]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #u-boot
mmu_man has quit [Ping timeout: 244 seconds]
enok has quit [Quit: enok]
enok71 has joined #u-boot
gsz has joined #u-boot
enok71 has quit [Ping timeout: 252 seconds]
ldevulder has joined #u-boot
enok has joined #u-boot
enok has quit [Ping timeout: 252 seconds]
MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #u-boot
Han50lo85 has joined #u-boot
mischief has quit [Ping timeout: 276 seconds]
mischief has joined #u-boot
sakman has quit [Ping timeout: 268 seconds]
MyNetAz has quit [Remote host closed the connection]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmu_man has joined #u-boot
pivi has quit [Quit: leaving]
pivi has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
MyNetAz has joined #u-boot
ldevulder has quit [Ping timeout: 268 seconds]
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #u-boot
prabhakalad has quit [Ping timeout: 244 seconds]
prabhakalad has joined #u-boot
Han50lo85 has quit [Ping timeout: 252 seconds]
gsz has quit [Ping timeout: 246 seconds]
vardhan_ has quit [Ping timeout: 265 seconds]
vardhan has quit [Ping timeout: 265 seconds]
clamor has quit [Ping timeout: 244 seconds]
clamor has joined #u-boot
vardhan_ has joined #u-boot
vardhan has joined #u-boot
goliath has joined #u-boot
vardhan_ has quit [Ping timeout: 245 seconds]
vardhan has quit [Ping timeout: 252 seconds]
<pbrobinson> marex: good catch, a v2 is on it's way out
<marex> pbrobinson: thank you
<marex> pbrobinson: and uh, while I have your attention ... did you see the fedora 42 aarch64 toolchain weirdness discussion here?
<marex> pbrobinson: qschulz reported it, I reproduced it with another device too
<pbrobinson> I did not
<marex> pbrobinson: do you have fedora 42 with aarch64 toolchain at hand ?
<marex> pbrobinson: $ imx8mp_debix_model_a_defconfig ; make -j$(nproc)
<marex> that should blow up
<pbrobinson> I do, are you using the native or cross tools?
<marex> pbrobinson: I did ... sec
<marex> sudo dnf install git make gcc gcc-aarch64-linux-gnu gcc-c++-aarch64-linux-gnu sudo dnf install -y binutils-aarch64-linux-gnu.x86_64 gcc-aarch64-linux-gnu.x86_64 gcc-c++-aarch64-linux-gnu.x86_64 vim git bc bison flex gcc libopenssl-devel libSDL2-devel make ncurses-devel python3-devel python3-pytest swig bison awk flex gnutls-devel openssl openssl-devel openssl-devel-engine python-devel python3 swig
<marex> sudo dnf distro-sync -y
<marex> pbrobinson: can you tell from ^ that ?
<pbrobinson> marex: so gcc-c++-aarch64-linux-gnu and binutils-aarch64-linux-gnu would indicate cross tools, you're building on x86?
<marex> pbrobinson: amd64
<marex> it was technically a kvm with 64bit x86 fedora in it for me
<pbrobinson> should still be fine, can you give me the output of 'rpm -q gcc-c++-aarch64-linux-gnu binutils-aarch64-linux-gnu'
<pbrobinson> it's on my todo list to rebase f42 to the latest gcc-15/binutils that's in the main f42 compiler, just haven't have enough cycles yet
<marex> pbrobinson: I dont have the virtual machine anymore, sorry
<marex> but it was gcc 14.2.0 or 14.2.1
<pbrobinson> no issues, I figured it was about
<pbrobinson> that
<pbrobinson> I've not had issues with the cross toolchain but I also don't currently build inx8
<pbrobinson> but rockchip and others have been fine
<marex> pbrobinson: there was one more which blew up, renesas target, I think r8a779g0_white_hawk
<marex> pbrobinson: can you try and build the imx8m debix to see if it fails for you ?
<pbrobinson> yes, I am just installing it all on my x86 device, I most have native aarch64
<marex> pbrobinson: ahh
<marex> pbrobinson: thank you
gachikuku_ has joined #u-boot
aat596 has quit [Read error: Connection reset by peer]
gachikuku_ is now known as gachikuku
Han50lo85 has joined #u-boot
vardhan_ has joined #u-boot
vardhan has joined #u-boot
vardhan has quit [Remote host closed the connection]
vardhan_ has quit [Read error: Connection reset by peer]
pbsds35 has quit [Quit: The Lounge - https://thelounge.chat]
pbsds35 has joined #u-boot
persmule has joined #u-boot
Perflosopher03 has joined #u-boot
Perflosopher03 has quit [Quit: The Lounge - https://thelounge.chat]
Perflosopher03 has joined #u-boot
sakman has joined #u-boot
<pbrobinson> marex: is this the same error you were seeing? https://paste.centos.org/view/88d1eca3
<marex> pbrobinson: sec
<marex> pbrobinson: yes
<marex> pbrobinson: it smells like somehow libgcc depends on libc in fedora ?
<pbrobinson> marex: I wonder what's different between that and say rpi_arm64_defconfig as it builds fine, it's the one I test a lot
enok has joined #u-boot
clamor has quit [Ping timeout: 252 seconds]
<marex> pbrobinson: bonus hint ... if you disable LTO, this error does not occur
<marex> pbrobinson: so maybe something with LTO ?
<pbrobinson> yes, I was thinking about LTO
clamor has joined #u-boot
<pbrobinson> marex: I'm going to move it to the newer binutils/gcc-15 that's the main non cross toolchain in Fedora and I'll retest, and if we still fail I'll reach out to the toolchain team to see if they can shed some lights
<marex> but -mno-outline-atomics did not help me
<marex> pbrobinson: thank you
<pbrobinson> no probs, I've been meaning to look into what's needed to support building imx8 devices in the Fedora builds but never got there
<pbrobinson> if you've got link to a good overview for all the various bits of the imx8 firmware stack let me know
<marex> pbrobinson: mx8m has a bit of an unfortunate problem ...
<marex> pbrobinson: you have to build TFA BL31 for it first ... basically clone the upstream one, make PLAT=imx8m{q,m,n,p} first
<marex> and then build U-Boot for that target
<marex> that spits out flash.bin , write that into SD card / SPI NOR / eMMC ... and that is it
<marex> MX8MQ needs some HDMI firmware
<marex> all MX8M also need DRAM firmware, that comes from NXP firmware blob
<pbrobinson> ah, that's basically what we do for other platforms, and DRAM blobs we don't include in Fedora, but I do separate builds for those sorts of devices
<pbrobinson> got a link to the repo for that FW blob?
<marex> problem is, the DRAM blobs are baked into the flash.bin
<marex> sec
<marex> there is some EULA with it
<marex> it is a tar.bz2 archive with some shell script at the beginning
<pbrobinson> ah yes, now I start to remember why I'd not done them yet
<marex> I have the same issue with debian upstreaming
<marex> pbrobinson: technically speaking, the user could run the last binman step themselves and assemble the flash.bin from pieces ... that might work ?
<marex> pbrobinson: or can redhat push nxp to fix the eula nonsense ?
<pbrobinson> marex: FYI I'm no longer at RH, maybe they can, but generally RH pushes the HW maker to support the FW, it's not what they do. They kind of expect it to be like a x86 where it comes with fully supported FW
<marex> pbrobinson: oh
clamor has quit [Ping timeout: 252 seconds]
clamor has joined #u-boot
prabhakalad has quit [Quit: Konversation terminated!]
clamor has quit [Read error: Connection reset by peer]
enok has quit [Ping timeout: 276 seconds]
enok has joined #u-boot
crb has joined #u-boot
enok has quit [Ping timeout: 276 seconds]
prabhakalad has joined #u-boot
MyNetAz has quit [Remote host closed the connection]
vagrantc has joined #u-boot
Han50lo85 has quit [Quit: Han50lo85]
MyNetAz has joined #u-boot
crb has quit [Quit: This computer has gone to sleep]
crb has joined #u-boot
crb has quit [Ping timeout: 248 seconds]
goliath has quit [Quit: SIGSEGV]
MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #u-boot