First attempt - For posterity's sake
Below these lines is part of my first attempt at doing this. In fact most of it was the 'last' part of the attempt. It has been retained mainly for reference ... and reminders -and- things that I may still need to do in my latest attempt.
March 18th, 2015 Would have really helped IF I would have placed a 'hint' as to what the following list of files meant!! I believe they were files that I had changed in my efforts to get the 3.4 kernel into CM11... They were -and- I put them back to their original state IF the only change was one of my 'stupid' comment tries. Course they weren't to stupid. They did help a little bit in figuring this out. Unfortunately, they caused a lot of problems. Leaving this for now so I can check later IF any of these cause problems in the future.
. ./frameworks/compile/libbcc/.git ./frameworks/compile/libbcc/.git/index ./kernel/htc ./kernel/htc/vigor-3.4 ./build.log ./out ./external/clang/tools/driver ./external/clang/tools/driver/Makefile ./external/busybox ./build.err ./device/htc/msm8660-common ./device/htc/msm8660-common/BoardConfigCommon.mk ./device/htc/vigor ./device/htc/vigor/BoardConfig.mk ./build ./build/core ./build/core/.directory ./build/core/tasks ./build/core/combo ./build/envsetup.sh ./hardware/qcom/display-legacy ./hardware/qcom/display-legacy/libgralloc ./hardware/broadcom/wlan/bcmdhd/config ./ndk/build/tools ./ndk/build/tools/dev-defaults.sh ./TRmake.sh
March 18th, 2015 Days ago I compiled CM11 with my copy of the 3.4 kernel
installed. Went quite a ways. Failed in the memory allocations. PMEM vs ION I believe. Failure and 'my' trace:
- ./hardware/qcom/display-legacy/libgralloc/alloc_controller.cpp
This is using USE_PMEM_ADSF to determine memory usages. ./hardware/qcom/display-legacy/libgralloc/Android.mk ifeq ($(BOARD_USES_PMEM_ADSP),true) LOCAL_SRC_FILES += pmemalloc.cpp LOCAL_CFLAGS += -DUSE_PMEM_ADSP endif
- BOARD_USES_PMEM_ADSP is set to true in BoardConfigCommon.mk In fact:
# Camera BOARD_USES_QCOM_LEGACY_CAM_PARAMS := true BOARD_USES_PMEM_CAMERA := true BOARD_USES_PMEM_ADSP := true COMMON_GLOBAL_CFLAGS += -DICS_CAMERA_BLOB -DNO_UPDATE_PREVIEW BOARD_HAVE_HTC_FFC := true BOARD_NEEDS_MEMORYHEAPPMEM := true TARGET_DISABLE_ARM_PIE := true
- used:
ctaylor@Tipper-i7:~/Android/cm11.0-rezound-3.4/hardware/qcom/display-legacy
> { time mm vigor 2>build.err ; } 2>&1 | tee build.log
-but- it didn't work. So, we tried:
ctaylor@Tipper-i7:~/Android/cm11.0-rezound-3.4/hardware/qcom/display-legacy
> { time mma vigor 2>build.err ; } 2>&1 | tee build.log
-and- got better results.host Executable: acp (/home/ctaylor/Android/cm11.0-rezound-3.4/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp) Install: /home/ctaylor/Android/cm11.0-rezound-3.4/out/host/linux-x86/bin/acp Install: /home/ctaylor/Android/cm11.0-rezound-3.4/out/host/linux-x86/bin/validatekeymaps frameworks/base/data/keyboards/Android.mk:31: recipe for target '/home/ctaylor/Android/cm11.0-rezound-3.4/out/target/common/obj/ETC/validate_framework_keymaps_intermediates/stamp' failed make: Leaving directory '/home/ctaylor/Android/cm11.0-rezound-3.4'