xen-troops / meta-xt-prod-devel

GNU General Public License v2.0
4 stars 13 forks source link

[not merge]domd, firmware: add patch to fix BL2 of board revision 0x10 #382

Open iusyk opened 2 years ago

iusyk commented 2 years ago

BL2 fires the following error NOTICE: BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.3.0.1 NOTICE: BL2: PRR is R-Car H3 Ver.3.0 NOTICE: BL2: Board is Starter Kit Premier Rev.1.0 NOTICE: BL2: Boot device is HyperFlash(80MHz) NOTICE: BL2: LCM state is CM NOTICE: AVS setting succeeded. DVFS_SetVID=0x53 NOTICE: BL2: DDR2800(rev.0.41) NOTICE: BL2: [COLD_BOOT] NOTICE: BL2: Failed to DRAM initialize (-1).

The reason is the wrong determination of the memory slots number. BL2 considers that board has 2 slots, but really one. The fix considers the board (revision 0x10) like board with one memory slot.

Signed-off-by: Ihor Usyk ihor.usyk@gmail.com