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
mmu_man has quit [Ping timeout: 260 seconds]
Guest4494 has joined #u-boot
mmu_man has joined #u-boot
vagrantc has quit [Quit: leaving]
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot
naoki has quit [Quit: naoki]
Leopold_ has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
mncheck has quit [Ping timeout: 256 seconds]
jahro_me has quit [Ping timeout: 255 seconds]
alpernebbi has quit [Ping timeout: 252 seconds]
prabhakarlad has quit [Ping timeout: 260 seconds]
alpernebbi has joined #u-boot
jahro_me has joined #u-boot
camus has joined #u-boot
persmule_ has quit [Ping timeout: 255 seconds]
persmule_ has joined #u-boot
naoki has joined #u-boot
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
crb_ has joined #u-boot
crb_ has quit [Remote host closed the connection]
umbramalison has quit [Client Quit]
crb has quit [Ping timeout: 252 seconds]
umbramalison has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
Guest4494 has quit [Quit: Client closed]
crb has joined #u-boot
srk has quit [Ping timeout: 268 seconds]
crb has quit [Quit: This computer has gone to sleep]
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
crb has joined #u-boot
wust_chen has joined #u-boot
crb has quit [Ping timeout: 252 seconds]
crb has joined #u-boot
ebach has joined #u-boot
jahro_me has left #u-boot [#u-boot]
mncheck has joined #u-boot
prabhakarlad has joined #u-boot
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
sszy has joined #u-boot
sbach has quit [Read error: Connection reset by peer]
wust_chen has quit [Quit: Leaving]
sbach has joined #u-boot
mckoan|away has joined #u-boot
mckoan_ has quit [Ping timeout: 264 seconds]
persmule_ has quit [Remote host closed the connection]
persmule_ has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
guillaume_g has joined #u-boot
behanw has quit [Quit: Connection closed for inactivity]
monstr has joined #u-boot
mmu_man has joined #u-boot
<apalos> DEFAULT_ENV_FILE and CONFIG_EXTRA_ENV_SETTINGS are still the 2 ways we have of passing a different default env right?
<apalos> Or is there a newer and better way ?
<apalos> CONFIG_EXTRA_ENV_TEXT?
stefanro has quit [Remote host closed the connection]
stefanro has joined #u-boot
persmule_ has quit [Remote host closed the connection]
persmule_ has joined #u-boot
naoki has quit [Quit: naoki]
ebach has quit [Ping timeout: 268 seconds]
persmule_ has quit [Ping timeout: 255 seconds]
GNUtoo has quit [Ping timeout: 255 seconds]
Leopold has quit [Remote host closed the connection]
persmule_ has joined #u-boot
Leopold has joined #u-boot
Leopold has quit [Read error: Connection reset by peer]
Leopold has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
persmule_ has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
persmule_ has joined #u-boot
GNUtoo has joined #u-boot
persmule_ has quit [Remote host closed the connection]
GNUtoo has quit [Remote host closed the connection]
persmule_ has joined #u-boot
GNUtoo has joined #u-boot
GNUtoo has quit [Write error: Connection reset by peer]
persmule_ has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
ebach has joined #u-boot
torez has joined #u-boot
monstr has quit [Remote host closed the connection]
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
GNUtoo has joined #u-boot
<Tartarus> Uh, so
<Tartarus> DEFAULT_ENV_FILE is kinda, in my mind, a special extreme case of wanting to modify the default env
<Tartarus> The preferred way today, is to use CONFIG_EXTRA_ENV_TEXT and then only having CONFIG_EXTRA_ENV_SETTINGS for distroboot
<Tartarus> (since that whole func(...) thing just doesn't work with the text env)
<Tartarus> dragonboard410c is an example there
camus has quit [Ping timeout: 252 seconds]
<apalos> Tartarus: ok thanks
mckoan|away has quit [Read error: Connection reset by peer]
mckoan|away has joined #u-boot
flyback has quit [Ping timeout: 252 seconds]
<apalos> Tartarus: xypron. I'll look at the Makefile changes tomorrow.
<Tartarus> Thanks
<Tartarus> One of those "would be nice" is to audit the assembly funcs so we could do -z noexecstack ala Linux
<Tartarus> But my quick skim says that no, trying to fiddle with linker scripts to avoid that warning is unreasonable
<Tartarus> (certainly for u-boot, but if you can rework the EFI ones, OK)
<Tartarus> Currrent CI images use gcc-12.2 which shows the issue
<Tartarus> (well, binutils-whatever is new enough for it)
mmu_man has quit [Ping timeout: 260 seconds]
rvalue has quit [Ping timeout: 268 seconds]
flyback has joined #u-boot
mmu_man has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
<Tartarus> xypron: dependabot is trying to give us some certifi update which is from sphinx stuff, I assume you'll be sending something about that soon or noting it's not relevant to our uses?
rvalue has joined #u-boot
stefanro has quit [Quit: Leaving.]
rvalue has quit [Ping timeout: 264 seconds]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
apteryx has joined #u-boot
<apteryx> hello! how do I tell u-boot to boot using the /boot/extlinux/extlinux.conf file?
vagrantc has joined #u-boot
<Tartarus> sysboot
<apteryx> ah! thank you. it's not enabled for the u-boot fork I'm using. Seems I need: CONFIG_DISTRO_DEFAULTS=y ?
<Tartarus> That's the best option, yes, it'll make booting any regular distro a lot easier
<Tartarus> CMD_SYSBOOT is its own option too
guillaume_g has quit [Quit: Konversation terminated!]
<apteryx> OK. Any tip to use 'make menuconfig' while not on the actual target? Do I need to define some variable to make this possible?
<Tartarus> Well, it's a bit unclear, since you're on some fork
<Tartarus> However other boards in that fork are enabling DISTRO_DEFAULTS, do that
mmu_man has quit [Ping timeout: 260 seconds]
<apteryx> hmm, DISTRO_DEFAULTS as a Kconfig option didn't exist back then (2015). What I have is an include file named config_distro_defaults.h
<Tartarus> You should probably look at pi or something as a reference
<apteryx> 1998a1a6c32d5e3ed729e0e08867d6f8fa97df50 seems useful indeed (ARM: rpi_b: rework boot scripts, enable sysboot) made some 9 years ago
Gravis has quit [Ping timeout: 256 seconds]
<apteryx> but sysboot support is already enabled for that commit it seems
* apteryx dig in older commits
Gravis has joined #u-boot
<apteryx> ah, so just an #include <config_distro_bootcmd.h> in the board include/configs/$board.h
PhoenixMage has quit [Ping timeout: 256 seconds]
rvalue has joined #u-boot
PhoenixMage has joined #u-boot
Gravis has quit [Ping timeout: 246 seconds]
umbramalison has quit [Ping timeout: 255 seconds]
<apteryx> OK, I now have sysboot
<apteryx> to test, I was currently loading my dtb and kernel in memory and then bootz from it
<apteryx> via nfs
<apteryx> is it possible to test 'sysboot' with nfs?
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
PhoenixMage has quit [Ping timeout: 246 seconds]
PhoenixMage has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
PhoenixMage has quit [Ping timeout: 268 seconds]
PhoenixMage has joined #u-boot
<apteryx> I think I need to use 'tftpboot' for that
Gravis has joined #u-boot
Gravis has quit [Ping timeout: 246 seconds]
Gravis has joined #u-boot
<apteryx> I've now included also config_distro_bootcmd.h in my board config.h, but I don't see the variables I thought it would now define, such as "boot_extlinux"
<apteryx> ah... seems I need to register the BOOTENV macro in the board CONFIG_EXTRA_ENV_SETTINGS
torez has quit [Quit: torez]
<apteryx> OK, got it. I used embestmx6boards.h as an example
apritzel_ has joined #u-boot
naoki has joined #u-boot
mmu_man has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
<apteryx> hmm, that is strange: https://paste.debian.net/1263361/
<apteryx> ok it's because ${scriptaddr} is not defined, and booting from the mmc expands to 'sysboot mmc 0:1 any /boot/extlinux/extlinux.conf'
<apteryx> in my extlinux.conf, there's a FDTDIR defined, like: FDTDIR /gnu/store/8x3kdgkvha0a1hhhqk90kp9mpl1wdwx3-linux-libre-arm-generic-6.0.10/lib/dtbs. But when it tries to boot the entry, it fails with: ** File not found /gnu/store/8x3kdgkvha0a1hhhqk90kp9mpl1wdwx3-linux-libre-arm-generic-6.0.10/lib/dtbs/<NULL>-<NULL>.dtb **
<apteryx> I'm wondering what these <NULL> are supposed to eb
<apteryx> *be
<Tartarus> sounds like fdtfile or the logic to figure that out are unset
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
ebach has quit [Ping timeout: 256 seconds]