Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.10 is OUT / Merge Window is OPEN until 25 October 2021 / Release v2022.01 is scheduled for 10 January 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
agust has quit [Quit: Leaving.]
mmu_man has quit [Ping timeout: 260 seconds]
zibolo_ has quit [Ping timeout: 244 seconds]
zibolo has joined #u-boot
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
indy has joined #u-boot
camus has joined #u-boot
Xavier7 has joined #u-boot
indy has quit [Client Quit]
indy has joined #u-boot
indy has quit [Ping timeout: 244 seconds]
indy has joined #u-boot
indy has quit [Ping timeout: 240 seconds]
camus1 has joined #u-boot
indy has joined #u-boot
camus has quit [Ping timeout: 250 seconds]
camus1 is now known as camus
urja has quit [Read error: Connection reset by peer]
urja has joined #u-boot
Xavier7 has quit [Quit: • IRcap • 8.72 •]
urjaman has joined #u-boot
urja has quit [*.net *.split]
zibolo has quit [*.net *.split]
sakman has quit [*.net *.split]
cbmuser has quit [*.net *.split]
mithro has quit [*.net *.split]
mithro has joined #u-boot
sakman has joined #u-boot
cbmuser has joined #u-boot
zibolo has joined #u-boot
GNUtoo has quit [Ping timeout: 276 seconds]
GNUtoo has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
guillaume_g has joined #u-boot
agust has joined #u-boot
camus1 has joined #u-boot
camus has quit [Ping timeout: 240 seconds]
camus1 is now known as camus
mthall has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mthall has joined #u-boot
mckoan|away is now known as mckoan
tre has joined #u-boot
camus has quit [Remote host closed the connection]
camus has joined #u-boot
<rfried> sjg1, Tartarus: I finished reviewing the PXE series, Tom, do you want to merge it yourself ?
sszy has joined #u-boot
milkylainen72 has joined #u-boot
milkylainen72 is now known as milkylainen_
tnovotny has joined #u-boot
tambarus has joined #u-boot
milkylainen_ has quit [Quit: Connection closed]
milkylainen4 has joined #u-boot
milkylainen4 is now known as milkylainen_
milkylainen_ has quit [Client Quit]
milkylainen91 has joined #u-boot
milkylainen91 is now known as milkylainen_
mmu_man has joined #u-boot
mthall has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mthall has joined #u-boot
matthias_bgg has joined #u-boot
v0|d` has quit [Remote host closed the connection]
v0|d has joined #u-boot
ac_slater has quit [Ping timeout: 260 seconds]
torez has joined #u-boot
mort has joined #u-boot
<mort> Hey, so I have a system with a u-boot partition at 0x4000 of some flash. How do I tell fw_printenv about it? I don't quite understand the config file format
<mort> Is it even enough to know where the uboot partition is or do I have to know where the env vars are? If so, is there a way to figure out where the env vars are?
<vfazio> Tartarus, matthias_bgg, thoughts on https://lists.denx.de/pipermail/u-boot/2021-November/466170.html ?
<matthias_bgg> vfazio, give me a few more days before I come to it
<vfazio> matthias_bgg, no problem. I just know it's come up a couple of times on the mailing list. thanks
torez has quit [Ping timeout: 245 seconds]
<milkylainen_> sjg1: Did using uefi services make it out of efi-working?
<sjg1> milkylainen_: Some of it. It is taking a while
<milkylainen_> sjg1: I have a slot again. Still 64-bit app linking issues in efi-working?
<sjg1> milkylainen_: Yes
<milkylainen_> Ok. I'll try to dig again. This time with something I can debug.
<milkylainen_> tnx
<mort> is there maybe some way to get uboot itself to print all or most of the info I need for fw_env.config?
<mort> since it already knows everything it needs to be able to read/write env vars
torez has joined #u-boot
<milkylainen_> mort: What's the issue? You can't find the variables from userspace?
<mort> milkylainen_: yeah, I don't have a fw_env.config so fw_printenv and such don't know where to find them
<milkylainen_> mort: I don't think u-boot writes anything conclusive regarding where the variables might be from the perspective of the running userspace no. That can probably vary, depending on what you're running.
<milkylainen_> I think the idea is that you should write your fw_env.config...
<mort> based on what?
<milkylainen_> Based on what you configured u-boot for?
<mort> so, I didn't configure u-boot, I'm trying to make use of a relatively poorly documented system
<milkylainen_> Maybe I'm missunderstanding the question. You configure u-boot and where it should place env, ergo you should know what to write in fw_env.config. Since you're likely owner of the userspace configuration.
<milkylainen_> Ah.
<milkylainen_> And you don't have access to the code/configuration?
<mort> I do, I just don't have experience with uboot configuration
ac_slater has joined #u-boot
<mort> I suppose I'll read the configuration documentation then and try to find everything out that way. I just hoped there was a simpler way
camus1 has joined #u-boot
camus has quit [Ping timeout: 240 seconds]
camus1 is now known as camus
<milkylainen_> I see. well. Older u-boots have a lot of config hidden in headers. Newer u-boot, you can read most of the configuration through .config
<milkylainen_> mort: ^
<milkylainen_> What version are you talking about here?
<mort> damn, it's 2017.09
<mort> that's fairly old
<mort> interestingly, .config defines CONFIG_ENV_IS_NOWHERE=y
<milkylainen_> I think that's recent enough for .config in the env bits?
<milkylainen_> Sounds like no config for 2017.09.
camus has quit [Ping timeout: 264 seconds]
camus has joined #u-boot
<mort> is there a way from within u-boot that I can verify that the configuration isn't loaded from disk?
<mort> to confirm that I'm actually looking at the final config
<mort> and that it's not being overwritten by some header or something
<mort> there's soooo much code generation going on in uboot that it's extremely hard to follow where the different config options come from
<mwalle_> xypron: AFAIK the debian installer doesn't have any watchdog drivers, so even 5min would be too short
torez has quit [Ping timeout: 240 seconds]
torez has joined #u-boot
kroon_ has joined #u-boot
<kroon_> Hi. I'm trying to understand which block device u-boot saves the environment to. Is there a CONFIG_xxx-setting for that ?
<kroon_> Or is it inferred from u-boots location itself ?
<rfs613> mort: the simplest way to determine if it the env is persistent is to add a variable ("setenv myfoo=bar"), then save it ("env save") and then power cycle. Upon restart, check if your env persists ("env print myfoo")
<rfs613> kroon_: there are many options for storing the environment, start by checking CONFIG_ENV_IS.* in your .config file.
<kroon_> I have CONFIG_ENV_IS_IN_MMC=y
<kroon_> but I have two mmc devices
<kroon_> and one of them has emmc boot partitions
camus1 has joined #u-boot
camus has quit [Ping timeout: 264 seconds]
camus1 is now known as camus
<rfs613> kroon_: okay, so you'll next want to look at CONFIG_SYS_MMC_ENV_DEV to know which device
<kroon_> rfs613, aha
<kroon_> rfs613, so CONFIG_SYS_MMC_ENV_DEV gives me the device, and CONFIG_SYS_MMC_ENV_PART the partition
<kroon_> rfs613, thanks
sszy has quit [Ping timeout: 250 seconds]
camus has quit [Ping timeout: 246 seconds]
camus has joined #u-boot
stefanro has quit [Quit: Leaving.]
kroon_ has quit [Quit: Leaving]
stefanro has joined #u-boot
rhadye has joined #u-boot
tre has quit [Remote host closed the connection]
camus1 has joined #u-boot
camus has quit [Ping timeout: 246 seconds]
camus1 is now known as camus
redbrain has joined #u-boot
guillaume_g has quit [Quit: Konversation terminated!]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
mckoan is now known as mckoan|away
mmu_man has quit [Ping timeout: 250 seconds]
tnovotny has quit [Quit: Leaving]
torez has quit [Ping timeout: 250 seconds]
torez has joined #u-boot
milkylainen has joined #u-boot
<milkylainen> sjg1: Hrrm. Looks like there is some strangeness with the coff section handling in ld.bfd when in x86_64 mode.
<milkylainen> sjg1: Found a workaround in most archs, but not for x86_64?
<milkylainen> sjg1: $ binutils-2.37/bfd$ grep -r fake_sections *
<milkylainen> sjg1: https://pastebin.com/jj34yGqF
<milkylainen> But I can't find such a workaround for the x86_64 handling.
<milkylainen> ia64 contains such an uefi reloc section hack.
tambarus has quit [Quit: Connection closed for inactivity]
camus has quit [Ping timeout: 246 seconds]
camus has joined #u-boot
MWelchUK0 has joined #u-boot
rhadye_ has joined #u-boot
jimpo_ has joined #u-boot
as_g5pw has joined #u-boot
__nick__ has joined #u-boot
qschulz_ has joined #u-boot
___nick___ has quit [*.net *.split]
ac_slater has quit [*.net *.split]
matthias_bgg has quit [*.net *.split]
agust has quit [*.net *.split]
rhadye has quit [*.net *.split]
qschulz has quit [*.net *.split]
g5pw has quit [*.net *.split]
MWelchUK has quit [*.net *.split]
as_g5pw is now known as g5pw
jimpo has quit [*.net *.split]
rhadye_ is now known as rhadye
MWelchUK0 is now known as MWelchUK
__nick__ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
matthias_bgg has joined #u-boot
ac_slater has joined #u-boot
agust has joined #u-boot
sdfgsdfg has quit [Quit: BNC by #bnc4you]
matthias_bgg has quit [Quit: Leaving]
camus1 has joined #u-boot
camus has quit [Ping timeout: 246 seconds]
camus1 is now known as camus
___nick___ has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot
redbrain has quit [Ping timeout: 264 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
alpernebbi has quit [Ping timeout: 268 seconds]
alpernebbi has joined #u-boot
agust has quit [Quit: Leaving.]