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
matthias_bgg has quit [Quit: Leaving]
GNUtoo_ has joined #u-boot
rburkholder has joined #u-boot
thopiekar has joined #u-boot
behanw has joined #u-boot
GNUtoo_ has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
mncheckm has quit [Ping timeout: 260 seconds]
GNUtoo has quit [Ping timeout: 255 seconds]
naoki has quit [Quit: naoki]
GNUtoo_ has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
camus has joined #u-boot
naoki has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
GNUtoo_ has quit [Ping timeout: 255 seconds]
GNUtoo_ has joined #u-boot
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
ikarso has joined #u-boot
stefanro has quit [Quit: Leaving.]
stefanro has joined #u-boot
stefanro has quit [Client Quit]
stefanro has joined #u-boot
vagrantc has joined #u-boot
vagrantc has quit [Quit: leaving]
apteryx has quit [Ping timeout: 256 seconds]
apteryx has joined #u-boot
ladis has joined #u-boot
ebach has joined #u-boot
guillaume_g has joined #u-boot
sszy has joined #u-boot
frieder has joined #u-boot
mckoan|away is now known as mckoan
apteryx has quit [Ping timeout: 256 seconds]
frieder has quit [Remote host closed the connection]
apteryx has joined #u-boot
guillaume_g has quit [Ping timeout: 264 seconds]
GNUtoo_ has quit [Ping timeout: 255 seconds]
underpantsgnome[ has quit [Quit: You have been kicked for being idle]
GuySoft has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
<GuySoft> marc1, they did and say they don't fully support Debian, they just provide it as a reference. I am considering adding a PR to https://github.com/varigit/debian-var/blob/debian_bullseye_var01/var_make_debian.sh#L728 and adding the uboot-initial-env target, but I am doing this as part of work and I am not sure they will let me because of IP contracts
prabhakarlad has joined #u-boot
guillaume_g has joined #u-boot
davlefou has quit [Ping timeout: 265 seconds]
GNUtoo_ has joined #u-boot
davlefou has joined #u-boot
ggardet has joined #u-boot
GNUtoo_ has quit [Ping timeout: 255 seconds]
guillaume_g has quit [Ping timeout: 256 seconds]
frieder has joined #u-boot
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
guillaume_g has joined #u-boot
GuySoft has quit [Ping timeout: 260 seconds]
ggardet has quit [Ping timeout: 260 seconds]
GNUtoo_ has joined #u-boot
zibolo has quit [Ping timeout: 246 seconds]
zibolo has joined #u-boot
monstr has joined #u-boot
mckoan is now known as mckoan|away
GNUtoo_ has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
mmu_man has joined #u-boot
camus has quit [Remote host closed the connection]
camus has joined #u-boot
ggardet has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
GuySoft has joined #u-boot
guillaume_g has quit [Ping timeout: 252 seconds]
thopiekar has quit [Ping timeout: 246 seconds]
guillaume_g has joined #u-boot
redbrain has joined #u-boot
zibolo has quit [Quit: bye]
ggardet has quit [Ping timeout: 260 seconds]
GuySoft has quit [Ping timeout: 260 seconds]
GuySoft has joined #u-boot
GuySoft has quit [Ping timeout: 260 seconds]
mahk has quit [Ping timeout: 256 seconds]
GuySoft has joined #u-boot
GuySoft has quit [Remote host closed the connection]
GuySoft has joined #u-boot
mahk has joined #u-boot
mahk has joined #u-boot
mahk has quit [Changing host]
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
<georgem> Has anyone used post/drivers/memory.c on arm64?
torez has joined #u-boot
rfs613 has quit [Quit: restart]
rfs613 has joined #u-boot
<Tartarus> I want to say no since LS102x is 32bi
<Tartarus> t
<cambrian_invader> georgem: yes
<cambrian_invader> I had to hack some stuff together
<cambrian_invader> some of this made it upstream https://paste.debian.net/1263097/
<cambrian_invader> but I never figured out the correct type for the pointers
<cambrian_invader> you will also need to add some defines to your board.h, but I forget which
<cambrian_invader> tbh I got the most bang-for-buck out of memory_post_addrline and memory_post_dataline
<cambrian_invader> since those found some misconfigured address bits
<cambrian_invader> you will need https://paste.debian.net/1263099/ before the first patch
<cambrian_invader> but there is some problem which makes phys_addr_t unsuitable for some arches
<cambrian_invader> see e.g. https://github.com/u-boot/u-boot/pull/233
<cambrian_invader> looks like the CI run has gone away...
<cambrian_invader> maybe MCR3000_defconfig or kmcent2_defconfig
<cambrian_invader> anyway the whole post stuff is super crusty
torez has quit [Quit: torez]
camus has quit [Ping timeout: 260 seconds]
thopiekar has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
GuySoft has quit [Quit: Leaving]
<Tartarus> POST needs some attention and modernization
<Tartarus> I started on it to a tiny degree only so I could finish the CONFIG->Kconfig migration
ldevulder has quit [Quit: Leaving]
torez has joined #u-boot
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
prabhakarlad has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
torez has quit [Quit: torez]
<georgem> cambrian_invader: awesome, thanks for the info!
Leopold has quit [Remote host closed the connection]
frieder has quit [Remote host closed the connection]
Leopold has joined #u-boot
cottsay has quit [Quit: TTFN]
cottsay has joined #u-boot
guillaume_g has quit [Quit: Konversation terminated!]
vagrantc has joined #u-boot
torez has joined #u-boot
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #u-boot
monstr has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 252 seconds]
<paulbarker> Just to check my understanding of the filesystem & block layers in u-boot: Am I right that a filesystem can only run on top of a device which implements the blk API?
<paulbarker> i.e has a `struct blk_desc`
<paulbarker> I want to put a squashfs image onto SPI flash and then load the kernel from within the squashfs filesystem, but it looks like it may not be possible as the SPI flash driver doesn't appear to implement the blk API
mmu_man has joined #u-boot
<cambrian_invader> paulbarker: try ubi
<cambrian_invader> you could also implement a block class
mmu_man has quit [Quit: Lost terminal]
<paulbarker> cambrian_invader: ubifs could be an option, though I would prefer squashfs for the better compression support
<cambrian_invader> no, I meant just ubi
<cambrian_invader> and stick your squashfs on a partition
<paulbarker> cambrian_invader: I don't think the ubi driver in u-boot implements the blk API either
<cambrian_invader> it does
<cambrian_invader> you boot up and run `ubi part 5` (or whatever) and it creates a block device called ubi
<cambrian_invader> not really the most orthogonal system, but...
<paulbarker> cambrian_invader: I can't see any use of `blk_desc` in `drivers/mtd/ubi` or `cmd/ubi.c` so unsure how filesystem mounting would work
mmu_man has joined #u-boot
<cambrian_invader> huh, I guess it doesn't create a generic block device (although it could)
<cambrian_invader> ugh, the whole ubi stuff is a mess
<paulbarker> cambrian_invader: Yes, I think some extension would be required in either case
<paulbarker> I will add it to my list of ideas, though there's already many in the backlog
<paulbarker> For now I will stick with separate SPI flash partitions for the kernel, dtb and rootfs so that u-boot does not have to read the kernel & dtb from within the rootfs
<paulbarker> That does require static partitioning of space for those files which has overhead, but it does work
<marex> cambrian_invader: yes :)
<cambrian_invader> paulbarker: you can always use a fit...
<cambrian_invader> although you still have to have an upper bound
<paulbarker> fit is an option, it kind of inverts things so the fit contains the rootfs. Could be worth a look
vfazio__ has quit [Read error: Connection reset by peer]
<marex> you can always send patches to implement block device on top of MTD device ...
vfazio__ has joined #u-boot
<paulbarker> marex: I'd like to. It's now on my list, but not top priority right now
<paulbarker> cambrian_invader: fit does imply an initramfs instead of squashfs if I understand correctly. But the rootfs will be small when it's on SPI flash anyway (several MB at most) so loading it all at once into memory is fine
<cambrian_invader> last I mucked about with this was for the k210 and for that I just punted and used an mmc rootfs
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
torez has quit [Quit: torez]
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #u-boot
ebach has quit [Ping timeout: 265 seconds]
ladis has quit [Quit: Leaving]
mmu_man has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot