jiangbo 发表于 2017-6-8 17:33:21

自己编的kernel无法正常工作,求指点

本帖最后由 jiangbo 于 2017-6-8 17:55 编辑

我在RK3399板子上先烧的firefly的统一固件Firefly-rk3399_xubuntu1604_201705111112.img,接HDMI显示器工作正常,
然后尝试了两种方法更新kernel,但都无法正常工作。

一个是按照http://wiki.t-firefly.com/index.php/Firefly-RK3399/Build_kernel的说明在gitlab拿内核源码和交叉编译工具,版本4.4.55,编译出来kernel.img和resource.img,然后用AndroidTool v2.38单独烧写这两个img进去。结果板子重启后从串口看到系统能启动到shell,kernel版本也是对的(4.4.55),但是HDMI显示器的灯不亮,说明没有HDMI display信号出来。
另一个方法是按照http://developer.t-firefly.com/thread-11976-1-1.html的步骤从github拿内核源码(git clone -b release-4.4 https://github.com/rockchip-linux/kernel.git kernel,版本4.4.66),交叉编译工具还是用的前面的aarch64-linux-android-4.9,编译出来kernel.img和resource.img,用AndroidTool v2.38烧进去。结果板子重启后从串口看到系统无法启动到shell,卡在了 Started D-Bus System Message Bus.这句。但这时HDMI显示器的灯是亮的,虽然没有画面,说明有HDMI信号出来。

求大神指点。如果有试过的肯定能工作的源码包或者刷机步骤就更好了。



arthur_su 发表于 2017-6-9 14:53:59

我也是一样的问题, 按照wiki的步骤来的,HDMI不工作.
另外你的板子xubuntu下是不是会丢包?   
给service写信, 问我为啥要烧写boot.img?晕 wiki上写的啊. 只烧写kernel.img和resource.img一样HDMI 不工作.
不知道官方有没有好的kernel用.能不能给一个能工作的kernel 和 步骤啊.

小默jiang 发表于 2017-9-13 15:32:06

我也遇到 类似的问题 ,也是按照 wiki 步骤来的,卡在Starting kernel ...,求指点
log如下:


DDR Version 1.00 20160530
In
SRX
Channel a: LPDDR3 200MHz
MR0=0x88774458
MR1=0x88774458
MR2=0x88774458
MR3=0x88774458
MR4=0x88774403
MR5=0x88774401
MR6=0x88774403
MR7=0x88774400
MR8=0x8877441B
MR9=0x8877441B
MR10=0x8877441B
MR11=0x8877441B
MR12=0x8877441B
MR13=0x8877441B
MR14=0x8877441B
MR15=0x8877441B
MR16=0x8877441B
Bus Width=32 Col=10 Bank=8 Row=14/14 CS=2 Die Bus-Width=32 Size=1024MB
Channel b: LPDDR3 200MHz
MR0=0x88774458
MR1=0x88774458
MR2=0x88774458
MR3=0x88774458
MR4=0x88774403
MR5=0x88774401
MR6=0x88774403
MR7=0x88774400
MR8=0x8877441B
MR9=0x8877441B
MR10=0x8877441B
MR11=0x8877441B
MR12=0x8877441B
MR13=0x8877441B
MR14=0x8877441B
MR15=0x8877441B
MR16=0x8877441B
Bus Width=32 Col=10 Bank=8 Row=14/14 CS=2 Die Bus-Width=32 Size=1024MB
OUT


U-Boot 2014.10-RK3288-10-gc28aaca-dirty (Jul 10 2017 - 16:11:05)

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

GetParam
Load FDT from resource image.
no key node
No pmic detect.
can't find dts node for pwm0
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2017-07-10#2.30
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo on state from dts
I2C bus error, PLS set i2c bus first!
I2C bus error, PLS set i2c bus first!
I2C bus error, PLS set i2c bus first!
I2C bus error, PLS set i2c bus first!
lcd power ldo6,ldo8,swout2 on.
I2C bus error, PLS set i2c bus first!
I2C bus error, PLS set i2c bus first!
no fuel gauge found
Hit any key to stop autoboot:0
load fdt from resouce.
Secure Boot state: 0
kernel   @ 0x02000000 (0x007870c8)
ramdisk@ 0x05bf0000 (0x00274f14)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0560e226 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

a13684942360 发表于 2018-6-19 14:31:35

楼主我也是卡在了 Started D-Bus System Message Bus.这句。。。有什么解决办法
页: [1]
查看完整版本: 自己编的kernel无法正常工作,求指点