-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationnew boxResearch Fills in the BlanksResearch Fills in the BlankssupportThis need is supportedThis need is supported
Description
Device Information | 设备信息
- SOC: [rk3399]
- Model [firefly rk3399]
我尝试着使用 openwrt_official_rockchip_tvi3315a_k6.1.57_2023.10.13.img
写入到 tf 卡上,然后挂载 /boot
分区修改 armbianEnv.txt
将 fdtfile=rockchip/rk3399-tvi3315a.dtb
改为 fdtfile=rockchip/rk3399-firefly.dtb
。用此 tf 卡无法成功启动系统在 UART 下看到如下内容,设备还被识别为 Orange Pi RK3399 Board
DDR Version 1.26 20210628
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x32817281, stride = 0x9
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 337
mmc: ERROR: SDHCI:Transfer data timeout
mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
mmc: ERROR: tuning execution failed
emmc reinit
mmc: ERROR: SDHCI:Transfer data timeout
mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
mmc: ERROR: tuning execution failed
emmc reinit
mmc: ERROR: SDHCI:Transfer data timeout
mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
mmc: ERROR: tuning execution failed
SdmmcInit=2 1
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=29862MB
FwPartOffset=2000 , 0
StorageInit ok = 35731907
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: primary, start:0x8000, size:0x7f800
GPT part: 1, name: primary, start:0x88000, size:0x1ff800
no find partition:uboot.
Trust Addr:0x4000, 0x58334c42
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xb08f0
RunBL31 0x40000 @ 51981 us
NOTICE: BL31: v1.3(debug):42583b6
NOTICE: BL31: Built : 07:55:13, Oct 15 2019
NOTICE: BL31: Rockchip release version: v1.1
INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: plat_rockchip_pmu_init(1190): pd status 3e
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 2020.10-armbian (Aug 08 2021 - 16:19:56 +0200)
SoC: Rockchip rk3399
Reset cause: POR
Model: Orange Pi RK3399 Board
DRAM: 2 GiB
PMIC: RK808
MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... *** Warning - !read failed, using default environment
In: serial@ff1a0000
Out: serial@ff1a0000
Err: serial@ff1a0000
Model: Orange Pi RK3399 Board
Net: eth0: ethernet@fe300000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
3252 bytes read in 5 ms (634.8 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
303 bytes read in 3 ms (98.6 KiB/s)
16849974 bytes read in 720 ms (22.3 MiB/s)
33923584 bytes read in 1443 ms (22.4 MiB/s)
84278 bytes read in 12 ms (6.7 MiB/s)
Failed to load '/dtb/rockchip/overlay/rk3399-fixup.scr'
Unknown command 'kaslrseed' - try 'help'
Moving Image from 0x2080000 to 0x2200000, end=4340000
## Loading init Ramdisk from Legacy Image at 06000000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 16849910 Bytes = 16.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Loading Ramdisk to 7cf16000, end 7df27bf6 ... OK
Loading Device Tree to 000000007ce99000, end 000000007cf15fff ... OK
Starting kernel ...
我的这块板子有一些问题,已经无法识别内置的 EMMC。但是用来测试 tf 卡上的 OpenWRT 应该问题不大。我可以在 tf 卡上跑官方的 armbian.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationnew boxResearch Fills in the BlanksResearch Fills in the BlankssupportThis need is supportedThis need is supported