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
umbramalison has joined #u-boot
umbramalison has quit [Client Quit]
<apteryx> marex: seems it doesn't for some reason, on a raspberry pi 3 b: https://paste.debian.net/1264893/
<apteryx> the u-boot is built for arm64 (64-bit), and the kernel armhf (32bit)
umbramalison has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
<marex> well, Merry Christmas, good bye ATF :-)
umbramalison has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
lucascastro has joined #u-boot
camus has quit [Read error: Connection reset by peer]
camus has joined #u-boot
thopiekar has quit [Ping timeout: 260 seconds]
thopiekar_ has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
vagrantc has joined #u-boot
teejay has quit [Ping timeout: 272 seconds]
teejay has joined #u-boot
ikarso has joined #u-boot
gsz has joined #u-boot
sdfgsdfg has joined #u-boot
mncheckm has joined #u-boot
ladis has joined #u-boot
frieder has joined #u-boot
frieder has quit [Remote host closed the connection]
frieder has joined #u-boot
ebach has joined #u-boot
guillaume_g has joined #u-boot
mncheckm has quit [Remote host closed the connection]
mncheck has joined #u-boot
lucascastro has quit [Ping timeout: 272 seconds]
mckoan|away is now known as mckoan
vagrantc has quit [Quit: leaving]
<jkorsnes[m]> I need to pass an unsigned integer from spl to proper. it seems like global-data is reset. is HANDOFF + BLOBLIST the only option? it seems a bit much for this task
apteryx has quit [Ping timeout: 260 seconds]
ldevulder has quit [Quit: Leaving]
sszy has joined #u-boot
ldevulder has joined #u-boot
apteryx has joined #u-boot
gsz has quit [Ping timeout: 268 seconds]
prabhakarlad has joined #u-boot
frieder has quit [Ping timeout: 256 seconds]
frieder has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
<apalos> This was assigned to me on patchwork, want me to carry it over the TPM tree?
mmu_man has joined #u-boot
zibolo has quit [Ping timeout: 272 seconds]
gsz has joined #u-boot
zibolo has joined #u-boot
ladis has quit [Read error: Connection reset by peer]
ladis has joined #u-boot
vfazio has joined #u-boot
<Tartarus1> apalos: Yes, I guess I was wondering how much of the TEE related stuff I could hand over to you as well :)
Gravis has joined #u-boot
<Tartarus1> jkorsnes: do any of the existing save_boot_params give you a hint?
Gravis has quit [Client Quit]
Gravis has joined #u-boot
<sylensky[m]> is the crc32 written into the file when executing saveenv when the env file is in fat/ext4 filesystem?
Gravis has quit [Ping timeout: 260 seconds]
Gravis has joined #u-boot
sdfgsdfg has quit [Quit: celebrate free speech \o/]
mmu_man has quit [Ping timeout: 248 seconds]
<rfs613> sylensky[m]: yes, it uses env_export() which adds the CRC. I believe this is true of all the backends.
<sylensky[m]> rfs613: saw that but i dont get it why the uboot console can read/write the environment but the userspace can not as fw_printenv is complaining about bad crc
<Tartarus1> sylensky: it's likely you didn't configure /etc/fw_env.conf right then
<rfs613> you beat me to it ;-)
<sylensky[m]> please correct me if iam wrong but its just the filelocation with its size like /dev/sda3/uboot.env0x0000 0x4000 ?
ikarso has quit [Quit: Connection closed for inactivity]
<Tartarus1> So, it should be, yes, but... lets see
flyback has quit [Ping timeout: 260 seconds]
<Tartarus1> This does remind me of another problem report
<Tartarus1> sylensky: one thing is you don't have redundant env enabled, right?
<Tartarus1> sylensky: But... I think you might have a real issue.
<Tartarus1> I can't find the original report, it was someone on a Pi
guillaume_g has quit [Quit: Konversation terminated!]
<Tartarus1> And they found the CRC wasn't in the expected place, with file based env
<Tartarus1> off by one perhaps it was
<Tartarus1> But their fix looked to break all the other use cases
<Tartarus1> As maybe the problem is really that the u-boot side isn't putting it in the file in the right spot
<sylensky[m]> Tom Rini: iam actually on a pi aswell.. and no i dont have redundant env enabled
<Tartarus1> OK, then yeah, I think it's that same problem
<sylensky[m]> is that true that it behaves the same when its in fat filesystem? atleast thats what i observed on my pi and additionally i read somewhere the ext4 env support is heavily based on the fat implementation
flyback has joined #u-boot
<apalos> Tartarus1: I can add myself as a maintainer along with Jens and carry those over the TPM tree
<apalos> I'll send an MR later today. This is straightforoward enough to be safe for a late -rc :)
<Tartarus1> apalos: OK, thanks!
<Tartarus1> sylensky: Yes
mmu_man has joined #u-boot
<sylensky[m]> Tom Rini: ok thanks! going to put that on draft and might deep dive on that next year :)
mncheck has quit [Ping timeout: 246 seconds]
mthall has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mthall has joined #u-boot
mthall has quit [Client Quit]
mncheckm has joined #u-boot
mthall has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
rburkholder has joined #u-boot
frieder has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
vagrantc has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
Gravis_ has joined #u-boot
Gravis has quit [Ping timeout: 265 seconds]
Gravis_ has quit [Ping timeout: 260 seconds]
Gravis has joined #u-boot
Gravis_ has joined #u-boot
Gravis has quit [Ping timeout: 272 seconds]
zkrx has quit []
zkrx has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
srs has joined #u-boot
Gravis_ is now known as Gravis
MrSaturn has joined #u-boot
matthias_bgg has quit [Quit: Leaving]
<MrSaturn> Hi all. I think I found a bug in the BTRFS implementation. I would love to get a second opinion though. With duplication enabled: In inode.c - read_extent_data will be passed a len, representing the length of the file. In there, __btrfs_map_block will resize length because duplication is enabled. When read_extent_data returns it will error out because the amount requested does not match the length read.
<MrSaturn> That is probably really confusing.
srs has quit [Ping timeout: 260 seconds]
<MrSaturn> hrm, it looks like maybe it was recently fixed. hrm
prabhakarlad has joined #u-boot
apteryx has quit [Ping timeout: 256 seconds]
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
<MrSaturn> No, I think it still exists: https://paste.debian.net/1264992/
<MrSaturn> Here is a little trace that shows the flow. I am not sure what the intention is.
<MrSaturn> notice if "read != len" it will error out after checking each mirror with -EIO.
marc1 has quit [Read error: Connection reset by peer]
sdfgsdfg has joined #u-boot
sdfgsdfg has quit [Quit: celebrate free speech \o/]
gsz has quit [Ping timeout: 260 seconds]
ladis has quit [Quit: Leaving]
ebach has quit [Ping timeout: 252 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
vagrantc has quit [Quit: leaving]