Skip to content

Commit 433f316

Browse files
authored
system: add recognition for NXP i.MX6 quad and i.MX6 dual lite/solo
not officially supported
1 parent af34d24 commit 433f316

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scriptmodules/system.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,12 @@ function get_platform() {
430430
*rockpro64*)
431431
__platform="rockpro64"
432432
;;
433+
*imx6dl*)
434+
__platform="imx6"
435+
;;
436+
*imx6q*)
437+
__platform="imx6"
438+
;;
433439
*imx8mm*)
434440
__platform="imx8mm"
435441
;;
@@ -631,6 +637,7 @@ function platform_armv7-mali() {
631637

632638
function platform_imx6() {
633639
cpu_armv7 "cortex-a9"
640+
[[ -d /sys/class/drm/card0/device/driver/etnaviv ]] && __platform_flags+=(x11 gles mesa)
634641
}
635642

636643
function platform_imx8mm() {

0 commit comments

Comments
 (0)