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
fireglow has joined #linux-rockchip
fireglow has quit [Quit: Gnothi seauton; Veritas vos liberabit]
fireglow has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
kaspter has joined #linux-rockchip
vstehle has quit [Ping timeout: 246 seconds]
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 255 seconds]
camus is now known as kaspter
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-rockchip
ganbold has quit [Ping timeout: 246 seconds]
_whitelogger has joined #linux-rockchip
vstehle has joined #linux-rockchip
drrty has quit [Ping timeout: 258 seconds]
ldevulder_ has quit [Ping timeout: 245 seconds]
ldevulder_ has joined #linux-rockchip
BenG83 has quit [Ping timeout: 258 seconds]
ldevulder_ is now known as ldevulder
jaganteki has joined #linux-rockchip
field^Mop has joined #linux-rockchip
mearon has quit [Ping timeout: 276 seconds]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 246 seconds]
lkcl has joined #linux-rockchip
jaganteki has quit [Ping timeout: 256 seconds]
ldevulder has quit [Ping timeout: 258 seconds]
mearon has joined #linux-rockchip
ldevulder has joined #linux-rockchip
wwilly has joined #linux-rockchip
<architt> Hi, can anyone recommend a good Wifi+BT chip that's known to work well with RK3399, and has good upstream support?
wwilly_ has quit [Ping timeout: 246 seconds]
<inode> mmind00: where/who do i submit patches to?
ldevulder_ has joined #linux-rockchip
<inode> mmind00: also, which branch of the mainline kernel are patches expected to be applied to?
<eballetbo[m]> mmind00: ooi, do you have the display working on Scarlet?
ldevulder has quit [Ping timeout: 258 seconds]
<inode> maybe i should be asking whether i should be creating a patch against the master branch of linux-next rather than master of linux?
ldevulder_ is now known as ldevulder
field^Mop has quit [Ping timeout: 245 seconds]
nlhowell has joined #linux-rockchip
<nlhowell> can anyone provide hints about whitescreening booting mainline on asus c201 (rk3288)?
<nlhowell> I have read hints that it is mmc-related, and might be fixed by modifying my dts
<vagrantc> i've got it booting with the linux-libre-arm-veyron kernel in GNU Guix
<vagrantc> it sometimes hangs, but at least i see output when it does
<vagrantc> not that there's any useful error displayed...
<nlhowell> vagrantc: thanks! i will look there
<vagrantc> running the OS off of microSD ... and it *seems* to have slightly higher success rate if i leave the microSD unplugged while it boots and guix spits out "waiting for FOO" until inserted.
<nlhowell> I see
<vagrantc> tinkered with warm boot vs. cold boot and reboots and such and seems slightly more reliable from a cold boot after it's warmed up a bit... but it's all pretty ad-hoc trial and error and not very systematic
<vagrantc> fully power it off, but after it was running for a while such that it's still a little warmer than ambient
<nlhowell> there were some kernel devs interested in mainline support at one time, I remember some mmc-related patches floating around; does anyone know if they lost interest?
vicencb has joined #linux-rockchip
<vagrantc> i think the very patch that fixed it for some people broke it for others, if it's the one i'm remembering
<nlhowell> are the other arm chromebooks in a similar position?
<nlhowell> i have a c101-pa (rk3399, google codename gru-bob) I could use, if it doesn't have the same problem
<vagrantc> i'magine that would be a more capable machine regardless
<nlhowell> yes, but it would affect how I prioritise it
<mmind00> inode: after doing "git format-patch -1" you can use scripts/get_maintainer.pl $patchfile to get the list of recipients ... and then "git send-email" to send the patch away
<mmind00> inode: just take torvalds/master (or linux-next) as base ... special branches as base are only really necessary when you're working on always changing code ... the rk3229 is pretty quiet normally
<mmind00> eballetbo[m]: yep ... with the Innolux display
<mmind00> eballetbo[m]: i.e. there are two scarlet variants with displays from either Innolux or Kingdisplay ... Kingdisplay should also be in the kernel now though
<mmind00> nlhowell: I do regularly boot-test on a veyron-pinky (development model, nfsroot) and more seldom on a veyron-jerry (kernel+rootfs on microsd) ... and at least the pinky booted up to a graphical login prompt recently
<nlhowell> mmind00: I am on -speedy; any suggestions on how to debug?
<mmind00> nlhowell: hmm easiest way would be to use the "uart-on-usb-pins" ... aka the soc can disable one usb-port and output the uart2 signals on its D+ and D- pins
<mmind00> nlhowell: so it would require a serial adapter, a spare usb cable you can cut open and something to connect both
<nlhowell> well, I have a soldering iron; other things I can acquire
<nlhowell> > <mmind00> nlhowell: hmm easiest way would be to use the "uart-on-usb-pins" ... aka the soc can disable one usb-port and output the uart2 signals on its D+ and D- pins
<nlhowell> how do i tell the soc to do that? by hardware?
<mmind00> nlhowell: by adding "rockchip.usb_uart" to the kernel commandline
<nlhowell> great, thanks :)
<atopuzov[m]> nlhowell: nlhowell I have good experience running the kernel from urjaman (https://github.com/urjaman/arch-c201) https://urja.dev/linux-c201/ (5.1 also seems to work very well). Whitescreen is just an issue if you have the right drivers compiled in. The hanging part is related to eMMC (there is an explanation in PKGBUILD for linux-c201 which patches deal with eMMC). For a long time I have been running linux-armv7
<atopuzov[m]> (mainline) from arch from an SD card with a patch to DTB to disable the eMMC (you don't have access to the eMMC) but some of the required drivers for the display are compiled as modules so you still get a flash of white screen.
<nlhowell> i see
<atopuzov[m]> I was never able to get debug output from the usb-uart during boot, oddly enough when the system is up It works (eg. I have enabled getty on ttyS2 and I'm able to log in trough it)
<nlhowell> atopuzov[m]: that doesn't sound encouraging :/
<nlhowell> atopuzov[m]: do you happen to know which drivers *are* required for display?
<urjaman> nlhowell: the rockchip PWM driver, the rockchip DRM driver, and the eDP output part of that DRM driver i think
<atopuzov[m]> nlhowell: https://github.com/SolidHal/PrawnOS/wiki/Using-the-debug-usb-uart-serial-on-the-Asus-C201 but i think you need to reverse the rx/tx from what they have written
<urjaman> not sure if that list is complete, but i missed the PWM driver once and that caused a white screen i think
<nlhowell> > <urjaman> nlhowell: the rockchip PWM driver, the rockchip DRM driver, and the eDP output part of that DRM driver i think
<nlhowell> thanks!
<urjaman> oh and simple panel
<urjaman> atopuzov[m]: yeah and currently I'm running the 5.1.1 i have in linux-test (whoops i hadnt pushed the PKGBUILD for that... but now i have) and it seems fine to me
<urjaman> ... aha apparently arch-arm got to 5.1 12 hours ago, maybe i should update the linux-c201 one again :)
<urjaman> the testing kernel config is relatively slimmed down to build faster for me (but just so you know, it might not have the driver for your favorite usb widget or whatever enabled if I dont have the same widget :P)
<atopuzov[m]> urjaman thx! i will try it out. ATM i'm in the process of getting ChromeOS restored so I can get your videwine hack working ;-)
<nlhowell> lol
<atopuzov[m]> urjaman: I had to already add support for ecryptfs ;-)
<urjaman> atopuzov[m]: i think you can just make the recovery USB stick and read it off the rootfs on that
<urjaman> no need to actually install the ChromeOS
<atopuzov[m]> urjaman oh nice :)
<urjaman> chromeos rootfs' have their feature flags "massaged" such that the kernel will refuse to mount them rw, but just mount -o ro is enough to be able to read them from linux
<urjaman> just if you didnt know already
<inode> mmind00: thanks
jaganteki has joined #linux-rockchip
nlhowell has quit [Quit: WeeChat 2.4]
jaganteki has quit [Ping timeout: 256 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
field^Mop has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
ayaka has quit [Read error: Connection reset by peer]
jaganteki has joined #linux-rockchip
ayaka has joined #linux-rockchip
Kelsar has quit [Quit: No Ping reply in 180 seconds.]
ganbold has joined #linux-rockchip
Kelsar_ has joined #linux-rockchip
Kelsar_ has quit [Client Quit]
Kelsar_ has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
gnufan_home has joined #linux-rockchip
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-rockchip
return0e has quit [Ping timeout: 244 seconds]
return0e has joined #linux-rockchip
kaspter has quit [Ping timeout: 255 seconds]
kaspter has joined #linux-rockchip
Kelsar_ is now known as Kelsar
vicencb has joined #linux-rockchip
stikonas has joined #linux-rockchip
yann has joined #linux-rockchip
ldevulder has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
wwilly_ has joined #linux-rockchip
wwilly has quit [Ping timeout: 258 seconds]
gnufan_home has quit [Quit: Leaving.]
drrty has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
field^Mop has quit [Ping timeout: 268 seconds]
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 252 seconds]