ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
matthias_bgg has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
BenG83 has quit [Remote host closed the connection]
anarsoul|2 has quit [Ping timeout: 268 seconds]
vstehle has quit [Ping timeout: 244 seconds]
BenG83 has joined #linux-rockchip
return0e has quit [Read error: Connection reset by peer]
adjtm_ has quit [Remote host closed the connection]
adjtm_ has joined #linux-rockchip
return0e has joined #linux-rockchip
tomeu has quit [Ping timeout: 252 seconds]
ramcq has quit [Ping timeout: 252 seconds]
koike has quit [Ping timeout: 264 seconds]
koike has joined #linux-rockchip
ramcq has joined #linux-rockchip
field^Zzz4 has joined #linux-rockchip
field^Zzz3 has quit [Ping timeout: 244 seconds]
LargePrime has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-rockchip
vagrantc has joined #linux-rockchip
vstehle has joined #linux-rockchip
lopsided98_ has quit [Ping timeout: 264 seconds]
lopsided98 has joined #linux-rockchip
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
nsaenz has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 244 seconds]
vagrantc has quit [Quit: leaving]
tomeu has joined #linux-rockchip
<tomeu> beeble: sorry, just saw this now, after having been able to flash to emmc via MASKROM
<tomeu> got u-boot running now with the downstream DT
<tomeu> eth isn't being detected though
<tomeu> any ideas on what I'm missing? http://paste.debian.net/1052578/
<tomeu> the schematic shows a RTL8211E-VB-CG
<beeble> Error: ethernet@fe300000 address not set.
<tomeu> ah, indeed, CONFIG_NET_RANDOM_ETHADDR got things working
<tomeu> wonder if the MAC is stored somewhere accessible
matthias_bgg has joined #linux-rockchip
<tomeu> guess a random mac address is fine, but for some reason MMC storage fails with "Card did not respond to voltage select!"
BenG83 has quit [Ping timeout: 268 seconds]
BenG83 has joined #linux-rockchip
BenG83 has quit [Read error: Connection reset by peer]
BenG83 has joined #linux-rockchip
afaerber has joined #linux-rockchip
<beeble> tomeu: you can set the address via u-boot environment. it gets then injected into the fdt for linux
<tomeu> yeah, but the env doesn't get stored into emmc because of that error
<tomeu> wonder if it's trying to save the env to the sd card, without any being inserted
<beeble> check your CONFIG_SYS_MMC_ENV_DEV
<beeble> mmc1
<beeble> sorry
<beeble> mmc0 = emmc, mmc1 = sd (on rk3399)
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #linux-rockchip
<tomeu> that was it, thanks
<tomeu> guess people just keep a local modification to include/configs/blah.h for this kind of changes?
vicencb has joined #linux-rockchip
DuClare has joined #linux-rockchip
<tomeu> things seem to be working fine on u-boot now, pity that the kernel isn't logging anything to serial :)
<tomeu> anybody has any pointers for enabling earlyprintk on rk3399? googling wasn't useful
vicencb has quit [Quit: Leaving.]
<tomeu> have earlycon=uart8250,mmio32,0xff1a0000 in the args and CONFIG_SERIAL_EARLYCON=y in the kernel config, but no luck
<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? :)
<DuClare> It's hard to tell what the differences are, at a glance
<mmind00> tomeu: which is pretty strange, as at least serial always worked on every board for me
<mmind00> tomeu: which devicetree are you using?
<tomeu> from friendlyelec's downstream, let me commit and push everything
JohnDoe_71Rus has joined #linux-rockchip
<tomeu> mmind00: the kernel DT will appear in https://gitlab.collabora.com/tomeu/linux/tree/nanopc-t4 once my slow link finishes pushing
<tomeu> I'm using arch/arm64/configs/defconfig
<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
<tomeu> bootargs:
<tomeu> setenv bootargs "console=ttyS2,115200 console=tty0 rw rootwait ip=dhcp debug rootwait verbose drm.debug=0x00 earlyprintk earlycon=uart8250,mmio32,0xff1a0000"
<tomeu> I don't see the board requesting an ip from my desktop, so I guess it hangs during boot
<tomeu> it's up now
<mmind00> tomeu: I guess you might be missing a chosen node in the dts
<mmind00> tomeu: oh so you're seeing something on the console now?
nsaenz has quit [Ping timeout: 268 seconds]
nsaenz has joined #linux-rockchip
<beeble> tomeu: try console=uart,mmio32,0xff1a0000 earlyprintk instead of earlycon
<tomeu> mmind00: was indeed missing it, have added now
<tomeu> but I'm not seeing anything yet in the console after u-boot
<tomeu> beeble: not even with that
<tomeu> don't I need to enable something rk3399-specific to my .config so earlyprintk works?
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
vicencb has joined #linux-rockchip
ldevulder has quit [Ping timeout: 252 seconds]
ldevulder_ is now known as ldevulder
vicencb has quit [Client Quit]
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
aalm has quit [Ping timeout: 240 seconds]
<beeble> tomeu: i think it should work without anything specific, but i do have CONFIG_SERIAL_EARLYCON enabled
<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?
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
lkcl has quit [Ping timeout: 245 seconds]
lkcl has joined #linux-rockchip
lkcl has quit [Ping timeout: 245 seconds]
lkcl has joined #linux-rockchip
lkcl has quit [Ping timeout: 268 seconds]
lkcl has joined #linux-rockchip
vagrantc has joined #linux-rockchip
anarsoul|2 has joined #linux-rockchip
<beeble> mmind00: uart2 clocksource is by default 24mhz. so 1.5mbit is the highest speed you can get (uart_dll == 1)
<mmind00> beeble: and for whatever reason most rk3399 china-boards seem to use that frequency for whatever reason
<beeble> rockchip loader enables the uart with that settings :)
<beeble> and their sdk does not touch the baudrate afterwards
lkcl has quit [Ping timeout: 268 seconds]
<mmind00> beeble: and I just realized, that if tomeu does see output in uboot with 115200 that setting should be the correct one :-)
<mmind00> tomeu: interesting question how do you load kernel + dts? As FIT image via extlinux.conf or some other way?
lkcl has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
tl_lim has joined #linux-rockchip
amstan has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Quit: Leaving]
amstan has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
tl_lim has quit [Ping timeout: 260 seconds]
stikonas has joined #linux-rockchip
aalm has joined #linux-rockchip
vicencb has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
hanetzer is now known as SpaceCrumbs
SpaceCrumbs is now known as hanetzer