Firefly开源社区

打印 上一主题 下一主题

Firefly Ubuntu开发入门之(2)运行内核

16

积分

0

威望

0

贡献

游客

积分
16
发表于 2016-10-14 00:57:09        只看该作者  11#
本帖最后由 Angel  CL 于 2016-10-14 01:08 编辑

lz:请问parameter文件在哪儿呢?按照你的讲解,之前步骤我都编译成功了,只是在第三步“确认parameter文件”中有点疑问,我的源码文件中没有parameter文件呢?如果跳过这一步,直接烧录boot.img之后开发板一直停留在写模式?这是因为parameter参数的原因还是其他原因呢?另外我想问一下编译出来的boot.img有多大呢?怎么我的只有8M左右,这正常吗?谢谢。
回复

使用道具 举报

164

积分

0

威望

0

贡献

技术小白

积分
164
发表于 2016-10-18 18:21:50        只看该作者  12#
./mkbootimg --kernel arch/arm/boot/zImage --ramdisk ../initrd.img --second resource.img  -o boot.img
这个请问要怎么写法?
回复

使用道具 举报

29

积分

0

威望

0

贡献

游客

积分
29
发表于 2016-11-3 16:13:53        只看该作者  13#
#Boot ver: 2015-07-20#2.19
empty serial no.
checkKey
vbus = 0
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [1]
can't find power_ctr node for lcdc0
can't find dts node for deviceinfo
rk_hdmi_register:fail to read deviceinfo
failed to find part:baseparamer
[EDID-EXTEND] It is a  CEA 861 Series Extension.
no baseparametr,find best edid mode,vic=16
hdmi_dev->video.vic is 16
tmdsclk is 148500000
hsync_pol 1 vsync_pol 1
[HDMI] sucess output HDMI.
pll_src = 0, dclk_hz = 148500000, dclk_div = 4
failed to find part:logo
no fuel gauge found
checkKey
vbus = 0
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
Hit any key to stop autoboot:  0
boot/recovery image sha mismatch!
Unable to boot:boot
try to start recovery
failed to find part:recovery
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
failed to find part:kernel
ERROR: [rk_load_image_from_storage]: bootrk: bad boot or kernel image
Unable to boot:backup
try to start rockusb

冰天雪地360度跪求解决方法   为啥每次都是 sha mismatch! 呢?
无论我怎么刷都是这个结果。。

回复

使用道具 举报

950

积分

95

威望

72

贡献

超级版主

Rank: 8Rank: 8

积分
950
发表于 2016-11-4 10:38:38        只看该作者  14#
magic8421 发表于 2016-11-3 16:13
#Boot ver: 2015-07-20#2.19
empty serial no.
checkKey

刷之前是什么固件,后来刷什么固件有问题?
回复

使用道具 举报

100

积分

0

威望

0

贡献

技术小白

积分
100
发表于 2016-11-10 20:39:16        只看该作者  15#
HI  你一开始说“上一篇文章说到如何把kernel及modules编译出来,今天继续讲如何让kernel在板子上飞~~告别各种不进系统桌面、串口不输出LOG等问题!” 我还是没看到modules在哪里有烧到板子中,第一篇中已经将modules都安装到modules_install/ 这,最终哪里用到它呢??
回复

使用道具 举报

100

积分

0

威望

0

贡献

技术小白

积分
100
发表于 2016-11-10 20:41:21        只看该作者  16#
magic8421 发表于 2016-11-3 16:13
#Boot ver: 2015-07-20#2.19
empty serial no.
checkKey

固件或者parameter不对吧,检验不过。
回复

使用道具 举报

42

积分

0

威望

0

贡献

游客

积分
42
发表于 2016-11-23 10:00:46        只看该作者  17#
执行烧录的时候,显示设备类型不匹配,停止执行。
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术小白

积分
56
发表于 2016-11-29 19:14:26        只看该作者  18#
magic8421 发表于 2016-11-3 16:13
#Boot ver: 2015-07-20#2.19
empty serial no.
checkKey

这个问题解决了吗?我也遇到了
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术小白

积分
56
发表于 2016-11-29 19:35:04        只看该作者  19#
你好,牛头,新手做内核编译和运行。遇到问题,求助。编译前内核是3.10.0    按照你的帖子做的,运行内核:DDR Version 1.00 20150318
In
SRX
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Die Bus-Width=16 Size=2048MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Die Bus-Width=16 Size=2048MB
OUT


U-Boot 2014.10-RK3288-10-g65679f1 (Jul 20 2015 - 10:28:11)

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(0000000100000000)
128 MiB
remotectl v0.1
storage init OK!
Using default environment

GetParam
check parameter success
no power key node
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-07-20#2.19
empty serial no.
checkKey
vbus = 1
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [0]
no fuel gauge found
checkKey
vbus = 1
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
failed to find part:misc
misc partition not found!
Hit any key to stop autoboot:  0
boot/recovery image sha mismatch!
Unable to boot:boot
try to start recovery
failed to find part:recovery
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
failed to find part:backup
'backup' does not seem to be a partition nor an address
Unable to boot:backup
try to start rockusb
请问怎么解决呢?
BColorImageLinkQuoteCodeSmilies
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术小白

积分
56
发表于 2016-11-29 19:35:21        只看该作者  20#
你好,牛头,新手做内核编译和运行。遇到问题,求助。编译前内核是3.10.0    按照你的帖子做的,运行内核:DDR Version 1.00 20150318
In
SRX
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Die Bus-Width=16 Size=2048MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Die Bus-Width=16 Size=2048MB
OUT


U-Boot 2014.10-RK3288-10-g65679f1 (Jul 20 2015 - 10:28:11)

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(0000000100000000)
128 MiB
remotectl v0.1
storage init OK!
Using default environment

GetParam
check parameter success
no power key node
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-07-20#2.19
empty serial no.
checkKey
vbus = 1
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [0]
no fuel gauge found
checkKey
vbus = 1
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
failed to find part:misc
misc partition not found!
Hit any key to stop autoboot:  0
boot/recovery image sha mismatch!
Unable to boot:boot
try to start recovery
failed to find part:recovery
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
failed to find part:backup
'backup' does not seem to be a partition nor an address
Unable to boot:backup
try to start rockusb
请问怎么解决呢?

回复

使用道具 举报

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

本版积分规则

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