Firefly开源社区
标题:
自己编的kernel无法正常工作,求指点
[打印本页]
作者:
jiangbo
时间:
2017-6-8 17:33
标题:
自己编的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,卡在了[ OK ] Started D-Bus System Message Bus.这句。但这时HDMI显示器的灯是亮的,虽然没有画面,说明有HDMI信号出来。
求大神指点。如果有试过的肯定能工作的源码包或者刷机步骤就更好了。
作者:
arthur_su
时间:
2017-6-9 14:53
我也是一样的问题, 按照wiki的步骤来的, HDMI不工作.
另外你的板子xubuntu下是不是会丢包?
给service写信, 问我为啥要烧写boot.img? 晕 wiki上写的啊. 只烧写kernel.img和resource.img一样HDMI 不工作.
不知道官方有没有好的kernel用. 能不能给一个能工作的kernel 和 步骤啊.
作者:
小默jiang
时间:
2017-9-13 15:32
我也遇到 类似的问题 ,也是按照 wiki 步骤来的, 卡在Starting kernel ... ,求指点
log如下:
[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]
作者:
a13684942360
时间:
2018-6-19 14:31
楼主我也是卡在了[ OK ] Started D-Bus System Message Bus.这句。。。有什么解决办法
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1