|
Kernel Switching on on AIO-3288J board
Posted at 4/21/2018 09:37:31
View:3284
|
Replies:0
Print
Only Author
[Copy Link]
1#
Last edited by mobilehunter In 4/21/2018 09:54 Editor
Dear Supporter,
I have to support MIPI DSI / HDMI with Linux on AIO-3288J board.
So, I am using xUbuntu on AIO-3288J board.I have not been able to solve the problem for over a month.
I downloaded xUnbuntu image from the below link.
http://download.t-firefly.com/product/RK3288/Firmware/AIO-3288J/Ubuntu/AIO-3288J_xubuntu1604_20170110.tgz
After then, I am looking for the method of supporting MIPI display (dsi).
So, I have been compiling kernel in order to replace it of xUbuntu.
I downloaded kernel source from the github.
$ git clone -b firefly https://github.com/TeeFirefly/linux-rockchip.git kernel
I tried to compile with the following commands.
$ make rk3288_firefly_defconfig
$ make -j4 zImage
$ make rk3288-firefly.dtb
$ cat arch/arm/boot/zImage arch/arm/boot/dts/rk3288-firefly.dtb > zImage-dtb
$ mkkrnlimg zImage-dtb kernel.img
$ make -j4 modules
$ [ -d install_mod ] && rm -rf install_mod
$ make INSTALL_MOD_PATH=$PWD/install_mod modules_install
I am using Android's arm-eabi-4.6 cross compiling toolchain after downloading the following link.
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/+archive/refs/tags/android-4.4.2_r1.tar.gz
Of course, it is located in /project/mobilehunter/android.
So, my environment variables like the below.
$ export ARCH=arm
$ export CROSS_COMPILE=/project/mobilehunter/android/bin/arm-eabi-
In order to support mipi function, I enabled the following options.
$ make menuconfigDevice Drivers
> Graphics support
>> LCD Panel Select (rk mipi dsi lcd)
>> RockChip display transmitter support
>>> Rockchip MIPI DSI support
CONFIG_LCD_MIPI=y
CONFIG_MIPI_DSI=y
CONFIG_RK32_MIPI_DSI=y
|
|