00:09
matthias_bgg has joined #linux-rockchip
01:11
vagrantc has quit [Quit: leaving]
02:00
BenG83 has quit [Remote host closed the connection]
02:02
anarsoul|2 has quit [Ping timeout: 268 seconds]
02:04
vstehle has quit [Ping timeout: 244 seconds]
02:08
BenG83 has joined #linux-rockchip
02:11
return0e has quit [Read error: Connection reset by peer]
02:12
adjtm_ has quit [Remote host closed the connection]
02:12
adjtm_ has joined #linux-rockchip
02:12
return0e has joined #linux-rockchip
02:16
tomeu has quit [Ping timeout: 252 seconds]
02:16
ramcq has quit [Ping timeout: 252 seconds]
02:16
koike has quit [Ping timeout: 264 seconds]
02:18
koike has joined #linux-rockchip
02:18
ramcq has joined #linux-rockchip
03:35
field^Zzz4 has joined #linux-rockchip
03:38
field^Zzz3 has quit [Ping timeout: 244 seconds]
05:00
LargePrime has quit [Ping timeout: 264 seconds]
05:06
kaspter has joined #linux-rockchip
05:39
vagrantc has joined #linux-rockchip
06:00
vstehle has joined #linux-rockchip
06:17
lopsided98_ has quit [Ping timeout: 264 seconds]
06:19
lopsided98 has joined #linux-rockchip
06:37
kaspter has quit [Remote host closed the connection]
06:37
kaspter has joined #linux-rockchip
07:53
nsaenz has joined #linux-rockchip
08:04
matthias_bgg has quit [Ping timeout: 244 seconds]
08:18
vagrantc has quit [Quit: leaving]
08:53
tomeu has joined #linux-rockchip
08:56
<
tomeu >
beeble: sorry, just saw this now, after having been able to flash to emmc via MASKROM
08:57
<
tomeu >
got u-boot running now with the downstream DT
08:58
<
tomeu >
eth isn't being detected though
08:59
<
tomeu >
the schematic shows a RTL8211E-VB-CG
09:04
<
beeble >
Error: ethernet@fe300000 address not set.
09:19
<
tomeu >
ah, indeed, CONFIG_NET_RANDOM_ETHADDR got things working
09:20
<
tomeu >
wonder if the MAC is stored somewhere accessible
09:35
matthias_bgg has joined #linux-rockchip
09:38
<
tomeu >
guess a random mac address is fine, but for some reason MMC storage fails with "Card did not respond to voltage select!"
09:49
BenG83 has quit [Ping timeout: 268 seconds]
09:56
BenG83 has joined #linux-rockchip
09:59
BenG83 has quit [Read error: Connection reset by peer]
10:21
BenG83 has joined #linux-rockchip
10:35
afaerber has joined #linux-rockchip
10:59
<
beeble >
tomeu: you can set the address via u-boot environment. it gets then injected into the fdt for linux
11:03
<
tomeu >
yeah, but the env doesn't get stored into emmc because of that error
11:04
<
tomeu >
wonder if it's trying to save the env to the sd card, without any being inserted
11:05
<
beeble >
check your CONFIG_SYS_MMC_ENV_DEV
11:06
<
beeble >
mmc0 = emmc, mmc1 = sd (on rk3399)
11:09
kaspter has quit [Read error: Connection reset by peer]
11:10
kaspter has joined #linux-rockchip
11:17
Kelsar has joined #linux-rockchip
11:54
<
tomeu >
that was it, thanks
11:55
<
tomeu >
guess people just keep a local modification to include/configs/blah.h for this kind of changes?
12:03
vicencb has joined #linux-rockchip
12:16
DuClare has joined #linux-rockchip
12:16
<
tomeu >
things seem to be working fine on u-boot now, pity that the kernel isn't logging anything to serial :)
12:17
<
tomeu >
anybody has any pointers for enabling earlyprintk on rk3399? googling wasn't useful
12:18
vicencb has quit [Quit: Leaving.]
12:18
<
tomeu >
have earlycon=uart8250,mmio32,0xff1a0000 in the args and CONFIG_SERIAL_EARLYCON=y in the kernel config, but no luck
12:19
<
DuClare >
Hi.. any recommendations w.r.t. the uboot version to pick for a new rk3288 based project? Am I missing out if I don't use github.com/rockchip-linux/u-boot? Should I maybe just stick with mainline? :)
12:19
<
DuClare >
It's hard to tell what the differences are, at a glance
12:26
<
mmind00 >
tomeu: which is pretty strange, as at least serial always worked on every board for me
12:27
<
mmind00 >
tomeu: which devicetree are you using?
12:31
<
tomeu >
from friendlyelec's downstream, let me commit and push everything
12:33
JohnDoe_71Rus has joined #linux-rockchip
12:38
<
tomeu >
I'm using arch/arm64/configs/defconfig
12:38
<
tomeu >
and I'm creating the uimage as this: mkimage -A arm64 -O linux -T kernel -a 0 -e 0 -n Linux -C none -d $BOOT/Image uImage
12:39
<
tomeu >
setenv bootargs "console=ttyS2,115200 console=tty0 rw rootwait ip=dhcp debug rootwait verbose drm.debug=0x00 earlyprintk earlycon=uart8250,mmio32,0xff1a0000"
12:39
<
tomeu >
I don't see the board requesting an ip from my desktop, so I guess it hangs during boot
12:43
<
tomeu >
it's up now
12:52
<
mmind00 >
tomeu: I guess you might be missing a chosen node in the dts
12:53
<
mmind00 >
tomeu: oh so you're seeing something on the console now?
12:59
nsaenz has quit [Ping timeout: 268 seconds]
13:03
nsaenz has joined #linux-rockchip
13:17
<
beeble >
tomeu: try console=uart,mmio32,0xff1a0000 earlyprintk instead of earlycon
13:39
<
tomeu >
mmind00: was indeed missing it, have added now
13:39
<
tomeu >
but I'm not seeing anything yet in the console after u-boot
13:39
<
tomeu >
beeble: not even with that
13:41
<
tomeu >
don't I need to enable something rk3399-specific to my .config so earlyprintk works?
13:45
matthias_bgg has quit [Read error: Connection reset by peer]
13:45
matthias_bgg has joined #linux-rockchip
15:40
ldevulder_ has joined #linux-rockchip
15:42
vicencb has joined #linux-rockchip
15:44
ldevulder has quit [Ping timeout: 252 seconds]
15:46
ldevulder_ is now known as ldevulder
15:47
vicencb has quit [Client Quit]
15:52
BenG83 has quit [Remote host closed the connection]
15:53
BenG83 has joined #linux-rockchip
15:57
aalm has quit [Ping timeout: 240 seconds]
15:58
<
beeble >
tomeu: i think it should work without anything specific, but i do have CONFIG_SERIAL_EARLYCON enabled
16:04
<
mmind00 >
tomeu: are you sure that it's actually 115200? ... As a lot of rk3399-boards seem to use 1500000 as uart clock-rate for whatever reason?
16:07
nsaenz has quit [Remote host closed the connection]
16:10
nsaenz has joined #linux-rockchip
16:31
lkcl has quit [Ping timeout: 245 seconds]
16:32
lkcl has joined #linux-rockchip
17:10
lkcl has quit [Ping timeout: 245 seconds]
17:22
lkcl has joined #linux-rockchip
17:29
lkcl has quit [Ping timeout: 268 seconds]
17:41
lkcl has joined #linux-rockchip
17:55
vagrantc has joined #linux-rockchip
17:56
anarsoul|2 has joined #linux-rockchip
17:56
<
beeble >
mmind00: uart2 clocksource is by default 24mhz. so 1.5mbit is the highest speed you can get (uart_dll == 1)
17:57
<
mmind00 >
beeble: and for whatever reason most rk3399 china-boards seem to use that frequency for whatever reason
17:58
<
beeble >
rockchip loader enables the uart with that settings :)
17:59
<
beeble >
and their sdk does not touch the baudrate afterwards
18:01
lkcl has quit [Ping timeout: 268 seconds]
18:01
<
mmind00 >
beeble: and I just realized, that if tomeu does see output in uboot with 115200 that setting should be the correct one :-)
18:02
<
mmind00 >
tomeu: interesting question how do you load kernel + dts? As FIT image via extlinux.conf or some other way?
18:05
lkcl has joined #linux-rockchip
18:09
afaerber has quit [Quit: Leaving]
18:12
tl_lim has joined #linux-rockchip
18:21
amstan has quit [Ping timeout: 240 seconds]
18:35
matthias_bgg has quit [Quit: Leaving]
18:43
amstan has joined #linux-rockchip
19:16
nsaenz has quit [Remote host closed the connection]
19:46
BenG83 has quit [Remote host closed the connection]
19:57
BenG83 has joined #linux-rockchip
21:11
tl_lim has quit [Ping timeout: 260 seconds]
21:50
stikonas has joined #linux-rockchip
22:29
aalm has joined #linux-rockchip
22:48
vicencb has joined #linux-rockchip
22:52
stikonas has quit [Remote host closed the connection]
23:37
hanetzer is now known as SpaceCrumbs
23:37
SpaceCrumbs is now known as hanetzer