Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.01 is OUT / Merge Window is OPEN, next branch is CLOSED / Release v2024.04 is scheduled for 02 April 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
rvalue has quit [Ping timeout: 240 seconds]
rvalue has joined #u-boot
<njha> is there a way to get a u-boot.bin that contains an EFI payload in it
<njha> i don't have a disk attached to my chip, but there is 16GB RAM that I can write to over a debug interface
<njha> so my boot process is opensbi payload -> u-boot -> linux, but im not sure where to put the linux image except also in memory
<marex> njha: cant you concatenate the payload at the end of the blob ?
<njha> marex: like literally "cat u-boot.bin Image > u-boot-concat.bin"? that seems simple enough
<marex> njha: yeah, well if your loader can deal with that, might be the simplest
<marex> (why not just load the payload in u-boot shell anyway?)
<njha> marex: well i need to get the payload into memory somehow
<marex> njha: => help load
<njha> but there are no filesystems
<njha> this chip/board combo only has memory :p
<njha> well the chip has a spi interface but it's connected to an FPGA right now that emulates 30 MB of SPI flash in BRAM
<marex> sf read
<marex> or whatever technology you use
<marex> if its BRAM, then why not just 'cp.b' or directly execute from that BRAM ?
<njha> the chip doesn't directly have access to the BRAM
<njha> like the chip is taped out on silicon and pretty much all of its pins are connected to an FPGA
<njha> so I'm saying in theory I can do something over the FPGA but realistically I should just do everything from memory
<njha> this is a custom chip we taped out in class and are trying to boot linux on :p
<njha> anyway i have appended linux to u-boot and will try to copy it to memory and then boot from it... i think that should work
njha has quit [Quit: a funny/inspired quit message]
qqq has quit [Remote host closed the connection]
camus has joined #u-boot
njha has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
mmu_man has quit [Ping timeout: 252 seconds]
LeSpocky has quit [Ping timeout: 246 seconds]
LeSpocky has joined #u-boot
jclsn has quit [Ping timeout: 255 seconds]
jclsn has joined #u-boot
<njha> so we were able to get linux up via jumping to it directly from opensbi
<njha> the issue with u-boot is if we stick the kernel at the end and then try to bootefi, it copies things on top of itself and ends up corrupting linux
<njha> is there a way i can *safely* embed a 20M binary into u-boot so that I can bootefi from it?
<njha> u-boot also tries to copy itself around which is a little annoying... it starts out in ram so it doesn't need to do this
Clamor has joined #u-boot
sng has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sng has joined #u-boot
sakman has quit [Ping timeout: 260 seconds]
monstr has joined #u-boot
goliath has joined #u-boot
wooosaiiii has quit [Quit: wooosaiiii]
wooosaiiii has joined #u-boot
mckoan|away is now known as mckoan
ikarso has joined #u-boot
matthias_bgg has joined #u-boot
ezulian has joined #u-boot
frieder has joined #u-boot
prabhakarlad has joined #u-boot
sszy has joined #u-boot
mripard has joined #u-boot
jmasson has joined #u-boot
qqq has joined #u-boot
slobodan has joined #u-boot
qqq has quit [Read error: Connection reset by peer]
qqq has joined #u-boot
zkrx has quit [Ping timeout: 256 seconds]
zkrx has joined #u-boot
Clamor has quit [Ping timeout: 264 seconds]
Clamor has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
dsimic has quit [Ping timeout: 260 seconds]
dsimic has joined #u-boot
jmasson has quit [Ping timeout: 246 seconds]
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #u-boot
Clamor has quit [Ping timeout: 256 seconds]
Clamor has joined #u-boot
Clamor has quit [Ping timeout: 256 seconds]
Clamor has joined #u-boot
prabhakarlad has quit [Ping timeout: 250 seconds]
prabhakar has quit [Ping timeout: 264 seconds]
qqq has quit [Remote host closed the connection]
prabhakarlad has joined #u-boot
jclsn has quit [Ping timeout: 255 seconds]
jclsn has joined #u-boot
jmasson has joined #u-boot
prabhakarlad has quit [Ping timeout: 250 seconds]
vfazio has joined #u-boot
frieder has quit [Ping timeout: 255 seconds]
sakman has joined #u-boot
mmu_man has joined #u-boot
Stat_headcrabed has joined #u-boot
frieder has joined #u-boot
frieder has quit [Ping timeout: 256 seconds]
frieder_ has joined #u-boot
Clamor has quit [Ping timeout: 276 seconds]
Clamor has joined #u-boot
Clamor has quit [Ping timeout: 240 seconds]
<Tartarus> OK, is anyone here working on sending me a PR for -rc1 right now?
goliath has quit [Quit: SIGSEGV]
<cambrian_invader> Tartarus: I will send something tonight (due to procrastination)
<Tartarus> ok
ad__ has quit [Changing host]
ad__ has joined #u-boot
prabhakarlad has joined #u-boot
prabhakar has joined #u-boot
<rfs613> Tartarus: i sent a patch a while back but forgot to CC you. Doesn't seem to have gotten any replies on the list. https://lore.kernel.org/u-boot/20240119213216.3811402-1-ralph.siemsen@linaro.org/T/#u
<Tartarus> ok, i'll see about picking it up soon'ish
<Tartarus> Was that some sort of regression or just seemingly always a problem?
<rfs613> the latter... there are two code paths for environment, and the behaviour of the non-redundant differs slightly from the redudant, with regards to what happens if malloc() fails. THe patch makes them both the same.
frieder_ has quit [Ping timeout: 260 seconds]
devarsh has joined #u-boot
devarsh_ has joined #u-boot
mmu_man has quit [Quit: reboot]
<Tartarus> OK
frieder_ has joined #u-boot
frieder_ has quit [Remote host closed the connection]
mmu_man has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
diederik has joined #u-boot
___nick___ has joined #u-boot
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
mckoan is now known as mckoan|away
Clamor has joined #u-boot
monstr has quit [Remote host closed the connection]
rvalue has quit [Ping timeout: 276 seconds]
prabhakarlad has quit [Ping timeout: 250 seconds]
rvalue has joined #u-boot
ldevulder has quit [Ping timeout: 268 seconds]
ldevulder has joined #u-boot
zsoltiv_ has quit [Ping timeout: 264 seconds]
zsoltiv_ has joined #u-boot
Clamor has quit [Ping timeout: 264 seconds]
Clamor has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Clamor has quit [Ping timeout: 260 seconds]
Clamor has joined #u-boot
jmasson has quit [Remote host closed the connection]
devarsh_ has quit [Quit: Connection closed for inactivity]
devarsh has quit [Quit: Connection closed for inactivity]
Clamor has quit [Read error: Connection reset by peer]
___nick___ has quit [Ping timeout: 246 seconds]
ezulian has quit [Ping timeout: 256 seconds]
slobodan has quit [Ping timeout: 264 seconds]
pgreco has joined #u-boot
pgreco_ has quit [Ping timeout: 256 seconds]