rockchip-linux / u-boot

U-Boot tree for pending commits
113 stars 79 forks source link

there has some issue when using DDR3 #35

Open songsongman opened 5 years ago

songsongman commented 5 years ago

here is the log : DDR version 1.06 20170424 In DDR3 786MHz Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB ddrconfig:6 OUT Boot1 Release Time: 2017-05-18, version: 2.43 ChipType = 0x11, 124 SdmmcInit=2 0 BootCapSize=2000 UserCapSize=7456MB FwPartOffset=2000 , 2000 SdmmcInit=0 2 StorageInit ok = 20774 Raw SecureMode = 0 SecureInit read PBA: 0x4 SecureInit read PBA: 0x404 SecureInit read PBA: 0x804 SecureInit read PBA: 0xc04 SecureInit read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 LoadTrustBL No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x200000, size=0xa7fac RunBL31 0x10000 NOTICE: BL31: v1.3(debug):f947c7e NOTICE: BL31: Built : 09:28:45, May 31 2017 NOTICE: BL31:Rockchip release version: v1.3 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9

U-Boot 2017.09-gc58a816-dirty (Oct 16 2018 - 09:56:46 +0800)

Model: Firefly ROC-RK3328-CC DRAM: 00000000000000

keveryang commented 5 years ago

We never meet similar issue, did you change any boot code? pls try to print the address of gd->bd->bi_dram[0].start.