Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

RK3399无法单独烧写kernel和resource

79

积分

0

威望

0

贡献

技术小白

积分
79

RK3399无法单独烧写kernel和resource

发表于 2020-10-9 15:28:03      浏览:30049 | 回复:15        打印      只看该作者   [复制链接] 楼主
RK3399上写Android7.1固件没问题,正常开机。但是,用AndroidTool工具单独烧写内核编译出来的kernel.img和resource.img,开机的时候出现如下错误

2.256551] init: Starting service 'surfaceflinger'...
[15:25:19.791] [   32.658547] init: Service 'surfaceflinger' (pid 1657) killed by signal 6
[15:25:20.194] [   32.658655] init: Service 'surfaceflinger' (pid 1657) killing any children in process group
[15:25:20.194] [   32.658735] init: Service 'zygote' is being killed...
[15:25:20.194] [   32.697502] init: Service 'zygote' (pid 1352) killed by signal 9
[15:25:20.240] [   32.697560] init: Service 'zygote' (pid 1352) killing any children in process group
[15:25:20.240] [   32.697758] init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory
[15:25:20.240] [   32.697842] init: write_file: Unable to write to '/sys/power/state': Invalid argument
[15:25:20.240] [   32.697879] init: Service 'audioserver' is being killed...
[15:25:20.240] [   32.698108] init: Service 'cameraserver' is being killed...
[15:25:20.240] [   32.698182] init: Service 'media' is being killed...
[15:25:20.240] [   32.698267] init: Service 'netd' is being killed...
[15:25:20.248] [   32.700623] init: Untracked pid 1521 killed by signal 9
[15:25:20.248] [   32.704459] init: Service 'netd' (pid 1356) killed by signal 9
[15:25:20.248] [   32.704504] init: Service 'netd' (pid 1356) killing any children in process group
[15:25:20.248] [   32.705993] init: Service 'media' (pid 1354) killed by signal 9
[15:25:20.248] [   32.706033] init: Service 'media' (pid 1354) killing any children in process group
[15:25:20.248] [   32.708872] init: Service 'audioserver' (pid 1355) killed by signal 9
[15:25:20.248] [   32.708910] init: Service 'audioserver' (pid 1355) killing any children in process group
[15:25:20.248] [   32.710017] init: Service 'cameraserver' (pid 1353) killed by signal 9
[15:25:20.248] [   32.710209] init: Service 'cameraserver' (pid 1353) killing any children in process group
[15:25:20.248]
[15:25:21.249] [   33.713133] init: Starting service 'zygote'...
[15:25:21.249] [   33.714766] init: Starting service 'audioserver'...
[15:25:21.249] [   33.716551] init: Starting service 'cameraserver'...
[15:25:21.255] [   33.718390] init: Starting service 'media'...
[15:25:21.255] [   33.720177] init: couldn't write 1681 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[15:25:21.255] [   33.720249] init: Starting service 'netd'...
[15:25:21.255] [   33.895685] type=1400 audit(1358499093.770:143): avc: denied { execute } for pid=1693 comm="audioserver" name="sh" dev="mmcblk0p10" ino=405 scontext=u:r:audioserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.439] [   33.897078] type=1400 audit(1358499093.770:144): avc: denied { read open } for pid=1693 comm="audioserver" path="/system/bin/sh" dev="mmcblk0p10" ino=405 scontext=u:r:audioserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.439] [   33.897218] type=1400 audit(1358499093.770:145): avc: denied { execute_no_trans } for pid=1693 comm="audioserver" path="/system/bin/sh" dev="mmcblk0p10" ino=405 scontext=u:r:audioserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.439] [   33.899117] type=1400 audit(1358499093.770:146): avc: denied { getattr } for pid=1693 comm="sh" path="/system/bin/sh" dev="mmcblk0p10" ino=405 scontext=u:r:audioserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.439] [   33.901282] type=1400 audit(1358499093.783:149): avc: denied { sys_ptrace } for pid=1698 comm="fsu" capability=19 scontext=u:r:systemdaemon:s0 tcontext=u:r:systemdaemon:s0 tclass=capabil
[15:25:21.439] [   33.902073] type=1400 audit(1358499093.783:150): avc: denied { read } for pid=1698 comm="fsu" name="exe" dev="proc" ino=10927 scontext=u:r:systemdaemon:s0 tcontext=u:r:audioserver:s0 tclass=lnk_f
[15:25:21.439] [   33.903504] type=1400 audit(1358499093.786:151): avc: denied { setuid } for pid=1700 comm="fsu" capability=7 scontext=u:r:systemdaemon:s0 tcontext=u:r:systemdaemon:s0 tclass=capabil
[15:25:21.439] [   33.905151] type=1400 audit(1358499093.786:152): avc: denied { setgid } for pid=1700 comm="fsu" capability=6 scontext=u:r:systemdaemon:s0 tcontext=u:r:systemdaemon:s0 tclass=capabil
[15:25:21.450] [   33.905610] type=1400 audit(1358499093.786:153): avc: denied { execute } for pid=1700 comm="fsu" name="sh" dev="mmcblk0p10" ino=405 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.450] [   33.906974] type=1400 audit(1358499093.786:154): avc: denied { read open } for pid=1700 comm="fsu" path="/system/bin/sh" dev="mmcblk0p10" ino=405 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.450] [   33.907300] type=1400 audit(1358499093.786:155): avc: denied { execute_no_trans } for pid=1700 comm="fsu" path="/system/bin/sh" dev="mmcblk0p10" ino=405 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.450] [   33.907992] type=1400 audit(1358499093.786:156): avc: denied { getattr } for pid=1700 comm="sh" path="/system/bin/sh" dev="mmcblk0p10" ino=405 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[15:25:21.450] [   33.908305] type=1400 audit(1358499093.786:157): avc: denied { getattr } for pid=1700 comm="sh" path="/vendor" dev="rootfs" ino=2267 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_f
[15:25:21.450] [   33.913147] type=1400 audit(1358499093.796:158): avc: denied { getattr } for pid=1700 comm="sh" path="/system/bin/toybox" dev="mmcblk0p10" ino=440 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[15:25:21.457] [   33.914097] type=1400 audit(1358499093.796:159): avc: denied { execute } for pid=1700 comm="sh" name="toybox" dev="mmcblk0p10" ino=440 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[15:25:21.457] [   33.914447] type=1400 audit(1358499093.796:160): avc: denied { read open } for pid=1700 comm="sh" path="/system/bin/toybox" dev="mmcblk0p10" ino=440 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[15:25:21.457] [   33.915307] type=1400 audit(1358499093.796:161): avc: denied { execute_no_trans } for pid=1700 comm="sh" path="/system/bin/toybox" dev="mmcblk0p10" ino=440 scontext=u:r:systemdaemon:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[15:25:21.457] [   33.929749] init: Untracked pid 1698 exited with status 0
[15:25:21.465] [   33.979291] init: Untracked pid 1710 exited with status 0
[15:25:21.515] [   34.022416] init: Untracked pid 1720 exited with status 0
[15:25:21.557] [   34.033108] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.569] [   34.033310] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.569] [   34.044530] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff910000.isp; cannot claim for ff920000.isp
[15:25:21.579] [   34.044564] rockchip-pinctrl pinctrl: pin-75 (ff920000.isp) status -22
[15:25:21.579] [   34.044575] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[15:25:21.588] [   34.044584] RockChip-CamSys ff920000.isp: Error applying setting, reverse things back
[15:25:21.588] [   34.044592] E:camsys_mrv_iomux_cb(126): pinctrl_select_state failed!
[15:25:21.588] [   34.055749] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.588] [   34.055959] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.594] [   34.060504] init: Untracked pid 1731 exited with status 0
[15:25:21.594] [   34.079656] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.615] [   34.080032] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.615] [   34.093401] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff910000.isp; cannot claim for ff920000.isp
[15:25:21.629] [   34.093424] rockchip-pinctrl pinctrl: pin-75 (ff920000.isp) status -22
[15:25:21.629] [   34.093434] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[15:25:21.629] [   34.093444] RockChip-CamSys ff920000.isp: Error applying setting, reverse things back
[15:25:21.629] [   34.093451] E:camsys_mrv_iomux_cb(126): pinctrl_select_state failed!
[15:25:21.640] [   34.098937] init: Untracked pid 1742 exited with status 0
[15:25:21.640] [   34.106754] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.645] [   34.107091] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.645] [   34.138534] init: Untracked pid 1753 exited with status 0
[15:25:21.673] [   34.154956] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.688] [   34.155154] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.692] [   34.165822] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff910000.isp; cannot claim for ff920000.isp
[15:25:21.703] [   34.165845] rockchip-pinctrl pinctrl: pin-75 (ff920000.isp) status -22
[15:25:21.703] [   34.165855] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[15:25:21.703] [   34.165909] RockChip-CamSys ff920000.isp: Error applying setting, reverse things back
[15:25:21.703] [   34.165920] E:camsys_mrv_iomux_cb(126): pinctrl_select_state failed!
[15:25:21.703] [   34.177089] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.713] [   34.177284] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.713] [   34.201008] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.736] [   34.201191] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.736] [   34.214027] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff910000.isp; cannot claim for ff920000.isp
[15:25:21.749] [   34.214128] rockchip-pinctrl pinctrl: pin-75 (ff920000.isp) status -22
[15:25:21.749] [   34.214147] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[15:25:21.749] [   34.214156] RockChip-CamSys ff920000.isp: Error applying setting, reverse things back
[15:25:21.749] [   34.214164] E:camsys_mrv_iomux_c
[15:25:21.755] b(126): pinctrl_select_state failed!
[15:25:21.755] [   34.227163] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.764] [   34.227347] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.764] [   34.295349] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.829] [   34.295582] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.839] [   34.305773] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff910000.isp; cannot claim for ff920000.isp
[15:25:21.839] [   34.305796] rockchip-pinctrl pinctrl: pin-75 (ff920000.isp) status -22
[15:25:21.843] [   34.305802] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[15:25:21.843] [   34.305809] RockChip-CamSys ff920000.isp: Error applying setting, reverse things back
[15:25:21.843] [   34.305813] E:camsys_mrv_iomux_cb(126): pinctrl_select_state failed!
[15:25:21.843] [   34.317488] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.855] [   34.317821] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.855] [   34.341158] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.876] [   34.341406] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
[15:25:21.876] [   34.354146] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff910000.isp; cannot claim for ff920000.isp
[15:25:21.888] [   34.354161] rockchip-pinctrl pinctrl: pin-75 (ff920000.isp) status -22
[15:25:21.888] [   34.354168] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[15:25:21.892] [   34.354175] RockChip-CamSys ff920000.isp: Error applying setting, reverse things back
[15:25:21.892] [   34.354180] E:camsys_mrv_iomux_cb(126): pinctrl_select_state failed!
[15:25:21.892] [   34.368911] E:camsys_i2c_write(84): i2c write dev(addr:0x6c) failed!,err = -6
[15:25:21.904] [   34.369103] E:camsys_i2c_write(84): i2c write dev(addr:0x20) failed!,err = -6
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2020-10-9 15:58:55        只看该作者  沙发
可以查看烧录的地址对不对,如果parameter的地址和之前的烧录过的固件地址不匹配有可能会有问题
回复

使用道具 举报

79

积分

0

威望

0

贡献

技术小白

积分
79
发表于 2020-10-9 16:16:11        只看该作者  板凳
jpchen 发表于 2020-10-9 15:58
可以查看烧录的地址对不对,如果parameter的地址和之前的烧录过的固件地址不匹配有可能会有问题

大佬好!我没有勾选parameter,这个也会有关系的吗
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2020-10-9 16:32:39        只看该作者  地板
leezj 发表于 2020-10-9 16:16
大佬好!我没有勾选parameter,这个也会有关系的吗

应该没关系,你可以试试烧录你编译的固件,然后再烧kernel.img和resource.img 需要确保分区的地址是一样的就可以
回复

使用道具 举报

79

积分

0

威望

0

贡献

技术小白

积分
79
发表于 2020-10-9 16:34:30        只看该作者  5#
jpchen 发表于 2020-10-9 15:58
可以查看烧录的地址对不对,如果parameter的地址和之前的烧录过的固件地址不匹配有可能会有问题


回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2020-10-10 08:42:28        只看该作者  6#

你的boot.img 是否是执行./mkimage.sh ota后生成出来的,如果是的话,那么你烧录的kernel.img和resource.img是无效的
回复

使用道具 举报

79

积分

0

威望

0

贡献

技术小白

积分
79
发表于 2020-10-10 09:10:40        只看该作者  7#
jpchen 发表于 2020-10-10 08:42
你的boot.img 是否是执行./mkimage.sh ota后生成出来的,如果是的话,那么你烧录的kernel.img和resource. ...

不是,是用官方教程给的编译命令
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2020-10-10 10:42:21        只看该作者  8#
leezj 发表于 2020-10-10 09:10
不是,是用官方教程给的编译命令

那应该是没什么问题的,你如果kernel没有修改过的话,烧录的kerne.img 时间是不变的
回复

使用道具 举报

79

积分

0

威望

0

贡献

技术小白

积分
79
发表于 2020-10-10 11:55:12        只看该作者  9#
jpchen 发表于 2020-10-10 10:42
那应该是没什么问题的,你如果kernel没有修改过的话,烧录的kerne.img 时间是不变的

大佬,之前的问题解决了。现在有个新问题,就是对照数据手册来配置eDP屏幕的时序

数据手册:




hsync_start和hsync_end是什么意思啊,需要计算吗?

回复

使用道具 举报

30

积分

0

威望

0

贡献

技术小白

积分
30
发表于 2020-10-26 16:48:59        只看该作者  10#
leezj 发表于 2020-10-10 11:55
大佬,之前的问题解决了。现在有个新问题,就是对照数据手册来配置eDP屏幕的时序

数据手册:

大神你好,我也遇到了一样的问题,你这边是如何解决的呢?
回复

使用道具 举报

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

本版积分规则

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