Firefly开源社区

标题: RK3288偶尔停在Starting kernel里不动 [打印本页]

作者: Monster_Mr    时间: 2018-2-6 17:12
标题: RK3288偶尔停在Starting kernel里不动
本帖最后由 Monster_Mr 于 2018-2-6 17:42 编辑

     自己做的板子,工厂生产测试的时候发现一批板子中的一部分板子启动的时候偶尔会出现停在Starting kernel ...里不动,但有时候又能正常启动,板子都是使用的同一个固件,测量硬件电压的时候发现,正常启动时VDD_GPU电压会从1.1V降到0.86V,在uboot阶段是1.1V,在kernel阶段为0.86V,当板子不能正常启动停在Starting kernel 时,电压一直维持在1.1V,VDD_GPU电路图如下:



尝试过修改/kernel/arch/arm/boot/dts里的DDR频率,发现没有改善
&clk_ddr_dvfs_table {
    operating-points = <
        /* KHz    uV */
                200000 1075000
                300000 1075000
                456000 1125000
                533000 1150000
        >;

    freq-table = <
        /*status        freq(KHz)*/
        SYS_STATUS_NORMAL    400000
        SYS_STATUS_SUSPEND    200000
        SYS_STATUS_VIDEO_1080P    240000
        SYS_STATUS_VIDEO_4K    400000
        SYS_STATUS_PERFORMANCE    528000
        SYS_STATUS_DUALVIEW    400000
        SYS_STATUS_BOOST    324000
        SYS_STATUS_ISP        533000
        >;
    auto-freq-table = <
        240000
        324000
        396000
        528000
        >;
    auto-freq=<0>;
    status="okay";
};
利用串口抓取串口信息如下,现在没有一点思路,希望各位大神指点一二
DDR Version 1.00 20150318
In
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT


U-Boot 2014.10-RK3288-10 (Feb 05 2018 - 17:03:06)

CPU: rk3288
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 297000000HZ
    ddr pll = 200000000HZ
    codec pll = 384000000HZ
Board:    Rockchip platform Board
DRAM:  Found dram banks:1
Adding bank:0000000000000000(0000000080000000)
128 MiB
storage init OK!
Using default environment

GetParam
check parameter success
failed to prepare fdt from boot!
power key: bank-0 pin-5
can't find dts node for ricoh619
can't find dts node for act8846
pmic:rk808
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2018-02-05#2.19
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo on state from dts [1]
can't find power_ctr node for lcdc0
pll_src = 0, dclk_hz = 65000000, dclk_div = 6
load mipi dsi chip:rk_mipi_dsi.0 id:3133302a
mipi_dsi v1.3 2014-04-17
failed to find part:logo
no fuel gauge found
rk_pwm_config:brightness:180
Hit any key to stop autoboot:  0
load fdt from resouce.
Secure Boot state: 0
kernel   @ 0x02000000 (0x00686e58)
ramdisk  @ 0x05bf0000 (0x00147ab4)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0561a8f2 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...





作者: Monster_Mr    时间: 2018-2-6 20:56
不要沉啊,大家帮忙看看
作者: 繧餤﹍.風輕.    时间: 2018-2-7 10:02
把early prink打开,有可能是内核crash了
作者: Monster_Mr    时间: 2018-2-7 11:23
繧餤﹍.風輕. 发表于 2018-2-7 10:02
把early prink打开,有可能是内核crash了

好的,谢谢,我试试
作者: cj1666    时间: 2019-1-28 11:51
楼主,你的找到问题了吗?





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1