<LeSpocky>
after finding a workaround for slow raw nand access an sam9x60-curiosity now 'ubi part' (which calls ubi_attach()) returns with ENOMEM … this gets frustrating :-/
<marex>
LeSpocky: you mean "business as usual now" ?
<LeSpocky>
*lol* I think so
<marex>
probably increase the malloc area
<marex>
heh
d-s-e has joined #u-boot
<LeSpocky>
marex: in this case it was really that easy, increased SYS_MALLOC_LEN from 512k to 4M and it works now, thank you :-)
mmu_man has joined #u-boot
valdemaras has joined #u-boot
naoki has quit [Quit: naoki]
<marex>
LeSpocky: you're welcome
alan_o has quit [Ping timeout: 246 seconds]
alan_o has joined #u-boot
<jybz>
Hello hello ! I finaly manage to buy a rpi4 8gb !
* jybz
waving
<jybz>
But, I've some trouble with u-boot.
<jybz>
When using the dtb from u-boot compilation, I've no USB.
<jybz>
I mean; the distro behind has errors with usb and nothing is working.
<Tartarus>
And re Pi, you want to use the dtb that comes from the device, not the one that U-Boot builds or otherwise yes, you run in to some annoying problems
sng has quit [Read error: Connection reset by peer]
sng_ has joined #u-boot
<jybz>
Tartarus: thank you, will check when I've free time (baby lunch time -_-")
valdemaras has joined #u-boot
valdemaras has left #u-boot [#u-boot]
sng_ has quit [Remote host closed the connection]
valdemaras has joined #u-boot
sng has joined #u-boot
sng has quit [Remote host closed the connection]
sng has joined #u-boot
<sjg1>
Tartarus: Re RISC-V, will reply on ML
<sjg1>
marex: Yes the bounce stuff should be in the blk uclass
<sjg1>
Tartarus: I think I was OK with it last time, so I don't have anything else
<Tartarus>
ok, pushing shortly
<marex>
sjg1: what about disk uclass ?
<marex>
sjg1: and why the heck does disk and blk uclass duplicate so much code ?
valdemaras has quit [Quit: valdemaras]
<sjg1>
marex: That is for partitions...on the way to having a device for each file
<marex>
sjg1: and that does not need to have a bounce buffer since it also calls read/write/erase ops ?
<sjg1>
I had the same comment about duplicated code, but Takahiro-san pointed out some differences. I am sure it can be improved, but have not tackled it
<marex>
sjg1: (hint: it likely does)
<marex>
sjg1: (hint #2: it should likely reuse the code from block uclass?)
<sjg1>
marex: I thought the bounce buffer was a low-level thing, in between blk_read and the device?
<marex>
sjg1: it is
<marex>
sjg1: but both the disk uclass and blk uclass call the same read opcodes
<marex>
and those read/write/erase opcodes are implemented in scsi / mmc / ... uclasses
goliath has quit [Quit: SIGSEGV]
<sjg1>
marex: Well, for starters, part_blk_read() should call blk_read(), not directly call ops-read. Perhaps then you could implement something in blk_read() ?
Guest513 has quit [Killed (platinum.libera.chat (Nickname regained by services))]
ikarso has joined #u-boot
<jybz>
Thank you Tartarus, I read further, and having only the dtb is not sufficient, actually the "overlays" folder and content is required. Now uboot try (without error) usb. But... Now the efi file seems to be too big (was not too big before). Should I try to set different adresses for efi file (is it kernel_addr_r or loadaddr?) or should I try to light up the efi file ?
<jybz>
Efi size: 167 936 bytes
<jybz>
29000h
<jybz>
(was wrong; overlays are not required)
sng has quit [Read error: Connection reset by peer]
gsz has quit [Ping timeout: 246 seconds]
<jybz>
24000h can be loaded, but I land in grub rescue> :D
redbrain has quit [Read error: Connection reset by peer]
<jybz>
26000h too big.
redbrain has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
alpha_one_x86 has joined #u-boot
<alpha_one_x86>
Hi, I have device where uboot load kernel but no initrd, I can't edit u-boot config file, how load initrd? I can just append to kernel?
<silurian_invader>
edit your boot command to add the initrd; for example if the current command is `bootm $kernel_addr $fdt_addr` you can do `bootm $kernel_addr $fdt_addr $initrd_addr`
<silurian_invader>
see `help bootm` for syntax
davlefou has quit [Ping timeout: 246 seconds]
<alpha_one_x86>
I can't 1) propryetary uboot 2) I just have mtd partition for kernel, rootfs and RW
<marex>
build the ramdisk into the kernel and boot it that way ?
<marex>
there is no proprietary U-Boot, U-Boot is free software
camus1 has joined #u-boot
camus has quit [Remote host closed the connection]
camus1 is now known as camus
ezulian has quit [Ping timeout: 246 seconds]
<alpha_one_x86>
some contronstor no repect the GPL, how build the ramdisk into the kernel?
<marex>
make menuconfig -> general setup -> somewhere in the middle there's path where to point it to ramdisk rootfs tree