|
发表于 2020-4-17 00:15:24
浏览:4048
|
回复:4
打印
只看该作者
[复制链接]
楼主
[ 本帖最后由 m1843514989 于 2020-4-17 00:22 编辑 ]\n\n
起因:对SDK进行一些参数的配置,如屏幕分辨率,默认语言,隐藏虚拟按键等.结果:执行统编命令如下,boot,kernel编译没问题,到安卓就开始报错如下,请问需要推倒重来吗?好无奈啊./FFTools/make.sh -d rk3399-firefly-aio-lvds-HSX101H40C -j8 -l rk3399_firefly_aio_lvds_box-userdebug------------------------------------------------------------------------------------------------------------------
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: DEFAULT_SYSTEM_DEV_CERTIFICATE has been modified: build/target/product/security/testkey
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: WITH_DEXPREOPT has been modified: false
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: WITH_DEXPREOPT_BOOT_IMG_ONLY has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CFLAGS_NO_OVERRIDE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CPPFLAGS_NO_OVERRIDE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CLANG_CFLAGS_NO_OVERRIDE has been modified: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: *** The following variables have been changed: PRODUCT_NAME PRODUCT_MODEL PRODUCT_LOCALES PRODUCT_AAPT_CONFIG PRODUCT_AAPT_PREF_CONFIG PRODUCT_AAPT_PREBUILT_DPI PRODUCT_PACKAGES PRODUCT_PACKAGES_DEBUG PRODUCT_PACKAGES_ENG PRODUCT_PACKAGES_TESTS PRODUCT_DEVICE PRODUCT_MANUFACTURER PRODUCT_BRAND PRODUCT_PROPERTY_OVERRIDES PRODUCT_DEFAULT_PROPERTY_OVERRIDES PRODUCT_CHARACTERISTICS PRODUCT_COPY_FILES PRODUCT_OTA_PUBLIC_KEYS PRODUCT_EXTRA_RECOVERY_KEYS PRODUCT_PACKAGE_OVERLAYS DEVICE_PACKAGE_OVERLAYS PRODUCT_SDK_ATREE_FILES PRODUCT_SDK_ADDON_NAME PRODUCT_SDK_ADDON_COPY_FILES PRODUCT_SDK_ADDON_COPY_MODULES PRODUCT_SDK_ADDON_DOC_MODULES PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP PRODUCT_DEFAULT_WIFI_CHANNELS PRODUCT_DEFAULT_DEV_CERTIFICATE PRODUCT_RESTRICT_VENDOR_FILES PRODUCT_VENDOR_KERNEL_HEADERS PRODUCT_BOOT_JARS PRODUCT_SUPPORTS_BOOT_SIGNER PRODUCT_SUPPORTS_VBOOT PRODUCT_SUPPORTS_VERITY PRODUCT_SUPPORTS_VERITY_FEC PRODUCT_OEM_PROPERTIES PRODUCT_SYSTEM_PROPERTY_BLACKLIST PRODUCT_SYSTEM_SERVER_JARS PRODUCT_VBOOT_SIGNING_KEY PRODUCT_VBOOT_SIGNING_SUBKEY PRODUCT_VERITY_SIGNING_KEY PRODUCT_SYSTEM_VERITY_PARTITION PRODUCT_VENDOR_VERITY_PARTITION PRODUCT_DEX_PREOPT_MODULE_CONFIGS PRODUCT_DEX_PREOPT_DEFAULT_FLAGS PRODUCT_DEX_PREOPT_BOOT_FLAGS PRODUCT_SANITIZER_MODULE_CONFIGS PRODUCT_SYSTEM_BASE_FS_PATH PRODUCT_VENDOR_BASE_FS_PATH PRODUCT_SHIPPING_API_LEVEL PRODUCT_BOOTCLASSPATH PRODUCT_SYSTEM_SERVER_CLASSPATH TARGET_ARCH TARGET_ARCH_VARIANT TARGET_CPU_VARIANT TARGET_BOARD_PLATFORM TARGET_BOARD_PLATFORM_GPU TARGET_BOARD_KERNEL_HEADERS TARGET_DEVICE_KERNEL_HEADERS TARGET_PRODUCT_KERNEL_HEADERS TARGET_BOOTLOADER_BOARD_NAME TARGET_NO_BOOTLOADER TARGET_NO_KERNEL TARGET_NO_RECOVERY TARGET_NO_RADIOIMAGE TARGET_HARDWARE_3D TARGET_CPU_ABI TARGET_CPU_ABI2 BOARD_WPA_SUPPLICANT_DRIVER BOARD_WLAN_DEVICE BOARD_USES_GENERIC_AUDIO BOARD_KERNEL_CMDLINE BOARD_KERNEL_BASE BOARD_HAVE_BLUETOOTH BOARD_VENDOR_USE_AKMD BOARD_EGL_CFG BOARD_BOOTIMAGE_PARTITION_SIZE BOARD_RECOVERYIMAGE_PARTITION_SIZE BOARD_SYSTEMIMAGE_PARTITION_SIZE BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE BOARD_USERDATAIMAGE_PARTITION_SIZE BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE BOARD_CACHEIMAGE_PARTITION_SIZE BOARD_FLASH_BLOCK_SIZE BOARD_VENDORIMAGE_PARTITION_SIZE BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE BOARD_INSTALLER_CMDLINE DEFAULT_SYSTEM_DEV_CERTIFICATE WITH_DEXPREOPT WITH_DEXPREOPT_BOOT_IMG_ONLY GLOBAL_CFLAGS_NO_OVERRIDE GLOBAL_CPPFLAGS_NO_OVERRIDE GLOBAL_CLANG_CFLAGS_NO_OVERRIDE。 停止。
==================================================================================================
编译日志输出到文本文件,内容如下:~/proj/firefly-rk3399/u-boot ~/proj/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/mkimage.o
HOSTCC tools/mkenvimage.o
HOSTCC tools/boot_merger
HOSTLD tools/mkenvimage
HOSTLD tools/mkimage
HOSTLD tools/dumpimage
HOSTLD tools/loaderimage
HOSTLD tools/trust_merger
HOSTLD tools/checksum
CC board/rockchip/rk33xx/rk33xx.o
CC board/rockchip/common/rkboot/fastboot.o
LD board/rockchip/rk33xx/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
LD board/rockchip/common/built-in.o
CC lib/display_options.o
LD common/built-in.o
LD lib/built-in.o
LD u-boot
OBJCOPY u-boot.bin
start=$(/home/ma/proj/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=$(/home/ma/proj/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
OBJCOPY u-boot.srec
./tools/boot_merger ./tools/rk_tools/RKBOOT/RK3399MINIALL.ini
out:rk3399_loader_v1.12.109.bin
fix opt:rk3399_loader_v1.12.109.bin
merge success(rk3399_loader_v1.12.109.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
pack input u-boot.bin
pack file size: 500340
crc = 0x0d3c8ebf
uboot version: U-Boot 2014.10-RK3399-06 (Apr 16 2020 - 23:32:44)
pack uboot.img success!
~/proj/firefly-rk3399
~/proj/firefly-rk3399/kernel ~/proj/firefly-rk3399
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
make[1]: “arch/arm64/boot/dts/rockchip/rk3399-firefly-aio-lvds-M185XTN01-Test.dtb”是最新的。
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
make[1]: “include/generated/vdso-offsets.h”是最新的。
CHK include/generated/compile.h
GEN drivers/video/rockchip/screen/lcd.h
make[1]: “arch/arm64/boot/Image”是最新的。
Image: kernel.img is ready
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
make[2]: “include/generated/vdso-offsets.h”是最新的。
Building modules, stage 2.
MODPOST 11 modules
Pack to resource.img successed!
Image: resource.img (with rk3399-firefly-aio-lvds-M185XTN01-Test.dtb logo.bmp ) is ready
~/proj/firefly-rk3399
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips64/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/google/dragon/vendorsetup.sh
including device/rockchip/rk3399/vendorsetup.sh
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=rk3399_firefly_aio_lvds_box
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-142-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NHG47K
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=rk3399_firefly_aio_lvds_box
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-142-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NHG47K
OUT_DIR=out
============================================
|
|