<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>
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