Log for changing the makefile, line 94: Line 93: ifeq ($(HOSTOS),cygwin) Line 94: UNTAR:=$(SOCEDS_DEST_ROOT)/host_tools/cygwin/bin/tar zxf #added line. ------------------------------------------------ Intel FPGA Embedded Command Shell Version 18.1 [Build 625] ------------------------------------------------ 788307@WLT10003790 ~ $ cd D:/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp 788307@WLT10003790 /cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp $ bsp-editor 788307@WLT10003790 /cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp $ make C:/intelFPGA/18.1/embedded/host_tools/cygwin/bin/tar zxf /cygdrive/c/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz ‘generated/build.h’ -> ‘uboot-socfpga/board/altera/socfpga/build.h’ ‘generated/iocsr_config_cyclone5.c’ -> ‘uboot-socfpga/board/altera/socfpga/iocsr_config_cyclone5.c’ ‘generated/iocsr_config_cyclone5.h’ -> ‘uboot-socfpga/board/altera/socfpga/iocsr_config_cyclone5.h’ ‘generated/reset_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/reset_config.h’ ‘generated/pll_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/pll_config.h’ ‘generated/pinmux_config_cyclone5.c’ -> ‘uboot-socfpga/board/altera/socfpga/pinmux_config_cyclone5.c’ ‘generated/pinmux_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/pinmux_config.h’ ‘generated/sdram/sdram_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sdram_config.h’ ‘../../hps_isw_handoff/soc_system_hps_0//alt_types.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/alt_types.h’ ‘../../hps_isw_handoff/soc_system_hps_0//sdram_io.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sdram_io.h’ ‘../../hps_isw_handoff/soc_system_hps_0//sequencer_auto_ac_init.c’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sequencer_auto_ac_init.c’ ‘../../hps_isw_handoff/soc_system_hps_0//sequencer_auto.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sequencer_auto.h’ ‘../../hps_isw_handoff/soc_system_hps_0//sequencer_auto_inst_init.c’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sequencer_auto_inst_init.c’ ‘../../hps_isw_handoff/soc_system_hps_0//sequencer.c’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sequencer.c’ ‘../../hps_isw_handoff/soc_system_hps_0//sequencer_defines.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sequencer_defines.h’ ‘../../hps_isw_handoff/soc_system_hps_0//sequencer.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sequencer.h’ ‘../../hps_isw_handoff/soc_system_hps_0//system.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/system.h’ ‘../../hps_isw_handoff/soc_system_hps_0//tclrpt.c’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/tclrpt.c’ ‘../../hps_isw_handoff/soc_system_hps_0//tclrpt.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/tclrpt.h’ Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/add_fms_extensions_cflag.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/add_fms_extensions_cflag.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file config.mk Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/apply_mingw_support.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/apply_mingw_support.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file tools/mkenvimage.c Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/build_system_cygpath_repair.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/build_system_cygpath_repair.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file Makefile Hunk #1 succeeded at 682 (offset 56 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file rules.mk Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/build_system_rm_spl_repair.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/build_system_rm_spl_repair.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file Makefile Hunk #1 succeeded at 876 (offset -1 lines). Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/cc_option_dev_null_fix.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/cc_option_dev_null_fix.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file config.mk Hunk #1 succeeded at 112 (offset 2 lines). Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/docproc_force_use_cygwin_gcc.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/docproc_force_use_cygwin_gcc.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file tools/kernel-doc/Makefile Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/repair_cmd_process_proto.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/repair_cmd_process_proto.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file include/command.h Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/static_inline_fix.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/static_inline_fix.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file include/image.h (Stripping trailing CRs from patch; use --binary to disable.) patching file include/libfdt.h (Stripping trailing CRs from patch; use --binary to disable.) patching file lib/libfdt/fdt_rw.c (Stripping trailing CRs from patch; use --binary to disable.) patching file lib/libfdt/libfdt_internal.h Applying Patch: C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/static_inline_little_endian_fix.patch patch -p1 --directory=uboot-socfpga --input=C:/intelFPGA/18.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/static_inline_little_endian_fix.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file include/linux/byteorder/little_endian.h C:/intelFPGA/18.1/embedded/host_tools/cygwin/bin/make CROSS_COMPILE=arm-altera-eabi- MAKE=/bin/make CYGPATH=C:/intelFPGA/18.1/embedded/host_tools/cygwin/bin/cygpath HOSTCC=x86_64-w64-mingw32-gcc HOSTSTRIP=x86_64-w64-mingw32-strip -C uboot-socfpga socfpga_cyclone5_config make[1]: Entering directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga' Configuring for socfpga_cyclone5 board... make[1]: Leaving directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga' C:/intelFPGA/18.1/embedded/host_tools/cygwin/bin/make CROSS_COMPILE=arm-altera-eabi- MAKE=/bin/make CYGPATH=C:/intelFPGA/18.1/embedded/host_tools/cygwin/bin/cygpath HOSTCC=x86_64-w64-mingw32-gcc HOSTSTRIP=x86_64-w64-mingw32-strip -C uboot-socfpga spl/u-boot-spl.bin make[1]: Entering directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga' Generating include/autoconf.mk Generating include/autoconf.mk.dep arm-altera-eabi-gcc -DDO_DEPS_ONLY \ -g -Os -fno-common -ffixed-r8 -msoft-float -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga/sdram -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x01000040 -DCONFIG_SPL_TEXT_BASE=0xFFFF0000 -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/include -fno-builtin -ffreestanding -nostdinc -isystem c:/intelfpga/18.1/embedded/host_tools/mentor/gnu/arm/baremetal/bin/../lib/gcc/arm-altera-eabi/6.2.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv5 -Wall -Wstrict-prototypes \ -o lib/asm-offsets.s lib/asm-offsets.c -c -S Generating include/generated/generic-asm-offsets.h tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h if [ -f arch/arm/cpu/armv7/socfpga/asm-offsets.c ];then \ arm-altera-eabi-gcc -DDO_DEPS_ONLY \ -g -Os -fno-common -ffixed-r8 -msoft-float -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga/sdram -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x01000040 -DCONFIG_SPL_TEXT_BASE=0xFFFF0000 -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/include -fno-builtin -ffreestanding -nostdinc -isystem c:/intelfpga/18.1/embedded/host_tools/mentor/gnu/arm/baremetal/bin/../lib/gcc/arm-altera-eabi/6.2.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv5 -Wall -Wstrict-prototypes \ -o arch/arm/cpu/armv7/socfpga/asm-offsets.s arch/arm/cpu/armv7/socfpga/asm-offsets.c -c -S; \ else \ touch arch/arm/cpu/armv7/socfpga/asm-offsets.s; \ fi Generating include/generated/asm-offsets.h tools/scripts/make-asm-offsets arch/arm/cpu/armv7/socfpga/asm-offsets.s include/generated/asm-offsets.h for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 ; do \ /bin/make -C $dir _depend ; done make[2]: Entering directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/tools' cat /dev/null >.depend make[2]: Nothing to be done for '_depend'. make[2]: Leaving directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/tools' make[2]: Entering directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/examples/standalone' arm-altera-eabi-gcc -M -g -Os -fno-common -ffixed-r8 -msoft-float -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga/sdram -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x01000040 -DCONFIG_SPL_TEXT_BASE=0xFFFF0000 -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/include -fno-builtin -ffreestanding -nostdinc -isystem c:/intelfpga/18.1/embedded/host_tools/mentor/gnu/arm/baremetal/bin/../lib/gcc/arm-altera-eabi/6.2.0/include -pipe -DCONFIG_ARM -D__ARM__ -mthumb -mthumb-interwork -mabi=aapcs-linux -march=armv7-a -mno-unaligned-access -I.. -MQ hello_world.o hello_world.c >.depend.hello_world arm-altera-eabi-gcc -M -g -Os -fno-common -ffixed-r8 -msoft-float -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga/sdram -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x01000040 -DCONFIG_SPL_TEXT_BASE=0xFFFF0000 -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/include -fno-builtin -ffreestanding -nostdinc -isystem c:/intelfpga/18.1/embedded/host_tools/mentor/gnu/arm/baremetal/bin/../lib/gcc/arm-altera-eabi/6.2.0/include -pipe -DCONFIG_ARM -D__ARM__ -mthumb -mthumb-interwork -mabi=aapcs-linux -march=armv7-a -mno-unaligned-access -I.. -MQ stubs.o stubs.c >.depend.stubs cat /dev/null .depend.hello_world .depend.stubs >.depend make[2]: Nothing to be done for '_depend'. make[2]: Leaving directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/examples/standalone' make[2]: Entering directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/examples/api' cat /dev/null >.depend make[2]: Nothing to be done for '_depend'. make[2]: Leaving directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/examples/api' make[2]: Entering directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/arch/arm/cpu/armv7' arm-altera-eabi-gcc -M -g -Os -fno-common -ffixed-r8 -msoft-float -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/board/altera/socfpga/sdram -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x01000040 -DCONFIG_SPL_TEXT_BASE=0xFFFF0000 -I/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/include -fno-builtin -ffreestanding -nostdinc -isystem c:/intelfpga/18.1/embedded/host_tools/mentor/gnu/arm/baremetal/bin/../lib/gcc/arm-altera-eabi/6.2.0/include -pipe -DCONFIG_ARM -D__ARM__ -mthumb -mthumb-interwork -mabi=aapcs-linux -march=armv7-a -mno-unaligned-access -MQ start.o start.S >.depend.start sed: cannot rename ./seduKkXN3: Permission denied make[2]: *** No rule to make target '.depend.start', needed by '.depend'. Stop. make[2]: Leaving directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga/arch/arm/cpu/armv7' Makefile:622: recipe for target 'depend' failed make[1]: *** [depend] Error 2 make[1]: Leaving directory '/cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp/uboot-socfpga' make: *** [uboot-socfpga/spl/u-boot-spl.bin] Error 2 788307@WLT10003790 /cygdrive/d/VHDL/SR/home/Golden_Proj/ProjA_Golden_Ver1_CanBusU1/SR_VER11_UDP_H2T_V2/firmware/software/spl_bsp $