Browse Source

add ZZ9000OS (here called ZZ9000Test) makefiles etc

tags/1.1
mntmn 1 month ago
parent
commit
0f2f912f95

+ 2
- 0
.gitignore View File

@@ -8,6 +8,7 @@ ZZ9000_proto.srcs/sources_1/bd
ZZ9000_proto.sdk/zz9000_ps_wrapper_hw_platform_0
ZZ9000_proto.runs
ZZ9000_proto.sim
ZZ9000_proto.hw
ZZ9000_proto.tmp
ZZ9000_proto.ip_user_files
.metadata
@@ -23,4 +24,5 @@ bak
masscopy*.sh
SDK.log.*
ZZ9000_proto.srcs/sources_1
ZZ9000_proto.sdk/ZZ9000Test/bootimage/BOOT.bin


+ 65
- 0
ZZ9000_proto.sdk/ZZ9000Test/Debug/makefile View File

@@ -0,0 +1,65 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ../makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables
ELFSIZE += \
ZZ9000OS.elf.size \


# All Target
all: pre-build main-build

# Main-build Target
main-build: ZZ9000OS.elf secondary-outputs

# Tool invocations
ZZ9000OS.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: ARM v7 gcc linker'
arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -specs=Xilinx.spec -Wl,-T -Wl,../src/lscript.ld -L../../zz9000_bsp_new/ps7_cortexa9_0/lib -o "ZZ9000OS.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '

ZZ9000OS.elf.size: ZZ9000OS.elf
@echo 'Invoking: ARM v7 Print Size'
arm-none-eabi-size ZZ9000OS.elf |tee "ZZ9000OS.elf.size"
@echo 'Finished building: $@'
@echo ' '

# Other Targets
clean:
-$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) ZZ9000OS.elf
-@echo ' '

pre-build:
-a9-linaro-pre-build-step
-@echo ' '

secondary-outputs: $(ELFSIZE)

.PHONY: all clean dependents
.SECONDARY: main-build pre-build

-include ../makefile.targets

+ 8
- 0
ZZ9000_proto.sdk/ZZ9000Test/Debug/objects.mk View File

@@ -0,0 +1,8 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################

USER_OBJS :=

LIBS := -lm -Wl,--start-group,-lxil,-lgcc,-lc,--end-group


+ 20
- 0
ZZ9000_proto.sdk/ZZ9000Test/Debug/sources.mk View File

@@ -0,0 +1,20 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################

LD_SRCS :=
OBJ_SRCS :=
S_SRCS :=
C_SRCS :=
S_UPPER_SRCS :=
O_SRCS :=
EXECUTABLES :=
OBJS :=
S_UPPER_DEPS :=
C_DEPS :=
ELFSIZE :=

# Every subdirectory with source files must be described here
SUBDIRS := \
src \


+ 0
- 226
ZZ9000_proto.sdk/ZZ9000Test_bsp/system.mss View File

@@ -1,226 +0,0 @@

PARAMETER VERSION = 2.2.0


BEGIN OS
PARAMETER OS_NAME = standalone
PARAMETER OS_VER = 6.8
PARAMETER PROC_INSTANCE = ps7_cortexa9_0
PARAMETER stdin = ps7_uart_1
PARAMETER stdout = ps7_uart_1
END


BEGIN PROCESSOR
PARAMETER DRIVER_NAME = cpu_cortexa9
PARAMETER DRIVER_VER = 2.7
PARAMETER HW_INSTANCE = ps7_cortexa9_0
PARAMETER extra_compiler_flags = -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -Wall -Wextra
END


BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_afi_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_afi_1
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_afi_2
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_afi_3
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = coresightps_dcc
PARAMETER DRIVER_VER = 1.4
PARAMETER HW_INSTANCE = ps7_coresight_comp_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = devcfg
PARAMETER DRIVER_VER = 3.5
PARAMETER HW_INSTANCE = ps7_dev_cfg_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = dmaps
PARAMETER DRIVER_VER = 2.3
PARAMETER HW_INSTANCE = ps7_dma_ns
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = dmaps
PARAMETER DRIVER_VER = 2.3
PARAMETER HW_INSTANCE = ps7_dma_s
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_globaltimer_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_gpv_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_intc_dist_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_iop_bus_config_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_l2cachec_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_ocmc_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_pl310_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_pmu_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_ram_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_ram_1
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_scuc_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = scugic
PARAMETER DRIVER_VER = 3.8
PARAMETER HW_INSTANCE = ps7_scugic_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = scutimer
PARAMETER DRIVER_VER = 2.1
PARAMETER HW_INSTANCE = ps7_scutimer_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = scuwdt
PARAMETER DRIVER_VER = 2.1
PARAMETER HW_INSTANCE = ps7_scuwdt_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_slcr_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = uartps
PARAMETER DRIVER_VER = 3.4
PARAMETER HW_INSTANCE = ps7_uart_1
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = xadcps
PARAMETER DRIVER_VER = 2.2
PARAMETER HW_INSTANCE = ps7_xadc_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = ddrps
PARAMETER DRIVER_VER = 1.0
PARAMETER HW_INSTANCE = ps7_ddr_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 2.0
PARAMETER HW_INSTANCE = ps7_ddrc_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = clk_wiz
PARAMETER DRIVER_VER = 1.2
PARAMETER HW_INSTANCE = clk_wiz_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = axivdma
PARAMETER DRIVER_VER = 6.6
PARAMETER HW_INSTANCE = video_subsystem_axi_vdma_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = MNTZorro
PARAMETER DRIVER_VER = 1.0
PARAMETER HW_INSTANCE = MNTZorro_v0_1_S00_AXI_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = gpiops
PARAMETER DRIVER_VER = 3.4
PARAMETER HW_INSTANCE = ps7_gpio_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = sdps
PARAMETER DRIVER_VER = 3.6
PARAMETER HW_INSTANCE = ps7_sd_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = emacps
PARAMETER DRIVER_VER = 3.8
PARAMETER HW_INSTANCE = ps7_ethernet_0
END

BEGIN DRIVER
PARAMETER DRIVER_NAME = iicps
PARAMETER DRIVER_VER = 3.8
PARAMETER HW_INSTANCE = ps7_i2c_0
END



Loading…
Cancel
Save