Firefly开源社区

标题: 执行到Starting kernel,无任何显示信息 [打印本页]

作者: yuhuo1989    时间: 2015-5-27 20:55
标题: 执行到Starting kernel,无任何显示信息
自己做的一个板子,分别用wifi的两个固件烧Firefly-RK3288_Android4.4_201504181055.img和Firefly-RK3288_PAD_IPS5K0350FPC_Android4.4_201504222155.img,发现用普通版固件烧写时,设备正常启动。但用PAD固件烧写时只能执行到Starting kernel,
请大神看看,可能出现的问题是什么?给个思路,谢谢
  1. #Boot ver: 2015-01-21#2.17
  2. empty serial no.
  3. checkKey
  4. vbus = 1
  5. no fuel gauge found
  6. no fuel gauge found
  7. read logo_on switch from dts [0]
  8. no fuel gauge found
  9. Hit any key to stop autoboot:  0
  10. kernel   @ 0x02000000 (0x005fc428)
  11. ramdisk  @ 0x04bf0000 (0x00121028)
  12. Secure Boot state: 0
  13. bootrk: do_bootm_linux...
  14.    Loading Device Tree to 0480c000, end 048271a4 ... OK
  15. Add bank:0000000000000000, 00000000ff000000

  16. Starting kernel ...
复制代码




作者: zhansb    时间: 2015-5-28 08:59
发个图纸看看有什么差异
作者: yuhuo1989    时间: 2015-5-28 11:50
zhansb 发表于 2015-5-28 08:59
发个图纸看看有什么差异

这跟硬件有关吗?按照我自己的理解,执行到Starting kernel(对了,到这会重启),接下来就是引导kernel,现在问题应该是boot找不到kernel才对吧,是不是只是软件层面的问题呢?多谢回答~~
作者: zhansb    时间: 2015-5-28 11:53
有可能有关,因为是你们自己的做的板子,具体的差异我这边也不是很清楚。
拿来对比可能可以看出问题
作者: yuhuo1989    时间: 2015-5-28 18:43
zhansb 发表于 2015-5-28 11:53
有可能有关,因为是你们自己的做的板子,具体的差异我这边也不是很清楚。
拿来对比可能可以看出问题

图纸QQ已发,请费心瞄一眼。我猜测,假如跟硬件有关的话,会不会是EMMC,毕竟boot能起来ddr应该没问题的,同时其他模块都没运行起来,应该没什么关系
作者: zhansb    时间: 2015-5-29 09:33
EMMC和DDR贴了多大容量?
作者: lihp1603    时间: 2016-8-23 09:31
zhansb 发表于 2015-5-29 09:33
EMMC和DDR贴了多大容量?

DDR Version 1.00 20160530
In
SRX
Channel a: LPDDR2 200MHz
MR0=0x18
MR1=0x887744BB
MR2=0x18
MR3=0x18
MR4=0x18
MR5=0x2
MR6=0x1
MR7=0x1
MR8=0x0
MR9=0x18
MR10=0x18
MR11=0x18
MR12=0x18
MR13=0x18
MR14=0x18
MR15=0x18
MR16=0x18
Bus Width=32 Col=10 Bank=8 Row=14 CS=1 Die Bus-Width=32 Size=512MB
Channel b: LPDDR2 200MHz
MR0=0x18
MR1=0x887744BB
MR2=0x18
MR3=0x18
MR4=0x18
MR5=0x2
MR6=0x1
MR7=0x1
MR8=0x0
MR9=0x18
MR10=0x18
MR11=0x18
MR12=0x18
MR13=0x18
MR14=0x18
MR15=0x18
MR16=0x18
Bus Width=32 Col=10 Bank=8 Row=14 CS=1 Die Bus-Width=32 Size=512MB
OUT


U-Boot 2014.10-RK3288-10-gc28aaca (Aug 18 2016 - 11:41:55)

CPU: rk3288
cpu version = 0
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(0000000040000000)
128 MiB
GIC CPU mask = 0x00000001
SdmmcInit = 0 400
SdmmcInit = 2 0
storage init OK!
Using default environment

GetParam
Load FDT from resource image.
power key: bank-0 pin-5
battery: gl=0 dl=0 rl=0, v=4200, m=0
pmic:rk818
can't find dts node for pwm1
DCDC vdd_logic has been used, pwm regulator not init it.
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2016-08-18#2.30
empty serial no.
checkKey
vbus = 1
read logo on state from dts [1]
pll_src = 0, dclk_hz = 71000000, dclk_div = 5
got recovery cmd from misc.
load fdt from resouce.
Secure Boot state: 0
kernel   @ 0x02000000 (0x006a5328)
ramdisk  @ 0x05bf0000 (0x002b9894)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0561e4d4 ... OK
Add bank:0000000000000000, 0000000040000000

Starting kernel ...

卡死在这个地方,ddr使用一颗1G大小的K3PE7E700M,目前系统启动的情况就是启动不了内核。

请问一下,firefly的板子为2G内存,而我的DDR为1G,这时候,需不需要修改parameter参数?


同时请教版主一个问题,就是initrd=0x62000000,0x00800000这个地方,指定的0x62000000是从什么地方计算得到的?或者从哪里确定这个地址为0x62000000?
作者: jingjin221    时间: 2016-8-23 10:37
lihp1603 发表于 2016-8-23 09:31
DDR Version 1.00 20160530
In
SRX

很明显是内存出错了撒
作者: lihp1603    时间: 2016-8-23 10:44
jingjin221 发表于 2016-8-23 10:37
很明显是内存出错了撒

从哪里看出来的,我内存出错了?
是我parameter中配置错了还是?
作者: zhangjy46    时间: 2017-7-28 08:34
楼主是怎么回事?我现在也是和你一样的问题,求帮助啊
作者: 小默jiang    时间: 2017-9-13 15:22
jingjin221 发表于 2016-8-23 10:37
很明显是内存出错了撒

[14-24-06]DDR Version 1.00 20160530
[14-24-06]In
[14-24-06]SRX
[14-24-06]Channel a: LPDDR3 200MHz
[14-24-06]MR0=0x88774458
[14-24-06]MR1=0x88774458
[14-24-06]MR2=0x88774458
[14-24-06]MR3=0x88774458
[14-24-06]MR4=0x88774403
[14-24-06]MR5=0x88774401
[14-24-06]MR6=0x88774403
[14-24-06]MR7=0x88774400
[14-24-06]MR8=0x8877441B
[14-24-06]MR9=0x8877441B
[14-24-06]MR10=0x8877441B
[14-24-06]MR11=0x8877441B
[14-24-06]MR12=0x8877441B
[14-24-06]MR13=0x8877441B
[14-24-06]MR14=0x8877441B
[14-24-06]MR15=0x8877441B
[14-24-06]MR16=0x8877441B
[14-24-06]Bus Width=32 Col=10 Bank=8 Row=14/14 CS=2 Die Bus-Width=32 Size=1024MB
[14-24-06]Channel b: LPDDR3 200MHz
[14-24-06]MR0=0x88774458
[14-24-06]MR1=0x88774458
[14-24-06]MR2=0x88774458
[14-24-06]MR3=0x88774458
[14-24-06]MR4=0x88774403
[14-24-06]MR5=0x88774401
[14-24-06]MR6=0x88774403
[14-24-06]MR7=0x88774400
[14-24-06]MR8=0x8877441B
[14-24-06]MR9=0x8877441B
[14-24-06]MR10=0x8877441B
[14-24-06]MR11=0x8877441B
[14-24-06]MR12=0x8877441B
[14-24-06]MR13=0x8877441B
[14-24-06]MR14=0x8877441B
[14-24-06]MR15=0x8877441B
[14-24-06]MR16=0x8877441B
[14-24-06]Bus Width=32 Col=10 Bank=8 Row=14/14 CS=2 Die Bus-Width=32 Size=1024MB
[14-24-06]OUT
[14-24-06]
[14-24-06]
[14-24-06]U-Boot 2014.10-RK3288-10-gc28aaca-dirty (Jul 10 2017 - 16:11:05)
[14-24-06]
[14-24-06]CPU: rk3288
[14-24-06]cpu version = 0
[14-24-06]CPU's clock information:
[14-24-06]    arm pll = 600000000HZ
[14-24-06]    periph pll = 297000000HZ
[14-24-06]    ddr pll = 200000000HZ
[14-24-06]    codec pll = 384000000HZ
[14-24-06]Board:  Rockchip platform Board
[14-24-06]DRAM:  Found dram banks: 1
[14-24-06]Adding bank:0000000000000000(0000000080000000)
[14-24-06]128 MiB
[14-24-06]GIC CPU mask = 0x00000001
[14-24-06]SdmmcInit = 0 400
[14-24-06]SdmmcInit = 2 0
[14-24-06]storage init OK!
[14-24-06]Using default environment
[14-24-06]
[14-24-06]GetParam
[14-24-06]Load FDT from resource image.
[14-24-06]no key node
[14-24-07]No pmic detect.
[14-24-07]can't find dts node for pwm0
[14-24-07]Can't find dts node for fuel guage cw201x
[14-24-07]SecureBootEn = 0, SecureBootLock = 0
[14-24-07]
[14-24-07]#Boot ver: 2017-07-10#2.30
[14-24-07]empty serial no.
[14-24-07]checkKey
[14-24-07]vbus = 1
[14-24-07]no fuel gauge found
[14-24-07]no fuel gauge found
[14-24-07]read logo on state from dts [0]
[14-24-07]I2C bus error, PLS set i2c bus first!
[14-24-07]I2C bus error, PLS set i2c bus first!
[14-24-07]I2C bus error, PLS set i2c bus first!
[14-24-07]I2C bus error, PLS set i2c bus first!
[14-24-07][jxw] lcd power ldo6,ldo8,swout2 on.
[14-24-07]I2C bus error, PLS set i2c bus first!
[14-24-07]I2C bus error, PLS set i2c bus first!
[14-24-07]no fuel gauge found
[14-24-08]Hit any key to stop autoboot:  0
[14-24-08]load fdt from resouce.
[14-24-08]Secure Boot state: 0
[14-24-08]kernel   @ 0x02000000 (0x007870c8)
[14-24-08]ramdisk  @ 0x05bf0000 (0x00274f14)
[14-24-08]bootrk: do_bootm_linux...
[14-24-08]   Loading Device Tree to 05600000, end 0560e226 ... OK
[14-24-08]Add bank:0000000000000000, 0000000080000000
[14-24-08]
[14-24-08]Starting kernel ...
[14-24-08]

我也是卡住在 Starting kernel ...    要怎么解决
作者: 小默jiang    时间: 2017-9-13 15:23
yuhuo1989 发表于 2015-5-28 18:43
图纸QQ已发,请费心瞄一眼。我猜测,假如跟硬件有关的话,会不会是EMMC,毕竟boot能起来ddr应该没问题的 ...

楼主,这个问题你是怎么解决的 ,求分享




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