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
Greyztar has quit [Ping timeout: 260 seconds]
Greyztar has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
vstehle has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 248 seconds]
camus is now known as kaspter
vagrantc has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
vstehle has joined #linux-rockchip
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-rockchip
ganbold has quit [Ping timeout: 244 seconds]
ganbold has joined #linux-rockchip
mrjay has joined #linux-rockchip
<mrjay> paccer: you can try bqcurie2, marsboard or rayeager dts for start. Also on this photos i don't see the name of the power pmic. If its tps you might be in luck with this device trees.
<mrjay> paccer: finding gpios might be a little tricky. Kernel source for this device would help much
chewitt has joined #linux-rockchip
mrjay has quit [Remote host closed the connection]
<EmilKarlson> eballetbo: did you copy, if you have time to confirm I'll bug the patch authors
<EmilKarlson> well, I'll bug them anyway, but would be nice to have confirmation that I did not do a silly
yann has quit [Ping timeout: 272 seconds]
adjtm_ has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
ganbold has quit [Ping timeout: 248 seconds]
nsaenz has joined #linux-rockchip
warpme_ has joined #linux-rockchip
field^Mop has joined #linux-rockchip
cyteen has joined #linux-rockchip
BenG83 has joined #linux-rockchip
adjtm has quit [Ping timeout: 268 seconds]
yann has joined #linux-rockchip
mrjay has joined #linux-rockchip
cyteen has quit [Quit: Leaving]
mrjay has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
vicencb has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
<paccer> mrjay, i have dmesg from booting old android and it mentions TPS65910
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
return0e has quit [Ping timeout: 245 seconds]
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
return0e has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 245 seconds]
ganbold_ has joined #linux-rockchip
mrjay has joined #linux-rockchip
<mrjay> paccer: one more thing ... are you trying to boot android with more up to date kernel or are you trying to boot some linux distribution?
<paccer> plan was to boot linux
<paccer> you're getting my message when you're disconnected, right? ;)
<paccer> it seems like it
<mrjay> nope ... but i'm checking the logs
<paccer> exactly, so you see them ;)
<mrjay> yep
<mrjay> to boot modern kernel you need kernel with enabled rockchip modules plus device tree
<paccer> i've been using the mmind repo and pretty much following the rockchip wiki instructions with minor adjustments
<mrjay> success?
<mrjay> with success?
<paccer> haven't had time to mess too much with it since my previous messages... had some problems generating the recovery.img image
<paccer> there seems to be a lot of different tools out there that do the same, some outdated, some doesnt work, some for windows, some for linux
<paccer> but i haven't messed with it too much since i built mainline kernel... i will definitely when i have time tho
<mrjay> try this method: https://pastebin.com/d2iNLZjC
vstehle has quit [Ping timeout: 245 seconds]
<paccer> thank you very much :) i do have a little time now, i will have a look
<mrjay> it's not generating recovery but boot image
<paccer> i somehow jumped to the conclusion that boot image is same as recovery image, just different partitions
<paccer> same tools seems to unpack both types
<mrjay> maybe ... been some time since i've been playing with my rk3066
<mrjay> by the way there is no nand driver in mainline
vagrantc has joined #linux-rockchip
<mrjay> so you must use sdcard to boot linux
<paccer> yeah, no problem :) as long as i can get the kernel to boot i should be fine
<mrjay> also change dts in this script to bqcurie2, marsboard or rayeager dts
<paccer> i believe i did see some nand patches or modules or whatever, recently
<paccer> but ill have a look at that afterwards
<paccer> ofc :) will do
<paccer> thanks a lot for the tips btw :) i really appreciate it
<mrjay> no problem
<paccer> mrjay, do you know if the base parameter should be left as is?
<paccer> sorry, base parameter for mkbootimg
warpme_ has quit [Quit: warpme_]
ganbold_ has quit [Ping timeout: 244 seconds]
warpme_ has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
<mrjay> it's where in memory rockchip loader will copy the kernel ... this address should be in parameters file for your board
<paccer> got it :) documentation kind of seems to be lacking in regards to some of the tools
<mrjay> cool
warpme_ has quit [Quit: warpme_]
<paccer> or i might be wrong
<paccer> getting premature end of file reached when flashing boot.img to recovery partition
<Jin|away> so whats the most mature kernel for rockchip these days? thinking of Asus Tinker Board S? :>
Jin|away is now known as Jin^eLD
<mrjay> paccer, edit your parameter file and add more space for recovery and/or boot partition
<mrjay> than flash it :)
<paccer> ah, so its not really premature end of file but rather out of space?
<mrjay> yep
<mrjay> or not ... try to boot it :) ... it's been a while since ...
<paccer> i think you're right
<paccer> or not, my recovery partition is 16MB and my recovery is less than 9
<mrjay> i'm assuming you tried to boot the kernel ... so check if you have console=ttyS2 in parameter file
<paccer> console is set to ttyFIQ0 in param file
<paccer> serial output stops when it tries booting the kernel, so i guess i need to change that
<paccer> black screen so far
<mrjay> yep
<paccer> hmmm...
<mrjay> nothing?
vstehle has joined #linux-rockchip
<paccer> conflicting information about ttyS2 vs ttyFIQ0
<paccer> also android outputs to serial fine
<paccer> but will try ttyS2
<mrjay> ttyFIQ0 is an android thingy
<paccer> ahh
<paccer> that explains :)
afaerber has quit [Quit: Leaving]
<paccer> i read parameters with "rkflashtool p > params"
<paccer> changed occurences of ttyFIQ0 to ttyS0
<paccer> wrote with rkflashtool P < params
<paccer> but yeah, stops a loading kernel...
<paccer> probably something wrong with my image i guess
<paccer> a = at
<mrjay> should be ttyS2
<paccer> sorry, typo
<paccer> meant ttyS2
<mrjay> could you post somwere your parameter file and kernel config file? I'll take a look
<paccer> something strange
<paccer> parameters says KERNEL_IMG: 0x60408000
<paccer> so i flashed there
<paccer> last serial message is
<paccer> 2451609 Starting kernel...@0x60410000
<paccer> so that doesnt seem to match
<paccer> i mean, i used KERNEL_IMG number as base param
<mrjay> try with changing adress to 0x60410000 then
<paccer> will do
<paccer> or maybe its because the beginning of kernel image is not kernel
<mrjay> just to confirm: CONFIG_SERIAL_8250=y CONFIG_DEBUG_UART_8250=y CONFIG_DEBUG_UART_8250_SHIFT=2 CONFIG_SERIAL_8250_DW=y in config?
<paccer> one sec
<paccer> i used rockchip_linux_defconfig
<paccer> using 0x60410000 didnt help
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Read error: Connection reset by peer]
camus is now known as kaspter
kaspter has quit [Client Quit]
kaspter has joined #linux-rockchip
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-rockchip
<paccer> oh, and https://pastebin.com/LBejydBG for parameters file
<mrjay> paccer: thanks ... everything looks good ... i don't know why this doesn't work
<paccer> something tells me its related to the premature end of file error
<paccer> could perhaps be because boot != recovery
<mrjay> it might ... you could flash it as boot partition and check it
<paccer> hmm, probably should try that
<paccer> just been trying to preserve the original android installation for now
<mrjay> you can backup boot partition
<mrjay> !!! :)
<paccer> of course ;)
<paccer> more of a dual boot thing i was going for, but i could always restore i guess
<paccer> this device seems quite hard to brick :P
<mrjay> yep ... there is always mask rom mode :)
<paccer> thing is, i dont know how to get into mask rom mode yet :P
<paccer> except i can boot there from android
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
<paccer> but i should be able to figure out a way
kaspter has quit [Read error: Connection reset by peer]
camus has joined #linux-rockchip
<mrjay> you might short exported header between nand and "2012..." label
<mrjay> it would be my first guess :)
<paccer> already hacked a female pinheader into the side of the tablet for serial port, might as well add a button too ;)
camus is now known as kaspter
kaspter has quit [Client Quit]
<paccer> dumping the boot partition and writing it back doesn't give premature end
<paccer> writing my custom image gives premature end
<paccer> so something seems to be up with that
<paccer> should probably go through that process again from the start
<paccer> unless of course the premature end just means image < partition
vagrantc has quit [Ping timeout: 264 seconds]
vagrantc has joined #linux-rockchip
<paccer> ah yes, thats it
<paccer> premature end of file is non fatal and means image is smaller than partition, which is fine
<mrjay> is it booting?
<mrjay> ah ok
<paccer> nope, still just black screen
<paccer> and no output
<paccer> i am out of time for now, but i will have another go at it very soon... thanks a lot mrjay! you've been very helpful :)
<mrjay> you can check "console=ttyS2,115200 earlycon=uart8250,mmio32,0x20064000" as compiled in command line CONFIG_CMDLINE="console=ttyS2,115200 earlycon=uart8250,mmio32,0x20064000"
<mrjay> cheers!
<paccer> mrjay, as in.. add it to kernel config?
<mrjay> yep ... by "make menuconfig"
<paccer> i will try asap :) thank you
<mrjay> np
mrjay has quit [Remote host closed the connection]
wadim_ has quit [Quit: Leaving.]
shadeslayer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
vagrantc has quit [Ping timeout: 252 seconds]
vagrantc has joined #linux-rockchip
vagrantc has quit [Ping timeout: 252 seconds]
stikonas has joined #linux-rockchip
yann has quit [Ping timeout: 272 seconds]
lerc has quit [Ping timeout: 245 seconds]
lerc has joined #linux-rockchip
kaspter has joined #linux-rockchip
jaganteki has joined #linux-rockchip
adjtm has quit [Quit: Leaving]
putti_ has joined #linux-rockchip
Putti has quit [Ping timeout: 245 seconds]
putti_ is now known as Putti
jaganteki has quit [Remote host closed the connection]
yann has joined #linux-rockchip
drrty has joined #linux-rockchip
drrty has quit [Remote host closed the connection]
drrty has joined #linux-rockchip
drrty has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
afaerber has joined #linux-rockchip
Jin^eLD is now known as Jin|away
stikonas has quit [Remote host closed the connection]
field^Mop has quit [Ping timeout: 268 seconds]