Changes between Version 17 and Version 18 of expansion/gw16159


Ignore:
Timestamp:
04/11/2025 06:53:48 PM (8 weeks ago)
Author:
Tim Harvey
Comment:

update build script

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16159

    v17 v18  
    116116
    117117echo "Building mm6108 driver..."
    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                                                                                                           
     118ARGS="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"
     127make -C morse_driver $ARGS
     128make -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
     133echo "Copying mm6108 firmware..."
     134mkdir -p $2/lib/firmware/morse
     135wget http://dev.gateworks.com/firmware/gw16159/mm6108.bin -O $2/lib/firmware/morse/mm6108.bin
     136wget http://dev.gateworks.com/firmware/gw16159/LICENSE -O $2/lib/firmware/morse/LICENSE
     137wget "http://dev.gateworks.com/firmware/gw16159/HY103760XB_SX-SDMAH-R2(US)_20240807_5V0.bin" -O $2/lib/firmware/morse/bcf_sxsdmah_fem5p0.bin
    141138
    142139[ -d $OUTDIR/include/libnl3 ] || {
     
    180177cp hostap/wpa_supplicant/{wpa_supplicant_s1g,wpa_cli_s1g,wpa_passphrase_s1g} $DESTDIR/usr/sbin/
    181178
    182 # hosapd 
     179# hosapd
    183180[ -r hostap/hostapd/hostapd_s1g.bin ] || {
    184181        cp hostap/hostapd/defconfig hostap/hostapd/.config
     
    194191}
    195192cp hostap/hostapd/{hostapd_s1g,hostapd_cli_s1g} $DESTDIR/usr/sbin/
    196                                                              
     193
    197194# morse_cli
    198195[ -r morse_cli/morse_cli.bin ] || {