Add FSBL debug and QSPI Bypass
This commit is contained in:
@@ -8,11 +8,9 @@ LN_FLAGS := -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -sp
|
||||
|
||||
c_SOURCES := $(wildcard *.c)
|
||||
S_SOURCES := $(wildcard *.S)
|
||||
s_SOURCES := $(wildcard *.s)
|
||||
INCLUDES := $(wildcard *.h)
|
||||
OBJS := $(patsubst %.c, %.o, $(c_SOURCES))
|
||||
OBJS += $(patsubst %.S, %.o, $(S_SOURCES))
|
||||
OBJS += $(patsubst %.s, %.o, $(s_SOURCES))
|
||||
LSCRIPT := -Tlscript.ld
|
||||
|
||||
CURRENT_DIR = $(shell pwd)
|
||||
|
||||
Binary file not shown.
@@ -151,7 +151,8 @@
|
||||
#endif
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
#define FSBL_DEBUG_INFO
|
||||
#define QSPI_BYPASS
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
#ifdef XPAR_XWDTPS_0_BASEADDR
|
||||
@@ -374,6 +375,10 @@ int main(void)
|
||||
BootModeRegister = Xil_In32(BOOT_MODE_REG);
|
||||
BootModeRegister &= BOOT_MODES_MASK;
|
||||
|
||||
#ifdef QSPI_BYPASS
|
||||
BootModeRegister = JTAG_MODE;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* QSPI BOOT MODE
|
||||
*/
|
||||
|
||||
@@ -16,7 +16,7 @@ endif
|
||||
|
||||
all:
|
||||
$(MAKE) --no-print-directory seq_libs
|
||||
$(MAKE) -j 30 --no-print-directory par_libs
|
||||
$(MAKE) -j 6 --no-print-directory par_libs
|
||||
$(MAKE) --no-print-directory archive
|
||||
@echo 'Finished building libraries'
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user