118 | | CONFIG_MORSE_SDIO=y \ |
119 | | CONFIG_MORSE_USER_ACCESS=y \ |
120 | | CONFIG_MORSE_VENDOR_COMMAND=y \ |
121 | | CONFIG_MORSE_SDIO_ALIGNMENT=4 \ |
122 | | CONFIG_MORSE_DEBUGFS=y \ |
123 | | CONFIG_MORSE_IPMON=y \ |
124 | | CONFIG_MORSE_MONITOR=y \ |
125 | | CONFIG_MORSE_POWERSAVE_MODE=0 \ |
126 | | CONFIG_MORSE_COUNTRY=$COUNTRY \ |
127 | | CONFIG_MORSE_RC=y \ |
128 | | CONFIG_WLAN_VENDOR_MORSE=m" |
129 | | make -C morse_driver $ARGS |
130 | | make -C morse_driver $ARGS INSTALL_MOD_PATH=$2 modules_install |
131 | | |
132 | | # firmware: |
133 | | # - mm6108 firmware |
134 | | # - board configuration file (BCF) that provides driver with calibration constants and chip gpio config |
135 | | echo "Copying mm6108 firmware..." |
136 | | mkdir -p $2/lib/firmware/morse |
137 | | wget http://dev.gateworks.com/firmware/gw16159/mm6108.bin -O $2/lib/firmware/morse/mm6108.bin |
138 | | wget http://dev.gateworks.com/firmware/gw16159/LICENSE -O $2/lib/firmware/morse/LICENSE |
139 | | wget "http://dev.gateworks.com/firmware/gw16159/HY103760XB_SX-SDMAH-R2(US)_20240807_5V0.bin" -O $2/lib/firmware/morse/bcf_sx |
140 | | sdmah_fem5p0.bin |
| 118 | ARGS="KERNEL_SRC=$1 \ |
| 119 | CONFIG_MORSE_SDIO=y \ |
| 120 | CONFIG_MORSE_USER_ACCESS=y \ |
| 121 | CONFIG_MORSE_VENDOR_COMMAND=y \ |
| 122 | CONFIG_MORSE_SDIO_ALIGNMENT=4 \ |
| 123 | CONFIG_MORSE_POWERSAVE_MODE=0 \ |
| 124 | CONFIG_MORSE_COUNTRY=$COUNTRY \ |
| 125 | CONFIG_MORSE_RC=y \ |
| 126 | CONFIG_WLAN_VENDOR_MORSE=m" |
| 127 | make -C morse_driver $ARGS |
| 128 | make -C morse_driver $ARGS INSTALL_MOD_PATH=$2 modules_install |
| 129 | |
| 130 | # firmware: |
| 131 | # - mm6108 firmware |
| 132 | # - board configuration file (BCF) that provides driver with calibration constants and chip gpio config |
| 133 | echo "Copying mm6108 firmware..." |
| 134 | mkdir -p $2/lib/firmware/morse |
| 135 | wget http://dev.gateworks.com/firmware/gw16159/mm6108.bin -O $2/lib/firmware/morse/mm6108.bin |
| 136 | wget http://dev.gateworks.com/firmware/gw16159/LICENSE -O $2/lib/firmware/morse/LICENSE |
| 137 | wget "http://dev.gateworks.com/firmware/gw16159/HY103760XB_SX-SDMAH-R2(US)_20240807_5V0.bin" -O $2/lib/firmware/morse/bcf_sxsdmah_fem5p0.bin |