cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 240 seconds]
ayaka has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
paulk-elm has joined #linux-rockchip
wadim_ has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
nighty-_ has joined #linux-rockchip
nighty- has quit [Ping timeout: 260 seconds]
andoma_ has joined #linux-rockchip
andoma has quit [Ping timeout: 268 seconds]
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Read error: Connection reset by peer]
<Omegamoon>
any suggestions for a good rk3328 device?
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 240 seconds]
paulk-elm has quit [Quit: Leaving]
cnxsoft has joined #linux-rockchip
<stdint>
Omegamoon, asus tinker?
<sjoerd>
tha'ts a 3288
<Omegamoon>
tinker is a rk3288 device... I'm looking for a rk3328
<Omegamoon>
:)
hramrach has quit [Read error: Connection reset by peer]
rellla has quit [K-Lined]
rellla has joined #linux-rockchip
BenG83 has quit [Ping timeout: 252 seconds]
_hramrach has joined #linux-rockchip
nighty-_ has quit [Ping timeout: 252 seconds]
ganbold_ has quit [Ping timeout: 260 seconds]
<stdint>
Omegamoon, sorry, I hear there is some vendor plan to make one
<stdint>
but I don't know whether there is a dev board available
paulk-collins has joined #linux-rockchip
BenG83 has joined #linux-rockchip
nighty- has joined #linux-rockchip
ganbold has joined #linux-rockchip
<wzyy2>
buy rk3328-evb board from rockchip ; )
<phh>
wait, that's possible?
matthias_bgg has joined #linux-rockchip
<Omegamoon>
@wzyy2: isn't that crazy expensive? :S
<wzyy2>
just joking, it's crazy expensive
<Tef62>
What kind of stuff do you guys do with Rockchip?
techping has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 255 seconds]
cnxsoft has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
BenG83 has quit [Ping timeout: 268 seconds]
cp__ has quit [Quit: Disappears in a puff of smoke]
BenG83 has joined #linux-rockchip
hardik_ has joined #linux-rockchip
petard_ has quit [Remote host closed the connection]
hardik_ has quit [Client Quit]
BenG83 has quit [Ping timeout: 252 seconds]
wzyy2 has quit [Ping timeout: 252 seconds]
BenG83 has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 252 seconds]
dlezcano_ has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-rockchip
dlezcano_ has quit [Ping timeout: 252 seconds]
cnxsoft has quit [Quit: cnxsoft]
kanadenipun has joined #linux-rockchip
<kanadenipun>
unable to clone repo from git.us.linux-rockchip.org
<kanadenipun>
taking too long
afaerber has quit [Quit: Leaving]
JohnDoe_71Rus has joined #linux-rockchip
afaerber has joined #linux-rockchip
vagrantc has joined #linux-rockchip
<ayaka>
kanadenipun, why do you do that
wadim_ has quit [Remote host closed the connection]
LongWork has joined #linux-rockchip
techping has quit [Remote host closed the connection]
lkcl has joined #linux-rockchip
LongWork has quit [Remote host closed the connection]
Myy has joined #linux-rockchip
LongWork has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 240 seconds]
tlwoerner has quit [Ping timeout: 255 seconds]
LongWork has quit [Ping timeout: 268 seconds]
tlwoerner has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
BenG83 has quit [Ping timeout: 260 seconds]
infiniteloop has joined #linux-rockchip
matthias_bgg has quit [Remote host closed the connection]
<infiniteloop>
Hello! I'm looking for any information on setting up framebuffer console on a tablet with a RK3188-T chip. I'm trying to use the kernel from there: https://github.com/rockchip-linux/kernel/tree/release-4.4 If there's a chance it could be achieved, any help would be appreciated.
<infiniteloop>
Additional info: the tablet has an TFT panel with parallel RGB interface, presumably driven directly by LCDC. Unfortunately, I can't get any data on the CS/WR/EN/RST GPIOs for it. Can someone suggest a way GPIO map of those pins can be identified using the existing Android kernel, that would be great news for me.
<phh>
this kernel isn't really meant for 3188 afaik
paulk-collins has quit [Ping timeout: 260 seconds]
<phh>
and I think this kernel doesn't have parallel RGB support
<infiniteloop>
Oh
<infiniteloop>
Can you suggest better one?
<infiniteloop>
I mean, the one that would be easier to adapt.
<phh>
well easiest would be to use rockchip's original 3.10 kernel
<infiniteloop>
It has a driver for touch and other stuff as well, at leat on the first sight...
<infiniteloop>
*at least
<phh>
mmm it looks like mainline doesn't have any video output support on 3188
<phh>
so yeah, you're most likely stuck with original 3.0.36
<infiniteloop>
I see. Thank you for the help!
<infiniteloop>
One more question: would it be possible to back-port mali/ump and drm drivers from the first kernel I've mentioned to the older one?
<phh>
well, mali kernel-space driver is meant to support many kernel versions, so it's not technically impossible
<phh>
I mean, the gap to bridge is not 4.4-3.0, it's much smaller, perhaps there is no gap, or perhaps 3.10-3.0
<infiniteloop>
Okay, it makes sense now. Thanks!
<infiniteloop>
I'd like to return to my initial question: is there a way to determine GPIO map with the running stock Android kernel made for the device?
<infiniteloop>
Or should I try and dig the kernel binary for some known structures to find it?
lkcl has quit [Ping timeout: 260 seconds]
<infiniteloop>
Sorry if it's inappropriate question for this channel.
<Myy>
The thing is, there's no guarantee that everything was done using a DTS/DTB file. Some hacky kernel drivers encode everything directly into the code so... Anyway, if you want to retrieve the DTB file, you'll first need to understand how the system boots and how the boot files/images are constructed. If there's a /proc/cmdline, you might want to have a look at it.
<infiniteloop>
I am sure the stock kernel doesn't use the device tree, because it was introduced somewhere between 3.10 and 3.11
<infiniteloop>
And the stock kernel is 3.0.36, at least that's what uname says =)
<vagrantc>
hrm. still no MMC on odroid-c2 with linux v4.11-rc5
<vagrantc>
wonder if it needs to be initialized by u-boot
<infiniteloop>
The kernel command line has only initrd memory offset and a partition map for the mtd NAND driver
<Myy>
If you come during morning (6H~13H GMT), there might more actual rockchip engineers and reverse engineers able to tell you how to get the GPIO code from such kernels. Aren't the sources available somewhere, though ? If you can compile and run a similar/identical kernel on the tablet, then you'll "just" have to look at the code, which might be easier than trying to RE the tablet.
dlezcano_ has joined #linux-rockchip
<Myy>
*there might be actual rockchip engineers
<Myy>
That said, I think that before doing anything, you'll need to : 1) Find a way to backup the current working image 2) Find a way to unbrick and restore your tablet it if anything went to happen 3) Test various kernels on it.
<Myy>
Is there an HDMI output on the tablet ? If there is, you might want to try a mainline kernel, plug the tablet on an HDMI screen and see if you can get an actual image using the HDMI output.
dlezcano_ has quit [Ping timeout: 268 seconds]
<Myy>
Or at least, you can try a mainline kernel and see if you can connect to it with ADB. Getting any other kernel actually boot might be more difficult than getting the touchscreen working, IMHO.
<infiniteloop>
Nice, that GPIO dump script looks promising. Thanks a lot!
<infiniteloop>
I have a stock update image ready, actually, that's what I was going to tinker with at first. I use SD card boot method to try out the kernels, and keep the embedded NAND untouched. I hope that's safe enough.
dlezcano_ has joined #linux-rockchip
<Myy>
Well, if you know how to boot any kernel safely, then you could always try mainline kernels then, see if you can at least get an ADB access to the tablet.
<Myy>
I got a script that compiles mainline kernels for RK3288 boards. You might want to add a "make menuconfig" in the script, just before the "make $DTB_FILES zImage modules -j5", to reconfigure the kernel for your board, and add rk3188 boards DTB files in the DTB_FILES list.