File tree 2 files changed +35
-36
lines changed
2 files changed +35
-36
lines changed Original file line number Diff line number Diff line change @@ -22,28 +22,27 @@ function post_family_tweaks_bsp__mba8mpxl-ras314() {
22
22
run_host_command_logged cp -Pv "pcieuart8997_combo_v4.bin" "$destination/lib/firmware/mrvl/" || exit_with_error "Unable to copy mrvl firmware"
23
23
24
24
# Add udev rule to delay btnxpuart loading
25
- cat <<- EOF > "${destination}"/etc/udev/rules.d/10-nxp-bluetooth-delay.rules
25
+ cat <<- NXP_UDEV_RULE > "${destination}"/etc/udev/rules.d/10-nxp-bluetooth-delay.rules
26
26
# wait until combo FW is loaded by wifi driver
27
27
KERNEL=="mlan*", ACTION=="add", RUN+="/sbin/modprobe btnxpuart"
28
- EOF
28
+ NXP_UDEV_RULE
29
29
30
- if [[ "${BUILD_DESKTOP}" == "yes" ]]; then
31
- # fix X11 config
32
- mkdir -p "$destination"/etc/X11/xorg.conf.d
33
- cat <<- XORG_HDMI_CONF > "$destination"/etc/X11/xorg.conf.d/10-hdmi.conf
34
- Section "Device"
35
- Identifier "etnaviv"
36
- Driver "modesetting"
37
- Option "kmsdev" "/dev/dri/card1"
38
- Option "AccelMethod" "none" ### "glamor" to enable 3D acceleration, "none" to disable.
39
- Option "Atomic" "On"
40
- EndSection
30
+ # fix X11 config
31
+ mkdir -p "$destination"/etc/X11/xorg.conf.d
41
32
42
- Section "ServerFlags"
43
- Option "AutoAddGPU" "false"
44
- Option "DRI" "3"
45
- EndSection
46
- XORG_HDMI_CONF
47
- fi
33
+ cat <<- XORG_HDMI_CONF > "$destination"/etc/X11/xorg.conf.d/10-hdmi.conf
34
+ Section "Device"
35
+ Identifier "etnaviv"
36
+ Driver "modesetting"
37
+ Option "kmsdev" "/dev/dri/card1"
38
+ Option "AccelMethod" "none" ### "glamor" to enable 3D acceleration, "none" to disable.
39
+ Option "Atomic" "On"
40
+ EndSection
41
+
42
+ Section "ServerFlags"
43
+ Option "AutoAddGPU" "false"
44
+ Option "DRI" "3"
45
+ EndSection
46
+ XORG_HDMI_CONF
48
47
49
48
}
Original file line number Diff line number Diff line change @@ -14,22 +14,22 @@ ASOUND_STATE="asound.state.tqma"
14
14
15
15
function post_family_tweaks_bsp__mba8mpxl() {
16
16
17
- if [[ "${BUILD_DESKTOP}" == "yes" ]]; then
18
- # fix X11 config
19
- mkdir -p "$destination"/etc/X11/xorg.conf.d
20
- cat <<- XORG_HDMI_CONF > "$destination"/etc/X11/xorg.conf.d/10-hdmi.conf
21
- Section "Device"
22
- Identifier "etnaviv"
23
- Driver "modesetting"
24
- Option "kmsdev" "/dev/dri/card1"
25
- Option "AccelMethod" "none" ### "glamor" to enable 3D acceleration, "none" to disable.
26
- Option "Atomic" "On"
27
- EndSection
17
+ # fix X11 config
18
+ mkdir -p "$destination"/etc/X11/xorg.conf.d
19
+
20
+ cat <<- XORG_HDMI_CONF > "$destination"/etc/X11/xorg.conf.d/10-hdmi.conf
21
+ Section "Device"
22
+ Identifier "etnaviv"
23
+ Driver "modesetting"
24
+ Option "kmsdev" "/dev/dri/card1"
25
+ Option "AccelMethod" "none" ### "glamor" to enable 3D acceleration, "none" to disable.
26
+ Option "Atomic" "On"
27
+ EndSection
28
+
29
+ Section "ServerFlags"
30
+ Option "AutoAddGPU" "false"
31
+ Option "DRI" "3"
32
+ EndSection
33
+ XORG_HDMI_CONF
28
34
29
- Section "ServerFlags"
30
- Option "AutoAddGPU" "false"
31
- Option "DRI" "3"
32
- EndSection
33
- XORG_HDMI_CONF
34
- fi
35
35
}
You can’t perform that action at this time.
0 commit comments