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
vstehle has quit [Ping timeout: 248 seconds]
tl_lim has quit [Ping timeout: 255 seconds]
akaizen has joined #linux-rockchip
nighty- has joined #linux-rockchip
hipboi has joined #linux-rockchip
lurchi_ is now known as lurchi__
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
lkcl has quit [Read error: No route to host]
tl_lim has joined #linux-rockchip
lkcl has joined #linux-rockchip
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
hipboi has quit [Ping timeout: 248 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Client Quit]
aalm has quit [Quit: xyz 1.9.1]
stdint has quit [Read error: Connection reset by peer]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 240 seconds]
rperier has quit [Quit: No Ping reply in 180 seconds.]
rperier has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
hipboi has joined #linux-rockchip
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
xevious has joined #linux-rockchip
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
vstehle has joined #linux-rockchip
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
VargaD has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
VargaD has joined #linux-rockchip
VargaD has quit [Ping timeout: 240 seconds]
tl_lim has quit [Read error: Connection reset by peer]
cyteen has quit [Ping timeout: 255 seconds]
cyteen has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
nighty- has quit [Quit: Disappears in a puff of smoke]
lurchi_ is now known as lurchi__
hipboi has quit [Ping timeout: 240 seconds]
hipboi has joined #linux-rockchip
<maz> mmind00: who can I ping about getting the kevin display to work with mainline? I've been cherry-picking random patches from the list, and it still doesn't work for me...
<maz> mmind00: any pointer very much appreciated.
<mmind00> maz: yeah ... it's similar for me in that I get mixed messages ... reports from people getting it to work but not seeing anything myself
<mmind00> maz: the last sucess message came from eballetbo though
<maz> mmind00: yup, and I took his word for it. still a blank screen (with backlight though).
<eballetbo> maz: display should work with current mainline 4.15-rc2
<maz> eballetbo: as of yesterday, it doesn't for me.
<eballetbo> the only what is missing are the dts bits
<maz> eballetbo: I got that in my tree, enabled all the required IOMMU and eDP stuff I could possibly find, and still a blank screen.
<maz> very annoying, as I can ssh infor the machine and use it as a blind box... ;-)
<maz> into*
<maz> eballetbo: would you mind sharing a config file so that I can compare what is going wrong with my setup?
<eballetbo> maz: that's my config fragment that I apply against arm64 defconfig
<maz> eballetbo: thanks. I'll give it a go later today and let you know.
<eballetbo> maz: I think there is a issue about some drivers compiled as modules instead of built-in that need to be solved, did have time to test. But make sure the drm bits are built-in
<eballetbo> *didn't*
<maz> eballetbo: I tend not to have too many modules, they don't get a chance to load when my kernel crashes... ;-)
<eballetbo> Is
<eballetbo> CONFIG_BACKLIGHT_PWM=y
<eballetbo> CONFIG_PWM_CROS_EC=y
<eballetbo> set in your config?
nighty- has joined #linux-rockchip
<maz> eballetbo: CONFIG_PWM_CROS_EC is a module here, but I definitely see the backlight coming on. it is really an issue with driving the panel.
<eballetbo> guess I had some problems with PWM cros-ec being a module so just try to built-in
<maz> ok. I'll give it a go with your config as a starting point, and if that works I can start pinpointing what's wrong with mine...
afaerber has quit [Quit: Leaving]
gnufan has joined #linux-rockchip
susedv has joined #linux-rockchip
<susedv> I have added a custom resolution 1280x1024p@60 to http://git.us.linux-rockchip.org/cgit/rk3288_r-box_android4.4.2_sdk/tree/kernel/drivers/video/rockchip/hdmi/hdmi-lcdc.c : { {"1280x1024p@60Hz",60,1280,1024,108000000,248,48,38,1,112,3,FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,0,0},4,0,1,OUT_P888}, but it either doesn't work or I get a purple screen. In dmesg I see that it's using a wrong pixel clock:
<susedv> instead of 108000000 @ 60. I think I need to adjust http://git.us.linux-rockchip.org/cgit/rk3288_r-box_android4.4.2_sdk/tree/kernel/drivers/clk/rockchip/clk-pll.c but don't understand what values to add there, anybody knows?
<susedv> It's for Rk3288.
afaerber has joined #linux-rockchip
<maz> eballetbo: OK. with your config, I now get the display up and running. Hooray! Thanks for that.
<maz> eballetbo: the snag is that I've now lost the sdcard, which has my rootfs on. that one was working fine with my old config...
mmind00 has quit [Quit: No Ping reply in 180 seconds.]
mmind00 has joined #linux-rockchip
<eballetbo> maz: which defconfig are you using? so I only pasted the fragment that you should apply on against arm64 defconfig. SD should work
<eballetbo> maz: i.e
<eballetbo> maz: scripts/kconfig/merge_config.sh -m arch/arm64/configs/defconfig chromebooks.cfg
<eballetbo> maz: make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- olddefconfig
<eballetbo> I also have the rootfs in the SD
<maz> eballetbo: I did exactly that, and end up with with the sdcard shouting at me:
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.354051] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000H
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.399167] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, act
<maz> z, actual 150000000HZ div = 0)
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.372460] mmc0: tuning execution failed: -5
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.366224] dwmmc_rockchip fe320000.dwmmc: All phases bad!
<maz> ual 100000HZ div = 0)
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.776384] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000H
<maz> z, actual 150000000HZ div = 0)
lkcl has quit [Ping timeout: 260 seconds]
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.788561] dwmmc_rockchip fe320000.dwmmc: All phases bad!
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.794787] mmc0: tuning execution failed: -5
<maz> Dec 4 12:42:45 big-swifty kernel: [ 4.799734] mmc0: error -5 whilst initialising SD card
<maz> tons of the stuff.
<maz> feels like the sdcard clock is being influenced by the display controller one way or another...
<maz> eballetbo: also, there is only *one* arm64 defconfig, so I'm pretty sure I picked the right one... ;-)
<eballetbo> curious, mmc works for me, though I see the tuning execution failed too
<eballetbo> yep, I see some errors but mounts the rootfs
afaerber has quit [Ping timeout: 255 seconds]
cnxsoft has quit [Quit: cnxsoft]
afaerber has joined #linux-rockchip
<susedv> Is anybody here who understands the values in kernel/drivers/clk/rockchip/clk-pll.c? Don't know how to fix wrong pixel clock "rk3288-lcdc lcdc0: lcdc0: dclk:118800000>>fps:66" in dmesg (should be 108000000 for 1280x1024@60)
JohnDoe_71Rus has joined #linux-rockchip
<maz> eballetbo: seems to be sdcard related. my 128G card doesn't work, while a 2G card does. obviously a regression somewhere (and something to do with your config vs mine).
xevious has quit [Remote host closed the connection]
xevious has joined #linux-rockchip
susedv has quit []
wzyy2 has quit [Ping timeout: 260 seconds]
cyteen__ has joined #linux-rockchip
cyteen has quit [Ping timeout: 248 seconds]
<eballetbo> maz: CONFIG_ROCKCHIP_IODOMAIN built-in vs module seems to fix the issue
Easyfab has joined #linux-rockchip
matthias_bgg has quit [Quit: Leaving]
<maz> eballetbo: ah! I'll give it a shot.
tllim has joined #linux-rockchip
premoboss has joined #linux-rockchip
<mmind00> eballetbo: woohoo ... edp output
BenG83 has joined #linux-rockchip
<mmind00> eballetbo: are you looking into why it needs to be built-in right now, per chance? :-)
<eballetbo> mmind00: nope, added to my todo but currently looking at usb3
vagrantc has joined #linux-rockchip
<maz> eballetbo: confirmed, works!
<maz> eballetbo: KVM up and running, I now relax... ;-)
<maz> mmind00: I'll have a chat with the usual suspects to see if I can sneak in whatever needs to be built-in for kevin...
<mmind00> maz: as hdmi on my firefly-rk3399 works nicely with the things built as modules, it might be nicer to actually find out what fails :-)
afaerber has quit [Quit: Leaving]
cyteen__ has quit [Ping timeout: 255 seconds]
<maz> mmind00: I didn't mean "as an alternative to being built as modules", but as "I need this in defconfig for kevin to work".
<maz> mmind00: the rule of thumb is that we enable our test platforms in defconfig and run that on the whole zoo...
<maz> mmind00: and since kevin is likely to become my daily driver for the foreseeable future, I'd like to have it working out of the box.
* vagrantc wonders what the status of cpufreq on the firefly-rk3399 is
<vagrantc> last i saw the quad-core was working, but the a72 chips weren't
<Ke> kevin is chromebook plus?
<maz> Ke: yup.
cyteen__ has joined #linux-rockchip
tl_lim has joined #linux-rockchip
tllim has quit [Ping timeout: 255 seconds]
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
agusan has joined #linux-rockchip
Easyfab has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
lkcl has joined #linux-rockchip
afaerber has joined #linux-rockchip
susedv has joined #linux-rockchip
lurchi__ is now known as lurchi_
<susedv> Does anybody understand these struct values http://git.us.linux-rockchip.org/cgit/rk3288_r-box_android4.4.2_sdk/tree/kernel/drivers/clk/rockchip/clk-pll.c ? I don't know what values to add for RK3288 to support 108MHz pixel clock (required for 1280x1024p@60)
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
amstan has quit [Ping timeout: 240 seconds]
amstan has joined #linux-rockchip
amstan has quit [Changing host]
amstan has joined #linux-rockchip
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-rockchip
susedv has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
premoboss has quit [Ping timeout: 255 seconds]
libv_ has quit [Ping timeout: 260 seconds]
premoboss has joined #linux-rockchip
premoboss has quit [Ping timeout: 248 seconds]
premoboss has joined #linux-rockchip
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
nighty- has quit [Quit: Disappears in a puff of smoke]
premoboss has quit [Ping timeout: 248 seconds]
premoboss has joined #linux-rockchip