编译android7.1时出现[ERROR]: Can't find loader: Image/MiniLoaderAll.bin
aio3399j的板子编译android7.1完成执行makeupdate时出现如下错误: Can't find loader: Image/MiniLoaderAll.bin,请问这个问题怎样解决 已解决,FFTools/mkupdate/mkupdate.sh里面的LOADER_PATH写死了 huang1165441461 发表于 2019-3-8 15:43已解决,FFTools/mkupdate/mkupdate.sh里面的LOADER_PATH写死了
把编译生成所有的文件拷贝到windows去合成,复制RKTools的windows文件夹到windows,解压下面的AndroidTool/rockdev.zip,编译生成文件放在rockdev/Image文件夹下,然后更改rockdev的package-file里面的路径要正确配置,然后修改mkupdate.bat里面的Loader路径对应Image下面的Loader路径,最后管理员执行./mkupdate.bat,可成功打包成单独update.img 我全局搜索 Loader .bin 也没找到
咋整 fish001 发表于 2019-8-10 09:32
我全局搜索 Loader .bin 也没找到
咋整
我也是,找不到,我用的industry,是不是用错版本了? KA_NG 发表于 2019-10-9 13:59
我也是,找不到,我用的industry,是不是用错版本了?
先编译uboot,或是uboot里面有两个 loaderxx.bin文件,有的话就删掉旧版本的 jpchen 发表于 2019-10-9 14:09
先编译uboot,或是uboot里面有两个 loaderxx.bin文件,有的话就删掉旧版本的
(base) ejior@ejior-XPS-8930:/share/share/kang/firefly-rk3399$ ./FFTools/make.sh -j8
/share/share/kang/firefly-rk3399/u-boot /share/share/kang/firefly-rk3399
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CHK include/generated/version_autogenerated.h
HOSTCCtools/dumpimage.o
HOSTCCtools/image-host.o
HOSTCCtools/loaderimage.o
HOSTCCtools/mkenvimage.o
HOSTCCtools/mkimage.o
HOSTCCtools/boot_merger
tools/loaderimage.c: In function ‘main’:
tools/loaderimage.c:116:28: warning: variable ‘name’ set but not used [-Wunused-but-set-variable]
char *magic, *version, *name;
^
tools/loaderimage.c:116:18: warning: variable ‘version’ set but not used [-Wunused-but-set-variable]
char *magic, *version, *name;
^
tools/loaderimage.c:339:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(hdr, sizeof(struct tag_second_loader_hdr), 1, fi);
^
HOSTLDtools/dumpimage
HOSTLDtools/mkimage
HOSTLDtools/mkenvimage
HOSTLDtools/trust_merger
HOSTLDtools/loaderimage
HOSTLDtools/checksum
CC board/rockchip/rk33xx/rk33xx.o
LD board/rockchip/rk33xx/built-in.o
CC board/rockchip/common/rkboot/fastboot.o
LD board/rockchip/common/built-in.o
CC common/main.o
CC common/board_f.o
CC common/cmd_version.o
CC common/cmd_fastboot.o
CC common/cmd_bootrk.o
CC lib/display_options.o
LD common/built-in.o
LD lib/built-in.o
LD u-boot
OBJCOPY u-boot.bin
OBJCOPY u-boot.srec
start=$(/share/share/kang/firefly-rk3399/u-boot/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(/share/share/kang/firefly-rk3399/u-boot/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot.bin 0x00200000 $start $end
./tools/boot_merger ./tools/rk_tools/RKBOOT/RK3399MINIALL.ini
out:rk3399_loader_v1.15.115.bin
fix opt:rk3399_loader_v1.15.115.bin
merge success(rk3399_loader_v1.15.115.bin)
./tools/trust_merger ./tools/rk_tools/RKTRUST/RK3399TRUST.ini
out:trust.img
merge success(trust.img)
./tools/loaderimage --pack --uboot u-boot.bin uboot.img
load addr is 0x200000!
pack input u-boot.bin
pack file size: 782132
crc = 0x2fee4ce9
pack uboot.img success!
/share/share/kang/firefly-rk3399
/share/share/kang/firefly-rk3399/kernel /share/share/kang/firefly-rk3399
ls
^H^H^C
(base) ejior@ejior-XPS-8930:/share/share/kang/firefly-rk3399$ ls
abi bionic build compatibilitydevelopers docs frameworkskernel Makefile out platform_testingrkst sdk tools
Android.bpbootable build-rk3399-all.shcts developmentexternalhardware libcore mkimage.shpackagesprebuilts RKToolssystem u-boot
art bootstrap.bashbuildspec.mk dalvik device FFTools javaenv.shlibnativehelperndk pdk rkbin rockdevtoolchainvendor
(base) ejior@ejior-XPS-8930:/share/share/kang/firefly-rk3399$ cd u-boot/
(base) ejior@ejior-XPS-8930:/share/share/kang/firefly-rk3399/u-boot$ ls
api common CREDITSdrivers fs Kconfig MAINTAINERSmkresimg.shnet rk3399_loader_v1.15.115.binSystem.maptrust.img uboot.img u-boot.srec
arch config.mkdisk dts includelib MAKEALL mkv7.sh post scripts test u-boot u-boot.ldsUserManual
boardconfigs doc examplesKbuild LicensesMakefile mkv8.sh READMEsnapshot.commit tools u-boot.binu-boot.map
(base) ejior@ejior-XPS-8930:/share/share/kang/firefly-rk3399/u-boot$ cd ../
(base) ejior@ejior-XPS-8930:/share/share/kang/firefly-rk3399$ ./FFTools/mkupdate/mkupdate.sh update
PRODUCT_FIREFLY_NAME=DEFAULT
TARGET_PRODUCT=rk3399_firefly
PRODUCT_MODEL=firefly-rk3399
PRODUCT_PATH=rockdev/Image-rk3399_firefly
LOADPATH=Image/MiniLoaderAll.bin
: Can't find loader: Image/MiniLoaderAll.bin
还是没有。。。。 KA_NG 发表于 2019-10-9 14:35
(base) ejior@ejior-XPS-8930:/share/share/kang/firefly-rk3399$ ./FFTools/make.sh -j8
/share/share/ ...
编译uboot后,到根目录执行./mkimage.sh jpchen 发表于 2019-10-9 14:56
编译uboot后,到根目录执行./mkimage.sh
大佬,为啥我执行./FFTools/make.sh -k -j8 编译内核时无响应呢? KA_NG 发表于 2019-10-9 15:49
大佬,为啥我执行./FFTools/make.sh -k -j8 编译内核时无响应呢?
这个完整的编译方式,按照你的命令只会编译firefly-rk3399的机型,你可以想看一下make.sh脚本
http://wiki.t-firefly.com/zh_CN/AIO-3399J/compile_android_firmware.html#aio-3399j-chan-pin-bian-yi-fang-fa
页:
[1]
2