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
wzyy2 has joined #linux-rockchip
wzyy2 has quit [Quit: Konversation terminated!]
wzyy2 has joined #linux-rockchip
nighty-- has joined #linux-rockchip
zzarr has quit [Quit: This computer has gone to sleep]
cnxsoft has joined #linux-rockchip
zzarr has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
wzyy2 has quit [Remote host closed the connection]
wzyy2 has joined #linux-rockchip
wadim_ has joined #linux-rockchip
lkcl has quit [Read error: No route to host]
BenG83_ has joined #linux-rockchip
nighty-- has quit [Quit: Disappears in a puff of smoke]
BenG83_ has quit [Ping timeout: 240 seconds]
wzyy2 has quit [Ping timeout: 240 seconds]
BenG83_ has joined #linux-rockchip
<micken> ayaka: I have checked the DATA0 / 1 registers and they has the last hi /low values in them,
<micken> ayaka: after i2c write that is.
<micken> ayaka: so my only guess is that rk3288 needs som specific config for the phy i2c interface
<micken> ayaka: please advice
wzyy2 has joined #linux-rockchip
BenG83_ has quit [Ping timeout: 240 seconds]
BenG83_ has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 246 seconds]
<ayaka> micken, I will check
BenG83_ has quit [Ping timeout: 246 seconds]
<ayaka> micken, except those i2c register in hdmi phy, I didn't see the other register would effect it
<micken> ok
<micken> ayaka: I wonder what happends the error bit in the stat0 register is set after every write
<micken> the i2c write code is exactly how it is in u-boot
<micken> and in linux
<micken> the linux driver is derived from i.mx6 , as is mine
<ayaka> micken, it is not set by the driver but the device itself
<micken> ayaka: that was my other guess
BenG83_ has joined #linux-rockchip
<ayaka> Wait for the ii2cmasterdone interrupt in the ih_i2cm_stat0 register. before reading the result
<micken> isn't it phyi2cm_stat0?
<micken> i2cmphy
<patrik> I'm grabbing the rockchip kernel as instructed on http://rockchip.wikidot.com/linux-user-guide but the kernel build has been broken for quite some time
<patrik> is there another repo where kernel development is taking place or am I missing something?
<mmind00> patrik: depends on your platform ... for a lot of things the mainline kernel also is an option
<patrik> mmind00, I have the Sapphire + Excavator RK3399 board and is trying to build a kernel with working network and usb support. Couldn't get mainline to work so figured I'd test the rockchip kernel
<patrik> do you know if mainline is supposed to work on this board with a correct dtb?
<mmind00> patrik: I'm running mainline on my rk3399-firefly with usb support and still somewhat flaky network support
<mmind00> but that is likely a firefly-specific issue ... so yes, in general it should work
<mmind00> also mainline works just fine with my Kevin (the Chromebook Plus) as well
<patrik> ok nice, which dtb are you using for that?
<mmind00> patrik: Kevin is in the 4.12-rc kernels and the firefly is in my devicetree branch and thus part of linux-next
<patrik> Is that the rk3288 or rk3399 firefly?
<mmind00> patrik: the rk3399-firefly of course :-)
<patrik> just checking :)
<patrik> thanks, now I should be able to put something together
<mmind00> patrik: with the default arm64 "defconfig" you should at least see some output [maybe needing an earlycon=...] commandline param
<patrik> serial or actual display?
<mmind00> patrik: serial ... actual display is on the todo list ... driver parts have landed, I just need to piece together devicetree stuff to hopefully make it work
<patrik> mmind00, ok, I can probably help out since that is what I'm trying to get working
<mmind00> patrik: also please check the serial baudrate (1500000 seems to be the default on most Rockchip boards)
<patrik> yep that is required on my board
nighty-- has joined #linux-rockchip
<micken> ayaka: the error bit is set in both i2cmphy_stat0 and i2cm_stat0
<micken> ayaka: uboot check i2cmphy
EuroTrash has quit [Remote host closed the connection]
TheTrash has joined #linux-rockchip
<micken> i2cm_stat0 is for ddc, I wonder what might triggered that interrupt
indy has quit [Ping timeout: 255 seconds]
indy has joined #linux-rockchip
Gekko has joined #linux-rockchip
<Gekko> How would one debug the initial kernel init sequence for a self-compiled kernel flashed onto a rk3288 device? I emailed the company that manufactures the device and got the kernel source for them, with two whole lines of instructions on how to build the kernel. I'm using rkflashkit to flash the "@boot" partition after building the kernel and using mkbootimg on arch/arm/boot/zImage with an
<Gekko> initrd.img they suppied
<Gekko> If I flash the original boot image back in the device, the device works fine. With the kernel I simply get nothing out of the device on my monitor, although the device's camera flashes a bit when the power is plugged in
<Gekko> with the kernel I built*
<Gekko> I extracted the original boot image from the device and went through some data in it. It would appear at least the initrd.img is identical to what I'm using with mkbootimg, with only the kernel inside it being different
<Gekko> according to "rkflashkit part" the device has @boot, @linuxroot and @backup partitions
<Gekko> I was considering using an USB-TTL chip to see if I can get some kind of serial connection, but I can't locate any pins for that on the board
<Gekko> this is essentially what I do to flash the bugger http://plantmonster.net/koodailut/arm/persee.txt
cnxsoft has quit [Quit: cnxsoft]
wadim_ has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
cyteen has quit [Ping timeout: 240 seconds]
cyteen has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
BenG83_ has quit [Ping timeout: 240 seconds]
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
LongChair has quit [Quit: LongChair]
LongChair1 is now known as LongChair
matthias_bgg has quit [Quit: Leaving]
vagrantc has joined #linux-rockchip
diego71 has quit [Quit: leaving]
diego71 has joined #linux-rockchip
BenG83_ has joined #linux-rockchip
pozzoni has quit [Ping timeout: 246 seconds]
pozzoni has joined #linux-rockchip
cyteen has quit [Ping timeout: 240 seconds]
cyteen has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
zzarr has quit [Quit: This computer has gone to sleep]
zzarr has joined #linux-rockchip
zzarr has quit [Client Quit]
athidhep has joined #linux-rockchip
BenG83 has joined #linux-rockchip
nighty-- has quit [Quit: Disappears in a puff of smoke]
fischerm has quit [Read error: Connection reset by peer]
BenG83 has quit [Quit: Leaving]