Repository navigation
Closed
Description
你好,我使用RK3229 echo板。

启动的时候到Starting kernel ...就挂了。下面是具体的log:
SPL Inittimer init done
rk322x_dmc_probe
ddr clk dpll
ret=600000000
sdram_all_config bw 2 col 10
sdram_all_config reg 110005d0 6281
Returning to boot ROM...
U-Boot 2017.05-g6c615f4-dirty (Jul 10 2017 - 10:03:48 +0800)
Model: Rockchip RK3229 Evaluation board
DRAM: rk322x_dmc_probe
rockchip_sdram_size 110005d0 6281
rank 1 col 10 bk 3 cs0_row 15 bw 2 row_3_4 0
size 40000000
SDRAM base=60000000, size=40000000
992 MiB
MMC: dwmmc@30020000: 0
*** Warning - bad CRC, using default environment
In: serial@11030000
Out: serial@11030000
Err: serial@11030000
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
MMC read: dev # 0, block # 32768, count 20480 ... 20480 blocks read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> run bootcmd_mmc0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:6...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
170 bytes read in 8 ms (20.5 KiB/s)
1: kernel-4.4
Retrieving file: /zImage
reading /zImage
7340608 bytes read in 5229 ms (1.3 MiB/s)
append: earlyprintk console=ttyFIQ0,115200n8 rw root=/dev/mmcblk0p7 rootfstype=t
Retrieving file: /rk3229-echo-v10.dtb
reading /rk3229-echo-v10.dtb
26513 bytes read in 28 ms (923.8 KiB/s)
## Flattened Device Tree blob at 61f00000
Booting using the fdt blob at 0x61f00000
Loading Device Tree to 683f6000, end 683ff790 ... OK
Starting kernel ...
这是我的extlinux.conf
baozhu@server:~/studio/rockchip/rk-linux$ cat boot/extlinux/extlinux.conf
label kernel-4.4
kernel /zImage
fdt /rk3229-echo-v10.dtb
append earlyprintk console=ttyFIQ0,115200n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
请帮忙看看这个问题,谢谢
Metadata
Metadata
Assignees
Labels
No labels
Activity
eddiecailinux commentedon Jul 10, 2017
Hi, 请使用Rockchip提供的echo SDK for RK3229
Pillar1989 commentedon Jul 10, 2017
我们之前在debian上面做了大量应用,目前我们急需在rk3229运行debian,快速验证软件和测试性能。而且我们团队对echo SDK的buildroot开发环境不熟悉,学习成本太高。
还是请你们帮忙看下这个问题,谢谢!
eddiecailinux commentedon Jul 10, 2017
请通过业务正式提出需求
keveryang commentedon Jul 12, 2017
kernel使用的是什么配置?
config试一下下面的内容,主要是把波特率更新一下.
append earlyprintk console=ttyS2,1500000n8 rw root=/dev/sda rootwait rootfstype=ext4 init=/sbin/init
Pillar1989 commentedon Jul 13, 2017
@keveryang
更新了config,目前的extlinux.conf为:
启动的时候还是卡在这里:
下面是我用的https://github.com/rockchip-linux/build 脚本的配置信息,kernel用的是rockchip_linux_defconfig.
keveryang commentedon Jul 13, 2017
kernel下面这几个配置尝试更新一下,原来是STRONG
232 # CONFIG_CC_STACKPROTECTOR is not set
233 CONFIG_CC_STACKPROTECTOR_NONE=y
234 # CONFIG_CC_STACKPROTECTOR_REGULAR is not set
235 # CONFIG_CC_STACKPROTECTOR_STRONG is not set
Pillar1989 commentedon Jul 13, 2017
@keveryang
我添加你说的配置:
但是还是卡在Starting kernel ...
能否提供一个测试过的config ?
wzyy2 commentedon Jul 13, 2017
ttyfiq
Pillar1989 commentedon Jul 13, 2017
是调试串口不对吗??具体的是啥,这个串口是uart2
wzyy2 commentedon Jul 13, 2017
console=ttyFIQ0,1500000n8
ttyS2被wrap成了ttyFIQ0 所以你会没串口输出
Pillar1989 commentedon Jul 13, 2017
我现在换回了ttyFIQ0:
还是一样,卡在Starting kernel ..
wzyy2 commentedon Jul 13, 2017
试了下 可以起到一半 uart没输出主要是那个rk322x-android.dtsi里同时enable了FIQ和uart2 你花下功夫配dts
应该可以起来
https://github.com/rockchip-linux/build/commit/746290ca0e3335d19336f182d0f4d429253f6057
wzyy2 commentedon Jul 13, 2017
但这个是没正式支持的,
pm, gpu, vpu这些都不能工作
如果你只是验证cpu性能, 你还得确保下cpufreq和thermal在正常工作
Pillar1989 commentedon Jul 13, 2017
@wzyy2
谢谢,我这边也可以启动到一半:
eddiecailinux commentedon Jul 13, 2017
3229没有正式的linux支持。需要正式的linux支持的话请联系业务部提出正式需求
14 remaining items
cls_matchall: avoid panic when receiving a packet before filter set
scsi: qla2xxx: Fix NULL pointer dereference for fcport search
net: bpfilter: use get_pid_task instead of pid_task
Wall-ee commentedon Oct 21, 2019
兄弟,你的烧录步骤根据的是什么手册?另外 你的 loader 用的是哪个?我们也想快速验证一下想法
bpf: Fix deadlock with rq_lock in bpf_send_signal()
tools lib traceevent: Fix memory leak in process_dynamic_array_len
powerpc/kprobes: Fix kprobe Oops happens in booke
scsi: megaraid_sas: Fix deadlock on firmware crashdump
drm/rockchip: vop2: Fix vcstate for splice vp
xdp: produce a warning when calculated tailroom is negative
xdp: produce a warning when calculated tailroom is negative
drm/bridge: synopsys: dw-hdmi-qp: Clear mode list when hdmi plug out
powerpc/64s: Fix unmap race with PMD migration entries
bonding: fix use-after-free due to enslave fail after slave array update
powerpc/64s: Fix unmap race with PMD migration entries