mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
hipboi has quit [Ping timeout: 252 seconds]
digetx has quit [Ping timeout: 272 seconds]
digetx has joined #linux-rockchip
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 255 seconds]
stikonas has quit [Ping timeout: 268 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 264 seconds]
hipboi has joined #linux-rockchip
rembo10 has quit [Quit: ZNC 1.8.2 - https://znc.in]
rembo10 has joined #linux-rockchip
macromorgan_ has joined #linux-rockchip
macromorgan has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
mripard has joined #linux-rockchip
cmjx has quit [Ping timeout: 256 seconds]
eballetbo has joined #linux-rockchip
stikonas has joined #linux-rockchip
Rathann has joined #linux-rockchip
cmjx has joined #linux-rockchip
cmjx has quit [Remote host closed the connection]
cmjx has joined #linux-rockchip
ungeskriptet has quit [Quit: Ping timeout (120 seconds)]
ungeskriptet has joined #linux-rockchip
<qschulz> has anyone been able to interact with a SPI controller on RK35xx in U-Boot?
<qschulz> or rather, a device on one of the SPI bus (NOT SFC)
<qschulz> trying to add some support for the PMIC, but all the register reads ever return is 0
dsimic has quit [Ping timeout: 255 seconds]
dsimic has joined #linux-rockchip
robmur01 has quit [Ping timeout: 240 seconds]
mx08_ is now known as mx08
raster has joined #linux-rockchip
<beeble> qschulz: do not forget that pmic spi is this mosi/miso shorted version
<beeble> qschulz: so you should not drive MOSI while doing a read
<qschulz> beeble: AFAICT nothing specific is done in the Linux kernel wrt that?
<qschulz> beeble: I also ported the driver from downstream U-Boot to upstream U-Boot to no avail
<qschulz> and couldn't see any obvious Rockchip-only change in the spi framework callbacks
<beeble> qschulz: you try to use sspi for now or are you already in c code?
<qschulz> beeble: briefly tried sspi with the same results
hipboi has quit [Ping timeout: 255 seconds]
stikonas has quit [Ping timeout: 255 seconds]
hipboi has joined #linux-rockchip
leming has quit [Ping timeout: 256 seconds]
hipboi has quit [Ping timeout: 272 seconds]
leming has joined #linux-rockchip
leming has quit [Ping timeout: 256 seconds]
leming has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
<beeble> qschulz: it is definitly an issue with driving the output while reading
<beeble> reduce the drive strength of the gpio0_a6 and you will start receiving stuff
hipboi has joined #linux-rockchip
<beeble> qschulz: at least partially. reducing it 2.5mA is not enough to have a nice signal. but it gets better as with the 5mA
hipboi has quit [Ping timeout: 264 seconds]
<qschulz> beeble: dang... you're right.... but.... why does it work in Linux then?
<qschulz> or does it even work in Linux
macromorgan_ is now known as macromorgan
<beeble> qschulz: that is what i'm looking at right now. writes will work, but reads i'm trying to figure out
<qschulz> got the proper value returned for a read in upstream U-Boot with weak drive-strength
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 264 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 264 seconds]
ldevulder has quit [Quit: Leaving]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 268 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 264 seconds]
ungeskriptet7 has joined #linux-rockchip
ungeskriptet has quit [Ping timeout: 240 seconds]
ungeskriptet7 is now known as ungeskriptet
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 240 seconds]
mripard has quit [Quit: mripard]
Rathann has quit [Quit: Leaving]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 264 seconds]
psydroid has joined #linux-rockchip
raster has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
vagrantc has joined #linux-rockchip
<Kwiboo> macromorgan: I did a new atags dump on rk3588 boards and now have values for 4/8/16/32 GB at https://gist.github.com/Kwiboo/1c020d37e3adbc9d0d79dc003d921977
<Kwiboo> can see that for 4/8/16 GB an "extra" range is reported at the end, for the space use by hw regs, this extra range is something that mainline u-boot ignores
<macromorgan> so long story short, does that mean we need to hard code a memory hole for >16GB, or do we need to find a way to derive it from the atags?
<macromorgan> also I have a 12GB device here that I need to dump, but I think the tags are very similar to an 8GB (but with 3 banks)
cmjx has quit [Ping timeout: 256 seconds]
eballetbo has quit [Quit: Connection closed for inactivity]
Stat_headcrabed has joined #linux-rockchip
<Kwiboo> I think we can safely add the hard coded gaps as added in https://source.denx.de/u-boot/u-boot/-/commit/a6e85a35b50ade7df5f32092c1cc05ade303a22a on all rk3588 boards, they are needed on all boards with 16 GB or more memory
hipboi has joined #linux-rockchip
<Kwiboo> we could also reclaim the "missing" 256MB on all 4-16 GB board (rk3588) and all 4 GB boards on rk356x
<Kwiboo> did a dump on one of my rk3566 boards with 4GB and that reported same as 4GB on rk3588
cmjx has joined #linux-rockchip
hipboi has quit [Ping timeout: 264 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<Kwiboo> 8gb on rk3566 seem to only report a single bank of all 8gb, not makeing a hole for hw regs: https://gist.github.com/Kwiboo/6d983693c79365b43c330eb3191cbace
<qschulz> the question is, can you write to anywhere in the DDR without triggering a fault?
matthias_bgg has quit [Quit: Leaving]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 260 seconds]
stikonas has joined #linux-rockchip
shailangsa has quit [Remote host closed the connection]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 255 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 252 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 272 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 268 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 260 seconds]
vagrantc has quit [Quit: leaving]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 255 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 256 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 268 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 255 seconds]
naoki has joined #linux-rockchip
<macromorgan> that 12GB board giving me an error now without a memory hole... hmm...
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 255 seconds]