Firefly开源社区

打印 上一主题 下一主题

[Linux] RK3399 uboot编译后反复重启

434

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
434

RK3399 uboot编译后反复重启

发表于 2018-12-19 17:57:01      浏览:8261 | 回复:3        打印      只看该作者   [复制链接] 楼主
根据官方wiki下载了代码,然后make rk3399_linux_defconfig,运行./mkv8.sh编译出uboot.img, trust.img, rk3399_loader_v1.08.106.bin

然后用android tool下载,下载后发现板子反复重启,无法正常进入kernel

debug信息如下:
Resetting CPU ...

resetting ...
y\0xbb\0xb99\0xa7\0xdce\0xff\0xefv|\0x7f\0x8c\0x9e\0xfd\0xde\0xf4\0xefv|\0x7f\0xfc{}E\0xbdc_\0xd9{\0xed\0xbe\0xf7y\0xd5\0xff*\0xaf\0xa9\0xe5\0xd1\0xff\0xa3
\0xf5\0xfd\0xb6\0xfd[\0xac\0x95\0xec{\0xff\0xe4\0xf8\0xfa?\0x9e\0xfc\0xfc\0x1f\0xf0~\0x9f~\0xb9\0xfe\0x1f\0x7f\0xff7\0xfe\0xff~\0xfe\0x1f\0xfe\0xf1\0x9e]\0xee\0x8dU\0xbd|\0xb8\0x8c\0xa9\0x8f\0xf1\0xe1.\0xf9U8Y\0xff\0xfd~\0x0f\0xfe\0xfe\0xf8\0xfa\0x7f\0xfc\0xff

U-Boot 2017.02-RK3399-06-gf0c3301-dirty (Dec 19 2018 - 17:39:23)

CPU: rk3399
cpu version = 0
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 594000000HZ
               aclk_periph_h = 148500000HZ, hclk_periph_h = 74250000HZ, pclk_periph_h = 37125000HZ
               aclk_periph_l0 = 99000000HZ, hclk_periph_l0 = 99000000HZ, pclk_periph_l0 = 49500000HZ
               hclk_periph_l1 = 99000000HZ, pclk_periph_l1 = 49500000HZ
    cpll = 800000000HZ
    dpll = 800000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Board:\0x09Rockchip platform Board
Uboot as second level loader
DRAM:  Found dram banks: 1
Adding bank:0000000000200000(00000000ffe00000)
Reserve memory for trust os.
dram reserve bank: base = 0x08400000, size = 0x01e00000
128 MiB
SdmmcInit = 0 20
storage init OK!
Using default environment


GetParam
Load FDT from resource image.
no power key node
usb bc: can find node by path: /dwc-control-usb/usb_bc
pmic:rk808
can't find dts node for pwm1
set pwm voltage ok,pwm_id =2 vol=1000000,pwm_value=66
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 594000000HZ
               aclk_periph_h = 148500000HZ, hclk_periph_h = 74250000HZ, pclk_periph_h = 37125000HZ
               aclk_periph_l0 = 99000000HZ, hclk_periph_l0 = 99000000HZ, pclk_periph_l0 = 49500000HZ
               hclk_periph_l1 = 99000000HZ, pclk_periph_l1 = 49500000HZ
    cpll = 800000000HZ
    dpll = 800000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Can't find dts node for fuel guage cw201x
can't find dts node for ec-battery
Can't find dts node for charger bq25700
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2018-12-19#1.06
empty serial no.
normal boot.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
failed to find phy node
delay prepare[0] unprepare[0] enable[0] disable[0]
read logo on state from dts [1]
no fuel gauge found
[EDID-EXTEND] It is a  CEA 861 Series Extension.
no baseparametr,find best edid mode,vic=16
hdmi_dev->video.vic is 4
rk lcdc - 1 dclk set: dclk = 74250000HZ, pll select = 0, div = 1
"Synchronous Abort" handler, esr 0x96000004
ELR:     5944818
LR:      5925b0c
x0 : 0000000005717c90 x1 : ffffffffffffffff
x2 : 0000000000000670 x3 : 0000000000000000
x4 : 0000000005717c90 x5 : 00000000000003e8
x6 : 00015752a0000001 x7 : 0000000000000020
x8 : 0000000005969cb8 x9 : 0000000000000008
x10: 0000000000000000 x11: 00000000000000d0
x12: 000000000000002d x13: 0000000000000005
x14: 0000000000000004 x15: 0000000008d9ee20
x16: 0000000000000118 x17: 0000000000000000
x18: 0000000005702928 x19: 0000000000000019
x20: 0000000000000104 x21: 0000000005717350
x22: 00000000057173d0 x23: 0000000005717450
x24: 000000000595b238 x25: 0000000005717418
x26: 0000000005703bb0 x27: 00000000000002d5
x28: 000000000000056e x29: 0000000005702660

Resetting CPU ...

哪位大神可以帮看一下啊
回复

使用道具 举报

434

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
434
发表于 2018-12-21 09:18:08        只看该作者  沙发
人气不旺啊,没人关注这个部分么?
回复

使用道具 举报

118

积分

0

威望

0

贡献

技术小白

积分
118
发表于 2018-12-24 15:25:19        只看该作者  板凳
williamzhang 发表于 2018-12-21 09:18
人气不旺啊,没人关注这个部分么?

按照官网编译方法应该不会有问题,
cd ~/proj/firefly-rk3399/u-boot/
make rk3399_box_defconfig
make ARCHV=aarch64 -j8
http://wiki.t-firefly.com/zh_CN/ ... droid_firmware.html
回复

使用道具 举报

434

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
434
发表于 2018-12-24 15:57:59        只看该作者  地板
wx_Mr.Lee_g8Ao8 发表于 2018-12-24 15:25
按照官网编译方法应该不会有问题,
cd ~/proj/firefly-rk3399/u-boot/
make rk3399_box_defconfig

我用的是ubuntu16.04 MBR这个镜像呢,我用的是rk3399_linux_defconfig
不过,uboot应该和上层影响不大,可以试一下这个config
回复

使用道具 举报

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

本版积分规则

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