<marex>
Peng_Fan: did anyone ever try to boot MX95 purely from JTAG ? I got openocd to connect to the cores, now wrestling with the loading of the blobs (the AHAB container is ... problematic)
naoki has quit [Quit: naoki]
naoki1 has joined #u-boot
naoki1 is now known as naoki
jclsn has quit [Ping timeout: 272 seconds]
baltazar has quit [Ping timeout: 252 seconds]
jclsn has joined #u-boot
baltazar has joined #u-boot
sally has quit [Quit: sally]
sally has joined #u-boot
behanw has quit [Quit: Connection closed for inactivity]
redbrain has quit [Read error: Connection reset by peer]
<Peng_Fan>
marex:I not tried jtag, but ahab maynot able to be loaded using jtag.
sally has quit [Quit: sally]
sally_ has joined #u-boot
sally_ is now known as sally
monstr has joined #u-boot
clamor has quit [Ping timeout: 246 seconds]
clamor has joined #u-boot
mmu_man has joined #u-boot
ungeskriptet_ has joined #u-boot
ungeskriptet has quit [Ping timeout: 252 seconds]
ungeskriptet_ is now known as ungeskriptet
mischief has joined #u-boot
<mischief>
hi, i'm trying to boot a fit image but for some reason the device tree never makes it into the kernel and i'm not sure why. a kernel with a separately loaded devicetree seems to work fine, but not a fit.. any idea whats i can do to figure out why? http://0x0.st/8Nz6.txt
mmu_man has quit [Ping timeout: 244 seconds]
Jones42 has joined #u-boot
vagrantc has quit [Ping timeout: 260 seconds]
ldevulder has joined #u-boot
vagrantc has joined #u-boot
vagrantc has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot
Sout_ has quit [Ping timeout: 248 seconds]
hanetzer has quit [Ping timeout: 244 seconds]
hanetzer has joined #u-boot
ikarso has joined #u-boot
Sout_ has joined #u-boot
<mkorpershoek>
Tartarus: understood. I will review but I'd prefer if xypron takes it in. I know it's dfu related but it's also EFI related and I'm not super confortable with EFI in general.
naoki has quit [Quit: naoki]
naoki1 has joined #u-boot
naoki1 is now known as naoki
naoki has quit [Client Quit]
naoki has joined #u-boot
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
enok has joined #u-boot
enok has quit [Ping timeout: 244 seconds]
enok has joined #u-boot
enok has quit [Ping timeout: 265 seconds]
mmu_man has quit [Ping timeout: 244 seconds]
mmu_man has joined #u-boot
naoki has quit [Ping timeout: 276 seconds]
naoki has joined #u-boot
mripard has joined #u-boot
teejay has quit [Ping timeout: 260 seconds]
<marex>
Peng_Fan: is AHAB mandatory to start all the way into U-Boot ?
<xypron>
mkorpershoek Tartarus It is fine if you assign it to EFI. apalos should review this with his Linaro team.
<apalos>
Tartarus: yea feel free to assign it to me
<apalos>
I just came back from a a trip, I'll start looking at patches weekend/next week
<Peng_Fan>
marex, If without AHAB, you could use sd boot to boot into U-Boot. Then it is fine
<Peng_Fan>
But for real usecase AHAB is a must. without AHAB, SM should be able to start up.
<Peng_Fan>
But not very sure on U-Boot.
<Peng_Fan>
You could use flash_xxx_no_ahabfw to generate flash.bin
<marex>
Peng_Fan: so ... I should load OEI to 0x1ffc0000 and jump to it first, right ?
<marex>
Peng_Fan: is it only OEI or is it also the DDR blobs ?
<marex>
that is where I am stuck now , I load OEI, but it does not init DRAM, I suspect it cannot find the DDR blobs, maybe they are in the wrong location
<Peng_Fan>
marek: OEI is for DDR initialization and TCM initialization.
<marex>
right, and that has to run on CM33 first, correct ?
<Peng_Fan>
You need use imx-mkimage to generate oei-xxx-ddrfw.bin
<Peng_Fan>
marek: oei-m33-ddr.bin does not have ddr firmware, you need include ddr firmware.
<marex>
I have m33-oei-ddrfw.bin from U-Boot , should work ?
<marex>
oh
<Peng_Fan>
it should be ok if you have ddr fw included.
<Peng_Fan>
OEI runs before SM, it is at very early stage.
<Peng_Fan>
on CM33 core.
<marex>
and it should be loaded to 0x1ffc0000 , into TCM, right ?
<marex>
but the file is some 321976 Bytes long, and the SRAM block at 0x1ffc0000 is only 256 kiB long according to datasheet, that is weird
<Peng_Fan>
this is TCM, not OCRAM.
<marex>
real entry address +1 is because the code is Thumb, right ?
<Peng_Fan>
I think yes
sally has quit [Remote host closed the connection]
enok has joined #u-boot
enok has quit [Client Quit]
enok71 has joined #u-boot
enok71 has quit [Ping timeout: 252 seconds]
clamor has quit [Read error: Connection reset by peer]
clamor has joined #u-boot
goliath has joined #u-boot
enok has joined #u-boot
enok has quit [Remote host closed the connection]
frytaped has joined #u-boot
frytaped has quit [Client Quit]
frytaped has joined #u-boot
<marex>
Peng_Fan: I'll play around with this stuff ... will keep you posted
<marex>
sjg1: what does PPL stand for ?
<sjg1>
marex: Just an invented name for U-Boot proper (Proper Program Loader)
<marex>
sjg1: IPL is then Improper Program Loader ? :)
<marex>
sjg1: maybe UPL would be better, U-Boot program loader ?
<marex>
PPL reminds me of local subcontractor of DHL
<mkorpershoek>
How about Malpropre Program Loader ? (malpropre is french for something not super clean)
<mkorpershoek>
(it's friday, sorry, i could not help myself, lol)
<marex>
mkorpershoek: as long as it is not the other french M-word ...
<marex>
mkorpershoek: I recall hearing Jean-Luc uttering it in TNG no less ... !
<mkorpershoek>
hahahahahahah
rsalveti has joined #u-boot
goliath has quit [Quit: SIGSEGV]
clamor has quit [Ping timeout: 268 seconds]
clamor has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
naoki has quit [Quit: naoki]
mripard has quit [Quit: WeeChat 4.5.1]
tec4 has quit [Quit: bye!]
tec4 has joined #u-boot
<clamor>
Is there a helper to get a number of bound devices of defined UCLASS?
frytaped has quit [Quit: WeeChat 4.4.2]
mmu_man has joined #u-boot
MyNetAz has quit [Remote host closed the connection]
teejay has joined #u-boot
goliath has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
redbrain has quit [Read error: Connection reset by peer]
MyNetAz has joined #u-boot
redbrain has joined #u-boot
monstr has quit [Remote host closed the connection]
<marex>
clamor: what are you trying to achieve ?
<clamor>
Know now many devices of uclass were bound
<clamor>
Nvm, I have figured it out already
mmu_man has joined #u-boot
Bahhumbug is now known as Bahlovebug
<mkorpershoek>
clamor: could you share the solution, in case someone else wonders how to do that, please? :)
<clamor>
mkorpershoek: I have not found a universal solution, only partial. I am currently working on internal dsi controllers of tegra, which there are 2. Usually only 1 is used and bound, but dual mode...exists. Long story short. I call second dsi by seq (id = 1, second device of class) and check if it is master, if yes, we are done. If no, get the first device.
<mkorpershoek>
ok, thanks for sharing! and good luck with the dsi controller
<clamor>
I would need that, thank you!
<clamor>
Iterating through all devices of uclass in search for one you need will do the trick too.
eballetbo has quit [Quit: Connection closed for inactivity]