AIO-3568J 编译鸿蒙固件出错
按照https://wiki.t-firefly.com/zh_CN/Firefly-Linux-Guide/manual_openharmony.html官网上给的编译步骤,编译出错附件为编译的日志结果
make: *** Error 137
arch/arm64/Makefile:206: recipe for target 'rk3568-firefly-aioj.img' failed
make: *** Error 2
---------------------------------------------
ccache summary:
cache hit (direct): 0
cache hit (preprocessed): 0
cache miss: 1390
hit rate:0.00%
mis rate: 100.00%
---------------------------------------------
c targets overlap rate statistics
subsystem files NO. percentage builds NO. percentage overlap rate
aafwk 19 1.2% 19 1.2% 1.00
ace 181 11.2% 181 11.2% 1.00
arkXtest 1 0.1% 1 0.1% 1.00
barrierfree 2 0.1% 2 0.1% 1.00
compileruntime 20 1.2% 20 1.2% 1.00
developtools 4 0.2% 4 0.2% 1.00
graphic 1 0.1% 1 0.1% 1.00
hdf 111 6.9% 111 6.9% 1.00
hiviewdfx 2 0.1% 2 0.1% 1.00
miscservices 2 0.1% 2 0.1% 1.00
resourceschedule 2 0.1% 2 0.1% 1.00
security 9 0.6% 9 0.6% 1.00
startup 30 1.9% 30 1.9% 1.00
test 1 0.1% 1 0.1% 1.00
third_party 203 12.6% 203 12.6% 1.00
updater 20 1.2% 20 1.2% 1.00
window 1 0.1% 1 0.1% 1.00
c overall build overlap rate: 1.00
Please check build log in /home/openharmony/out/rk3568/build.log
=====builderror=====
root@c0c9e97358fd:/home/openharmony#
./sdk_init.sh -p有没有运行呀,看你这个很可能是没有打补丁 Firefly_Javier 发表于 2022-8-30 09:58
./sdk_init.sh -p有没有运行呀,看你这个很可能是没有打补丁
我记得是完整一步一步来的,我再试试,如还有问题再请教,多谢啦 本帖最后由 majestli 于 2022-8-30 14:15 编辑
我先直接下的编译好的鸿蒙固件,(https://pan.baidu.com/s/1lRS7MtWPype74KM0WBKMCw?pwd=1234 )烧录进去,启动不了,启动报错的地方如下:
能否帮忙看下这个问题,多谢
[ 49.410145] rockchip-cpuinfo cpuinfo: failed to get id cell: -517
[ 49.726174] usb 6-1: USB disconnect, device number 28
[ 49.733998] UsbPnpNotifyCallback: action=0x2
[ 49.734182] UsbPnpNotifyReportThread: UsbPnpNotifyReportThread start!
[ 49.734270] UsbPnpNotifyHdfSendEvent:387 report one device information, 4 usbDevAddr=18446743532306972672, devNum=28, busNum=6, infoTable=1-0x5e3-0x620!
[ 49.902997] audit: type=1400 audit(1501923652.466:3026): avc:denied{ sendto } forpid=580 comm="render_service" path="/dev/unix/socket/hilogInput" scontext=u:r:render_service:s0 tcontext=u:r:init:s0 tclass=unix_dgram_socket permissive=1
[ 49.961451] audit: type=1400 audit(1501923652.523:3027): avc:denied{ read } forpid=291 comm="event_runner#1" name="bundle_usage" dev="mmcblk0p7" ino=130575 scontext=u:r:init:s0 tcontext=u:object_r:data_system_ce:s0 tclass=dir permissive=1
[ 49.961534] audit: type=1400 audit(1501923652.523:3028): avc:denied{ open } forpid=291 comm="event_runner#1" path="/data/system_ce/bundle_usage" dev="mmcblk0p7" ino=130575 scontext=u:r:init:s0 tcontext=u:object_r:data_system_ce:s0 tclass=dir permissive=1
[ 50.022831] PM: suspend entry (deep)
[ 50.033366] Filesystems sync: 0.010 seconds
[ 50.035464] audit: type=1400 audit(1501923652.596:3029): avc:denied{ write } forpid=223 comm="ueventd" name="/" dev="tmpfs" ino=1 scontext=u:r:ueventd:s0 tcontext=u:object_r:dev_file:s0 tclass=dir permissive=1
[ 50.035499] audit: type=1400 audit(1501923652.596:3030): avc:denied{ add_name } forpid=223 comm="ueventd" name="vcs63" scontext=u:r:ueventd:s0 tcontext=u:object_r:dev_file:s0 tclass=dir permissive=1
[ 50.035520] audit: type=1400 audit(1501923652.596:3031): avc:denied{ create } forpid=223 comm="ueventd" name="vcs63" scontext=u:r:ueventd:s0 tcontext=u:object_r:dev_file:s0 tclass=chr_file permissive=1
[ 50.035988] audit: type=1400 audit(1501923652.596:3032): avc:denied{ setattr } forpid=223 comm="ueventd" name="vcs63" dev="tmpfs" ino=435 scontext=u:r:ueventd:s0 tcontext=u:object_r:dev_file:s0 tclass=chr_file permissive=1
[ 50.037918] audit: type=1400 audit(1501923652.600:3033): avc:denied{ getattr } forpid=223 comm="ueventd" path="/dev/vcs63" dev="tmpfs" ino=435 scontext=u:r:ueventd:s0 tcontext=u:object_r:dev_file:s0 tclass=chr_file permissive=1
[ 50.037952] audit: type=1400 audit(1501923652.600:3034): avc:denied{ read } forpid=223 comm="ueventd" name="etc" dev="mmcblk0p5" ino=18 scontext=u:r:ueventd:s0 tcontext=u:object_r:etc_file:s0 tclass=lnk_file permissive=1
[ 50.037975] audit: type=1400 audit(1501923652.600:3035): avc:denied{ search } forpid=223 comm="ueventd" name="system" dev="mmcblk0p5" ino=26 scontext=u:r:ueventd:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1
[ 50.040002] dhd_pm_callback: action=3, suspend=1, suspend_mode=0
[ 50.041284] DevmgrServicePowerStateChange:suspend state 3
[ 50.041356] HdfSampleSuspend:called
[ 50.041389] HdfPmTestSuspend called
[ 50.041603] Freezing user space processes ... (elapsed 0.006 seconds) done.
[ 50.048079] OOM killer disabled.
[ 50.048098] Freezing remaining freezable tasks ... (elapsed 0.134 seconds) done.
[ 50.182705] printk: Suspending console(s) (use no_console_suspend to debug)
abcdeghijsramwfi majestli 发表于 2022-8-30 14:13
我先直接下的编译好的鸿蒙固件,(https://pan.baidu.com/s/1lRS7MtWPype74KM0WBKMCw?pwd=1234 )烧录进 ...
手动修复方法,可以挂载system.img,然后搜索power_mode_config.xml,按照如下链接进行修改:
https://gitlab.com/firefly-linux/openharmony/vendor_firefly/-/commit/d858d0826751d609f576ab1bc4f289d5254d4fcc 本帖最后由 majestli 于 2022-9-4 09:58 编辑
Firefly_Javier 发表于 2022-8-30 09:58
./sdk_init.sh -p有没有运行呀,看你这个很可能是没有打补丁
我确认是一步一步按这个步骤来的,但是还是报错,能否帮忙看下呢,感谢
CXX obj/foundation/ace/ace_engine/adapter/ohos/entrance/ace_ohos_standard_entrance/ace_container.o
FAILED: obj/foundation/ace/ace_engine/adapter/ohos/entrance/ace_ohos_standard_entrance/ace_container.o
/usr/bin/ccache ../../prebuilts/clang/ohos/linux-x86_64/llvm/bin/clang++ -MMD -MF obj/foundation/ace/ace_engine/adapter/ohos/entrance/ace_ohos_standard_entrance/ace_container.o.d -DOHOS_PLATFORM -DOHOS_STANDARD_SYSTEM -DWEB_SUPPORTED -DGPU_DISABLED -DFORM_SUPPORTED -DXCOMPONENT_SUPPORTED majestli 发表于 2022-9-4 09:55
我确认是一步一步按这个步骤来的,但是还是报错,能否帮忙看下呢,感谢
C ...
这样子,你可以直接拉取OpenHarmony官方SDK进行编译,如果官方的也编译有问题,那很可能是你环境的问题 Firefly_Javier 发表于 2022-9-5 09:06
这样子,你可以直接拉取OpenHarmony官方SDK进行编译,如果官方的也编译有问题,那很可能是你环境的问题
官网的SDK编译也是这么编译么呢,我现在是按firefly个给出的那个wiki来编译的
majestli 发表于 2022-9-5 21:29
官网的SDK编译也是这么编译么呢,我现在是按firefly个给出的那个wiki来编译的
https://gitee.com/openharmony/device_board_hihope/blob/master/rk3568/README_zh.md Firefly_Javier 发表于 2022-8-30 14:18
手动修复方法,可以挂载system.img,然后搜索power_mode_config.xml,按照如下链接进行修改:
https://g ...
大神,这个BUG,您那边能帮忙修改好一个嘛,我这把弄出来的还是有的问题,感谢啦,现在短时间编译不出来,就像用现成的固件,直接烧到AIO-RK3568J这个板子里面顶一下了
页:
[1]
2