Open chozhana opened 5 years ago
Are you positive that your board uses it?
For instance, I have a Pine64 brand Rockpro64 (RK3399) and it uses Synopsys DesignWare HDMI (I see in my lsmod: dw_hdmi_cec, and dw_hdmi_i2s_audio)
Just throwing that out there. I'm surprised by the very few actual Rockchip modules that my board uses.
i was trying to revive my old MK918 box which runs on RK3188. The main battleneck with this hardware was the non availability of latest kernel (struck with old 3.0.36 kernel). So was trying to compile 4.4 kernel for RK3188. The older version was using many of rockchip specific modules, one among them is RK_HDMI.
WELP: https://github.com/rockchip-linux/kernel/commit/e85d7dbaa051106d0f4a354076c1938e8f75745a ¯_(ツ)_/¯
The module is all wrong then -- I guess a rockchip-specific iomap is no longer necessary? edit: How bad is it if you just remove the entire line like these other commits did?
Also: A lot of stuff has been moved into the Device Tree nowadays (/boot/dtbs/ or /boot/*.dtb)
Some of the support may be provided by differently-named modules than 3.x series, and some support might be provided by PHY objects in the DTB instead of kernel modules.
You might want to "make rockchip_defconfig" (if that even still works) and just build it once without touching the Kconfig, to see where you need to go from. Cause what if it just works already with some of the in-built stuff?
All else fails, hack on ayufan's 4.4.138-1100 https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.138-1100-rockchip-ayufan
I'm sorry that RK3188 is not support in kernel 4.4, please try to use mainline kernel if you want to try with new kernel.
Hi @keveryang , Thanks for your response, at least that explains why the support for RK3188 is missing even from https://github.com/rockchip-linux/kernel (especially for rockchip LCDC support). I noticed kernels are focused on 64-bit rockchips.. and I've been trying to resolve every C error by un-intuitively copying over files.. It would be greatly appreciated if you could share any pointer to information which could help me port below to https://github.com/rockchip-linux/kernel: "rk-plat" and "mach-rk3188", DDR3 support, especially GPIO and IT66121, LCDC0 support:
Its just hard to let MK908v3 go even after years and even after knowing it is based on 32-bit quad-core RK3188 as it is a beautiful piece of hardware with so much of possibility.
Hi @fosf0r ,
The default rockchip_defconfig/rockchip_linux_defconfig works as they don't use RK frame buffer/LCDC0/GPIO or IT66121 (HDMI 1.4 transmitter) for my board (mk908v3).
As soon as one ticks any of above, kernel no longer is in good shape to compile.
Hmm... AI got upto linux kernel 3.0.101. For MK908 v3 (RK3188/2GB DDR3/Mali 400MP4/ Working:
Not working:
https://github.com/worldomkar/mk908-3-0-101
This kernel is derived from mainline 3.0.101 + omegamoon/tyeo 3.0.72+ kernel + porting changes
Disclaimer: No warranties for the work and please do check frequencies for your particular board (I started with lowest ones and worked to find stable balance).
iomap.h missing at include/linux/rockchip/iomap.h which is needed for enabling rockchip hdmi kernel module
@chozhana You may find this interesting. Bumping your thread as you have recent post and RK3188 device.
iomap.h missing at include/linux/rockchip/iomap.h which is needed for enabling rockchip hdmi kernel module