更换DDR和FLASH芯片后启动不起来
Version V2.06 20211109CHIP ID = 0x0003308C
In
589MHz
DDR3
Col=10 Bank=3 Row=13 Size=128MB
OUT: sdram_init finish.
DDR Version V2.06 20211109
CHIP ID = 0x0003308C
In
589MHz
DDR3
Col=10 Bank=3 Row=13 Size=128MB
OUT: sdram_init finish.
Boot1 Release Time: Oct 28 2021 16:52:39, version: 1.33
0xff0000a4:a14a
ROM VER:0x30303356, 25
chip_id:330800,0
ChipType = 0x19, 646
DPLL = 1300 MHz
...nandc_flash_init enter...
No.1 FLASH ID:ff ff ff ff ff ff
DPLL = 1300 MHz
sfc nor id: ff c8 52
DPLL = 1300 MHz
sfc_nand id: c8 52 c8
SFTL version: 5.0.56 20210329
SdmmcInit=0 NOT PRESENT
StorageInit ok = 135967
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x104
Secure read PBA: 0x204
Secure read PBA: 0x304
Secure read PBA: 0x404
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:0, name: uboot, start:0x2000, size:0x1000
GPT part:1, name: trust, start:0x3000, size:0x1000
GPT part:2, name: misc, start:0x4000, size:0x800
GPT part:3, name: recovery, start:0x4800, size:0xa000
GPT part:4, name: boot, start:0xe800, size:0xa000
GPT part:5, name: rootfs, start:0x18800, size:0x40000
GPT part:6, name: oem, start:0x98800, size:0x20000
GPT part:7, name: userdata, start:0xb8800, size:0xfffba7df
find part:uboot OK. first_lba:0x2000.
find part:trust OK. first_lba:0x3000.
LoadTrust Addr:0x3000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x600000, size=0xa85dc
RunBL31 0x40000 @ 286932 us
INFO: Preloader serial: 2
NOTICE:BL31: v1.3(release):d5a5a89b7
NOTICE:BL31: Built : 03:20:20, Oct 18 2021
INFO: Lastlog: last=0x100000, realtime=0x102000, size=0x2000
INFO: ARM GICv2 driver initialized
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe bs
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 = 0x600000
INFO: SPSR = 0x3c9
U-Boot 2017.09(u-boot commit id: 8e1ac1bfcbb69968910ba413b31cbc317b77b262)(sdk version: rk3308_linux_release_20220304_v1.5.0a.xml)-g8e1ac1bfcb-dirty (Sep 22 2022 - 15:17:52 +0800)
Model: Rockchip RK3308 EVB
PreSerial: 2
DRAM:126 MiB
Sysmem: init
Relocation Offset is: 0790a000
Using default environment
__________here board_init
__________here boot_devtype_init 101
sfc nor id: ff c8 52
ret -1
_____________heresfc_nand_init
_____________heresfc_nand_init
sfc_nand id: c8 52 c8
sfc_nand id: c8 52 c8
_____________hereget spi_nand_info
SFTL version: 5.0.51 20191028
Bootdev(atags): spinand 0
PartType: EFI
boot mode: recovery (misc)
Found DTB in recovery part
DTB: rk-kernel.dtb
Error binding driver 'fixed regulator': -22
Some drivers failed to bind
vdd_core init 1015000 uV
DVFS: cpu: low=0.0'c, high=55.0'c, Vmax=1200000uV, tz_temp=55.0'c, h_repeat=0, l_repeat=0
DVFS: 33.700'c
Model: Firefly ROC-RK3308B-CC-PLUS analog mic board
__________here setup_boot_mode
__________here boot_devtype_init 101
__________here:setup_boot_mode,1
CLK: (uboot. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 1300000 KHz
vpll0 1177823 KHz
vpll1 901583 KHz
aclk_bus 185714 KHz
hclk_bus 100000 KHz
pclk_bus 100000 KHz
aclk_peri 185714 KHz
hclk_peri 100000 KHz
pclk_peri 100000 KHz
hclk_audio 98151 KHz
pclk_audio 98151 KHz
Net:
Error: ethernet@ff4e0000 address not set.
No ethernet found.
DVFS: cpu 33.700'c, 816000000 Hz, 1015000 uV
Hit key to stop autoboot('CTRL+C'):0
ANDROID: reboot reason: "recovery"
Fdt Ramdisk skip relocation
Booting LZ4 kernel at 0x02480000(Uncompress to 0x00280000) with fdt at 0x1f00000...
## Booting Android Image at 0x0247f800 ...
Kernel load addr 0x00280000 size 6588 KiB
RAM disk load addr 0x04000000 size 6086 KiB
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Uncompressing Kernel Image ... OK
Using Device Tree in place at 0000000001f00000, end 0000000001f18a41
Adding bank: 0x00200000 - 0x08000000 (size: 0x07e00000)
Total: 1365.721 ms
Starting kernel ...
日志如上,把DDR和flash按照瑞芯微的支持列表更换了更换了,4G的EMMC改为SPINandFlash,DDR由512MB改为256MB,在uboot最后启动kernel的时候启动失败,请问更换DDR和FLASH后SDK中应该如何更改
日志只打印到Starting kernel ...就停止了 请问最后是怎么解决的?芯片是不是RK3308B-S? 最后是不是修改了DTS? 印象中记得 emmc改 nand 启动 要修改一下设备树。 你这个同DDR有关系吗?
页:
[1]