Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.01, v2024.04-rc2 are OUT / Merge Window is CLOSED, next branch is CLOSED / Release v2024.04 is scheduled for 02 April 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
rvalue has quit [Ping timeout: 246 seconds]
rvalue has joined #u-boot
<dormito> Hmmm anyone familiar with the i.mxrt1170-evk? I have a sw stack the boots off the sdcard, but I am having trouble getting some hw blocks to work, so I built the defconfig (on master), and installed it (according to doc/board/nxp/imxrt1170-evk.rst), however there is no output. When I took a look at the imx boot structs in the SPL image, they seemed to disagree with my own. I think they are pointing
<dormito> to memory addresses the rom code can't access.
<dormito> to clarify: I have my own sw stack that rom code boots successfully off the sdcard. I built u-boot wanting to see other code.
<dormito> Ohhh. I'm pretty sure tools/imximage.c is NOT endian safe. I built on a big endian system
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #u-boot
F0rTex has quit [Ping timeout: 255 seconds]
F0rTex has joined #u-boot
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #u-boot
<Forty-Bot> dormito: yes, that file is not endian safe
<Forty-Bot> patches welcome
<Forty-Bot> but you also need to fix the parsing of imximages in U-Boot itself
persmule has quit [Remote host closed the connection]
f_ has quit [Read error: Connection reset by peer]
f_ has joined #u-boot
Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.01, v2024.04-rc3 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.04 is scheduled for 02 April 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
mmu_man has quit [Ping timeout: 264 seconds]
Leopold_ has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
edwinistrator24 has joined #u-boot
edwinistrator2 has quit [Ping timeout: 255 seconds]
edwinistrator24 is now known as edwinistrator2
Clamor has joined #u-boot
joeskb7 has quit [Ping timeout: 252 seconds]
macromorgan_ has joined #u-boot
macromorgan has quit [Read error: Connection reset by peer]
Leopold_ has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
<conchuod> Tartarus: those boot failures due to the bloblist array entry that I reported in January are back. I've unfortunately not had a chance to look at it again.
ikarso has joined #u-boot
redbrain has joined #u-boot
naoki has quit [Remote host closed the connection]
goliath has joined #u-boot
persmule has joined #u-boot
monstr has joined #u-boot
naoki has joined #u-boot
qqq has joined #u-boot
linfax has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
<dormito> Hmmm. Still no SPL output with (hopefully) endian safe images... It looks like imx header is trying to load the image so that it's straddling the OCRAM1/OCRAM2 boundary (e.g. self at 0x202bf400, but entry at 0x202c0000)... IIRC I wasn't able to get that to work, and had to move mine all into one OCRAM block
Leopold has joined #u-boot
linfax has quit [Read error: Connection reset by peer]
<dormito> (and I'd be happy to send patches, assuming I can get it working/tested enough)
linfax has joined #u-boot
mckoan|away is now known as mckoan
linfax has quit [Remote host closed the connection]
linfax has joined #u-boot
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #u-boot
frieder has joined #u-boot
<dormito> nice. found the last endian-unsafe bit I was missing, now spl complain binman_init failing. But that's a lot easier to debug lol.
<dormito> for the endian-safe imx_header stuff: My normal approach would be to use gcc's __attribute((scalar_storage_order("little-endian"))) (and "big-endian", since this imx_header ends up using both..). However because mkimage takes a pointer to the size field, this won't work without a refactor.
<dormito> on the other hand, using htobe32/htole32 (and friends) kills the += operator, and IMHO makes the code a bit more fragile. Does u-boot have policy on how those sorts of things are done?
prabhakalad has quit [Quit: Konversation terminated!]
<dormito> minor correction: it's u-boot proper (not spl) that has binman issues
prabhakalad has joined #u-boot
persmule has quit [*.net *.split]
GNUtoo has quit [*.net *.split]
hsv_ has quit [Ping timeout: 240 seconds]
hsv has joined #u-boot
sszy has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
ezulian has joined #u-boot
ezulian has quit [Remote host closed the connection]
Leopold has joined #u-boot
mmu_man has joined #u-boot
ldevulder has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
ezulian has joined #u-boot
mmu_man has joined #u-boot
naoki has quit [Quit: naoki]
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #u-boot
peac has joined #u-boot
Clamor has quit [Ping timeout: 255 seconds]
urja has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
urja has joined #u-boot
<linfax> hello, I have an old defconfig with the env CONFIG_LOADADDR which is it seems the address to which tftp puts the payload kernel? but now this env is not used any more, which is the new name? thanks
<Tartarus> No, "loadaddr" is where things are put if there's nothing passed
<Tartarus> you might try "make u-boot-initial-env" and see what's being set by default in the build
piglit_ has quit [Quit: Leaving]
<linfax> what does it mean 'if there's nothing passed'? Is it the start address of u-boot itself or the payload kernel?
<linfax> seems that is where the payload kernel starts (kernel_addr_r) but it's only the default address, if I omit a specific address?
Stat_headcrabed has joined #u-boot
jclsn has quit [Quit: WeeChat 4.2.1]
jclsn has joined #u-boot
<Tartarus> If you don't tell the command where to put things in memory then loadaddr is used
<Tartarus> tftp doesn't look at the what you're loading to memory
GNUtoo has joined #u-boot
joeskb7 has joined #u-boot
persmule has joined #u-boot
goliath has quit [Quit: SIGSEGV]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
mckoan is now known as mckoan|away
mmu_man has quit [Ping timeout: 264 seconds]
Leopold has quit [Remote host closed the connection]
mmu_man has joined #u-boot
Leopold has joined #u-boot
zkrx has quit [Ping timeout: 264 seconds]
vagrantc has joined #u-boot
zkrx has joined #u-boot
Stat_headcrabed has joined #u-boot
Stat_headcrabed has quit [Client Quit]
macromorgan has joined #u-boot
Stat_headcrabed has joined #u-boot
macromorgan_ has quit [Ping timeout: 264 seconds]
zkrx has quit []
linfax has quit [Ping timeout: 240 seconds]
goliath has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Leopold has quit [Ping timeout: 255 seconds]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Leopold has joined #u-boot
edwinistrator29 has joined #u-boot
edwinistrator2 has quit [Ping timeout: 256 seconds]
edwinistrator29 is now known as edwinistrator2
goliath has quit [Quit: SIGSEGV]
monstr has quit [Remote host closed the connection]
zkrx has joined #u-boot
rvalue has quit [Ping timeout: 256 seconds]
rvalue has joined #u-boot
monstr has joined #u-boot
monstr has quit [Remote host closed the connection]
vigneshr has quit [Quit: Connection closed for inactivity]
frieder has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
Leopold has quit [Remote host closed the connection]
Clamor has quit [Ping timeout: 246 seconds]
Clamor has joined #u-boot
Leopold has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
ezulian has quit [Ping timeout: 268 seconds]
qqq has quit [Ping timeout: 260 seconds]
qqq has joined #u-boot
jfsimon has quit [Remote host closed the connection]
persmule has quit [Remote host closed the connection]
edwinistrator23 has joined #u-boot
edwinistrator2 has quit [Ping timeout: 260 seconds]
edwinistrator23 is now known as edwinistrator2
<xypron> Tartarus: In https://source.denx.de/u-boot/u-boot/-/jobs/789218 some tests are used due to missing bootgen and fiptool. Ubuntu has a package xilinx-bootgen. Should this be installed in our Dockerimage? fiptool I guess is provided by TF-A.
<xypron> ... tests are skipped ...
<Tartarus> Yeah, perhaps. And I'm testing/pushing the series now to have /opt/coreboot/cbfstool always exist, we could add that to PATH and run that
alpernebbi has quit [Ping timeout: 255 seconds]
naoki has joined #u-boot
Peng_Fan has quit [Quit: Connection closed for inactivity]
mmu_man has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot