zorb 发表于 2018-1-30 10:51:37

按照教程编译Linux内核到Firefly RK3399出现下面错误,大神来帮帮忙

resetting ...
DDR Version 1.07 20161103
In
soft reset
SRX
Channel 0: DDR3, 666MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 666MHz
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 = 0x32817281, stride = 0x9
OUT
Boot1: 2016-07-29, version: 1.05
CPUId = 0x0
ChipType = 10 1907
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
SdmmcInit=0 20
StorageInit ok = 62812
LoadTrustBL
No find bl30.bin
No find bl32.bin
theLoader 200000 79367
LoaderFlag2: 0xc3524200
WARNING: plat_rockchip_comm_sram_init:code:ff8d9000, 67000, ef0
NOTICE:BL31: v1.2(debug):b995f80
NOTICE:BL31: Built : 16:53:56, Nov7 2016
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    boot cpu mask: 0
INFO:    Vesion: 2016.0.01
INFO:    plat_rockchip_pmu_init(1211): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.02-RK3399-06-gf0c33010c6 (Aug 23 2017 - 12:28:34)

CPU: rk3399
cpu version = 0
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 594000000HZ
               aclk_periph_h = 148500000HZ, hclk_periph_h = 74250000HZ, pclk_periph_h = 37125000HZ
               aclk_periph_l0 = 99000000HZ, hclk_periph_l0 = 99000000HZ, pclk_periph_l0 = 49500000HZ
               hclk_periph_l1 = 99000000HZ, pclk_periph_l1 = 49500000HZ
    cpll = 800000000HZ
    dpll = 660000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Board:        Rockchip platform Board
Uboot as second level loader
DRAM:Found dram banks: 1
Adding bank:0000000000200000(000000007fe00000)
128 MiB
SdmmcInit = 0 20
storage init OK!
Using default environment

GetParam
Load FDT from boot image.
no key node
usb bc: can find node by path: /dwc-control-usb/usb_bc
pmic:rk808
can't find dts node for pwm1
set pwm voltage ok,pwm_id =2 vol=1000000,pwm_value=66
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 594000000HZ
               aclk_periph_h = 148500000HZ, hclk_periph_h = 74250000HZ, pclk_periph_h = 37125000HZ
               aclk_periph_l0 = 99000000HZ, hclk_periph_l0 = 99000000HZ, pclk_periph_l0 = 49500000HZ
               hclk_periph_l1 = 99000000HZ, pclk_periph_l1 = 49500000HZ
    cpll = 800000000HZ
    dpll = 660000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Can't find dts node for fuel guage cw201x
can't find dts node for ec-battery
Can't find dts node for charger bq25700
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2017-03-28#1.05
empty serial no.
normal boot.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
failed to find phy node
delay prepare unprepare enable disable
read logo on state from dts
no fuel gauge found
It is aCEA 861 Series Extension.
no baseparametr,find best edid mode,vic=16
hdmi_dev->video.vic is 4
rk lcdc - 1 dclk set: dclk = 74250000HZ, pll select = 0, div = 1
"Synchronous Abort" handler, esr 0x96000004
ELR:   594480c
LR:      5925b04
x0 : 0000000005717930 x1 : ffffffffffffffff
x2 : 0000000000000670 x3 : 0000000000000000
x4 : 0000000005717930 x5 : 00000000000003e8
x6 : 00015752a0000001 x7 : 0000000000000020
x8 : 0000000005969cb0 x9 : 0000000000000008
x10: 0000000000000000 x11: 00000000000000d0
x12: 000000000000002d x13: 0000000000000005
x14: 0000000000000004 x15: 0000000008d9ee20
x16: 0000000000000118 x17: 0000000000000000
x18: 0000000005702928 x19: 0000000000000019
x20: 0000000000000104 x21: 0000000005715f50
x22: 0000000005715fd0 x23: 0000000005716050
x24: 000000000595b238 x25: 0000000005716018
x26: 0000000005716530 x27: 00000000000002d5
x28: 000000000000056e x29: 0000000005702660

Resetting CPU ...

zorb 发表于 2018-1-30 10:53:29

教程是参照http://developer.t-firefly.com/thread-12613-1-1.html
Firefly RK3399开发板入门笔记 四、开发环境搭建及内核编译

zorb 发表于 2018-1-30 13:57:13

DDR Version 1.07 20161103
In
soft reset
SRX
Channel 0: DDR3, 666MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 666MHz
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 = 0x32817281, stride = 0x9
OUT
Boot1: 2016-07-29, version: 1.05
CPUId = 0x0
ChipType = 10 1907
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
SdmmcInit=0 20
StorageInit ok = 62852
LoadTrustBL
No find bl30.bin
No find bl32.bin
theLoader 200000 79287
LoaderFlag2: 0xc3524200
WARNING: plat_rockchip_comm_sram_init:code:ff8d9000, 67000, ef0
NOTICE:BL31: v1.2(debug):b995f80
NOTICE:BL31: Built : 16:53:56, Nov7 2016
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    boot cpu mask: 0
INFO:    Vesion: 2016.0.01
INFO:    plat_rockchip_pmu_init(1211): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.02-RK3399-06-gf0c33010c6 (Aug 23 2017 - 12:28:34)

CPU: rk3399
cpu version = 0
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 594000000HZ
               aclk_periph_h = 148500000HZ, hclk_periph_h = 74250000HZ, pclk_periph_h = 37125000HZ
               aclk_periph_l0 = 99000000HZ, hclk_periph_l0 = 99000000HZ, pclk_periph_l0 = 49500000HZ
               hclk_periph_l1 = 99000000HZ, pclk_periph_l1 = 49500000HZ
    cpll = 800000000HZ
    dpll = 660000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Board:        Rockchip platform Board
Uboot as second level loader
DRAM:Found dram banks: 1
Adding bank:0000000000200000(000000007fe00000)
128 MiB
SdmmcInit = 0 20
storage init OK!
Using default environment

GetParam
No pmic detect.
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 594000000HZ
               aclk_periph_h = 148500000HZ, hclk_periph_h = 74250000HZ, pclk_periph_h = 37125000HZ
               aclk_periph_l0 = 99000000HZ, hclk_periph_l0 = 99000000HZ, pclk_periph_l0 = 49500000HZ
               hclk_periph_l1 = 99000000HZ, pclk_periph_l1 = 49500000HZ
    cpll = 800000000HZ
    dpll = 660000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2017-03-28#1.05
empty serial no.
normal boot.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo on state from dts
no fuel gauge found
misc partition not found!
Hit any key to stop autoboot:0
'boot' does not seem to be a partition nor an address
Unable to boot:boot
try to start recovery
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
'backup' does not seem to be a partition nor an address
Unable to boot:backup
try to start rockusb

重新编译了boot,还是有问题,大神能告诉是什么问题吗

yqa 发表于 2020-6-28 14:18:11

我这边新的板子u-boot都启动不了,ddr信息完了后没log了

darkerscjl 发表于 2020-9-2 11:57:05

好东西,感谢楼主

android嵌入式 发表于 2020-9-15 22:02:13

你确定是按照教程来的吗?我的板子是rk3399,按照教程重新编译所有的镜像,都没有问题
页: [1]
查看完整版本: 按照教程编译Linux内核到Firefly RK3399出现下面错误,大神来帮帮忙