|
@@ -2,9 +2,9 @@
|
|
|
|
|
|
MAKE_JOBS ?= 1
|
|
|
|
|
|
-all: linux matrix-gui arm-benchmarks am-sysinfo oprofile-example matrix-gui-browser refresh-screen u-boot-spl ti-crypto-examples linux-dtbs cryptodev ti-sgx-ddk-km pru-icss barcode-roi uio-module-drv evse-hmi protection-relays-hmi
|
|
|
-clean: linux_clean matrix-gui_clean arm-benchmarks_clean am-sysinfo_clean oprofile-example_clean matrix-gui-browser_clean refresh-screen_clean u-boot-spl_clean ti-crypto-examples_clean linux-dtbs_clean cryptodev_clean ti-sgx-ddk-km_clean pru-icss_clean barcode-roi_clean uio-module-drv_clean evse-hmi_clean protection-relays-hmi_clean
|
|
|
-install: linux_install matrix-gui_install arm-benchmarks_install am-sysinfo_install oprofile-example_install matrix-gui-browser_install refresh-screen_install u-boot-spl_install ti-crypto-examples_install linux-dtbs_install cryptodev_install ti-sgx-ddk-km_install pru-icss_install barcode-roi_install uio-module-drv_install evse-hmi_install protection-relays-hmi_install
|
|
|
+all: linux matrix-gui arm-benchmarks am-sysinfo oprofile-example matrix-gui-browser refresh-screen u-boot-spl ti-crypto-examples linux-dtbs cryptodev ti-sgx-ddk-km pru-icss barcode-roi uio-module-drv evse-hmi protection-relays-hmi
|
|
|
+clean: linux_clean matrix-gui_clean arm-benchmarks_clean am-sysinfo_clean oprofile-example_clean matrix-gui-browser_clean refresh-screen_clean u-boot-spl_clean ti-crypto-examples_clean linux-dtbs_clean cryptodev_clean ti-sgx-ddk-km_clean pru-icss_clean barcode-roi_clean uio-module-drv_clean evse-hmi_clean protection-relays-hmi_clean
|
|
|
+install: linux_install matrix-gui_install arm-benchmarks_install am-sysinfo_install oprofile-example_install matrix-gui-browser_install refresh-screen_install u-boot-spl_install ti-crypto-examples_install linux-dtbs_install cryptodev_install ti-sgx-ddk-km_install pru-icss_install barcode-roi_install uio-module-drv_install evse-hmi_install protection-relays-hmi_install
|
|
|
|
|
|
# +++ Vern, basic setup,20181030 +++
|
|
|
Taurus-uboot-default: u-boot_clean u-boot
|
|
@@ -14,10 +14,10 @@ Taurus-uboot-default: u-boot_clean u-boot
|
|
|
Taurus-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
-Taurus-uboot:
|
|
|
+Taurus-uboot:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot
|
|
|
@echo ===================================
|
|
@@ -30,23 +30,23 @@ Taurus-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/Taurus/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/Taurus/Images/
|
|
|
|
|
|
-Taurus-linux:
|
|
|
+Taurus-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[Taurus]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/Taurus/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/Taurus/Images/
|
|
|
# @cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/drivers/net/ethernet/qualcomm/qcaspi.ko EVSE/rootfs/lib/
|
|
|
-
|
|
|
+
|
|
|
|
|
|
Taurus-rootfs:
|
|
|
@echo =================================
|
|
@@ -76,7 +76,7 @@ Taurus-rootfs:
|
|
|
@gzip -v9 EVSE/Projects/Taurus/Images/ramdisk
|
|
|
@rm -rfv EVSE/Projects/Taurus/Images/root
|
|
|
@rm -rfv EVSE/Projects/Taurus/Images/mnt
|
|
|
-
|
|
|
+
|
|
|
Taurus-all: Taurus-uboot Taurus-linux Taurus-rootfs
|
|
|
|
|
|
# --- Vern, basic setup,20181030 ---
|
|
@@ -89,7 +89,7 @@ DD360-uboot-default: u-boot_clean u-boot
|
|
|
DD360-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
DD360-uboot:
|
|
@@ -106,17 +106,17 @@ DD360-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DD360/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/DD360/Images/
|
|
|
|
|
|
-DD360-linux:
|
|
|
+DD360-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[DD360]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DD360/Images/
|
|
@@ -128,33 +128,30 @@ DD360-rootfs:
|
|
|
@echo Building User rootfs
|
|
|
@echo =================================
|
|
|
# @cd EVSE/GPL;make Project=DD360 all
|
|
|
- @cd EVSE/Modularization;make TLS_EXPIRED=TLS_PASS_CERT_EXPIRED Project=DD360 all
|
|
|
+ @cd EVSE/Modularization;make TLS_EXPIRED=TLS_VALID_CERT_EXPIRED Project=DD360 all
|
|
|
@cd EVSE/Projects/DD360/Apps;make Project=DD360 all
|
|
|
@rm -f EVSE/Projects/DD360/Images/ramdisk.gz
|
|
|
- @dd if=/dev/zero of=EVSE/Projects/DD360/Images/ramdisk bs=1k count=131072
|
|
|
- @losetup /dev/loop0 EVSE/Projects/DD360/Images/ramdisk
|
|
|
- @mke2fs -vm 0 /dev/loop0 131072
|
|
|
- @tune2fs -c 0 /dev/loop0
|
|
|
+ @dd if=/dev/zero of=/dev/ram0 bs=1k count=131072
|
|
|
+ @mke2fs -vm0 /dev/ram0 131072
|
|
|
+ @tune2fs -c 0 /dev/ram0
|
|
|
+ @dd if=/dev/ram0 bs=1k count=131072 | gzip -v9 > EVSE/Projects/DD360/Images/ramdisk.gz
|
|
|
@mkdir -p EVSE/Projects/DD360/Images/mnt
|
|
|
+ @gunzip EVSE/Projects/DD360/Images/ramdisk.gz
|
|
|
@sync
|
|
|
- @mount -t ext2 /dev/loop0 EVSE/Projects/DD360/Images/mnt
|
|
|
+ @mount -o loop EVSE/Projects/DD360/Images/ramdisk EVSE/Projects/DD360/Images/mnt
|
|
|
@cp -rfv EVSE/rootfs/* EVSE/Projects/DD360/Images/mnt/
|
|
|
- @cp -rfv EVSE/Projects/DD360/Images/root/* EVSE/Projects/DD360/Images/mnt/root
|
|
|
@chown www-data:www-data EVSE/Projects/DD360/Images/mnt/var/www -R
|
|
|
@chmod 777 EVSE/Projects/DD360/Images/mnt/var/log -R
|
|
|
@chmod 777 EVSE/Projects/DD360/Images/mnt/var/run -R
|
|
|
+ @cp -rfv EVSE/Projects/DD360/Images/root/* EVSE/Projects/DD360/Images/mnt/root
|
|
|
@sync
|
|
|
@sleep 3
|
|
|
@umount EVSE/Projects/DD360/Images/mnt
|
|
|
@sync
|
|
|
@gzip -v9 EVSE/Projects/DD360/Images/ramdisk
|
|
|
- @sync
|
|
|
- @sleep 1
|
|
|
@rm -rfv EVSE/Projects/DD360/Images/root
|
|
|
@rm -rfv EVSE/Projects/DD360/Images/mnt
|
|
|
- @losetup /dev/loop0 -d
|
|
|
- @umount /dev/loop0
|
|
|
-
|
|
|
+
|
|
|
DD360-all: DD360-uboot DD360-linux DD360-rootfs
|
|
|
# --- Vern, add for DD360 ,20200908 ---
|
|
|
|
|
@@ -166,10 +163,10 @@ CCS-uboot-default: u-boot_clean u-boot
|
|
|
CCS-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
-CCS-uboot:
|
|
|
+CCS-uboot:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot
|
|
|
@echo ===================================
|
|
@@ -182,17 +179,17 @@ CCS-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/CCS/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/CCS/Images/
|
|
|
|
|
|
-CCS-linux:
|
|
|
+CCS-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[CCS]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/CCS/Images/
|
|
@@ -260,7 +257,7 @@ CCS-rootfs:
|
|
|
@gzip -v9 EVSE/Projects/CCS/Images/ramdisk
|
|
|
@rm -rfv EVSE/Projects/CCS/Images/root
|
|
|
@rm -rfv EVSE/Projects/CCS/Images/mnt
|
|
|
-
|
|
|
+
|
|
|
CCS-all: CCS-uboot CCS-linux CCS-rootfs
|
|
|
|
|
|
DM30-uboot-default: u-boot_clean u-boot
|
|
@@ -270,10 +267,10 @@ DM30-uboot-default: u-boot_clean u-boot
|
|
|
DM30-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
-DM30-uboot:
|
|
|
+DM30-uboot:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot
|
|
|
@echo ===================================
|
|
@@ -286,17 +283,17 @@ DM30-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DM30/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/DM30/Images/
|
|
|
|
|
|
-DM30-linux:
|
|
|
+DM30-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[DM30]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DM30/Images/
|
|
@@ -331,7 +328,7 @@ DM30-rootfs:
|
|
|
@gzip -v9 EVSE/Projects/DM30/Images/ramdisk
|
|
|
@rm -rfv EVSE/Projects/DM30/Images/root
|
|
|
@rm -rfv EVSE/Projects/DM30/Images/mnt
|
|
|
-
|
|
|
+
|
|
|
DM30-DEBUG-rootfs:
|
|
|
@echo =================================
|
|
|
@echo Building DM30 debug rootfs
|
|
@@ -359,16 +356,16 @@ DM30-DEBUG-rootfs:
|
|
|
@gzip -v9 EVSE/Projects/DM30/Images/ramdisk
|
|
|
@rm -rfv EVSE/Projects/DM30/Images/root
|
|
|
@rm -rfv EVSE/Projects/DM30/Images/mnt
|
|
|
-
|
|
|
+
|
|
|
DM30-all: DM30-uboot DM30-linux DM30-rootfs
|
|
|
|
|
|
DW30-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
-DW30-uboot:
|
|
|
+DW30-uboot:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot
|
|
|
@echo ===================================
|
|
@@ -381,17 +378,17 @@ DW30-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DW30/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/DW30/Images/
|
|
|
|
|
|
-DW30-linux:
|
|
|
+DW30-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[DW30]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DW30/Images/
|
|
@@ -464,10 +461,10 @@ DS60-120-uboot-default: u-boot_clean u-boot
|
|
|
DS60-120-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
-DS60-120-uboot:
|
|
|
+DS60-120-uboot:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot
|
|
|
@echo ===================================
|
|
@@ -480,17 +477,17 @@ DS60-120-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DS60-120/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/DS60-120/Images/
|
|
|
|
|
|
-DS60-120-linux:
|
|
|
+DS60-120-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[DS60-120]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/DS60-120/Images/
|
|
@@ -525,7 +522,7 @@ DS60-120-rootfs:
|
|
|
@gzip -v9 EVSE/Projects/DS60-120/Images/ramdisk
|
|
|
@rm -rfv EVSE/Projects/DS60-120/Images/root
|
|
|
@rm -rfv EVSE/Projects/DS60-120/Images/mnt
|
|
|
-
|
|
|
+
|
|
|
DS60-120-all: DS60-120-uboot DS60-120-linux DS60-120-rootfs
|
|
|
|
|
|
AW-Regular-uboot-default: u-boot_clean u-boot
|
|
@@ -535,10 +532,10 @@ AW-Regular-uboot-default: u-boot_clean u-boot
|
|
|
AW-Regular-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
-AW-Regular-uboot:
|
|
|
+AW-Regular-uboot:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot
|
|
|
@echo ===================================
|
|
@@ -551,17 +548,17 @@ AW-Regular-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/AW-Regular/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/AW-Regular/Images/
|
|
|
|
|
|
-AW-Regular-linux:
|
|
|
+AW-Regular-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[AW-Regular]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/AW-Regular/Images/
|
|
@@ -596,7 +593,7 @@ AW-Regular-rootfs:
|
|
|
@gzip -v9 EVSE/Projects/AW-Regular/Images/ramdisk
|
|
|
@rm -rfv EVSE/Projects/AW-Regular/Images/root
|
|
|
@rm -rfv EVSE/Projects/AW-Regular/Images/mnt
|
|
|
-
|
|
|
+
|
|
|
AW-Regular-all: AW-Regular-uboot AW-Regular-linux AW-Regular-rootfs
|
|
|
|
|
|
BYTON-GB-uboot-default: u-boot_clean u-boot
|
|
@@ -606,10 +603,10 @@ BYTON-GB-uboot-default: u-boot_clean u-boot
|
|
|
BYTON-GB-uboot-menuconfig:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot menuconfig
|
|
|
- @echo ===================================
|
|
|
+ @echo ===================================
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) menuconfig
|
|
|
|
|
|
-BYTON-GB-uboot:
|
|
|
+BYTON-GB-uboot:
|
|
|
@echo ===================================
|
|
|
@echo Building U-boot
|
|
|
@echo ===================================
|
|
@@ -622,17 +619,17 @@ BYTON-GB-linux-default: linux_clean linux
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/BYTON-GB/Images/
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb EVSE/Projects/BYTON-GB/Images/
|
|
|
|
|
|
-BYTON-GB-linux:
|
|
|
+BYTON-GB-linux:
|
|
|
@echo =====================================
|
|
|
@echo Building the Linux Kernel DTBs
|
|
|
@echo =====================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dtb
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[BYTON-GB]am335x-evm.dts board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) am335x-evm.dtb
|
|
|
@echo =================================
|
|
|
@echo Building User Linux Kernel
|
|
|
@echo =================================
|
|
|
- @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
+ @rm -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage
|
|
|
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
|
|
|
@cp -f board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/zImage EVSE/Projects/BYTON-GB/Images/
|
|
@@ -659,7 +656,7 @@ BYTON-GB-rootfs:
|
|
|
@cp -rfv EVSE/Projects/BYTON-GB/Images/root/* EVSE/Projects/BYTON-GB/Images/mnt/root
|
|
|
@chown www-data:www-data EVSE/Projects/BYTON-GB/Images/mnt/var/www -R
|
|
|
@chmod 777 EVSE/Projects/BYTON-GB/Images/mnt/var/log -R
|
|
|
- @chmod 777 EVSE/Projects/BYTON-GB/Images/mnt/var/run -R
|
|
|
+ @chmod 777 EVSE/Projects/BYTON-GB/Images/mnt/var/run -R
|
|
|
@sync
|
|
|
@sleep 3
|
|
|
@umount EVSE/Projects/BYTON-GB/Images/mnt
|
|
@@ -667,13 +664,13 @@ BYTON-GB-rootfs:
|
|
|
@gzip -v9 EVSE/Projects/BYTON-GB/Images/ramdisk
|
|
|
@rm -rfv EVSE/Projects/BYTON-GB/Images/root
|
|
|
@rm -rfv EVSE/Projects/BYTON-GB/Images/mnt
|
|
|
-
|
|
|
+
|
|
|
BYTON-GB-all: BYTON-GB-uboot BYTON-GB-linux BYTON-GB-rootfs
|
|
|
|
|
|
# --- Vern, for all board ,20190430 ---
|
|
|
|
|
|
# +++ vern,Add menuconfig,20161128 +++
|
|
|
-linux_config:
|
|
|
+linux_config:
|
|
|
@echo =================================
|
|
|
@echo Configuring the Linux Kernel
|
|
|
@echo =================================
|
|
@@ -959,7 +956,7 @@ linux-dtbs_install:
|
|
|
exit 1; \
|
|
|
fi
|
|
|
install -d $(DESTDIR)/boot
|
|
|
-# +++ vern,only one dtb is enough,20161128 +++
|
|
|
+# +++ vern,only one dtb is enough,20161128 +++
|
|
|
# @cp -f $(LINUXKERNEL_INSTALL_DIR)/arch/arm/boot/dts/*.dtb $(DESTDIR)/boot/
|
|
|
@cp -f $(LINUXKERNEL_INSTALL_DIR)/arch/arm/boot/dts/am335x-evm.dtb $(DESTDIR)/boot/
|
|
|
# --- vern,only one dtb is enough,20161128 ---
|
|
@@ -992,7 +989,7 @@ wifi-firmware_clean:
|
|
|
@echo ================================
|
|
|
@echo Cleaning wifi firmware
|
|
|
@echo ================================
|
|
|
- @echo "Nothing to do"
|
|
|
+ @echo "Nothing to do"
|
|
|
cryptodev: linux
|
|
|
@echo ================================
|
|
|
@echo Building cryptodev-linux
|