I am trying to boot the 'bl2.bin' which was created using:
make PLAT=ls1046ardb bl2 BOOT_MODE=qspi pbl RCW=../rcw/ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin
I am getting the following messages on the target console:
INFO: RCW BOOT SRC is IFC NOR
INFO: RCW BOOT SRC is IFC NOR
ERROR: NOR driver not present. Check your BUILD
INFO: time base 0 ms
WARNING: tx_byte nodev 72
WARNING: tx_byte nodev 72
ERROR: First slot cannot be empty.
ERROR: Parsing DIMM Error
ERROR: DDR init failed.
NOTICE: Incorrect DRAM0 size is defined in platfor_def.h
ERROR: mmap_add_region_check() failed. error -22
ERROR: mmap_add_region_check() failed. error -22
NOTICE: BL2: v1.5(debug):LSDK-19.03-dirty
NOTICE: BL2: Built : 17:14:28, Mar 30 2022
INFO: Configuring TrustZone Controller
I have few questions. Why am I getting the following errors?
1. "ERROR: NOR driver not present. Check your BUILD"
2. "ERROR: First slot cannot be empty."
3. "ERROR: Parsing DIMM Error"
4. "ERROR: DDR init failed."
Any help is much appreciated.
It's seems that RCW BOOT SRC in your RCW is not correct.
Please modify PLAT_DEF_DRAM0_SIZE in plat/nxp/soc-ls1046/ls1046ardb/platform_def.h.
Do you use LS1046ARDB or your custom board?