00:15
kevery1 has joined #linux-rockchip
00:15
kevery has quit [Remote host closed the connection]
00:15
kevery1 is now known as kevery
00:25
R0b0t1`` has joined #linux-rockchip
00:25
<
R0b0t1`` >
hi, anyone have experience with dwc3?
00:26
<
R0b0t1`` >
I can get USB2 working by setting peripheral mode explicitly in dts
00:26
<
R0b0t1`` >
however usb3 seems to confuse the hardware
01:02
stikonas has quit [Remote host closed the connection]
02:24
fncapkle has joined #linux-rockchip
02:38
lkcl has quit [Ping timeout: 272 seconds]
02:51
lkcl has joined #linux-rockchip
04:42
JohnDoe_71Rus has joined #linux-rockchip
05:00
_whitelogger has joined #linux-rockchip
07:51
_whitelogger has joined #linux-rockchip
08:52
stikonas has joined #linux-rockchip
08:56
warpme_ has joined #linux-rockchip
09:28
kevery1 has joined #linux-rockchip
09:29
kevery has quit [Read error: Connection reset by peer]
09:29
kevery1 is now known as kevery
09:53
nlhowell has quit [Quit: WeeChat 2.9]
10:00
nlhowell has joined #linux-rockchip
10:37
vicencb has joined #linux-rockchip
11:13
macc24 has joined #linux-rockchip
11:13
vicencb has quit [Quit: Leaving.]
11:13
<
macc24 >
are there any docs on compiling uboot for rk3326?
11:14
<
macc24 >
i'm trying to compile mainline uboot for odroid go advanc
11:14
<
stikonas >
well, there is some documentation in uboot source tree
11:14
<
macc24 >
but not for rk3326
11:15
<
macc24 >
yes i have tried
11:15
<
stikonas >
yeah, it's mostly for rk3399...
11:17
<
stikonas >
macc24: does uboot even support 3326?
11:17
<
macc24 >
stikonas: yeah
11:17
<
stikonas >
I can see 3328...
11:17
<
stikonas >
maybe they are similar
11:17
<
macc24 >
hardkernel firmware IS uboot
11:17
<
macc24 >
and there is defconfig for odroid go2
11:17
<
stikonas >
oh, but it might be patched
11:17
<
stikonas >
but ok...
11:17
<
macc24 >
so it looks like the board is supported
11:18
<
stikonas >
yeah, there is odroid-go2_defconfig...
11:20
<
macc24 >
unrelated question: can i set uboot to use uart1 instead of uart0?
11:21
<
stikonas >
macc24: you seem to be missing trust.img
11:21
<
stikonas >
according to your error
11:23
<
macc24 >
how to compile it?
11:23
<
stikonas >
macc24: I don't see support for rk3326 in upstream arm-trusted-firmware...
11:23
<
stikonas >
you probably have to use blob
11:23
<
macc24 >
i heard that name too
11:24
<
stikonas >
px30 is there
11:24
<
stikonas >
well, it's just make PLAT=px30
11:24
<
macc24 >
okay thanks
11:24
<
stikonas >
well, assuming you have right compiler/crosscompiler
11:26
<
stikonas >
although, I don't know where you need to put compiled binary...
11:26
<
macc24 >
aarch64-linux-gnu cross compiler is good?
11:26
<
macc24 >
that's what hardkernel uses
11:26
<
stikonas >
on rk3399 you put it inside u-boot root folder and u-boot combines ATF and u-boot into a single binary
11:26
<
stikonas >
isn't this board 32-bit arm?
11:27
<
macc24 >
no it's 64bit
11:27
<
stikonas >
I guess it should work...
11:27
<
macc24 >
it has arm a35 cpus
11:27
<
macc24 >
(not a typo)
11:27
<
stikonas >
although, sometimes ATF also needs 32 bit compiler...
11:27
<
stikonas >
e.g. rk3399 has 32 bit power controller inside the board (even though 6 main CPUs are 64 bit)
11:28
<
stikonas >
so to compile ATF I needed arm-none-eabi and aarch64-unknown-linux-gnu...
11:28
<
macc24 >
i have arm-none-eabi too
11:31
<
mps >
when you are talking about rk3399 u-boot, did anyone made it for gru-kevin chromebook
11:31
<
macc24 >
ill just use downstream uboot for now
11:31
<
macc24 >
mps: i heard from hanetzer that it is broken
11:31
<
mps >
macc24: u-boot is broken?
11:32
<
macc24 >
uboot for kevin
11:32
<
mps >
could be, I tried but without success (5 months ago)
11:33
* macc24
waits until uboot for veyron minnie is a thing
11:33
<
stikonas >
no, I don't think gru-kevin has u-boot support...
11:37
<
mps >
there is configs/chromebook_bob_defconfig in u-boot
11:37
<
mps >
I think I read somewhere that it is similar to gru
11:39
<
mps >
configs/chromebook_bob_defconfig:CONFIG_DEFAULT_DEVICE_TREE="rk3399-gru-bob"
11:45
<
mps >
oh, there is arch/arm/dts/rk3399-gru-kevin.dts in u-boot. didn't looked for some time
11:46
<
macc24 >
mps: yeah chromebooks are quite similar
12:07
field^Zzz4 has joined #linux-rockchip
12:23
<
hanetzer >
macc24: not broken per se. just not implemented.
12:26
<
mps >
macc24: I see, :|
12:43
topi` has joined #linux-rockchip
12:44
<
topi` >
finally got this box, with my custom .dts, to boot linux. But cannot mount nfs root because eth0 doesn't exist. It seems it cannot find the PHY. any ideas?
12:45
<
topi` >
libphy: stmmac: probed
12:45
<
topi` >
mdio_bus: stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
12:46
<
topi` >
rk_gmac-dwmac ff290000.ethernet eth0: validation of rgmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22
12:47
<
topi` >
thus, stmmac_open() complains Cannot attach to PHY
12:48
<
topi` >
my initial guess is that the MDIO autoprobe somehow failed. So I added this node into &gmac { } ... : phy-id = <0x2000a231>;
12:48
<
topi` >
(it is a TI DM83867 phy)
12:58
<
topi` >
it seems that the android kernel, that works on this board, has an additional fixup in mach-rockchip/rk3288.c
12:58
<
topi` >
dp83867_phy_fixup()
13:02
nlhowell has quit [Ping timeout: 260 seconds]
13:17
<
topi` >
what's the best place to run phy_register_fixup_for_uid()? maybe in mach-rockchip/rockchip.c?
13:17
<
topi` >
there used to be heaps of stuff in mach-rockchip/ in 3.x kernels... nowadays there is just only rockchip.c
14:13
damex has quit [Ping timeout: 258 seconds]
15:46
matthias_bgg has joined #linux-rockchip
15:54
vicencb has joined #linux-rockchip
17:57
vicencb has quit [Quit: Leaving.]
20:24
kevery1 has joined #linux-rockchip
20:25
kevery has quit [Read error: Connection reset by peer]
20:25
kevery1 is now known as kevery
20:34
ukleinek has joined #linux-rockchip
21:28
ldevulder_ has joined #linux-rockchip
21:32
ldevulder__ has quit [Ping timeout: 240 seconds]
21:58
kevery1 has joined #linux-rockchip
22:00
kevery has quit [Ping timeout: 260 seconds]
22:00
kevery1 is now known as kevery
22:10
field^Zzz4 has quit [Ping timeout: 260 seconds]