Firefly开源社区

RK3308 uboot移植到自研板启动报错,固件用的是RK3308_evb。

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2020-9-2 14:42:44     
首先贴出启动信息:
WARDDR Version V1.29 20190730
REG2C: 0x00000033, 0x00000033
In
451MHz
DDR2
Col=10 Bank=2 Row=13 Size=64MB
msch:0
OUT
Boot1 Release Time: Oct 28 2019 20:02:13, version: 1.19
chip_id:330800,0
ChipType = 0x13, 35790965
DPLL = 1300 MHz
sfc nor id: ff c2 12
DPLL = 1300 MHz
sfc_nand id: c2 12 c2
SFTL version: 5.0.50 20190215
SdmmcInit=0 NOT PRESENT
StorageInit ok = 35617883
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:0x6000
GPT part:  4, name:             boot, start:0xa800, size:0x4800
GPT part:  5, name:           rootfs, start:0xf000, size:0x16000
GPT part:  6, name:              oem, start:0x25000, size:0xc000
GPT part:  7, name:         userdata, start:0x31000, size:0x4ddf
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=0xa63a0
RunBL31 0x40000 @ 35463163 us
INFO:    Preloader serial: 2
NOTICE:  BL31: v1.3(release):30f1405
NOTICE:  BL31: Built : 17:08:28, Sep 23 2019
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 b
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 (Sep 02 2020 - 11:47:23 +0800)

Model: Rockchip RK3308 EVB
PreSerial: 2
DRAM:  62 MiB
Sysmem: init
Relocation Offset is: 0390c000
Using default environment

sfc nor id: ff c2 12
ret -1
sfc_nand id: c2 12 c2
SFTL version: 5.0.51 20191028
Bootdev(atags): spinand 0
PartType: EFI
boot mode: recovery (misc)
init_resource_list: failed to get resource part, ret=-1
Failed to get kernel dtb, ret=-19
request for gpio0_a4 failed:-2
Model: Rockchip RK3308 EVB
CLK: (sync kernel. 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:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "recovery"
** Invalid Android Image header **
Android image load failed
Android boot failed, error -1.
=Booting Rockchip format image=
Could not found misc partition
MMC Device 1 not found
no mmc device at slot 1
no mmc device at slot 0

Device 0:...nandc_flash_init enter...
unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.

自研板用的是RK3308H,flash用的是MX35LF1GE4AB,在支持列表中……
烧录器前有擦除操作。
回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2020-12-2 10:58:02     
这个应该是没有recovery分区,或者recovery分区损坏,芯片在烧完固件后第一次启动是recovery模式,会加载recovery镜像中的内核。
回复

使用道具 举报

164

积分

0

威望

0

贡献

技术小白

积分
164
发表于 2020-12-15 09:47:43     
YOFOYO 发表于 2020-12-2 10:58
这个应该是没有recovery分区,或者recovery分区损坏,芯片在烧完固件后第一次启动是recovery模式,会加载re ...

请问我怎么下载rk3308B-CC的SDK?我解压firefly的SDK是.git,之后请问怎么下载sdk
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表