CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 13884|回复: 9

V2.0_A20制作CB2的OTA升级包,发生错误,请求指点

[复制链接]
发表于 2015-2-5 00:05:44 | 显示全部楼层 |阅读模式
编译OK,打包固件OK。但是make otapackage时发生以下错误:

root@gzdlw-virtual-machine:/home/gzdlw/workspace/V2.0_A20/android# make otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=sugar_cubieboard2
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-54-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
============================================
external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration
CEDARX_PRODUCTOR: GENERIC
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': 没有那个文件或目录
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': 没有那个文件或目录
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': 没有那个文件或目录
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': 没有那个文件或目录
find: `src': 没有那个文件或目录
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_120.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_120.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_120.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_120.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/sugar-cubieboard2/system/bin/resize2fs”的命令
build/core/base_rules.mk:502: 警告:忽略关于目标“out/target/product/sugar-cubieboard2/system/bin/resize2fs”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/sugar-cubieboard2/system/bin/cubie_sata_magic”的命令
build/core/base_rules.mk:502: 警告:忽略关于目标“out/target/product/sugar-cubieboard2/system/bin/cubie_sata_magic”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/sugar-cubieboard2/system/lib/libjni_latinime.so”的命令
build/core/base_rules.mk:502: 警告:忽略关于目标“out/target/product/sugar-cubieboard2/system/lib/libjni_latinime.so”的旧命令
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/de-DE_ta.bin:system/tts/lang_pico/de-DE_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/fr-FR_ta.bin:system/tts/lang_pico/fr-FR_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/fr-FR_nk0_sg.bin:system/tts/lang_pico/fr-FR_nk0_sg.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/it-IT_ta.bin:system/tts/lang_pico/it-IT_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/de-DE_gl0_sg.bin:system/tts/lang_pico/de-DE_gl0_sg.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/es-ES_ta.bin:system/tts/lang_pico/es-ES_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/it-IT_cm0_sg.bin:system/tts/lang_pico/it-IT_cm0_sg.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/es-ES_zl0_sg.bin:system/tts/lang_pico/es-ES_zl0_sg.bin ignored.
PRODUCT_COPY_FILES frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml ignored.
No private recovery resources for TARGET_DEVICE sugar-cubieboard2
Copy: out/target/product/sugar-cubieboard2/system/vendor/modules/
acp: omitting directory 'device/softwinner/sugar-cubieboard2/modules/modules'
Package target files: out/target/product/sugar-cubieboard2/obj/PACKAGING/target_files_intermediates/sugar_cubieboard2-target_files-20150204.zip
acp: file 'out/target/product/sugar-cubieboard2/bootloader' does not exist
acp: file 'out/target/product/sugar-cubieboard2/bootloader.fex' does not exist
acp: file 'out/target/product/sugar-cubieboard2/env.fex' does not exist
acp: file 'out/target/product/sugar-cubieboard2/boot0_nand.fex' does not exist
acp: file 'out/target/product/sugar-cubieboard2/boot0_sdcard.fex' does not exist
acp: file 'out/target/product/sugar-cubieboard2/uboot.fex' does not exist
make: *** [out/target/product/sugar-cubieboard2/obj/PACKAGING/target_files_intermediates/sugar_cubieboard2-target_files-20150204.zip] 错误 1

困扰两天了,百度和谷歌都找不到这种错误,请问如何处理,谢谢。。。


回复

使用道具 举报

发表于 2015-2-5 09:03:13 | 显示全部楼层



有没有执行get_uboot?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-2-5 10:29:31 | 显示全部楼层
有没有执行get_uboot?

请问在哪执行,怎么执行?
我初学,只是按照下面的步骤:
$ cd lichee/linux-3.4
   $ make clean
   $ cp arch/arm/configs/cubieboard2_config .config (if you want to complie cubietruck, please copy cubietruck_config.)
   $ cd ..
   $ ./build.sh -p sun7i_android
   $ cd ../android
   $ source build/envsetup.sh
   $ lunch   (select sugar-cubieboard2 or sugar-cubietruck)
   $ extract-bsp
   $ make -j8
   $ make otapackage
回复 支持 反对

使用道具 举报

发表于 2015-2-5 15:19:21 | 显示全部楼层
我跟楼主你有些相似又有些不同,也是困扰两天了,,

我的错误是在make -j8 时候出现的。。
~/WORK_DIR/cubieboard/a20-android/android$ make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-75-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
============================================
Checking build tools versions...
external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration
frameworks/av/media/CedarX-Projects/CedarAndroidLib/Android.mk:9: frameworks/av/media/CedarX-Projects/CedarAndroidLib/LIB_JB42_/Android.mk: No such file or directory
CEDARX_PRODUCTOR: GENERIC
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `src': No such file or directory
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_120.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_120.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_120.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_120.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
make: *** No rule to make target `frameworks/av/media/CedarX-Projects/CedarAndroidLib/LIB_JB42_/Android.mk'.  Stop.

回复 支持 反对

使用道具 举报

发表于 2015-2-5 16:13:58 | 显示全部楼层
samsung45 发表于 2015-2-5 10:29
请问在哪执行,怎么执行?
我初学,只是按照下面的步骤:
$ cd lichee/linux-3.4

在执行make otapackage的上一步
回复 支持 反对

使用道具 举报

发表于 2015-2-5 16:20:05 | 显示全部楼层
Alancheng86 发表于 2015-2-5 15:19
我跟楼主你有些相似又有些不同,也是困扰两天了,,

我的错误是在make -j8 时候出现的。。

在android目录下执行make clean后再编一次试下
回复 支持 反对

使用道具 举报

发表于 2015-2-5 21:44:11 | 显示全部楼层
蓝天-彭 发表于 2015-2-5 16:20
在android目录下执行make clean后再编一次试下

找到错误的原因了,因为我是云盘下载的两个文件,解压缩了一个lichee之后就立即去执行命令了,然后在跑去android解压,再去执行命令,所以会失败。。。。

重新两个都解压缩,在去按照资料一步一步编译,都OK了。。。。可是等待了2个小时过去了,却突然告知我磁盘空间用完了…………

哎。。。整个15G的空余空间都塞满了,看来要重新捣鼓硬盘然后再来ubuntu12.04了,之后再android了。。。,
回复 支持 反对

使用道具 举报

发表于 2016-1-6 00:10:39 | 显示全部楼层
添加蓝牙后BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR 的目录没指定
回复 支持 反对

使用道具 举报

发表于 2016-2-3 23:58:23 | 显示全部楼层
Alancheng86 发表于 2015-2-5 21:44
找到错误的原因了,因为我是云盘下载的两个文件,解压缩了一个lichee之后就立即去执行命令了,然后在跑去 ...

是的,毕竟是别人家做的系统
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-12-21 22:55 , Processed in 0.022563 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部