|
发表于 2019-10-9 14:35:49
只看该作者
7#
(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
HOSTCC tools/dumpimage.o
HOSTCC tools/image-host.o
HOSTCC tools/loaderimage.o
HOSTCC tools/mkenvimage.o
HOSTCC tools/mkimage.o
HOSTCC tools/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);
^
HOSTLD tools/dumpimage
HOSTLD tools/mkimage
HOSTLD tools/mkenvimage
HOSTLD tools/trust_merger
HOSTLD tools/loaderimage
HOSTLD tools/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 compatibility developers docs frameworks kernel Makefile out platform_testing rkst sdk tools
Android.bp bootable build-rk3399-all.sh cts development external hardware libcore mkimage.sh packages prebuilts RKTools system u-boot
art bootstrap.bash buildspec.mk dalvik device FFTools javaenv.sh libnativehelper ndk pdk rkbin rockdev toolchain vendor
(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 CREDITS drivers fs Kconfig MAINTAINERS mkresimg.sh net rk3399_loader_v1.15.115.bin System.map trust.img uboot.img u-boot.srec
arch config.mk disk dts include lib MAKEALL mkv7.sh post scripts test u-boot u-boot.lds UserManual
board configs doc examples Kbuild Licenses Makefile mkv8.sh README snapshot.commit tools u-boot.bin u-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
[ERROR]: Can't find loader: Image/MiniLoaderAll.bin
还是没有。。。。 |
|