|
(Solved)(請教)RK3288 編譯 Ubuntu kernel, 啟動後停在 Starting kernel ...
发表于 2015-10-22 11:21:58
浏览:8111
|
回复:4
打印
只看该作者
[复制链接]
楼主
本帖最后由 zadeh 于 2015-10-30 19:18 编辑
Update:
解決了, 可以 成功開機.
前面失敗的原因是: flashing 時, download boot.img 漏掉了 resource.img
<-- 忘了哪個帖子說,只需 boot.img
花了兩三天,才發現 ...... orz
感謝 暴走的阿Sai,zhansb 版主的support.
RK3288 編譯 Ubuntu kernel:
1. 參考: http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel
--> 編譯成功 , 產生 boot.img
2. 參考: rk3288 manual, 用 upgrade_tool 與 rktoolkit, 燒進 版子
--> 燒入成功
3. rk3288 重起重, debug serial 收log, 如後:
停在: Starting kernel ...
4. 我直接用 Firefly-RK3288_Ubuntu14.04_201501271612.img
用 rktoolkit 備份 各區的 img, 發現
我的 boot.img 不到 9 mb, 可是 Firefly-RK3288_Ubuntu14.04_201501271612.img
的 boot.img 卻有 16 mb
--> 這可能是什麼原因造成, 覺得這好像就是 root cause
5. 英文版的這篇,好像也沒有明確的解法
Firefly rk3288 : the kernel hangs at "Starting kernel" message
http://bbs.t-firefly.com/forum.php?mod=viewthread&tid=306
請各位先進support, 如果成功了,小弟就能脫離 "小白階段", ... orz
感謝!
log:
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
U-Boot 2014.10-RK3288-02 (Jan 21 2015 - 17:07:53)
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!
failed to prepare fdt from boot!
power key: bank-0 pin-5
light power led: bank-8 pin-1
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0
#Boot ver: 2015-01-21#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: 1 0
failed to load fdt from boot!
kernel @ 0x02000000 (0x0060b0d8)
ramdisk @ 0x04bf0000 (0x0027547b)
Secure Boot state: 0
bootrk: do_bootm_linux...
Loading Device Tree to 0480c000, end 04827184 ... OK
Add bank:0000000000000000, 0000000080000000
Starting kernel ...
|
|