Rock 发表于 2014-11-25 17:07:24

自己编译的固件起不来

重复打印如下信息

DDR Version 1.00 20140404
In
Channel a: DDR3 300MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 300MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT

U-Boot 2014.01-00643-g77f8e4c-dirty (Apr 21 2014 - 15:36:44)
CPU:RK32xx
arm pll: 1008000000
general pll: 594000000
codec pll: 594000000
ddr pll: 300000000
new pll: 24000000
Board:RK32xx platform Board
DRAM:128 MiB
arch_interrupt_init
storage init OK!
Using default environment
In:    serial
Out:   serial
Err:   serial
In:    serial
Out:   serial
Err:   serial
board_late_init
PowerKeyInit start
PowerKeyInit end
charger_init, charger_type = 1, dc_is_charging= 0
pmic_charger_setting charger_type = 1
i2c_set_bus_num: I2C bus = 0
rk_i2c_init: I2C bus = 0
i2c->regs_addr = ff650000,set clk(I2C_CLKDIV: 0x003f003f)
pmic_charger_setting charge ic id = 0xff
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!
partition(uboot): offset=0x00002000, size=0x00002000
partition(misc): offset=0x00004000, size=0x00002000
partition(resource): offset=0x00006000, size=0x00008000
partition(kernel): offset=0x0000E000, size=0x00008000
partition(boot): offset=0x00016000, size=0x00010000
partition(recovery): offset=0x00026000, size=0x00010000
partition(backup): offset=0x00036000, size=0x0001A000
partition(cache): offset=0x00050000, size=0x00040000
partition(kpanic): offset=0x00090000, size=0x00002000
partition(system): offset=0x00092000, size=0x00180000
partition(metadata): offset=0x00212000, size=0x00002000
partition(userdata): offset=0x00214000, size=0x00200000
partition(radical_update): offset=0x00414000, size=0x00020000
partition(user): offset=0x00434000, size=0xFFFFFFFF
sn:1006120001000018
checkKey
vbus = 0
Loaded dtb file:rk-kernel.dtb,load_addr = 0x54df510 size:96667
node:78196 read logo_on switch from dts
rkclk_soft_reset
got recovery cmd from misc.
fix ramdisk_addr:05bf0000
fix kernel_addr:02000000
SecureBootCheckOK:0
rk_bootm_start
booti: do_bootm_linux...
   Loading Device Tree to 05431000, end 0544b99a ... OK
undefined instruction
pc : [<55000004>]    lr : [<05584588>]
sp : 0543d878ip : 05431341fp : 00000d93
r10: 00000009r9 : 0545eb30r8 : 05586c57
r7 : 05447c08r6 : 0001a99br5 : 05448c3cr4 : 21010000
r3 : 05431340r2 : 00000000r1 : 054310a8r0 : 05431340
Flags: nZCvIRQs onFIQs offMode SVC_32
Resetting CPU ...

Rock 发表于 2014-11-25 17:08:09

用官网上下载的固件就可以起来,是什么问题呢?

风之空响 发表于 2014-11-25 17:17:22

Rock 发表于 2014-11-25 17:08
用官网上下载的固件就可以起来,是什么问题呢?

编译的固件大小和官方的差距大不,可能是parameter.txt分区的问题

Rock 发表于 2014-11-25 17:24:39

风之空响 发表于 2014-11-25 17:17
编译的固件大小和官方的差距大不,可能是parameter.txt分区的问题

我对比了一下正常启动的固件的分区和我编译的parameter.txt的分区是一样的

isle 发表于 2014-11-25 17:29:40

换loader

Rock 发表于 2014-11-25 17:32:57

正在更新源码,完了再试试

error结构体 发表于 2014-11-25 17:41:06

楼主内核有没有编译错.

编译正式版(0930)开发板的内核:

cd ~/proj/firefly-rk3288/kernel
make firefly-rk3288_defconfig
make -j8 firefly-rk3288.img

编译公测版(0809)开发板的内核:

cd ~/proj/firefly-rk3288/kernel
make firefly-rk3288_beta_defconfig
make -j8 firefly-rk3288_beta.img

Rock 发表于 2014-11-26 09:15:05

我编译的是正式版0930,应该没错,现在感觉是uboot.bin的版本不对,不知道各位版主用的是什么版本?

ZZP 发表于 2014-11-26 09:26:23

楼主先确认两个问题:
1、楼主电源电流用多少A的,官方配置是2A
2、自己编译的固件大小和官方的固件对比下

Rock 发表于 2014-11-26 09:34:25

换了一个uboot.bin起来了
页: [1] 2
查看完整版本: 自己编译的固件起不来