diff --git a/meta-digi-arm/conf/machine/ccardimx28js.conf b/meta-digi-arm/conf/machine/ccardimx28js.conf index 85bda517c..7f7582489 100644 --- a/meta-digi-arm/conf/machine/ccardimx28js.conf +++ b/meta-digi-arm/conf/machine/ccardimx28js.conf @@ -1,6 +1,6 @@ #@TYPE: Machine #@NAME: ConnectCore for MX28 JumpStart Kit. -#@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX28 JSK. +#@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX28 JSK. include conf/machine/include/ccardimx28.inc diff --git a/meta-digi-arm/recipes-bsp/firmware-qualcomm/firmware-qualcomm/wlan/qcom_cfg.ini b/meta-digi-arm/recipes-bsp/firmware-qualcomm/firmware-qualcomm/wlan/qcom_cfg.ini index da41d3e05..fff4052f0 100644 --- a/meta-digi-arm/recipes-bsp/firmware-qualcomm/firmware-qualcomm/wlan/qcom_cfg.ini +++ b/meta-digi-arm/recipes-bsp/firmware-qualcomm/firmware-qualcomm/wlan/qcom_cfg.ini @@ -11,7 +11,7 @@ gEnableIdleScan=0 # Increase sleep duration (seconds) during IMPS -# 0 implies no periodic wake up from IMPS. Periodic wakeup is +# 0 implies no periodic wake up from IMPS. Periodic wakeup is # unnecessary if Idle Scan is disabled. gImpsModSleepTime=0 @@ -106,7 +106,7 @@ gNeighborLookupThreshold=76 gNeighborReassocThreshold=81 #Check if the AP to which we are roaming is better than current AP in terms of RSSI. -#Checking is disabled if set to Zero.Otherwise it will use this value as to how better +#Checking is disabled if set to Zero.Otherwise it will use this value as to how better #the RSSI of the new/roamable AP should be for roaming RoamRssiDiff=3 @@ -162,7 +162,7 @@ gApAutoChannelSelection=0 gEnablePhyAgcListenMode=128 -#SOFTAP Channel Range selection +#SOFTAP Channel Range selection gAPChannelSelectStartChannel=1 @@ -241,7 +241,7 @@ gVhtTxMCS2x2=2 gSetTxChainmask1x1=1 gSetRxChainmask1x1=1 -# 1=enable STBC; 0=disable STBC +# 1=enable STBC; 0=disable STBC gEnableRXSTBC=1 # 1=enable tx STBC; 0=disable @@ -250,7 +250,7 @@ gEnableTXSTBC=1 # 1=enable rx LDPC; 0=disable gEnableRXLDPC=1 -#Enable Scan Results Aging based on timer +#Enable Scan Results Aging based on timer #Timer value is in seconds #If Set to 0 it will not enable the feature gScanAgingTime=0 diff --git a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-2.3.2/Makefile b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-2.3.2/Makefile index ed9df8301..194718797 100644 --- a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-2.3.2/Makefile +++ b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-2.3.2/Makefile @@ -11,7 +11,7 @@ OBJECTS = code/back_end/src/*.c HEADERS = code/back_end/hdr LIBS_PATH = linux64/lib -%.o: %.c +%.o: %.c $(CC) $(CFLAGS) -c $< -o $@ .PRECIOUS: $(TARGET) $(OBJECTS) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend b/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend index 028c6f255..e06cfdfc9 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend @@ -4,7 +4,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" SRC_URI += " \ file://fw_env.config \ - file://0001-tools-env-implement-support-for-environment-encrypti.patch \ + file://0001-tools-env-implement-support-for-environment-encrypti.patch \ " SRC_URI_append_ccimx6 = " file://0002-fw_env-add-support-to-unlock-emmc-boot-partition.patch" diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc index a7717b203..da30d219e 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc @@ -27,7 +27,7 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" # In order to sign and encrypt the uImage, we need to know the address # in which U-Boot loads the uImage. This is CONFIG_LOADADDR in U-Boot -# configuration file. +# configuration file. UBOOT_CONFIG_LOADADDR = "" UBOOT_CONFIG_LOADADDR_ccimx6 = "0x12000000" UBOOT_CONFIG_LOADADDR_ccimx6ul = "0x80800000" @@ -40,7 +40,7 @@ do_deploy_append() { [ -n "${TRUSTFENCE_DEK_PATH}" ] && [ "${TRUSTFENCE_DEK_PATH}" != "0" ] && export CONFIG_DEK_PATH="${TRUSTFENCE_DEK_PATH}" "${THISDIR}/../../scripts/trustfence-sign-uimage.sh" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}-signed.bin" mv "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}-signed.bin" "${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin" - fi + fi (cd ${DEPLOYDIR} && ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}) } diff --git a/meta-digi-arm/scripts/templates/sign_uimage b/meta-digi-arm/scripts/templates/sign_uimage index c30420a9f..f3b198be2 100644 --- a/meta-digi-arm/scripts/templates/sign_uimage +++ b/meta-digi-arm/scripts/templates/sign_uimage @@ -11,7 +11,7 @@ File = "%srk_table%" Source index = %key_index% - + [Install CSFK] File = "%cert_csf%" diff --git a/meta-digi-arm/scripts/trustfence-sign-uimage.sh b/meta-digi-arm/scripts/trustfence-sign-uimage.sh index 12beb31b8..c7832afc3 100755 --- a/meta-digi-arm/scripts/trustfence-sign-uimage.sh +++ b/meta-digi-arm/scripts/trustfence-sign-uimage.sh @@ -18,7 +18,7 @@ # CONFIG_SIGN_KEYS_PATH: (mandatory) path to the CST folder by NXP with keys generated. # CONFIG_UIMAGE_LOADADDR: (mandatory) memory address in which U-Boot loads the uImage # CONFIG_KEY_INDEX: (optional) key index to use for signing. Default is 0. -# CONFIG_DEK_PATH: (optional) Path to keyfile. Define it to generate +# CONFIG_DEK_PATH: (optional) Path to keyfile. Define it to generate # encrypted images # #=============================================================================== @@ -44,7 +44,7 @@ if [ -n "${CONFIG_DEK_PATH}" ]; then echo "DEK not found. Generating random 256 bit DEK." [ -d $(dirname ${CONFIG_DEK_PATH}) ] || mkdir -p $(dirname ${CONFIG_DEK_PATH}) dd if=/dev/urandom of="${CONFIG_DEK_PATH}" bs=32 count=1 - fi + fi dek_size="$((8 * $(stat -L -c %s ${CONFIG_DEK_PATH})))" if [ "${dek_size}" != "128" ] && [ "${dek_size}" != "192" ] && [ "${dek_size}" != "256" ]; then echo "Invalid DEK size: ${dek_size} bits. Valid sizes are 128, 192 and 256 bits" diff --git a/meta-digi-dey/classes/trustfence.bbclass b/meta-digi-dey/classes/trustfence.bbclass index 113ca14ff..c31bb2daf 100644 --- a/meta-digi-dey/classes/trustfence.bbclass +++ b/meta-digi-dey/classes/trustfence.bbclass @@ -51,7 +51,7 @@ python () { if (d.getVar("TRUSTFENCE_DEK_PATH") == "default"): d.setVar("TRUSTFENCE_DEK_PATH", d.getVar("TRUSTFENCE_SIGN_KEYS_PATH") + "/dek.bin"); - + if (d.getVar("TRUSTFENCE_SIGN", True) == "1"): d.appendVar("UBOOT_EXTRA_CONF", "CONFIG_SIGN_IMAGE=y ") if d.getVar("TRUSTFENCE_SIGN_KEYS_PATH", True): diff --git a/meta-digi-dey/conf/distro/dey.conf b/meta-digi-dey/conf/distro/dey.conf index a0ea01dd9..db74c7149 100644 --- a/meta-digi-dey/conf/distro/dey.conf +++ b/meta-digi-dey/conf/distro/dey.conf @@ -114,9 +114,9 @@ SANITY_TESTED_DISTROS ?= " \ # Default hash policy for distro BB_SIGNATURE_HANDLER ?= 'OEBasicHash' # -# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in +# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in # an incompatible way. Such changes should usually be detailed in the commit -# that breaks the format and have been previously discussed on the mailing list +# that breaks the format and have been previously discussed on the mailing list # with general agreement from the core team. # OELAYOUT_ABI = "11" diff --git a/meta-digi-dey/recipes-connectivity/modemmanager/modemmanager-1.4.12/cellularifupdown b/meta-digi-dey/recipes-connectivity/modemmanager/modemmanager-1.4.12/cellularifupdown index a13d78ffd..3c1c1d3c7 100644 --- a/meta-digi-dey/recipes-connectivity/modemmanager/modemmanager-1.4.12/cellularifupdown +++ b/meta-digi-dey/recipes-connectivity/modemmanager/modemmanager-1.4.12/cellularifupdown @@ -27,9 +27,9 @@ background_connect() { [ -n "${IF_PIN}" ] && ARGS="${ARGS},pin=${IF_PIN}" [ -n "${IF_USER}" ] && ARGS="${ARGS},user=${IF_USER}" - [ -n "${IF_PASSWORD}" ] && ARGS="${ARGS},password=${IF_PASSWORD}" + [ -n "${IF_PASSWORD}" ] && ARGS="${ARGS},password=${IF_PASSWORD}" [ -n "${IF_PORT}" ] && ARGS="${ARGS},number=*99#" - + # Enable the modem and connect to provider mmcli -m 0 --simple-connect=${ARGS} > /dev/null 2>&1 diff --git a/meta-digi-dey/recipes-digi/dey-examples/files/alsa_test/alsa_test.c b/meta-digi-dey/recipes-digi/dey-examples/files/alsa_test/alsa_test.c index 465c9a692..58952865c 100644 --- a/meta-digi-dey/recipes-digi/dey-examples/files/alsa_test/alsa_test.c +++ b/meta-digi-dey/recipes-digi/dey-examples/files/alsa_test/alsa_test.c @@ -57,7 +57,7 @@ int main(void) printf("Could't open PCM '%s': %s\n", device, snd_strerror(err)); return EXIT_FAILURE; } - + if ((err = snd_pcm_set_params(handle, PCM_TEST_FORMAT, SND_PCM_ACCESS_RW_INTERLEAVED, @@ -81,16 +81,16 @@ int main(void) err = EXIT_FAILURE; goto exit_close_pcm; } - + if (frames > 0 && frames < total_frames) printf("Short write (expected %li, wrote %li)\n", total_frames, frames); } err = EXIT_SUCCESS; - + exit_close_pcm: snd_pcm_close(handle); - + return err; }