Firefly开源社区

打印 上一主题 下一主题

RK3288 纯linux开发启动不了

39

积分

0

威望

0

贡献

游客

积分
39

RK3288 纯linux开发启动不了

发表于 2017-5-27 11:40:43      浏览:8435 | 回复:4        打印      只看该作者   [复制链接] 楼主
首先我更新了ubuntu固件 名称为Firefly-RK3288_Ubuntu14.04_201611211031  烧写地址全部都是按照paramter参数来配置的
[img]/计算机/文档(E:)/学习记录[RK3288.gif]
FIRMWARE_VER:4.4.2
MACHINE_MODEL:rk30sdk
MACHINE_ID:007
MANUFACTURER:RK30SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
#KERNEL_IMG: 0x62008000
#FDT_NAME: rk-kernel.dtb
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=tty0 console=ttyFIQ0 earlyprintk root=/dev/block/mtd/by-name/linuxroot linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot)

自己编译使用的内核是git clone https://github.com/T-Firefly/firefly-3.14-kernel
./mkbootimg --kernel arch/arm/boot/zImage --ramdisk ../initrd.img --second resource.img  -o boot.img
但是烧写boot.img的时候 内核却启动不了
U-Boot 2014.10-RK3288-02 (Nov 13 2015 - 10:22:31)

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:RK3288!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK3288!
Unknow param: PWR_HLD: 0,0,A,0,1!
failed to prepare fdt from boot!
no adc node
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
Enter power_led_init
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2015-11-13#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
failed to load fdt from boot!
kernel   @ 0x02000000 (0x0055b6b0)
ramdisk  @ 0x04bf0000 (0x002752ca)
Secure Boot state: 0
bootrk: do_bootm_linux...
   Loading Device Tree to 0481a000, end 04826b24 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

麻烦大家帮忙看看 谢谢了
回复

使用道具 举报

39

积分

0

威望

0

贡献

游客

积分
39
发表于 2017-5-27 11:41:41        只看该作者  沙发
我在想是不是uboot也需要固件刷新吗 但是固件解包里面没有看到uboot这个文件呀
回复

使用道具 举报

39

积分

0

威望

0

贡献

游客

积分
39
发表于 2017-5-27 11:46:37        只看该作者  板凳
使用固件的boot.img是可以启动的 启动打印信息如下
#Boot ver: 2015-11-13#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 (0x0066aa90)
ramdisk  @ 0x04bf0000 (0x00275b90)
Secure Boot state: 0
bootrk: do_bootm_linux...
   Loading Device Tree to 0480b000, end 04826a08 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

<hit enter to activate fiq debugger>
[    0.000000] Booting Linux on physical CPU 0x500
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0 (firefly@tchip-server) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #164 SMP PREEMPT Mon Nov 21 10:31:03 CST 2016
[    0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Rockchip RK3288 (Flattened Device Tree), model: rockchip,rk3288
[    0.000000] hdmi init vic is -1
[    0.000000] rockchip_ion_reserve
[    0.000000] cma: CMA: reserved 16 MiB at 2e800000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1f96000 s14016 r8192 d14656 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522768
[    0.000000] Kernel command line: console=tty0 console=ttyFIQ0 earlyprintk root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init  mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot) storagemedia=emmc loader.timestamp=2015-11-13_10:22:31 hdmi.vic=-1
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
回复

使用道具 举报

39

积分

0

威望

0

贡献

游客

积分
39
发表于 2017-5-28 15:06:51        只看该作者  地板
也没人理我,问题解决了,是parameter的问题,需要使用牛头的这个工具
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-7-27 14:45:28        只看该作者  5#
你好,怎么解决的,我现在也是这个问题,能不能把经验分享出来呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表