Post Reply

[PORT][Ubuntu Touch] WIP Stuck on a error

15th July 2014, 07:49 PM   |  #1  
h2o64's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 656
 
628 posts
Join Date:Joined: Aug 2012
More
Hi everybody !
I'm currently porting Ubuntu Touch (utopic) on falcon !
BUT I'm stuck on an error wich I can't achieve to fix (and I become out of time ...).
So I decided to show you my problem ! (I'm very close to success so it's maybe the last fix to do)


# make -j8 (-j1 won't fix that)
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=full_falcon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/media/nas/EXTRA/Ubuntu_Touch/out
============================================
including abi/cpp/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/tools/acp/Android.mk ...
including build/tools/check_prereq/Android.mk ...
including build/tools/fs_config/Android.mk ...
including build/tools/zipalign/Android.mk ...
including device/asus/deb/dumpstate/Android.mk ...
including device/asus/deb/recovery/Android.mk ...
including device/asus/deb/self-extractors/Android.mk ...
including device/asus/flo/Android.mk ...
including device/asus/grouper/Android.mk ...
including device/asus/tilapia/recovery/Android.mk ...
including device/asus/tilapia/self-extractors/Android.mk ...
including device/generic/goldfish/audio/Android.mk ...
including device/generic/goldfish/camera/Android.mk ...
including device/generic/goldfish/gps/Android.mk ...
including device/generic/goldfish/lights/Android.mk ...
including device/generic/goldfish/opengl/Android.mk ...
including device/generic/goldfish/power/Android.mk ...
including device/generic/goldfish/qemu-props/Android.mk ...
including device/generic/goldfish/qemud/Android.mk ...
including device/generic/goldfish/sensors/Android.mk ...
including device/lge/hammerhead/Android.mk ...
including device/lge/mako/Android.mk ...
including device/samsung/manta/Android.mk ...
including external/aac/Android.mk ...
including external/busybox/Android.mk ...
including external/bzip2/Android.mk ...
including external/checkpolicy/Android.mk ...
including external/e2fsprogs/Android.mk ...
including external/expat/Android.mk ...
including external/flac/Android.mk ...
including external/freetype/Android.mk ...
including external/fsck_msdos/Android.mk ...
including external/gcc-demangle/Android.mk ...
including external/genext2fs/Android.mk ...
including external/giflib/Android.mk ...
including external/gtest/Android.mk ...
including external/icu4c/Android.mk ...
including external/jhead/Android.mk ...
including external/jpeg/Android.mk ...
including external/libgsm/Android.mk ...
including external/liblzf/Android.mk ...
including external/libpng/Android.mk ...
including external/libselinux/Android.mk ...
including external/libsepol/Android.mk ...
including external/libvpx/Android.mk ...
including external/mksh/Android.mk ...
including external/openssl/Android.mk ...
including external/pigz/Android.mk ...
including external/protobuf/Android.mk ...
including external/qemu/Android.mk ...
including external/scrypt/Android.mk ...
including external/sepolicy/Android.mk ...
including external/sfntly/Android.mk ...
including external/skia/Android.mk ...
including external/sonivox/Android.mk ...
including external/speex/Android.mk ...
including external/sqlite/android/Android.mk ...
including external/sqlite/dist/Android.mk ...
including external/stlport/Android.mk ...
including external/tinyalsa/Android.mk ...
including external/tinycompress/Android.mk ...
including external/tremolo/Android.mk ...
including external/webp/Android.mk ...
including external/webrtc/Android.mk ...
including external/wpa_supplicant_8/Android.mk ...
including external/yaffs2/Android.mk ...
including external/zlib/Android.mk ...
including frameworks/av/camera/Android.mk ...
including frameworks/av/drm/common/Android.mk ...
including frameworks/av/drm/drmserver/Android.mk ...
including frameworks/av/drm/libdrmframework/Android.mk ...
including frameworks/av/drm/mediadrm/plugins/mock/Android.mk ...
including frameworks/av/media/common_time/Android.mk ...
including frameworks/av/media/libcpustats/Android.mk ...
including frameworks/av/media/libeffects/downmix/Android.mk ...
including frameworks/av/media/libeffects/factory/Android.mk ...
including frameworks/av/media/libeffects/loudness/Android.mk ...
including frameworks/av/media/libeffects/lvm/lib/Android.mk ...
including frameworks/av/media/libeffects/lvm/wrapper/Android.mk ...
including frameworks/av/media/libeffects/preprocessing/Android.mk ...
including frameworks/av/media/libeffects/proxy/Android.mk ...
including frameworks/av/media/libeffects/visualizer/Android.mk ...
including frameworks/av/media/libmedia/Android.mk ...
including frameworks/av/media/libmediaplayerservice/Android.mk ...
including frameworks/av/media/libnbaio/Android.mk ...
including frameworks/av/media/libstagefright/Android.mk ...
including frameworks/av/media/mediaserver/Android.mk ...
including frameworks/av/services/audioflinger/Android.mk ...
including frameworks/av/services/camera/libcameraservice/Android.mk ...
including frameworks/av/services/medialog/Android.mk ...
including frameworks/base/cmds/bootanimation/Android.mk ...
including frameworks/base/cmds/screencap/Android.mk ...
including frameworks/base/libs/androidfw/Android.mk ...
including frameworks/base/services/input/Android.mk ...
including frameworks/base/tools/aapt/Android.mk ...
including frameworks/native/cmds/installd/Android.mk ...
including frameworks/native/cmds/servicemanager/Android.mk ...
including frameworks/native/libs/binder/Android.mk ...
including frameworks/native/libs/diskusage/Android.mk ...
including frameworks/native/libs/gui/Android.mk ...
including frameworks/native/libs/input/Android.mk ...
including frameworks/native/libs/ui/Android.mk ...
including frameworks/native/opengl/libagl/Android.mk ...
including frameworks/native/opengl/libs/Android.mk ...
including frameworks/native/opengl/tests/Android.mk ...
including frameworks/native/services/batteryservice/Android.mk ...
including frameworks/native/services/connectivitymanager/Android.mk ...
including frameworks/native/services/powermanager/Android.mk ...
including frameworks/native/services/sensorservice/Android.mk ...
including frameworks/native/services/surfaceflinger/Android.mk ...
including frameworks/opt/emoji/Android.mk ...
including hardware/akm/AK8975_FS/akmdfs/Android.mk ...
including hardware/akm/AK8975_FS/libsensors/Android.mk ...
including hardware/broadcom/libbt/Android.mk ...
including hardware/broadcom/wlan/bcmdhd/Android.mk ...
including hardware/invensense/Android.mk ...
including hardware/libhardware/Android.mk ...
including hardware/libhardware_legacy/Android.mk ...
including hardware/qcom/bt/Android.mk ...
including hardware/qcom/camera/Android.mk ...
including hardware/qcom/display/Android.mk ...
including hardware/qcom/fm/Android.mk ...
including hardware/qcom/keymaster/Android.mk ...
including hardware/qcom/media/Android.mk ...
including hardware/qcom/power/Android.mk ...
including hardware/qcom/wlan/qcwcn/Android.mk ...
including hardware/ril/libril/Android.mk ...
including hardware/ril/librilutils/Android.mk ...
including hardware/ril/reference-ril/Android.mk ...
including hardware/ril/rild/Android.mk ...
including hardware/samsung_slsi/exynos5/Android.mk ...
including hardware/ti/omap3/Android.mk ...
including hardware/ti/omap4xxx/Android.mk ...
including hardware/ti/wlan/mac80211/Android.mk ...
including hardware/ti/wpan/Android.mk ...
including prebuilts/tools/linux-x86/sdl/Android.mk ...
including sdk/emulator/mksdcard/Android.mk ...
including sdk/emulator/opengl/Android.mk ...
including sdk/emulator/qtools/Android.mk ...
including system/core/Android.mk ...
including system/extras/ext4_utils/Android.mk ...
including system/media/audio_route/Android.mk ...
including system/media/audio_utils/Android.mk ...
including system/media/camera/src/Android.mk ...
including system/media/camera/tests/Android.mk ...
including system/security/keystore/Android.mk ...
including system/security/softkeymaster/Android.mk ...
including system/vold/Android.mk ...
including ubuntu/assets/Android.mk ...
including ubuntu/libhybris/compat/camera/Android.mk ...
including ubuntu/libhybris/compat/input/Android.mk ...
including ubuntu/libhybris/compat/media/Android.mk ...
including ubuntu/libhybris/compat/surface_flinger/Android.mk ...
including ubuntu/libhybris/compat/ui/Android.mk ...
including ubuntu/platform-api/android/hybris/Android.mk ...
including ubuntu/upstart-property-watcher/Android.mk ...
No private recovery resources for TARGET_DEVICE falcon
build/core/Makefile:32: warning: overriding commands for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/egl/egl.cfg »
build/core/base_rules.mk:529: warning: overriding commands for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/egl/egl.cfg »
build/core/Makefile:32: attention : warning: overriding commands for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/bin/rild »
build/core/base_rules.mk:529:  warning : old commands ignored for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/bin/rild »
build/core/Makefile:32: attention : warning: overriding commands for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/libril.so »
build/core/base_rules.mk:529:  warning : old commands ignored for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/libril.so »
device/motorola/msm8226-common/mkbootimg.mk:41: warning: overriding commands for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/boot.img »
build/core/Makefile:489: warning : old commands ignored for target « /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/boot.img »

make  -C kernel/motorola/msm8226 O=/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/nas/EXTRA/Ubuntu_Touch/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= msm8226_mmi_defconfig
make[1]: openning the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
Target Ubuntu Touch ram disk: /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/ramdisk.img
  GEN     /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: leaving the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
make  -C kernel/motorola/msm8226 O=/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/nas/EXTRA/Ubuntu_Touch/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
make[1]: openning the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
  CHK     include/linux/version.h
make[1]: leaving the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
make  -C kernel/motorola/msm8226 O=/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/nas/EXTRA/Ubuntu_Touch/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" zImage
build/tools/generate-notice-files.py  /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/NOTICE.txt  /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/NOTICE_FILES/src
make[1]: openning the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
Combining NOTICE files into HTML
Combining NOTICE files into text
  GEN     /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
  GEN     /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/Makefile
  CHK     include/linux/version.h
  Using /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 as source for kernel
  CHK     include/generated/utsrelease.h
make[3]: « include/generated/mach-types.h » is up-to-date.
  CALL    /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226/scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  GZIP    kernel/config_data.gz
  CHK     kernel/config_data.h
Downloading ubuntu-touch-generic-initrd version 0.73
  Kernel: arch/arm/boot/Image is ready
  SHIPPED arch/arm/boot/compressed/ashldi3.S
  AS      arch/arm/boot/compressed/ashldi3.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
make[1]: leaving the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
make  -C kernel/motorola/msm8226 O=/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/nas/EXTRA/Ubuntu_Touch/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules
make[1]: openning the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
  GEN     /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/Makefile
  CHK     include/linux/version.h
  Using /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 as source for kernel
  CHK     include/generated/utsrelease.h
make[3]: « include/generated/mach-types.h » is up-to-date.
  CALL    /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226/scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 3 modules
make[1]: quittant le répertoire « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
make  -C kernel/motorola/msm8226 O=/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /media/nas/EXTRA/Ubuntu_Touch/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules_install
make[1]: openning the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
  INSTALL drivers/media/radio/radio-iris-transport.ko
  INSTALL drivers/net/wireless/prima/wlan.ko
  INSTALL drivers/scsi/scsi_wait_scan.ko
  DEPMOD  3.4.96-gbad4af5-dirty
make[1]: leaving the directory « /media/nas/EXTRA/Ubuntu_Touch/kernel/motorola/msm8226 »
mdpath=`find /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /media/nas/EXTRA/Ubuntu_Touch/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules/; done; fi
mdpath=`find /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mkdir -p /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules/pronto
mv /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules/wlan.ko /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules/pronto/pronto_wlan.ko
ln -sf /system/lib/modules/pronto/pronto_wlan.ko /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules/wlan.ko
mdpath=`find /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /media/nas/EXTRA/Ubuntu_Touch/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules/; done; fi
mdpath=`find /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt:  (/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/kernel)
Start DT image: /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/dt.img
mkdir -p /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot;   /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/scripts/dtc/dtc -p 1024 -O dtb -o /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p1.dtb ./kernel/motorola/msm8226/arch/arm/boot/dts/msm8226-falcon-p1.dts; cat /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/zImage /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p1.dtb > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p1-zImage;  /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/scripts/dtc/dtc -p 1024 -O dtb -o /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2b1.dtb ./kernel/motorola/msm8226/arch/arm/boot/dts/msm8226-falcon-p2b1.dts; cat /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/zImage /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2b1.dtb > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2b1-zImage;  /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/scripts/dtc/dtc -p 1024 -O dtb -o /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2b.dtb ./kernel/motorola/msm8226/arch/arm/boot/dts/msm8226-falcon-p2b.dts; cat /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/zImage /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2b.dtb > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2b-zImage;  /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/scripts/dtc/dtc -p 1024 -O dtb -o /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2.dtb ./kernel/motorola/msm8226/arch/arm/boot/dts/msm8226-falcon-p2.dts; cat /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/zImage /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2.dtb > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2-zImage;  /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/scripts/dtc/dtc -p 1024 -O dtb -o /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2-v2.dtb ./kernel/motorola/msm8226/arch/arm/boot/dts/msm8226-falcon-p2-v2.dts; cat /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/zImage /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2-v2.dtb > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p2-v2-zImage;  /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/scripts/dtc/dtc -p 1024 -O dtb -o /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p3c.dtb ./kernel/motorola/msm8226/arch/arm/boot/dts/msm8226-falcon-p3c.dts; cat /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/zImage /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p3c.dtb > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/msm8226-falcon-p3c-zImage;
----- Making recovery image ------
Copying baseline ramdisk...
Modifying ramdisk contents...
mkdir -p /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/recovery/root/system/bin
Modifying default.prop
sed -i 's/ro.build.date.utc=.*/ro.build.date.utc=0/g' /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/recovery/root/default.prop
sed -i 's/ro.adb.secure=1//g' /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/recovery/root/default.prop
----- Made recovery filesystem --------/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/recovery/root
----- Making uncompressed recovery ramdisk ------
/media/nas/EXTRA/Ubuntu_Touch/out/host/linux-x86/bin/mkbootfs /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/recovery/root > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/ramdisk-recovery.cpio
----- Making recovery ramdisk ------
/media/nas/EXTRA/Ubuntu_Touch/out/host/linux-x86/bin/minigzip < /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/ramdisk-recovery.cpio > /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/ramdisk-recovery.img
Target dt image: /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/dt.img
DTB combiner:
  Input directory: '/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/obj/KERNEL_OBJ/arch/arm/boot/'
  Output file: '/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/dt.img'
Found file: msm8226-falcon-p2.dtb ... chipset: 145, rev: 33280, platform: 66, subtype: 0
Found file: msm8226-falcon-p2-v2.dtb ... chipset: 145, rev: 164352, platform: 66, subtype: 0
Found file: msm8226-falcon-p2b1.dtb ... chipset: 145, rev: 164529, platform: 66, subtype: 0
Found file: msm8226-falcon-p3c.dtb ... chipset: 145, rev: 164800, platform: 66, subtype: 0
Found file: msm8226-falcon-p2b.dtb ... chipset: 145, rev: 164528, platform: 66, subtype: 0
Found file: msm8226-falcon-p1.dtb ... chipset: 145, rev: 33024, platform: 66, subtype: 0
=> Found 6 unique DTB(s)

Generating master DTB... completed
Made DT image: /media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/dt.img
----- Making recovery image ------
usage: mkbootimg
       --kernel <filename>
       --ramdisk <filename>
       [ --second <2ndbootloader-filename> ]
       [ --cmdline <kernel-commandline> ]
       [ --board <boardname> ]
       [ --base <address> ]
       [ --pagesize <pagesize> ]
       -o|--output <filename>
make: *** [/media/nas/EXTRA/Ubuntu_Touch/out/target/product/falcon/recovery.img] Error 1
I hope you'll be luckier as me ...

Thanks you !

PS :
my roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <remove-project name="aosp/platform/hardware/qcom/audio" />
  <remove-project name="aosp/platform/hardware/qcom/display" />
  <remove-project name="aosp/platform/hardware/qcom/media" />
  <remove-project name="aosp/platform/hardware/qcom/keymaster" />

  <project name="razrqcom-dev-team/android_device_motorola_qcom-common" path="device/motorola/qcom-common" remote="github" revision="kitkat" />
  <project name="CyanogenMod/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" revision="cm-11.0" />
  <project name="razrqcom-dev-team/android_device_motorola_falcon" path="device/motorola/falcon" remote="github" revision="cm-11.0" />
  <project name="razrqcom-dev-team/android_device_motorola_msm8226-common" path="device/motorola/msm8226-common" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-11.0" />
  <project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_hardware_qcom_keymaster" path="hardware/qcom/keymaster" remote="github" revision="cm-11.0" />
</manifest>
EDIT :
I fix it by modifing the /device/motorola/msm8226-common/mkbootimg.mk like this :
Code:
LOCAL_PATH := $(call my-dir)

## Don't change anything under here. The variables are named MSM8226_whatever
## on purpose, to avoid conflicts with similarly named variables at other
## parts of the build environment

## Imported from the original makefile...
KERNEL_CONFIG := $(KERNEL_OUT)/.config
MSM8226_DTS_NAMES := msm8226

MSM8226_DTS_FILES = $(wildcard $(TOP)/$(TARGET_KERNEL_SOURCE)/arch/arm/boot/dts/msm8226-falcon*.dts)
MSM8226_DTS_FILE = $(lastword $(subst /, ,$(1)))
DTB_FILE = $(addprefix $(KERNEL_OUT)/arch/arm/boot/,$(patsubst %.dts,%.dtb,$(call MSM8226_DTS_FILE,$(1))))
ZIMG_FILE = $(addprefix $(KERNEL_OUT)/arch/arm/boot/,$(patsubst %.dts,%-zImage,$(call MSM8226_DTS_FILE,$(1))))
KERNEL_ZIMG = $(KERNEL_OUT)/arch/arm/boot/zImage
DTC = $(KERNEL_OUT)/scripts/dtc/dtc

define append-msm8226-dtb
mkdir -p $(KERNEL_OUT)/arch/arm/boot;\
$(foreach MSM8226_DTS_NAME, $(MSM8226_DTS_NAMES), \
   $(foreach d, $(MSM8226_DTS_FILES), \
      $(DTC) -p 1024 -O dtb -o $(call DTB_FILE,$(d)) $(d); \
      cat $(KERNEL_ZIMG) $(call DTB_FILE,$(d)) > $(call ZIMG_FILE,$(d));))
endef


## Build and run dtbtool
DTBTOOL := $(HOST_OUT_EXECUTABLES)/dtbToolCM$(HOST_EXECUTABLE_SUFFIX)
INSTALLED_DTIMAGE_TARGET := $(PRODUCT_OUT)/dt.img

$(INSTALLED_DTIMAGE_TARGET): $(DTBTOOL) $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr $(INSTALLED_KERNEL_TARGET)
	@echo -e ${CL_CYN}"Start DT image: $@"${CL_RST}
	$(call append-msm8226-dtb)
	$(call pretty,"Target dt image: $(INSTALLED_DTIMAGE_TARGET)")
	$(hide) $(DTBTOOL) -o $(INSTALLED_DTIMAGE_TARGET) -s $(BOARD_KERNEL_PAGESIZE) -p $(KERNEL_OUT)/scripts/dtc/ $(KERNEL_OUT)/arch/arm/boot/
	@echo -e ${CL_CYN}"Made DT image: $@"${CL_RST}


## Overload bootimg generation: Same as the original, + --dt arg
$(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) $(INSTALLED_DTIMAGE_TARGET)
	$(call pretty,"Target boot image: $@")
	#$(hide) $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_ARGS) $(BOARD_MKBOOTIMG_ARGS) --dt $(INSTALLED_DTIMAGE_TARGET) --output $@
	$(hide) $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_ARGS) $(BOARD_MKBOOTIMG_ARGS) --output $@
	$(hide) $(call assert-max-image-size,$@,$(BOARD_BOOTIMAGE_PARTITION_SIZE),raw)
	@echo -e ${CL_CYN}"Made boot image: $@"${CL_RST}

## Overload recoveryimg generation: Same as the original, + --dt arg
$(INSTALLED_RECOVERYIMAGE_TARGET): $(MKBOOTIMG) $(INSTALLED_DTIMAGE_TARGET) \
		$(recovery_ramdisk) \
		$(recovery_kernel)
	@echo -e ${CL_CYN}"----- Making recovery image ------"${CL_RST}
	#$(hide) $(MKBOOTIMG) $(INTERNAL_RECOVERYIMAGE_ARGS) $(BOARD_MKBOOTIMG_ARGS) --dt $(INSTALLED_DTIMAGE_TARGET) --output $@
	$(hide) $(MKBOOTIMG) $(INTERNAL_RECOVERYIMAGE_ARGS) $(BOARD_MKBOOTIMG_ARGS) --output $@
	$(hide) $(call assert-max-image-size,$@,$(BOARD_RECOVERYIMAGE_PARTITION_SIZE),raw)
	@echo -e ${CL_CYN}"Made recovery image: $@"${CL_RST}
I knew this fix before but I don't know if it will work...
Last edited by h2o64; 17th July 2014 at 02:47 PM. Reason: Translate french --> english
The Following 8 Users Say Thank You to h2o64 For This Useful Post: [ View ]
15th July 2014, 10:50 PM   |  #2  
K3VYNC's Avatar
Senior Member
Flag São João de Meriti
Thanks Meter: 149
 
632 posts
Join Date:Joined: Oct 2013
Hopefully we will see it working, I'm not a developer, so I can't tell you

Sent from my XT1033 using XDA Free mobile app
The Following User Says Thank You to K3VYNC For This Useful Post: [ View ]
16th July 2014, 11:37 AM   |  #3  
Giupy 99's Avatar
Senior Member
Flag Planet Giupyter
Thanks Meter: 147
 
190 posts
Join Date:Joined: Mar 2013
More
I'm still a complete noob at this, i couldn't even get the stock kernel compiling w/o modifications, but could you please translate in english these french output so i may take a look? Thanks in advance


Sent from me using my tablet using an app.
16th July 2014, 04:53 PM   |  #4  
Nandeh's Avatar
Senior Member
Flag VLC
Thanks Meter: 225
 
898 posts
Join Date:Joined: Apr 2010
Donate to Me
I see the output text in English...
16th July 2014, 05:37 PM   |  #5  
Giupy 99's Avatar
Senior Member
Flag Planet Giupyter
Thanks Meter: 147
 
190 posts
Join Date:Joined: Mar 2013
More
There are some lines in french :/


Sent from me using my tablet using an app.
16th July 2014, 06:05 PM   |  #6  
h2o64's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 656
 
628 posts
Join Date:Joined: Aug 2012
More
I'll translate x)

Sent from my Moto G using XDA Free mobile app
The Following User Says Thank You to h2o64 For This Useful Post: [ View ]
16th July 2014, 08:04 PM   |  #7  
Sandivisi's Avatar
Senior Member
Flag Cipanas, West Java
Thanks Meter: 90
 
265 posts
Join Date:Joined: Jun 2014
More
Stay tune

Sent from my Moto G using Cyanogenmod 11
16th July 2014, 09:32 PM   |  #8  
Member
Thanks Meter: 9
 
45 posts
Join Date:Joined: Dec 2013
I speak a bit of French
attention : écrasement des commandes pour la cible
warning (attention): crushing commands for target?!

anciennes commandes ignorées pour la cible
ignored commands

quittant le répertoire
quitting register (library)
The Following User Says Thank You to CSanches For This Useful Post: [ View ]
17th July 2014, 05:41 AM   |  #9  
h2o64's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 656
 
628 posts
Join Date:Joined: Aug 2012
More
I'll translate in 2 hours

Sent from my Moto G using XDA Free mobile app

EDIT : TRANSLATED
Last edited by h2o64; 17th July 2014 at 09:23 AM. Reason: UPDATE
The Following 4 Users Say Thank You to h2o64 For This Useful Post: [ View ]
18th July 2014, 10:39 AM   |  #10  
Senior Member
Thanks Meter: 123
 
790 posts
Join Date:Joined: Dec 2010
More
I'll be happy to test this when it'll be available!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Moto G Android Development by ThreadRank