jwillikers has quit [Remote host closed the connection]
pgreco has quit [Remote host closed the connection]
pgreco has joined #u-boot
LeSpocky has quit [Ping timeout: 264 seconds]
LeSpocky has joined #u-boot
stefanro has quit [Quit: Leaving.]
stefanro has joined #u-boot
agust has joined #u-boot
fdanis_away is now known as fdanis
tnovotny has joined #u-boot
mckoan|away is now known as mckoan
matthias_bgg has joined #u-boot
frieder has joined #u-boot
frieder has quit [Remote host closed the connection]
frieder has joined #u-boot
sszy has joined #u-boot
mmu_man has joined #u-boot
Gravis has quit [Ping timeout: 252 seconds]
Net147 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has joined #u-boot
Net147 has quit [Changing host]
mckoan is now known as mckoan|away
tnovotny has quit [Quit: Leaving]
tnovotny has joined #u-boot
torez has joined #u-boot
GNUtoo has quit [Ping timeout: 276 seconds]
GNUtoo has joined #u-boot
frieder has quit [Ping timeout: 252 seconds]
frieder has joined #u-boot
<apalos>
anyone around that did the patches for risc-v boards in general ?
<apalos>
the commit log for 47d73ba4f4a4 is a bit confusing
<apalos>
Apparently we want a prior stage boot loader to hand us over the dtb, but we can't use the CONFIG_OF_PRIOR_STAGE??
<apalos>
and anyone knows how CONFIG_OF_BOARD and CONFIG_OF_PRIOR_STAGE differ to begin with ?
<apalos>
the core semantics seem identical, "someone else will provide me a dtb", so is there any real reason we need 2 discrete options?
<sjg1>
apalos: Perhaps just need to set prior_stage_fdt_address correctly?
matthias_bgg2 has joined #u-boot
<apalos>
yea basically, you can have a board_fdt_blob_setup() that does that for you
<apalos>
So I dont see an apparent reason for yet another Kconfig
<apalos>
gonna go dig more
matthias_bgg has quit [Ping timeout: 265 seconds]
<sjg1>
apalos: Yes and once everything uses OF_SEPARATE, then OF_BOARD can go away?
<sjg1>
apalos: Maybe a first (or second) step could be to move OF_BOARD out from being a choice and make it a standlone bool option, with all those boards moving to OF_SEPARATE instead
<apalos>
yea I am not sure about that, you still need an option which ssay something along the lines of "someone else will give me my dtb"
<apalos>
I know that this will cause potential problems with u-boot missing the control DTB part
<apalos>
but I'll get to it after we get rid of options we dont need ;)
<sjg1>
Yes you need the option, but it should override the DT that is there. OF_SEPARATE should always be enabled
<sjg1>
So we get a u-boot.bin with a DT in it, but at runtime that DT is ignored because the prior stage provides it (of course if we know that we can package u-boot-nodtb.bin instead, but the point is that a DT is built within U-Boot)
macromorgan has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
sszy has quit [Ping timeout: 252 seconds]
frieder has quit [Remote host closed the connection]
tnovotny has quit [Quit: Leaving]
<apalos>
sjg1: ok I figured out why RISC-V has the CONFIG_OF_PRIOR_STAGE as well
<apalos>
you can configure it with CONFIG_OF_BOARD or CONFIG_OF_SEPERATE, in that case the code picks up the openSBI DTB
<apalos>
reads the reserved memory node and fixups the U-Boot provided DTB
<apalos>
while on the other case, it just blindly uses what was passed along
<apalos>
Still I think we can get rid of one of the options
torez has quit [Quit: torez]
rtjure has joined #u-boot
redbrain has joined #u-boot
[0x4A6F] has quit [Read error: Connection reset by peer]
kaji has quit [Read error: Connection reset by peer]
samueldr has quit [Write error: Connection reset by peer]
kallisti5[m] has quit [Write error: Connection reset by peer]
jordemort has quit [Read error: Connection reset by peer]
edrex[m] has quit [Write error: Broken pipe]
mvaittin has quit [Remote host closed the connection]
cpackham[m] has quit [Write error: Connection reset by peer]
bih420[m] has quit [Remote host closed the connection]