Forum Discussion
Hi,
Ive tried another project code, and it was successful.
I used the 0x01000040 as start address in the linker file, and conformed that you need to add the interrupt vector as the 0x01000060 so that the _socfpga_main at address 0x01000080 .
Now I have two questions:
1. I have a lot of printfs and added the "\n" at each printf,
but the result is a total mess:
U-Boot SPL 2020.07-08705-g35d7cfb999-dirty (Jul 10 2023 - 17:29:47 +0800)
DDRCAL: Scrubbing ECC RAM (1024 MiB).
DDRCAL: SDRAM-ECC initialized success with 578 ms
Trying to boot from MMC1
INFO: System init start. INFO: HPS Timer Initialization.INFO: Setting up Global Timer.INFO: Initializing General Purpose Timers.INFO: Initializing Watchdog 0 Timer.INFO: System Initialization.INFO: Init GPIO module.INFO: Setting up GPIO interrupt.INFO: Set up GPIO for LEDs.INFO: Set up GPIO for Push button.INFO: Register interrupt handler.INFO: HPS Timer Interrupt Setup.INFO: Setup DMA System ...INFO: Setup of DMA successful.
INFO: Setup FPGA System ...INFO: Setup of FPGA successful.
INFO: Sine Initial DoneINFO: Start L4SP1 Timer interrupts.Start the timer.INFO: Checking if SP Timer 1 is running.INFO: SP Timer 1 is running.INFO: System uninit.INFO: Cleaning up GPIO interrupt.INFO: Cleaning up Timer interrupts.INFO: Cleanup of FPGA ...INFO: Cleaning up DMA System ...
2. How should I do to start the code from the qspi?Could you please give me some guides or steps to do that?
Thank you very much.
Reguards.