xypron changed the topic of #u-boot to: #u-boot SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot 2023.01 / Merge Window is OPEN, -next is CLOSED / Release v2023.01 is scheduled for 2023-01-09 / Channel archives at https://libera.irclog.whitequark.org/u-boot
vfazio__ has quit [Remote host closed the connection]
vfazio__ has joined #u-boot
<apteryx> xypron: thank you
qschulz has quit [Quit: qschulz]
persmule__ has quit [Quit: Leaving]
qschulz has joined #u-boot
thopiekar has quit [Ping timeout: 260 seconds]
thopiekar_ has joined #u-boot
jahro_me has quit [Ping timeout: 268 seconds]
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
thopiekar_ has quit [Ping timeout: 268 seconds]
thopiekar has joined #u-boot
hanetzer has quit [Ping timeout: 256 seconds]
vagrantc has quit [Quit: leaving]
hanetzer has joined #u-boot
jahro_me has joined #u-boot
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #u-boot
persmule__ has joined #u-boot
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #u-boot
persmule__ has quit [Quit: Leaving]
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
persmule__ has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
camus has joined #u-boot
rburkholder has quit [Remote host closed the connection]
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
bq has quit [Remote host closed the connection]
phillid has joined #u-boot
phillid is now known as bq
persmule__ has quit [Ping timeout: 255 seconds]
sam_sepi0l has quit [Ping timeout: 256 seconds]
persmule__ has joined #u-boot
brassado has joined #u-boot
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
PhoenixMage has joined #u-boot
apteryx has quit [Ping timeout: 268 seconds]
apteryx has joined #u-boot
persmule__ has quit [Remote host closed the connection]
<LordKalma> marex, thanks. that's probablty the approach I'll take
<LordKalma> I do need your help with the diassembly
<LordKalma> you can probably recognize the functiosn really fast
<LordKalma> like there is this function that takes the pin name and returns something. returns -1 when it errors out
<LordKalma> it seems the signature is `int foo (char pin_name[])` and it's used like int result = foo("PL10"); if(result==-1) do_some_error_routine();
persmule has joined #u-boot
<LordKalma> it appears like this
<LordKalma> now with the misterious function
naoki has quit [Quit: naoki]
camus has quit [Read error: Connection reset by peer]
camus has joined #u-boot
GuySoft has joined #u-boot
mps has quit [Quit: Lost terminal]
mps has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
<marex> LordKalma: u-boot is gplv2 , just ask for sources
Leopold has joined #u-boot
Leopold has quit [Write error: Connection reset by peer]
persmule has quit [Remote host closed the connection]
GNUtoo has quit [Remote host closed the connection]
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
<LordKalma> marex, you think i didn't?
<LordKalma> and at least 5 other people
Leopold has joined #u-boot
matthias_bgg has quit [Ping timeout: 260 seconds]
matthias_bgg has joined #u-boot
GNUtoo has joined #u-boot
persmule has joined #u-boot
camus has quit [Ping timeout: 255 seconds]
jahro_me has quit [Ping timeout: 256 seconds]
brassado has quit [Quit: Textual IRC Client: www.textualapp.com]
mmu_man has joined #u-boot
<GuySoft> Hey all, I have a u-boot running on an IMX8MP and I want to change the environment in the usersapce. However I can't do that unless I run once from uboot "saveenv" . Is there a way to flash the environment in the place on to the mmc? or run saveenv only once on the first boot?
<Forty-Bot> use fw_setenv
Gravis has quit [Ping timeout: 256 seconds]
vagrantc has joined #u-boot
Gravis has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
rburkholder has joined #u-boot
<GuySoft> Forty-Bot, fw_setenv says that it can't read the enviroment unless I run in uboot saveenv
<Forty-Bot> either run setenv once, or copy over u-boot-initial-env
<GuySoft> Forty-Bot, where is u-boot-initial-env created? I dont see it in the artifacts from uboot build
<Forty-Bot> you have to run it manually
<Forty-Bot> it's not in the default target
<GuySoft> Forty-Bot, ok built the target, it goes where? in /etc ?
<Forty-Bot> wherever you'd usually put the environment
<Forty-Bot> have a look at /etc/fw_env.config to figure that out
<GuySoft> ok, placing it in etc works, thanks!
<Forty-Bot> interesting
* Forty-Bot usually uses /boot
<marex> Forty-Bot: might be different for libubootenv and the uboot tools
<Forty-Bot> we have a libubootenv?
<GuySoft> perhaps it looks in multiple places
<Forty-Bot> it can but not usually
naoki has joined #u-boot
<GuySoft> Forty-Bot, also I just wanna note that I asked all over my workplace, tech support of the SOM, and they didn't know this. so thanks :)
<Forty-Bot> the guy who did the initial port probably knows
<Forty-Bot> but after that you can usually forget about the environment
<marex> som tech support should know about u-boot env , no ?
<marex> which som btw ?
vagrantc has quit [Remote host closed the connection]
vagrantc has joined #u-boot
ebach has joined #u-boot
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
urja has quit [Ping timeout: 260 seconds]
urja has joined #u-boot
jtf has quit [Read error: Connection reset by peer]
jtf has joined #u-boot
ebach has quit [Ping timeout: 256 seconds]