20230124使AIO-3568J开发板在Android12下横屏
2023/1/24 14:05
百度搜索:RK3568 强制横屏
http://www.360doc.com/content/12/0121/07/29321110_1049371522.shtml
RK3568 Android-HDMI旋转屏幕显示
硬件开发板:OK3568-C开发板(基于国产瑞芯微 RK3568处理器)
OS:Android11
本文硬件平台采用飞凌RK3568开发板,主要讲解rk3568安卓系统下如果将屏幕旋转的方法,本文使用的思路和方法仅供参考使用,其它arm开发板虽然芯片不同,但思路和方法有很多的共性,希望对您在板卡的使用中能够有所帮助,更多ARM开发板相关资讯,关注飞凌嵌入式。
RK3568 Android使用HDMI进行显示需要旋转显示方向可以进行以下操作实现:
修改以下路径文件BoardConfig.mk:
将文件中 SF_PRIMARY_DISPLAY_ORIENTATION 这条内容修改为90
然后保存后退出,进行源码的全编译,再将编译生成的整体镜像update.img烧写到rj356开发板中进行测试。
1、Z:\android12-rk3568-new\device\rockchip\rk356x\BoardConfig.mk
# BOARD_AVB_ENABLE := true
# used for fstab_generator, sdmmc controller address
PRODUCT_BOOT_DEVICE := fe310000.sdhci,fe330000.nandc
SF_PRIMARY_DISPLAY_ORIENTATION := 90
# Disable emulator for "make dist" until there is a 64-bit qemu kernel
BUILD_EMULATOR := false
TARGET_BOARD_PLATFORM := rk356x
TARGET_BOARD_PLATFORM_GPU := mali-G52
TARGET_RK_GRALLOC_VERSION := 4
BOARD_USE_DRM := true
修改为:
# BOARD_AVB_ENABLE := true
# used for fstab_generator, sdmmc controller address
PRODUCT_BOOT_DEVICE := fe310000.sdhci,fe330000.nandc
SF_PRIMARY_DISPLAY_ORIENTATION := 0
# Disable emulator for "make dist" until there is a 64-bit qemu kernel
BUILD_EMULATOR := false
TARGET_BOARD_PLATFORM := rk356x
TARGET_BOARD_PLATFORM_GPU := mali-G52
TARGET_RK_GRALLOC_VERSION := 4
BOARD_USE_DRM := true
【可选】
2、Z:\android12-rk3568-new\device\rockchip\common\BoardConfig.mk
#rotate screen to 0, 90, 180, 270
#0: ROTATION_NONE ORIENTATION_0 : 0
#90: ROTATION_RIGHT ORIENTATION_90 : 90
#180: ROTATION_DOWN ORIENTATION_180: 180
#270: ROTATION_LEFT ORIENTATION_270: 270
# For Recovery Rotation
TARGET_RECOVERY_DEFAULT_ROTATION ?= ROTATION_NONE
# For Surface Flinger Rotation
SF_PRIMARY_DISPLAY_ORIENTATION ?= 0
#Screen to Double, Single
#YES: Screen to Double
#NO: Screen to single
DOUBLE_SCREEN ?= NO
修改为:
#rotate screen to 0, 90, 180, 270
#0: ROTATION_NONE ORIENTATION_0 : 0
#90: ROTATION_RIGHT ORIENTATION_90 : 90
#180: ROTATION_DOWN ORIENTATION_180: 180
#270: ROTATION_LEFT ORIENTATION_270: 270
# For Recovery Rotation
TARGET_RECOVERY_DEFAULT_ROTATION ?= ROTATION_NONE
# For Surface Flinger Rotation
SF_PRIMARY_DISPLAY_ORIENTATION ?= 90
#Screen to Double, Single
#YES: Screen to Double
#NO: Screen to single
DOUBLE_SCREEN ?= NO
参考资料:
https://blog.csdn.net/soar999999/article/details/120102401
[RK3568 Android11] 教程之原厂SDK源码适配AIO-3568J板子跑起来
https://blog.csdn.net/jj244212647/article/details/103789083
firefly_rk3399设置横屏
https://www.jianshu.com/p/57e9e3bb3e5d
Android只支持横屏旋转,监听自动旋转开关
https://blog.csdn.net/fhqlongteng/article/details/128207941?
RK3568连接MIPI屏幕的旋转方法
硬件使用天启的ITX-3568Q板子,软件使用ubuntu 20.04.5,桌面使用lxqt桌面。外接10寸 mipi屏幕。屏幕由于竖屏,所以画面是竖着显示的。如下图:
https://blog.csdn.net/weixin_42498909/article/details/116728031
linux内核 fb显示旋转,嵌入式linux framebuffer旋转
https://blog.csdn.net/qq_43581670/article/details/125353908
【ARM】迅为rk3568开发板lvds屏设置横屏显示
开发板:讯为rk3568
根文件系统:buildroot
系统:Linux
https://blog.csdn.net/chgh1306/article/details/124887286
rk3568 android 11.0 mipi 开机默认设置为横屏
https://huaweicloud.csdn.net/63566936d3efff3090b5e37c.html
基于Firefly RK3568 SDK 开发——Android11 LVDS + HDMI 双屏显示
https://blog.csdn.net/weixin_36089954/article/details/117739331
rk3288android强制横屏,RK3288 6.0 双屏异显,横屏+竖屏【转】
https://blog.csdn.net/ljp1205/article/details/53405641
Android Display 系统分析
【会员】
https://blog.csdn.net/m0_71008721/article/details/128719040
RK androidQ(10.0) 系统开机默认横屏显示
https://blog.csdn.net/soar999999/article/details/120477672
[RK3568 Android11] 教程之屏幕旋转和显示密度配置
https://blog.csdn.net/soar999999/article/details/123286537
[RK3568 Android11] 开发之强制APP横屏或者竖屏显示
相关参考资料:
https://www.bilibili.com/read/cv15866757/
【更新】iTOP-RK3568开发板官方Android11移植教程
https://my.oschina.net/u/3005926/blog/5511548
【更新】《iTOP-RK3568 开发板官方 Android11 移植教程》专题三章节
https://my.oschina.net/u/3005926/blog/5512908
Android11 系统丨 RK3568 开发板运行第一个 Android 程序
https://my.oschina.net/u/3005926/blog/5559768
迅为 RK3568 开发板 Android12 系统功能测试 - 有线网测试