原始编译r40m的Anroid6.0(取UART打印)(分色排版)
来源:互联网 发布:游戏编程 知乎 编辑:程序博客网 时间:2024/06/05 20:44
原始编译r40m的Anroid6.0(取UART打印)
2017/10/19 14:40
版本:V1.0
0、(可选)验证一下SDK的MD5值(根据你拿到的SDK而不同)!
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$ md5sum android_r40m_20170424_repack.tar.gz
79676af5cbe29b9c30b8a264a644fe14 android_r40m_20170424_repack.tar.gz
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$ md5sum lichee_r40m_20170424_repack.tar.gz
0b22df63748ab1bb7443655dd3a2fb1e lichee_r40m_20170424_repack.tar.gz
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$
1、原始编译r40m的Anroid6.0:
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$ tar zxvf android_r40m_20170424_repack.tar.gz
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$ tar zxvf lichee_r40m_20170424_repack.tar.gz
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m$ cd lichee
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/lichee$ ./build.sh config
cat: .buildconfig: 没有那个文件或目录
Welcome to mkscript setup progress
All available chips:
0. sun50iw1p1
1. sun8iw11p1
2. sun8iw5p1
3. sun8iw6p1
Choice: 1
All available platforms:
0. android
1. dragonboard
2. linux
3. camdroid
Choice: 0
All available kernel:
0. linux-3.10
Choice: 0
All available boards:
0. fpga
1. m2ultra
Choice: 1
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/lichee$ ./build.sh
INFO: ----------------------------------------
INFO: build lichee ...
INFO: chip: sun8iw11p1
INFO: platform: android
INFO: kernel: linux-3.10
INFO: board: m2ultra
INFO: output: out/sun8iw11p1/android/m2ultra
INFO: ----------------------------------------
INFO: build buildroot ...
installing external toolchain
please wait for a few minutes ...
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain of sun8iw11p1...
Building kernel
/home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/output/lib/modules/3.10.65
Copy rootfs.cpio.gz for arm
Using default config sun8iw11p1smp_android_defconfig ...
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/bluetooth/Kconfig:216:warning: defaults for choice values not supported
drivers/net/wireless/bcmdhd/Kconfig:51:warning: defaults for choice values not supported
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/bluetooth/Kconfig:216:warning: defaults for choice values not supported
drivers/net/wireless/bcmdhd/Kconfig:51:warning: defaults for choice values not supported
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/current.h
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_kernel_linux.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_session.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_device_pause_resume.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_kernel_vsync.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_ukk_vsync.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_kernel_sysfs.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_mmu.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_mmu_page_directory.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_mem_validation.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_hw_core.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_gp.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_pp.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_pp_job.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_gp_job.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_soft_job.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_scheduler.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_executor.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_group.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_dlbu.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_broadcast.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_pm.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_pmu.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_user_settings_db.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_kernel_utilization.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_control_timer.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_l2_cache.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_timeline.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_timeline_fence_wait.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_timeline_sync_fence.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_spinlock_reentrant.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/common/mali_pm_domain.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_osk_pm.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_pmu_power_up_down.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_memory_dma_buf.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_sync.o
CC [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/__malidrv_build_info.o
LD [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/mali.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/mali.mod.o
LD [M] /home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/mali.ko
make[2]:正在离开目录 `/home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10'
make[1]:正在离开目录 `/home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali'
"mali400/kernel_mode/driver/src/devicedrv/mali/mali.ko" -> "/home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/output/lib/modules/3.10.65/mali.ko"
make:离开目录“/home/wwt/r40/ap6212a0a1_r40m/lichee/linux-3.10/modules/gpu”
[GPU]: mali400 device driver has been built.
regenerate rootfs cpio
11281 块
11980 块
build_ramfs
Copy boot.img to output directory ...
Copy modules to target ...
sun8iw11p1 compile Kernel successful
INFO: build kernel OK.
INFO: build rootfs ...
INFO: skip make rootfs for android
INFO: build rootfs OK.
INFO: ----------------------------------------
INFO: build lichee OK.
INFO: ----------------------------------------
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/lichee$ cd ../android/
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$ source build/envsetup.sh
including device/asus/deb/vendorsetup.sh
including device/asus/flo/vendorsetup.sh
including device/asus/fugu/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/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/htc/flounder/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/moto/shamu/vendorsetup.sh
including device/softwinner/azalea-m2ultra/vendorsetup.sh
including device/softwinner/common/vendorsetup.sh
including sdk/bash_completion/adb.bash
(请严重注意:lunch是环境依赖的,请选择选项azalea_m2ultra-eng前面所对应的数字!)
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. aosp_deb-userdebug
8. aosp_flo-userdebug
9. full_fugu-userdebug
10. aosp_fugu-userdebug
11. mini_emulator_arm64-userdebug
12. m_e_arm-userdebug
13. mini_emulator_mips-userdebug
14. mini_emulator_x86_64-userdebug
15. mini_emulator_x86-userdebug
16. aosp_flounder-userdebug
17. aosp_hammerhead-userdebug
18. aosp_hammerhead_fp-userdebug
19. aosp_shamu-userdebug
20. azalea_m2ultra-eng
21. azalea_m2ultra-user
Which would you like? [aosp_arm-eng] 20
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=azalea_m2ultra
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=MOB30R
OUT_DIR=out
============================================
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$ extract-bsp
/home/wwt/r40/ap6212a0a1_r40m/android/device/softwinner/azalea-m2ultra/bImage copied!
/home/wwt/r40/ap6212a0a1_r40m/android/device/softwinner/azalea-m2ultra/modules copied!
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$ make -j12
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=azalea_m2ultra
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=MOB30R
OUT_DIR=out
============================================
Checking build tools versions...
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/target/product/security/Android.mk ...
including ./build/tools/Android.mk ...
including ./cts/Android.mk ...
including ./dalvik/Android.mk ...
including ./development/apps/BluetoothDebug/Android.mk ...
including ./development/apps/BuildWidget/Android.mk ...
including ./development/apps/CustomLocale/Android.mk ...
including ./development/apps/Development/Android.mk ...
including ./development/apps/DevelopmentSettings/Android.mk ...
including ./development/apps/Fallback/Android.mk ...
including ./development/apps/GestureBuilder/Android.mk ...
including ./development/apps/NinePatchLab/Android.mk ...
including ./development/apps/OBJViewer/Android.mk ...
including ./development/apps/SdkSetup/Android.mk ...
including ./development/apps/SettingInjectorSample/Android.mk ...
including ./development/apps/WidgetPreview/Android.mk ...
including ./development/apps/launchperf/Android.mk ...
including ./development/build/Android.mk ...
including ./development/cmds/monkey/Android.mk ...
including ./development/host/Android.mk ...
including ./development/ndk/Android.mk ...
including ./development/perftests/panorama/Android.mk ...
including ./development/samples/AccelerometerPlay/Android.mk ...
including ./development/samples/AliasActivity/Android.mk ...
including ./development/samples/AndroidBeamDemo/Android.mk ...
including ./development/samples/ApiDemos/Android.mk ...
including ./development/samples/AppNavigation/Android.mk ...
including ./development/samples/BackupRestore/Android.mk ...
including ./development/samples/BasicGLSurfaceView/Android.mk ...
including ./development/samples/BluetoothChat/Android.mk ...
including ./development/samples/BluetoothHDP/Android.mk ...
including ./development/samples/BusinessCard/Android.mk ...
including ./development/samples/Compass/Android.mk ...
including ./development/samples/ContactManager/Android.mk ...
including ./development/samples/CubeLiveWallpaper/Android.mk ...
including ./development/samples/FixedGridLayout/Android.mk ...
including ./development/samples/HeavyWeight/Android.mk ...
including ./development/samples/HelloActivity/Android.mk ...
including ./development/samples/HelloEffects/Android.mk ...
including ./development/samples/Home/Android.mk ...
including ./development/samples/HoneycombGallery/Android.mk ...
including ./development/samples/JetBoy/Android.mk ...
including ./development/samples/KeyChainDemo/Android.mk ...
including ./development/samples/LunarLander/Android.mk ...
including ./development/samples/MultiResolution/Android.mk ...
including ./development/samples/MySampleRss/Android.mk ...
including ./development/samples/NotePad/Android.mk ...
including ./development/samples/Obb/Android.mk ...
including ./development/samples/RSSReader/Android.mk ...
including ./development/samples/RandomMusicPlayer/Android.mk ...
including ./development/samples/ReceiveShareDemo/Android.mk ...
including ./development/samples/RenderScript/Android.mk ...
including ./development/samples/SampleSyncAdapter/Android.mk ...
including ./development/samples/SearchableDictionary/Android.mk ...
including ./development/samples/SimpleJNI/Android.mk ...
including ./development/samples/SipDemo/Android.mk ...
including ./development/samples/SkeletonApp/Android.mk ...
including ./development/samples/Snake/Android.mk ...
including ./development/samples/SoftKeyboard/Android.mk ...
including ./development/samples/SpellChecker/Android.mk ...
including ./development/samples/StackWidget/Android.mk ...
including ./development/samples/Support13Demos/Android.mk ...
including ./development/samples/Support4Demos/Android.mk ...
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: packages/apps/Exchange/tests/src/com/android/exchange/provider/MailboxUtilitiesTests.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: packages/apps/Dialer/tests/src/com/android/dialer/util/FakeAsyncTaskExecutor.java使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
注: packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/DateUtilTests.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
Install: out/target/product/azalea-m2ultra/system/app/Email/Email.apk
Copying: out/target/common/obj/APPS/Camera2_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Camera2_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Camera2_intermediates/classes.jar
target Java: Camera2Tests (out/target/common/obj/APPS/Camera2Tests_intermediates/classes)
注: packages/apps/Camera2/tests/src/com/android/camera/unittest/CameraUnitTest.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
Copying: out/target/common/obj/APPS/messaging_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/messaging_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/messaging_intermediates/classes.jar
target Java: messagingtests (out/target/common/obj/APPS/messagingtests_intermediates/classes)
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
Copying: out/target/common/obj/APPS/UnifiedEmail_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/UnifiedEmail_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/UnifiedEmail_intermediates/classes.jar
target Java: UnifiedEmailTests (out/target/common/obj/APPS/UnifiedEmailTests_intermediates/classes)
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
Copying: out/target/common/obj/APPS/Email_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Email_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Email_intermediates/classes.jar
target Java: EmailTests (out/target/common/obj/APPS/EmailTests_intermediates/classes)
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
Install: out/target/product/azalea-m2ultra/system/priv-app/Settings/Settings.apk
:" out/target/product/azalea-m2ultra/obj/NOTICE_FILES/src
Combining NOTICE files into HTML
Combining NOTICE files into text
Installed file list: out/target/product/azalea-m2ultra/installed-files.txt
Target system fs image: out/target/product/azalea-m2ultra/obj/PACKAGING/systemimage_intermediates/system.img
ra/system -L system out/target/product/azalea-m2ultra/root/file_contexts
oduct/azalea-m2ultra/system out/target/product/azalea-m2ultra/system
Creating filesystem with parameters:
Size: 2147483648
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 8192
Label: system
Blocks: 524288
Block groups: 16
Reserved block group size: 127
Created filesystem with 2093/131072 inodes and 151540/524288 blocks
Install system fs image: out/target/product/azalea-m2ultra/system.img
out/target/product/azalea-m2ultra/system.img+out/target/product/azalea-m2ultra/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=2192446080 blocksize=4224 total=587084226 reserve=22146432
#### make completed successfully (40:55 (mm:ss)) ####
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$ pack
-----verity_data_init-----
Generate verity block data for file
2147483648
4096
Prepare for Dm-verity data ...
Level 0: data size 2147483648, data_blk 524288, hash_size 16777216, hash_blk 4096
Hash tree depth 3
Level 1: data size 16777216, data_blk 4096, hash_size 131072, hash_blk 32
Level 2: data size 131072, data_blk 32, hash_size 4096, hash_blk 1
veritysetup format success
Convert raw_table to table
1 /dev/block/by-name/system /dev/block/by-name/verity_block 4096 4096 524288 8 sha256 74470391F1BD218CD6361A3D6C9AB341D808B99BA2E23C7FE32BB066D2C32744 -
Sign the table
Generage metadata
Merge verity_block
Dm-Verity hash tree and metadata ready !
"/home/wwt/r40/ap6212a0a1_r40m/android/out/target/product/azalea-m2ultra/verity_block" -> "/home/wwt/r40/ap6212a0a1_r40m/android/out/target/product/azalea-m2ultra/verity_block.img"
No kernel param, parse it from .buildconfig
copying tools file
copying configs file
./out/aultls32.fex
./out/aultools.fex
./out/boot_package.cfg
./out/boot_package.fex
./out/boot_package_nor.cfg
./out/cardscript.fex
./out/cardscript_secure.fex
./out/cardtool.fex
./out/diskfs.fex
./out/env_burn.cfg
./out/env.cfg
./out/image.cfg
./out/image_linux.cfg
./out/split_xxxx.fex
./out/sunxi.fex
./out/sys_config.fex
./out/sys_partition_dragonboard.fex
./out/sys_partition_dump.fex
./out/sys_partition.fex
./out/sys_partition_linux.fex
./out/sys_partition_private.fex
./out/test_config.fex
./out/toc0.fex
./out/toc1.fex
./out/usbtool.fex
./out/usbtool_test.fex
copying boot resource
copying boot file
Script_to_dts: Can not find [sun8iw11p1-m2ultra.dts]. Will use common dts file instead.
p=soc c=product state=0
p=soc c=platform state=0
p=soc c=target state=0
p=soc c=norflash state=0
p=soc c=power_sply state=0
p=soc c=card_boot state=0
p=soc c=pm_para state=0
p=soc c=card0_boot_para state=0
p=soc c=card2_boot_para state=0
p=soc c=twi_para state=0
p=soc c=uart_para state=0
p=soc c=jtag_para state=0
p=soc c=leds state=0
p=soc c=clock state=0
p=soc c=dram state=0
p=soc c=emac0 state=0
p=soc c=gmac0 state=0
p=soc c=can0 state=0
p=soc c=can0 state=1
p=soc c=twi0 state=0
p=soc c=twi1 state=0
p=soc c=twi2 state=0
p=soc c=twi3 state=0
p=soc c=twi4 state=0
p=soc c=ir0 state=0
p=soc c=uart0 state=0
p=soc c=uart0 state=1
p=soc c=uart1 state=0
p=soc c=uart1 state=1
p=soc c=uart2 state=0
p=soc c=uart2 state=1
p=soc c=uart3 state=0
p=soc c=uart3 state=1
p=soc c=uart4 state=0
p=soc c=uart4 state=1
p=soc c=uart5 state=0
p=soc c=uart5 state=1
p=soc c=uart6 state=0
p=soc c=uart6 state=1
p=soc c=uart7 state=0
p=soc c=uart7 state=1
p=soc c=spi0 state=0
p=soc c=spi1 state=0
p=soc c=spi2 state=0
p=soc c=spi3 state=0
p=soc c=rtp_para state=0
p=soc c=ctp state=0
p=soc c=tkey_para state=0
p=soc c=motor_para state=0
p=soc c=nand0 state=0
p=soc c=sata state=0
p=soc c=boot_disp state=0
p=soc c=disp state=0
p=soc c=tv0 state=0
p=soc c=tv1 state=0
p=soc c=tvd state=0
p=soc c=tvd0 state=0
p=soc c=tvd1 state=0
p=soc c=tvd2 state=0
p=soc c=tvd3 state=0
p=soc c=lcd0 state=0
p=soc c=lcd0 state=1
p=soc c=pwm0 state=0
p=soc c=pwm0 state=1
p=soc c=hdmi state=0
p=soc c=csi0 state=0
p=csi0 c=csi0_dev0 state=0
p=soc c=csi1 state=0
p=csi1 c=csi1_dev0 state=0
p=soc c=tvout_para state=0
p=soc c=tvin_para state=0
p=soc c=di state=0
p=soc c=sdc0 state=0
p=soc c=sdc1 state=0
p=soc c=sdc2 state=0
p=soc c=sdc3 state=0
p=soc c=smc state=0
p=soc c=usbc0 state=0
p=soc c=usbc1 state=0
p=soc c=usbc2 state=0
p=soc c=gsensor_para state=0
p=soc c=wlan state=0
p=soc c=bt state=0
p=soc c=btlpm state=0
p=soc c=gy_para state=0
p=soc c=ls_para state=0
p=soc c=compass_para state=0
p=soc c=spdif state=0
p=soc c=sndspdif state=0
p=soc c=audiohdmi state=0
p=soc c=sndhdmi state=0
p=soc c=snddaudio0 state=0
p=soc c=daudio0 state=0
p=soc c=snddaudio1 state=0
p=soc c=daudio1 state=0
p=soc c=sndcodec state=0
p=soc c=codec state=0
p=soc c=pmu0 state=0
p=soc c=charger0 state=0
p=soc c=powerkey0 state=0
p=soc c=regulator0 state=0
p=soc c=gpu_mali400_0 state=0
p=soc c=axp_gpio0 state=0
p=soc c=dvfs_table state=0
p=soc c=Vdevice state=0
Conver script to dts ok.
pack boot package
GetPrivateProfileSection read to end
content_count=3
packing for android
normal
/home/wwt/r40/ap6212a0a1_r40m/lichee/tools/pack/pctools/linux/eDragonEx/
/home/wwt/r40/ap6212a0a1_r40m/lichee/tools/pack/out
Begin Parse sys_partion.fex
Add partion boot-resource.fex BOOT-RESOURCE_FEX
Add partion very boot-resource.fex BOOT-RESOURCE_FEX
FilePath: boot-resource.fex
FileLength=55b400Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=20000Add partion boot.fex BOOT_FEX00000000
Add partion very boot.fex BOOT_FEX00000000
FilePath: boot.fex
FileLength=de6000Add partion system.fex SYSTEM_FEX000000
Add partion very system.fex SYSTEM_FEX000000
FilePath: system.fex
FileLength=22f7ece0Add partion recovery.fex RECOVERY_FEX0000
Add partion very recovery.fex RECOVERY_FEX0000
FilePath: recovery.fex
FileLength=e9d800sys_config.fex Len: 0x10fcc
config.fex Len: 0xc400
split_xxxx.fex Len: 0x200
sys_partition.fex Len: 0xfad
sunxi.fex Len: 0x16200
boot0_nand.fex Len: 0x8000
boot0_sdcard.fex Len: 0x8000
u-boot.fex Len: 0xd0000
toc1.fex Len: 0x8
toc0.fex Len: 0x8
fes1.fex Len: 0x3e60
boot_package.fex Len: 0xf4000
usbtool.fex Len: 0x23600
aultools.fex Len: 0x2847b
aultls32.fex Len: 0x24d23
cardtool.fex Len: 0x11c00
cardscript.fex Len: 0x779
sunxi_mbr.fex Len: 0x10000
dlinfo.fex Len: 0x4000
arisc.fex Len: 0x6
boot-resource.fex Len: 0x55b400
Vboot-resource.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
boot.fex Len: 0xde6000
Vboot.fex Len: 0x4
system.fex Len: 0x22f7ece0
Vsystem.fex Len: 0x4
recovery.fex Len: 0xe9d800
Vrecovery.fex Len: 0x4
BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is at----------
/home/wwt/r40/ap6212a0a1_r40m/lichee/tools/pack/sun8iw11p1_android_m2ultra_uart0.img
pack finish
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$
rootroot@cm-System-Product-Name:/home/wwt/r40/ap6212a0a1_r40m/android$
2、可选修改:
W:\r40\ap6212a0a1_r40m\android\frameworks\base\packages\SettingsProvider\res\values\defaults.xml
<integer name="def_screen_off_timeout">60000</integer>
修改为(修改为30分钟锁屏,默认为1分钟!单位为毫秒):
<integer name="def_screen_off_timeout">1800000</integer>
<bool name="def_install_non_market_apps">false</bool>
修改为(允许安装非Android市场的应用!):
<bool name="def_install_non_market_apps">true</bool>
<bool name="def_lockscreen_disabled">false</bool>
修改为(开机禁止锁屏,方便调试):
<bool name="def_lockscreen_disabled">true</bool>
(修改开机的时候uboot的等待时间以及打印级别)
W:\r40\ap6212a0a1_r40m\lichee\tools\pack\chips\sun8iw11p1\configs\default\env.cfg
#kernel command arguments
#enforcing=0
earlyprintk=sunxi-uart,0x01c28000
initcall_debug=0
console=ttyS0,115200
nor_root=/dev/mtdblock2
nand_root=/dev/system
mmc_root=/dev/mmcblk0p7
init=/init
loglevel=8
cma=256M
vmalloc=384MB
selinux=enforcing
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
setargs_nor=setenv bootargs enforcing=${enforcing} earlyprintk=${earlyprintk} initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} init=${init} partitions=${partitions} cma=${cma}
setargs_nand=setenv bootargs enforcing=${enforcing} earlyprintk=${earlyprintk} initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} init=${init} partitions=${partitions} cma=${cma} vmalloc=${vmalloc}
setargs_mmc=setenv bootargs enforcing=${enforcing} earlyprintk=${earlyprintk} initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} vmalloc=${vmalloc}
#nand command syntax: sunxi_flash read address partition_name read_bytes
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
boot_normal=sunxi_flash read 40007800 boot;boota 40007800
boot_recovery=sunxi_flash read 40007800 recovery;boota 40007800
boot_fastboot=fastboot
#recovery key
recovery_key_value_max=0x13
recovery_key_value_min=0x10
#fastboot key
fastboot_key_value_max=0x8
fastboot_key_value_min=0x2
#uboot system env config
bootdelay=3
#default bootcmd, will change at runtime according to key press
bootcmd=run setargs_nand boot_normal#default nand boot
- 原始编译r40m的Anroid6.0(取UART打印)(分色排版)
- 原始编译r40的tinav2.1(取UART打印)(分色排版)
- 打开r40m平台Android6.0下的以太网卡(分色排版)
- 42打开r40m平台Android6.0下的录音测试(分色排版)
- 41打开r40m平台Android6.0下的耳机(分色排版)
- 08打开r40m平台Android6.0下的TF卡(分色排版)
- 打开r40平台Anroid6.0下的AP6212A1版本的WIFI(兼容配置)(分色排版)
- 01原始编译r16的tinav2.5(分色排版)V1.0
- 打开r40m平台tinav2.1下的录音测试(失败)(分色排版)
- 09全志r40m平台的SATA验证(分色排版)
- 07打开r40m平台Android6.0下验证SPI0(分色排版)
- 原始编译全志R16的androidM的步骤(分色排版)
- 原始编译全志R16的androidM的步骤(分色排版)V1.1
- 31在全志r40m平台调通ov5640(分色排版)
- 在全志r40m平台调通ov5640(分色排版)V1.1版本
- 全志sina33编译手册(分色排版)V1.0
- 全志R8的SDK的编译步骤V1.0(android4.2.2)(分色排版)
- 全志R16平台的parrotv1.1系统的编译手册(分色排版)V1.0
- TreeSet和HashSet的问题
- 《Effective C++》条款04总结
- 金格签章 页面签章 报服务器错 但是没请求服务器
- Java mail jar
- Android中进行微信第三方登录或分享如何将WXEntryActivity隐藏掉.
- 原始编译r40m的Anroid6.0(取UART打印)(分色排版)
- 数组的查找
- MySQL服务器参数配置介绍
- Html学习---5
- Mysql 访问控制1 Connection Verification
- shell 中数学计算总结
- 【Leetcode-Easy-141】Linked List Cycle
- 2017.10.19 Irish_Moonshine总结
- 用循环单链表实现约瑟夫环(c语言)