Firefly开源社区

标题: 升级Ubuntu14.04自编译固件失败 [打印本页]

作者: tonyxiong205    时间: 2018-7-6 05:01
标题: 升级Ubuntu14.04自编译固件失败
大家好,

我首先安装默认的Firefly-RK3288_Ubuntu14.04_201803201135.img 成功。
然后利用 firefly提供的android 5.1 SDK 的内核自己编译生成resource.img, kernel.img and boot.img 但是主板启动失败(启动信息死循环),请看启动信息如下, 请问应该如何解决?

U-Boot 2014.10-RK3288-02 (Nov 26 2014 - 09:28:44)

CPU: rk3288
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 300000000HZ
    ddr pll = 200000000HZ
    codec pll = 594000000HZ
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
Unknow param: MACHINE_MODEL:rk30sdk!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
Unknow param: PWR_HLD: 0,0,A,0,1!
power key: bank-0 pin-5
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2014-11-26#2.17
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [0]
no fuel gauge found
Hit any key to stop autoboot:  0
kernel   @ 0x02000000 (0x00722b00)
ramdisk  @ 0x04bf0000 (0x00299cf2)
Secure Boot state: 0
bootrk: do_bootm_linux...
   Loading Device Tree to 04804000, end 04826b60 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

作者: →_→    时间: 2018-7-6 14:47
你用http://www.t-firefly.com/doc/product/info/id/56.html这里的内核源码编译一下试试
作者: tonyxiong205    时间: 2018-7-6 20:30
→_→ 发表于 2018-7-6 14:47
你用http://www.t-firefly.com/doc/product/info/id/56.html这里的内核源码编译一下试试

你好!

我的主板里面默认的只安装了Android OS, 我刷入 Firefly-RK3288_Ubuntu14.04_201803201135.img 成功。
(1)内核是firefly 使用哪个? 能具体一点吗?
(2)循环启动信息如下:
U-Boot 2014.10-RK3288-02 (Nov 26 2014 - 09:28:44)

CPU: rk3288
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 300000000HZ
    ddr pll = 200000000HZ
    codec pll = 594000000HZ
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
Unknow param: MACHINE_MODEL:rk30sdk!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
Unknow param: PWR_HLD: 0,0,A,0,1!
power key: bank-0 pin-5
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2014-11-26#2.17
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found

read logo_on switch from dts [0]
no fuel gauge found
Hit any key to stop autoboot:  0
kernel   @ 0x02000000 (0x00722b00)
ramdisk  @ 0x04bf0000 (0x00299cf2)
Secure Boot state: 0
bootrk: do_bootm_linux...
   Loading Device Tree to 04804000, end 04826af8 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

DDR Version 1.00 20141007
In
SRX
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
OUT

(3) 是否和下面的刷机设置文件有关?
RK3288Loader_uboot_V2.17.02.bin
rk3288-3.10-uboot-data1G.parameter

还请大家给详细的指导。 多谢!

Kind Regards,

Kou
作者: tonyxiong205    时间: 2018-7-6 20:30
→_→ 发表于 2018-7-6 14:47
你用http://www.t-firefly.com/doc/product/info/id/56.html这里的内核源码编译一下试试

你好!

我的主板里面默认的只安装了Android OS, 我刷入 Firefly-RK3288_Ubuntu14.04_201803201135.img 成功。
(1)内核是firefly 使用哪个? 能具体一点吗?
(2)循环启动信息如下:
U-Boot 2014.10-RK3288-02 (Nov 26 2014 - 09:28:44)

CPU: rk3288
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 300000000HZ
    ddr pll = 200000000HZ
    codec pll = 594000000HZ
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
Unknow param: MACHINE_MODEL:rk30sdk!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
Unknow param: PWR_HLD: 0,0,A,0,1!
power key: bank-0 pin-5
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2014-11-26#2.17
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found

read logo_on switch from dts [0]
no fuel gauge found
Hit any key to stop autoboot:  0
kernel   @ 0x02000000 (0x00722b00)
ramdisk  @ 0x04bf0000 (0x00299cf2)
Secure Boot state: 0
bootrk: do_bootm_linux...
   Loading Device Tree to 04804000, end 04826af8 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

DDR Version 1.00 20141007
In
SRX
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
OUT

(3) 是否和下面的刷机设置文件有关?
RK3288Loader_uboot_V2.17.02.bin
rk3288-3.10-uboot-data1G.parameter

还请大家给详细的指导。 多谢!

Kind Regards,

Kou
作者: →_→    时间: 2018-7-9 08:50
你是按照官网上提供的方法做的吗?自己有啥改动?
作者: linux_zz    时间: 2018-10-22 13:47
我是按官网做的,问题跟你一样,parameter也对比过跟下载工具的地址一致。就是不停循环,请问你解决了吗?
作者: moccnc    时间: 2018-10-22 14:43
我也是同样问题出现,有解决方案嘛
作者: williamzhang    时间: 2018-10-22 20:45
为啥用14.04这个版本啊,可以升级版本啊
作者: moccnc    时间: 2018-10-22 21:14
升级不也一样吗,你升级了吗,因为没有其它需求旧版本就可以了,并且轻便,其次内核不同,驱动需要修改的,你编译成功烧录ok吗
作者: williamzhang    时间: 2018-10-23 09:56
旧版本已经稳定确实在很多时候产品经理不再同意升级,这里坏处就是有问题搭建一个环境会麻烦一些,这里就不仅仅是一个技术问题了,看各个部门的权衡了




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