Skip to content

Commit

Permalink
MBa8MPxL: cleanup board configs and leave WIP state
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schmiedel <[email protected]>
  • Loading branch information
tq-schmiedel committed Oct 2, 2024
1 parent 7198125 commit ab0b52f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
BOARD_NAME="TQ8MP-RAS314"
BOARDFAMILY="imx8m"
BOARD_MAINTAINER="schmiedelm"
HAS_VIDEO_OUTPUT="yes"
ATF_PLAT="imx8mp"
ATF_UART_BASE="0x30a60000"
BOOTCONFIG="tqma8mpxl_multi_mba8mp_ras314_defconfig"
Expand All @@ -10,7 +11,6 @@ DEFAULT_CONSOLE="serial"
SERIALCON="ttymxc3"
BOOT_FDT_FILE="freescale/imx8mp-tqma8mpql-mba8mp-ras314.dtb"
ASOUND_STATE="asound.state.tqma"
PACKAGE_LIST_BOARD="gpiod python3-pip python3-periphery"

function post_family_tweaks_bsp__mba8mpxl-ras314() {

Expand All @@ -26,15 +26,6 @@ function post_family_tweaks_bsp__mba8mpxl-ras314() {
KERNEL=="mlan*", ACTION=="add", RUN+="/sbin/modprobe btnxpuart"
EOF

mkdir -p $destination/etc/udev/rules.d
cat <<- EOF > "$destination"/etc/udev/70-periphery.rules
# Allow group periphery to access devices
SUBSYSTEM=="gpio*", GROUP="periphery", MODE="0660"
SUBSYSTEM=="spidev*", GROUP="periphery", MODE="0660"
SUBSYSTEM=="pwm*", GROUP="periphery", MODE="0660"
SUBSYSTEM=="leds*", GROUP="periphery", MODE="0660"
EOF

# Define a function to be run board-side during postinst of the BSP
display_alert "Adding to bsp-cli" "${BOARD}: postinst for periferial access" "info"
postinst_functions+=("board_side_imx8m_bsp_cli_postinst") # add to the postinst function list
Expand Down
2 changes: 1 addition & 1 deletion config/boards/mba8mpxl.wip → config/boards/mba8mpxl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
BOARD_NAME="MBa8MPxL"
BOARDFAMILY="imx8m"
BOARD_MAINTAINER="schmiedelm"
HAS_VIDEO_OUTPUT="yes"
ATF_PLAT="imx8mp"
ATF_UART_BASE="0x30a60000"
BOOTCONFIG="tqma8mpxl_multi_mba8mpxl_defconfig"
Expand All @@ -10,7 +11,6 @@ DEFAULT_CONSOLE="serial"
SERIALCON="ttymxc3"
BOOT_FDT_FILE="freescale/imx8mp-tqma8mpql-mba8mpxl.dtb"
ASOUND_STATE="asound.state.tqma"
PACKAGE_LIST_BOARD="gpiod python3-pip python3-periphery"

function post_family_tweaks_bsp__mba8mpxl() {
mkdir -p "$destination"/etc/X11/xorg.conf.d
Expand Down

0 comments on commit ab0b52f

Please sign in to comment.