summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-03-10 17:24:30 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-05-15 10:06:02 +0000
commit1095e3e7b70c2e3ea0745485bb01e542c7512102 (patch)
tree549bde81ca46ff3679e8935a07be0a61645e22b9
parente3009dcaed35313b540d7f9c09df03cec98c34ef (diff)
verdin-am62: set dfu_alt_info_ram
Provide a dfu_alt_info_ram variable value that allows to download the binary blobs over DFU that are needed to boot TEZI. Upstream-Status: Pending Initial U-Boot to be used for bring-up and validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--include/configs/verdin-am62.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/configs/verdin-am62.h b/include/configs/verdin-am62.h
index 027266d29f..dec078c806 100644
--- a/include/configs/verdin-am62.h
+++ b/include/configs/verdin-am62.h
@@ -8,10 +8,11 @@
#ifndef __CONFIG_VERDIN_AM62_H
#define __CONFIG_VERDIN_AM62_H
-#include <environment/ti/k3_dfu.h>
#include <linux/sizes.h>
#define CONFIG_LOADADDR 0x88200000
+#define RAMDISK_ADDR_R 0x90300000
+#define SCRIPTADDR 0x90280000
/* DDR Configuration */
#define CONFIG_SYS_SDRAM_BASE1 0x880000000
@@ -55,8 +56,8 @@
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
"kernel_comp_addr_r=0x80200000\0" \
"kernel_comp_size=0x08000000\0" \
- "ramdisk_addr_r=0x90300000\0" \
- "scriptaddr=0x90280000\0"
+ "ramdisk_addr_r=" __stringify(RAMDISK_ADDR_R) "\0" \
+ "scriptaddr=" __stringify(SCRIPTADDR) "\0"
/* Enable Distro Boot */
#define BOOT_TARGET_DEVICES(func) \
@@ -66,8 +67,12 @@
#include <config_distro_bootcmd.h>
#define EXTRA_ENV_DFUARGS \
- DFU_ALT_INFO_EMMC \
- DFU_ALT_INFO_RAM
+ "dfu_alt_info_ram=" \
+ "tispl.bin ram 0x80080000 0x200000;" \
+ "u-boot.img ram 0x81000000 0x400000;" \
+ "loadaddr ram " __stringify(CONFIG_LOADADDR) " 0x80000;" \
+ "scriptaddr ram " __stringify(SCRIPTADDR) " 0x80000;" \
+ "ramdisk_addr_r ram " __stringify(RAMDISK_ADDR_R) " 0x8000000\0"
/* Initial environment variables */
#define CONFIG_EXTRA_ENV_SETTINGS \