Merge tag 'u-boot-socfpga-next-20250225' of https://source.denx.de/u-boot/custodians/u-boot-socfpga into next
CI: https://source.denx.de/u-boot/custodians/u-boot-socfpga/-/pipelines/24816 Please pull the SoCFPGA changes for next from u-boot-socfpga, containing boot support for the Altera SoCFPGA Agilex 5 platform in U-Boot. The changes include: 1. Board-specific configurations and setup required to enable Agilex 5 operation in U-Boot. 2. Integration of cache coherency unit (CCU) initialization routine, including CCU conguration in DT. 3. Clock, firewall (configured in DT), SMMU, low level initialization specific to Agilex 5. 4. Integration of memory initialization routine, including DDR setup. This patch set has been tested on Agilex 5 devkit with QSPI boot (UBI/UBIFS) and RAM boot (TFTP & ARM DS debugger).
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0
|
||||
*
|
||||
* Copyright (C) 2017-2024 Intel Corporation <www.intel.com>
|
||||
* Copyright (C) 2025 Altera Corporation <www.altera.com>
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -56,6 +57,11 @@
|
||||
|
||||
#define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \
|
||||
"bootcmd_qspi=ubi detach; sf probe && " \
|
||||
"setenv mtdids 'nor0=nor0,nand0=nand.0' && " \
|
||||
"setenv mtdparts 'mtdparts=nor0:66m(u-boot),190m(root); " \
|
||||
"nand.0:2m(nand_uboot),500m(nand_root)' && " \
|
||||
"env select UBI; saveenv && " \
|
||||
"ubi part root && " \
|
||||
"if ubi part root && ubi readvol ${scriptaddr} script; " \
|
||||
"then echo QSPI: Running script from UBIFS; " \
|
||||
"elif sf read ${scriptaddr} ${qspiscriptaddr} ${scriptsize}; " \
|
||||
|
Reference in New Issue
Block a user