00:00
hipboi has quit [Read error: Connection reset by peer]
00:17
hipboi has joined #linux-rockchip
00:17
vagrantc has quit [Quit: leaving]
00:22
hipboi has quit [Ping timeout: 252 seconds]
00:42
digetx has quit [Ping timeout: 272 seconds]
00:45
digetx has joined #linux-rockchip
00:51
hipboi has joined #linux-rockchip
00:55
hipboi has quit [Ping timeout: 255 seconds]
01:00
stikonas has quit [Ping timeout: 268 seconds]
01:08
hipboi has joined #linux-rockchip
01:13
hipboi has quit [Ping timeout: 264 seconds]
01:47
hipboi has joined #linux-rockchip
03:18
rembo10 has joined #linux-rockchip
07:36
macromorgan_ has joined #linux-rockchip
07:36
macromorgan has quit [Read error: Connection reset by peer]
07:50
matthias_bgg has joined #linux-rockchip
08:45
mripard has joined #linux-rockchip
09:15
cmjx has quit [Ping timeout: 256 seconds]
09:25
eballetbo has joined #linux-rockchip
09:52
stikonas has joined #linux-rockchip
10:40
Rathann has joined #linux-rockchip
10:58
cmjx has joined #linux-rockchip
11:03
cmjx has quit [Remote host closed the connection]
11:08
cmjx has joined #linux-rockchip
11:28
ungeskriptet has quit [Quit: Ping timeout (120 seconds)]
11:28
ungeskriptet has joined #linux-rockchip
11:30
<
qschulz >
has anyone been able to interact with a SPI controller on RK35xx in U-Boot?
11:30
<
qschulz >
or rather, a device on one of the SPI bus (NOT SFC)
11:30
<
qschulz >
trying to add some support for the PMIC, but all the register reads ever return is 0
11:31
dsimic has quit [Ping timeout: 255 seconds]
11:33
dsimic has joined #linux-rockchip
11:54
robmur01 has quit [Ping timeout: 240 seconds]
11:57
mx08_ is now known as mx08
12:08
raster has joined #linux-rockchip
12:22
<
beeble >
qschulz: do not forget that pmic spi is this mosi/miso shorted version
12:23
<
beeble >
qschulz: so you should not drive MOSI while doing a read
12:44
<
qschulz >
beeble: AFAICT nothing specific is done in the Linux kernel wrt that?
12:45
<
qschulz >
beeble: I also ported the driver from downstream U-Boot to upstream U-Boot to no avail
12:46
<
qschulz >
and couldn't see any obvious Rockchip-only change in the spi framework callbacks
12:47
<
beeble >
qschulz: you try to use sspi for now or are you already in c code?
12:49
<
qschulz >
beeble: briefly tried sspi with the same results
13:12
hipboi has quit [Ping timeout: 255 seconds]
13:24
stikonas has quit [Ping timeout: 255 seconds]
13:26
hipboi has joined #linux-rockchip
13:28
leming has quit [Ping timeout: 256 seconds]
13:31
hipboi has quit [Ping timeout: 272 seconds]
13:32
leming has joined #linux-rockchip
13:38
leming has quit [Ping timeout: 256 seconds]
13:43
leming has joined #linux-rockchip
13:57
raster has quit [Quit: Gettin' stinky!]
13:58
<
beeble >
qschulz: it is definitly an issue with driving the output while reading
13:58
<
beeble >
reduce the drive strength of the gpio0_a6 and you will start receiving stuff
14:00
hipboi has joined #linux-rockchip
14:00
<
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
14:04
hipboi has quit [Ping timeout: 264 seconds]
14:08
<
qschulz >
beeble: dang... you're right.... but.... why does it work in Linux then?
14:08
<
qschulz >
or does it even work in Linux
14:10
macromorgan_ is now known as macromorgan
14:11
<
beeble >
qschulz: that is what i'm looking at right now. writes will work, but reads i'm trying to figure out
14:11
<
qschulz >
got the proper value returned for a read in upstream U-Boot with weak drive-strength
14:33
hipboi has joined #linux-rockchip
14:40
hipboi has quit [Ping timeout: 264 seconds]
14:48
hipboi has joined #linux-rockchip
14:52
hipboi has quit [Ping timeout: 264 seconds]
14:59
ldevulder has quit [Quit: Leaving]
15:10
hipboi has joined #linux-rockchip
15:15
hipboi has quit [Ping timeout: 268 seconds]
15:35
hipboi has joined #linux-rockchip
15:41
hipboi has quit [Ping timeout: 264 seconds]
15:46
ungeskriptet7 has joined #linux-rockchip
15:47
ungeskriptet has quit [Ping timeout: 240 seconds]
15:47
ungeskriptet7 is now known as ungeskriptet
15:54
hipboi has joined #linux-rockchip
15:59
hipboi has quit [Ping timeout: 240 seconds]
16:19
mripard has quit [Quit: mripard]
16:19
Rathann has quit [Quit: Leaving]
16:56
hipboi has joined #linux-rockchip
17:02
hipboi has quit [Ping timeout: 264 seconds]
17:04
psydroid has joined #linux-rockchip
17:16
raster has joined #linux-rockchip
17:52
raster has quit [Quit: Gettin' stinky!]
18:05
vagrantc has joined #linux-rockchip
18:19
<
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
18:21
<
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?
18:21
<
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)
18:22
cmjx has quit [Ping timeout: 256 seconds]
18:27
eballetbo has quit [Quit: Connection closed for inactivity]
18:28
Stat_headcrabed has joined #linux-rockchip
18:34
hipboi has joined #linux-rockchip
18:34
<
Kwiboo >
we could also reclaim the "missing" 256MB on all 4-16 GB board (rk3588) and all 4 GB boards on rk356x
18:35
<
Kwiboo >
did a dump on one of my rk3566 boards with 4GB and that reported same as 4GB on rk3588
18:38
cmjx has joined #linux-rockchip
18:40
hipboi has quit [Ping timeout: 264 seconds]
18:41
Stat_headcrabed has quit [Quit: Stat_headcrabed]
18:44
<
qschulz >
the question is, can you write to anywhere in the DDR without triggering a fault?
18:53
matthias_bgg has quit [Quit: Leaving]
18:53
hipboi has joined #linux-rockchip
18:58
hipboi has quit [Ping timeout: 260 seconds]
19:03
stikonas has joined #linux-rockchip
19:44
shailangsa has quit [Remote host closed the connection]
20:02
hipboi has joined #linux-rockchip
20:06
hipboi has quit [Ping timeout: 255 seconds]
20:20
hipboi has joined #linux-rockchip
20:24
hipboi has quit [Ping timeout: 252 seconds]
20:38
hipboi has joined #linux-rockchip
20:43
hipboi has quit [Ping timeout: 272 seconds]
21:04
hipboi has joined #linux-rockchip
21:09
hipboi has quit [Ping timeout: 268 seconds]
21:21
hipboi has joined #linux-rockchip
21:25
hipboi has quit [Ping timeout: 260 seconds]
21:53
vagrantc has quit [Quit: leaving]
21:55
hipboi has joined #linux-rockchip
21:59
hipboi has quit [Ping timeout: 255 seconds]
22:12
hipboi has joined #linux-rockchip
22:16
hipboi has quit [Ping timeout: 256 seconds]
22:29
hipboi has joined #linux-rockchip
22:34
hipboi has quit [Ping timeout: 268 seconds]
22:55
hipboi has joined #linux-rockchip
22:59
hipboi has quit [Ping timeout: 255 seconds]
23:34
naoki has joined #linux-rockchip
23:45
<
macromorgan >
that 12GB board giving me an error now without a memory hole... hmm...
23:52
hipboi has joined #linux-rockchip
23:57
hipboi has quit [Ping timeout: 255 seconds]