f_ changed the topic of ##raspberrypi-internals to: The inner workings of the Raspberry Pi (Low level VPU/HW) -- for general queries please visit #raspberrypi -- open firmware: https://librerpi.github.io/ -- VC4 VPU Programmers Manual: https://github.com/hermanhermitage/videocoreiv/wiki -- chat logs: https://libera.irclog.whitequark.org/~h~raspberrypi-internals -- bridged to matrix and discord
jcea has quit [Ping timeout: 268 seconds]
bob_x2 has quit [Remote host closed the connection]
bob_x2 has joined ##raspberrypi-internals
bob_x2 has quit [Remote host closed the connection]
bob_x2 has joined ##raspberrypi-internals
Alexer has quit [Ping timeout: 260 seconds]
bob_x2 has quit [Remote host closed the connection]
bob_x2 has joined ##raspberrypi-internals
bob_x2 has quit [Remote host closed the connection]
bob_x2 has joined ##raspberrypi-internals
Lightsword has quit [Quit: ZNC]
Lightsword has joined ##raspberrypi-internals
waveform has quit [Ping timeout: 256 seconds]
jcea has joined ##raspberrypi-internals
<Ad0> https://pastebin.com/hAt6szFW how could this happen? u-boot 2020.01
<clever> Ad0: normal device-tree, or with some weird changes?
<Ad0> an overlay
<Ad0> it's CM3+
<Ad0> this exception happens before any drivers are loaded right?
<Ad0> I am running 5.4 tho
<Ad0> but shouldn't matter. is even dt-blob.bin required?
<clever> Ad0: dt-blob.bin only configures the firmware things, like dsi and csi
<clever> and if your using kms, then linux is in charge of dsi
<clever> and libcamera puts linux in charge of csi too
<clever> i dont see any framebuffer things in that overlay
<clever> id need to see a full dump of the dtb, after overlays, to guess any further
<Ad0> thanks!
<Ad0> yeah I don't need camera
waveform has joined ##raspberrypi-internals
<Ad0> clever, the exception went away when commenting out dtoverlay=vc4-kms-v3d
<Ad0> the hardware works on their OS but not mine. it uses spi 0.2 and 0.3 as well. is there any special stuff I have to enable to use those extra GPIOS (6 and 30) other than what's specified in the overlay I linked?
<Ad0> [ 1.463837] spi-bcm2835 3f204000.spi: could not get clk: -517
<clever> ive not see -517 before
<Ad0> I think it's the device tree screwing things up
<Ad0> so I think I will just everything bit by bit into my bcm2710-rpi-cm3.dts
<Ad0> overlays are way too cryptic
<clever> Ad0: one handy trick, is to run this: dtc /proc/device-tree 2>/dev/null | less
<clever> Ad0: that tells you the final dts state, after applying all overlays
<Ad0> ok
<clever> you can then review that, and adjust the overlays until it looks right
<Ad0> it seems way too sensitive
<clever> which part?
<Ad0> the whole device tree stuff
<Ad0> I guess it's very very low level
<clever> its far better then what we had befor
<Ad0> not much room to mess up
<clever> orignally, all of that was baked into the kernel source
<clever> want to add a new i2c device? edit the source and rebuild the kernel!
<Ad0> well
<Ad0> at least it's more readable to me without simulate in my head how all the overlays add up
<Ad0> haha
<Ad0> also I know y ou should use overlays and leave the base files alone like the bcm dts but I like have everything in one place
<clever> i prefer using overlays, because it means less merge conflicts in the future
<Ad0> yeah luckily I don't work with several people but it would be nice with a visual overlay designer with validation
<Ad0> is there such a thing?
<clever> none that i know of
<Ad0> that could generate the overlay with the right syntax because you have to do the @ stuff
<clever> have you seen the official rpi docs on overlays?
<Ad0> nope would like to
<Ad0> thanks!
<Ad0> it's really flexible though
<clever> yep
<Ad0> I was impressed that I could read mac addresses for ethernet from eeprom with offsets and everything and it just worked
<Ad0> referencing stuff
<Ad0> but this kunbus does it differently as you can see
<clever> i need to get to bed now, but i'll be back later
angerisagift has quit [Ping timeout: 256 seconds]
angerisagift has joined ##raspberrypi-internals
angerisagift has quit [Ping timeout: 264 seconds]
angerisagift has joined ##raspberrypi-internals