Part Number: PROCESSOR-SDK-AM62X
Other Parts Discussed in Thread: AM625
SDK :ti-processor-sdk-linux-am62xx-evm-08.06.00.42
DDR :512M
uboot stage print some error . like :ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
I think it is raleted with reserved-memory in the uboot dts and kernel dts.
below is uboot information and dts of uboot and linux kernel.
the information:
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Sep 19 2023 - 14:56:45 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC2
20230918test:spl: mmc init failed with error: boot_device=8
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Loading Environment from MMC... MMC Device 0 not found
*** Warning - No MMC card found, using default environment
Starting ATF on ARM64 core...
NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
NOTICE: BL31: Built : 05:06:58, Feb 24 2023
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Sep 19 2023 - 14:58:47 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
Trying to boot from MMC2
20230918test:spl: mmc init failed with error: boot_device=8
U-Boot 2021.01-00001-g45cb7e44ae-dirty (Sep 19 2023 - 14:58:47 +0800)
SoC: AM62X SR1.0 GP
Model: LICHAN-UBOOT Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
DRAM: 512 MiB
MMC: mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC... MMC Device 0 not found
*** Warning - No MMC card found, using default environment
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
Net: eth0: ethernet@8000000port@1
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000)
19147264 bytes read in 816 ms (22.4 MiB/s)
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000)
52157 bytes read in 23 ms (2.2 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
ERROR: reserving fdt memory region failed (addr=9da00000 size=100000)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000)
ERROR: reserving fdt memory region failed (addr=9e700000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000)
Loading Device Tree to 000000008fef0000, end 000000008fffffff ... OK
Starting kernel ...
the uboot dts of reserved-memory:
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
secure_tfa_ddr: tfa@9e780000 {
reg = <0x00 0x9e780000 0x00 0x80000>;
alignment = <0x1000>;
no-map;
};
secure_ddr: optee@9e800000 {
reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
alignment = <0x1000>;
no-map;
};
wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9db00000 0x00 0xc00000>;
no-map;
};
};
kernel dts of reserved-meory:
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
rtos_ipc_memory_region: ipc-memories@9c800000 {
status = "disabled";
compatible = "shared-dma-pool";
reg = <0x00 0x9c800000 0x00 0x00300000>;
no-map;
};
mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
status = "disabled";
compatible = "shared-dma-pool";
reg = <0x00 0x9cb00000 0x00 0x100000>;
no-map;
};
mcu_m4fss_memory_region: m4f-memory@9cc00000 {
status = "disabled";
compatible = "shared-dma-pool";
reg = <0x00 0x9cc00000 0x00 0xe00000>;
no-map;
};
wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9da00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9da00000 0x00 0x00100000>;
no-map;
};
wkup_r5fss0_core0_memory_region: r5f-memory@9db00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9db00000 0x00 0x00c00000>;
no-map;
};
lpm_ctx_ddr: lpm-memory@9e700000 {
reg = <0x00 0x9e700000 0x00 0x80000>;
alignment = <0x1000>;
};
secure_tfa_ddr: tfa@9e780000 {
reg = <0x00 0x9e780000 0x00 0x80000>;
alignment = <0x1000>;
no-map;
};
secure_ddr: optee@9e800000 {
reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
alignment = <0x1000>;
no-map;
};
};
could you give me some advices ? thank you very much!