Firefly开源社区

打印 上一主题 下一主题

[技术讨论] RK3308B内核不能启动。

17

积分

0

威望

0

贡献

技术小白

积分
17
QQ

RK3308B内核不能启动。

发表于 2023-12-13 15:31:32      浏览:2254 | 回复:3        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
基于RK3308B自研板子,CPU和FLASH选型和core3308Y一样。烧写官方固件,系统卡死。
如果将CPU和Flash更换为核心板上的器件,系统启动正常。
如果将核心板的CPU或者FLASH器件中的某一个更换为同型号的自购器件,系统也会卡死在相同的位置。
打印信息如下所示。
DDR Version V1.29 20190730
REG2C: 0x00000037, 0x00000037
In
589MHz
DDR3
Col=10 Bank=3 Row=15 Size=512MB
msch:1
OUT
Boot1 Release Time: Oct 28 2019 20:02:13, version: 1.19
chip_id:330800,0
ChipType = 0x13, 35790968
DPLL = 1300 MHz
sfc nor id: ff ff ff
DPLL = 1300 MHz
sfc_nand id: ff ff ff
DPLL = 1300 MHz
...nandc_flash_init enter...
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
DPLL = 1300 MHz
NeedKHz=18000KHz,clock=650000KHz
DPLL = 1300 MHz
NeedKHz=48000KHz,clock=650000KHz
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 35778250
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x404
Secure read PBA: 0x804
Secure read PBA: 0xc04
Secure read PBA: 0x1004
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:0x80000
GPT part:  6, name:              oem, start:0x8f000, size:0x20000
GPT part:  7, name:         userdata, start:0xaf000, size:0xde0fdf
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=0xa5e24
RunBL31 0x40000 @ 35738900 us
INFO:    Preloader serial: 4
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 (Oct 21 2020 - 17:26:19 +0800)

Model: Rockchip RK3308 EVB
PreSerial: 4
DRAM:  510 MiB
Sysmem: init
Relocation Offset is: 1f90c000
Using default environment

dwmmc@ff480000: 1, dwmmc@ff490000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
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=1340000uV, tz_temp=55.0'c, h_repeat=0, l_repeat=0
DVFS: 25.0'c
Model: Firefly ROC-RK3308B-CC-PLUS analog mic board
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:   eth0: ethernet@ff4e0000
DVFS: cpu 25.909'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 5241 KiB
RAM disk load addr 0x04000000 size 6047 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 0000000001f15884
Adding bank: 0x00200000 - 0x20000000 (size: 0x1fe00000)
Total: 530.931 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.143 (zhengyk@mid-server) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #214 SMP PREEMPT Tue Oct 20 09:48:07 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd042]
[    0.000000] earlycon: Early serial console at MMIO32 0xff0e0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 19 pages/cpu @ffffffc01ff45000 s40088 r8192 d29544 u77824
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 128520
[    0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6  rootwait earlycon=uart8250,mmio32,0xff0e0000 swiotlb=1 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext2 snd_aloop.index=7 snd_aloop.use_raw_jiffies=1
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] software IO TLB [mem 0x1fe41000-0x1fe81000] (0MB) mapped at [ffffffc01fe41000-ffffffc01fe80fff]
[    0.000000] Memory: 495528K/522240K available (6462K kernel code, 690K rwdata, 2436K rodata, 384K init, 511K bss, 26712K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008940000 - 0xffffff80089a0000   (   384 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086d0000   (  6464 KB)
[    0.000000]     .rodata : 0xffffff80086d0000 - 0xffffff8008940000   (  2496 KB)
[    0.000000]       .data : 0xffffff80089a0000 - 0xffffff8008a4c808   (   691 KB)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc020000000   (   510 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]

RK3308打印信息.zip

66.25 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

298

积分

0

威望

0

贡献

禁止发言

积分
298
发表于 2023-12-14 16:28:32        只看该作者  沙发
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

17

积分

0

威望

0

贡献

技术小白

积分
17
QQ
发表于 2023-12-21 13:46:03        只看该作者  板凳
qq2317783075 发表于 2023-12-14 16:28
换官方rk的sdk吧,就不会有这个限制,我们都已经量产了

厉害!我们还在探索呢。感谢!
回复

使用道具 举报

19

积分

0

威望

0

贡献

技术小白

积分
19
发表于 2024-5-30 18:06:45        只看该作者  地板
qq2317783075 发表于 2023-12-14 16:28
**** 作者被禁止或删除 内容自动屏蔽 ****

请问下RK官方的SDK在哪下载?
回复

使用道具 举报

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

本版积分规则

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