From 686edfe55b91fd15120724ebc039dfa35deebf0b Mon Sep 17 00:00:00 2001 From: wty <419034340@qq.com> Date: Wed, 12 Jun 2024 03:03:25 -0700 Subject: [PATCH] fix name --- .../preboot_for_3568/{nxp_ls1028.lds => 3568.lds} | 0 .../arm/armv8-a/cortex-a55/preboot_for_3568/config.mk | 2 +- .../armv8-a/cortex-a55/preboot_for_3568/cortexA55.S | 4 ++-- .../cortex-a55/preboot_for_3568/include/cortex_a55.h | 10 +++++----- .../mmu/arm/armv8-a/cortex-a55/3568/memlayout.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) rename Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/{nxp_ls1028.lds => 3568.lds} (100%) diff --git a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/nxp_ls1028.lds b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/3568.lds similarity index 100% rename from Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/nxp_ls1028.lds rename to Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/3568.lds diff --git a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/config.mk b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/config.mk index 65534da75..4f7a1eb70 100644 --- a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/config.mk +++ b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/config.mk @@ -2,7 +2,7 @@ export CROSS_COMPILE ?= aarch64-none-elf- export DEVICE = -mtune=cortex-a55 -ffreestanding -fno-common -fno-stack-protector -fno-pie -no-pie export CFLAGS := $(DEVICE) -Wall -Werror -O0 -g -fno-omit-frame-pointer -fPIC # export AFLAGS := -c $(DEVICE) -x assembler-with-cpp -D__ASSEMBLY__ -gdwarf-2 -export LFLAGS := $(DEVICE) -Wl,-T -Wl,$(KERNEL_ROOT)/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/nxp_ls1028.lds -Wl,--start-group,-lgcc,-lc,--end-group +export LFLAGS := $(DEVICE) -Wl,-T -Wl,$(KERNEL_ROOT)/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/3568.lds -Wl,--start-group,-lgcc,-lc,--end-group export CXXFLAGS := export DEFINES := -DHAVE_CCONFIG_H -DCHIP_LS1028 diff --git a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/cortexA55.S b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/cortexA55.S index 7869bc716..b8f9bd5fc 100644 --- a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/cortexA55.S +++ b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/cortexA55.S @@ -8,7 +8,7 @@ File name: cortexA55.S Description: This file contains cortexA9 functions Others: History: -1. Date: 202-05-08 +1. Date: 2024-05-08 Author: AIIT XUOS Lab Modification: 1. No modifications @@ -32,6 +32,6 @@ psci_call: # ------------------------------------------------------------ -# End of cortexA72.s +# End of cortexA55.s # ------------------------------------------------------------ .end \ No newline at end of file diff --git a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/include/cortex_a55.h b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/include/cortex_a55.h index 4fd2c7157..ad90943d0 100644 --- a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/include/cortex_a55.h +++ b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/include/cortex_a55.h @@ -29,7 +29,7 @@ */ /** * @file cortex_a55.h - * @brief some cortex A72 core functions + * @brief some cortex A55 core functions * @version 1.0 * @author AIIT XUOS Lab * @date 2024.04.24 @@ -37,7 +37,7 @@ /************************************************* File name: cortex_a55.h -Description: some cortex A72 core functions +Description: some cortex A55 core functions Others: History: Author: AIIT XUOS Lab @@ -45,8 +45,8 @@ Modification: 1. No modifications *************************************************/ -#if !defined(__CORTEX_A72_H__) -#define __CORTEX_A72_H__ +#if !defined(__CORTEX_A55_H__) +#define __CORTEX_A55_H__ #include #include @@ -231,4 +231,4 @@ void scu_secure_invalidate(unsigned int cpu, unsigned int ways); } #endif -#endif //__CORTEX_A72_H__ \ No newline at end of file +#endif //__CORTEX_A55_H__ \ No newline at end of file diff --git a/Ubiquitous/XiZi_AIoT/hardkernel/mmu/arm/armv8-a/cortex-a55/3568/memlayout.h b/Ubiquitous/XiZi_AIoT/hardkernel/mmu/arm/armv8-a/cortex-a55/3568/memlayout.h index 7e2f07e78..c58331610 100644 --- a/Ubiquitous/XiZi_AIoT/hardkernel/mmu/arm/armv8-a/cortex-a55/3568/memlayout.h +++ b/Ubiquitous/XiZi_AIoT/hardkernel/mmu/arm/armv8-a/cortex-a55/3568/memlayout.h @@ -33,7 +33,7 @@ Modification: #define ARCH_BIT 64 -/* A72 physical memory layout */ +/* A55 physical memory layout */ #define PHY_MEM_BASE (0x0000000010000000ULL) #define PHY_USER_FREEMEM_BASE (0x0000000030000000ULL) #define PHY_USER_FREEMEM_TOP (0x0000000040000000ULL)