Commit 242991dccbc57c9036b06cfbcbaa84ff30b3d19a

Authored by Eric Lee
1 parent a806d80630

Fix 2GB LPDDR4 Support and add NXP 88W8997 Wi-Fi/BT chipset Support

Showing 6 changed files with 26 additions and 3 deletions Side-by-side Diff

conf/machine/smarcimx8mp2g.conf
... ... @@ -81,6 +81,9 @@
81 81 packagegroup-imx-ml \
82 82 firmware-imx-sdma \
83 83 firmware-imx-regulatory \
  84 + linux-firmware-nxp89xx \
  85 + nxp-wlan-sdk \
  86 + kernel-module-nxp89xx \
84 87 fsl-rc-local \
85 88 "
86 89  
conf/machine/smarcimx8mp4g.conf
... ... @@ -81,6 +81,9 @@
81 81 packagegroup-imx-ml \
82 82 firmware-imx-sdma \
83 83 firmware-imx-regulatory \
  84 + linux-firmware-nxp89xx \
  85 + nxp-wlan-sdk \
  86 + kernel-module-nxp89xx \
84 87 fsl-rc-local \
85 88 "
86 89  
conf/machine/smarcimx8mp6g.conf
... ... @@ -81,6 +81,9 @@
81 81 packagegroup-imx-ml \
82 82 firmware-imx-sdma \
83 83 firmware-imx-regulatory \
  84 + linux-firmware-nxp89xx \
  85 + nxp-wlan-sdk \
  86 + kernel-module-nxp89xx \
84 87 fsl-rc-local \
85 88 "
86 89  
recipes-core/base-files/base-files_%.bbappend
1 1 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2  
  3 +SRC_URI_append_smarcimx8mp2g = " \
  4 + file://embedian-hdmi-audio.conf \
  5 +"
  6 +
3 7 SRC_URI_append_smarcimx8mp4g = " \
4 8 file://embedian-hdmi-audio.conf \
5 9 "
... ... @@ -7,6 +11,10 @@
7 11 SRC_URI_append_smarcimx8mp6g = " \
8 12 file://embedian-hdmi-audio.conf \
9 13 "
  14 +
  15 +do_install_append_smarcimx8mp2g() {
  16 + install -m 0644 ${WORKDIR}/embedian-hdmi-audio.conf ${D}${sysconfdir}/modprobe.d
  17 +}
10 18  
11 19 do_install_append_smarcimx8mp4g() {
12 20 install -m 0644 ${WORKDIR}/embedian-hdmi-audio.conf ${D}${sysconfdir}/modprobe.d
recipes-core/udev/udev-rules-imx.bbappend
1 1 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2 2  
  3 +SRC_URI_append_smarcimx8mp2g = " file://usb-power.rules"
3 4 SRC_URI_append_smarcimx8mp4g = " file://usb-power.rules"
4 5 SRC_URI_append_smarcimx8mp6g = " file://usb-power.rules"
  6 +
  7 +do_install_append_smarcimx8mp2g () {
  8 + install -d ${D}${sysconfdir}/udev/rules.d
  9 + install -m 0644 ${WORKDIR}/usb-power.rules ${D}${sysconfdir}/udev/rules.d/
  10 +}
5 11  
6 12 do_install_append_smarcimx8mp4g () {
7 13 install -d ${D}${sysconfdir}/udev/rules.d
scripts/emb_mk_yocto_sdcard/emb-create-yocto-sdcard.sh
... ... @@ -100,7 +100,7 @@
100 100  
101 101 help() {
102 102 bn=`basename $0`
103   - echo " Usage: MACHINE=<smarcimx8mp4g|smarcimx8mp6g> $bn <options> device_node"
  103 + echo " Usage: MACHINE=<smarcimx8mp2g|smarcimx8mp4g|smarcimx8mp6g> $bn <options> device_node"
104 104 echo
105 105 echo " options:"
106 106 echo " -h display this Help message"
... ... @@ -117,7 +117,7 @@
117 117 exit 1
118 118 fi
119 119  
120   -if [[ $MACHINE != "smarcimx8mp4g" && $MACHINE != "smarcimx8mp6g" ]] ; then
  120 +if [[ "${MACHINE}" != "smarcimx8mp2g" && "${MACHINE}" != "smarcimx8mp4g" && "${MACHINE}" != "smarcimx8mp6g" ]] ; then
121 121 help
122 122 exit 1
123 123 fi
... ... @@ -296,7 +296,7 @@
296 296 echo "Copying Kernel Parameter uEnv.txt to /opt/images/"
297 297 cp -v ${YOCTO_SCRIPTS_PATH}/uEnv_emmc.txt ${P2_MOUNT_DIR}/opt/images/Yocto/uEnv.txt
298 298  
299   - if [[ $MACHINE = "smarcimx8mp4g" || ${MACHINE} = "smarcimx8mp6g" ]]; then
  299 + if [[ "${MACHINE}" = "smarcimx8mp2g" || "${MACHINE}" = "smarcimx8mp4g" || "${MACHINE}" = "smarcimx8mp6g" ]]; then
300 300 cp ${YOCTO_IMGS_PATH}/imx-boot-${MACHINE}-sd.bin-* ${P2_MOUNT_DIR}/opt/images/Yocto
301 301 (cd ${P2_MOUNT_DIR}/opt/images/Yocto; ln -fs imx-boot-${MACHINE}-sd.bin-flash_evk imx-boot-sd.bin)
302 302 else