Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.07 is OUT / Merge Window is OPEN until 26 July 2021 / Release v2021.10 is scheduled for 04 October 2021 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
qschulz has quit [Read error: Connection reset by peer]
qschulz has joined #u-boot
jwillikers has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 250 seconds]
mranostaj has quit [Remote host closed the connection]
agust has joined #u-boot
fdanis_away is now known as fdanis
redbrain has joined #u-boot
guillaume_g has joined #u-boot
frieder has joined #u-boot
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
Wairu_Goodman has joined #u-boot
sszy has joined #u-boot
mranostaj has joined #u-boot
redbrain_ has joined #u-boot
redbrain has quit [Ping timeout: 245 seconds]
redbrain_ has quit [Quit: leaving]
redbrain has joined #u-boot
matthias_bgg has joined #u-boot
akaWolf has quit [Ping timeout: 258 seconds]
akaWolf has joined #u-boot
mripard has quit [Ping timeout: 272 seconds]
mripard has joined #u-boot
mmu_man has joined #u-boot
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #u-boot
alpernebbi has joined #u-boot
jwillikers has joined #u-boot
mranostaj has quit [Ping timeout: 258 seconds]
jwillikers has quit [Remote host closed the connection]
jwillikers has joined #u-boot
mranostaj has joined #u-boot
<marex> Tartarus: I'll read through the LMB emails either today or tomorrow, still recovering
<Tartarus> ok
Wairu_Goodman has quit [Ping timeout: 258 seconds]
frieder has quit [Ping timeout: 268 seconds]
<wyre> must the .scr scripts have some specific name?
<wyre> when I don't create them with mkimage as "ker_dtb_fs.scr" I have a message in u-boot saying "Wrong image format for "source" command"
frieder has joined #u-boot
<Sout> well they are not simple text files iirc, there is header stuff also in them
<wyre> Sout, sure, that's why I'm using mkimage to create the .scr file
<wyre> from a .txt
<wyre> but then when I do `tftp ker_cdtb_fs.scr` and `so` I have the wrong image format message
<Sout> hmmm. looking at it (slightly sleep deprived so i might miss something) but i used the mkimage from https://www.denx.de/wiki/DULG/UBootScripts aka mkimage -T script -C none -n 'Demo Script File' -d setenv-commands setenv.img but it does look good
<wyre> Sout, why .img instead .scr?
<Sout> ahah just what the example used. (i have no idea i doubt it should matter)
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #u-boot
sszy has quit [Ping timeout: 240 seconds]
hanetzer has quit [Quit: WeeChat 3.2]
hanetzer has joined #u-boot
vagrantc has joined #u-boot
redbrain has quit [Quit: leaving]
hanetzer has joined #u-boot
hanetzer has quit [Changing host]
fdanis is now known as fdanis_away
frieder has quit [Remote host closed the connection]
guillaume_g has quit [Quit: Konversation terminated!]
vagrantc has quit [Quit: leaving]
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #u-boot
matthias_bgg has quit [Ping timeout: 256 seconds]
davlefou_ has quit [Ping timeout: 268 seconds]
<marex> Tartarus: the vac disabled me for two days and its still not great
<Tartarus> marex: ouch
<marex> the bonus headache was nasty
<marex> seems better now tho
<Tartarus> Looking at all of the lmb history is likely to re-issue that headache :(
rfried has quit [Quit: The Lounge - https://thelounge.github.io]
<marex> Tartarus: I would appreciate more cooperative approach from Jan there
<marex> besides that, the LMB is a bit of a mess, yes
<Tartarus> marex: Yeah, I think you need to (re?)read the last two emails I sent, once you're up to it.
<Tartarus> marex: And looking at your commit message again, is part of the problem that reserved nodes cannot overlap?
<Tartarus> And also if something like ce39ee28ec31b04c5c4e50d57a852ef8c1b2b26f might not be relevant to your use case?
<marex> Tartarus: possibly, why ? (I need to refresh my memory on that)
<Tartarus> (And that's not the commit I was looking for)
<Tartarus> marex: I did some history digging yesterday and I think the revert is right. But I really don't want to make you feel shittier discussing it now, and can wait until you're up for it. I won't apply the revert right away.
<marex> well, lemme catch up on the thread in a bit
<marex> I think the LMB isnt well understood in general
<Tartarus> Yes, agreed. And I think there may also be a need to think about / differentiate "protect U-Boot while it's running" from "mark an area as reserved in the device tree we pass down to the OS"
<Tartarus> (With a quick side-long glance to PSCI stuff)
<marex> Tartarus: we are mixing those two things together, are we not ?
<marex> but as far as I can tell, the former is not a job for the LMB, the later is
<Tartarus> marex: That's backwards. The first relevant commit here is to covert running U-Boot, and is from before U-Boot did anything to reserved-memory nodes
<Tartarus> s/covert/cover/
<marex> Tartarus: and why would we want to protect running u-boot ? just to prevent relocation from overwriting it ?
<marex> that looks a bit odd to use LMB for that
<Tartarus> (a) to cover a whole bunch of CVEs and then (b) yes, so we don't crash by overwriting ourselves in the normal non-malicious case of relocating things
<Tartarus> It looks like e2237a2c263783996a85b70ccbf1f967aa2ec182 (2019) is when U-Boot first started to generally fiddle with reserved-memory nodes
rfried has joined #u-boot
<Tartarus> But I also haven't found the commit I'm looking for...
<Tartarus> Because it doesn't exist? I really want to know what the problem you're running in to here is
<Tartarus> Or why covering running U-Boot with an LMB is a problem
<Tartarus> As I don't see, but maybe just missed, where that becomes "and we reserve this memory space from the OS"
cambrian_invader has quit [Ping timeout: 258 seconds]
urja has quit [Read error: Connection reset by peer]
<marex> Tartarus: I need to read through the thread first
<Tartarus> OK
urja has joined #u-boot
cambrian_invader has joined #u-boot
alpernebbi has quit [Quit: alpernebbi]
drewfustini has left #u-boot [#u-boot]
davlefou has joined #u-boot
agust has quit [Quit: Leaving.]
mmu_man has quit [Ping timeout: 272 seconds]
jwillikers has quit [Remote host closed the connection]