Hi,
I'm trying for weeks now to build cm 12.1 for the p725/p720.
I used https://github.com/dhiru1602/android_device_lge_u2-common and changed it for the p720.
Here is the result: https://github.com/lung1/android_device_lge_p720
Then I used the https://github.com/artas182x/lge-kernel-omap4 for kernel, aosp-5.0 branch. I added cx2 and cosmo support.
Here is the result: https://github.com/lung1/android_kernel_lge_p720
I tried to make bootimage, but I receave this error on witch I didn't find any documentation:
Thanks so much for your help!
I'm trying for weeks now to build cm 12.1 for the p725/p720.
I used https://github.com/dhiru1602/android_device_lge_u2-common and changed it for the p720.
Here is the result: https://github.com/lung1/android_device_lge_p720
Then I used the https://github.com/artas182x/lge-kernel-omap4 for kernel, aosp-5.0 branch. I added cx2 and cosmo support.
Here is the result: https://github.com/lung1/android_kernel_lge_p720
I tried to make bootimage, but I receave this error on witch I didn't find any documentation:
Code:
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cx2_su870_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
arch/arm/configs/cx2_su870_defconfig:2418:warning: unexpected data
arch/arm/configs/cx2_su870_defconfig:2419:warning: unexpected data
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
arch/arm/configs/cx2_su870_defconfig:2418:warning: unexpected data
arch/arm/configs/cx2_su870_defconfig:2419:warning: unexpected data
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-omap2/lge/lge-common.o
In file included from ../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:5:0,
from ../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19,
from ../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:54:
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:151:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:155:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:229:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:237:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:245:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:253:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:385:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:393:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:403:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:441:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:478:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:533:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:545:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:573:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:584:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:616:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:628:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:653:27: error: array type has incomplete element type
struct dsscomp_videomode modedb[]; /* display supported timings */
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:654:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:666:27: error: field 'mode' has incomplete type
struct dsscomp_videomode mode; /* video timings */
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:667:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:693:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:698:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:703:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:744:2: warning: declaration does not declare anything [enabled by default]
};
^
In file included from ../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19:0,
from ../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:54:
../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:9:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:12:1: error: expected specifier-qualifier-list before 'typedef'
typedef struct dsscomp_data *dsscomp_t; /* handle */
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:219:50: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_clk1.gpio_119", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:220:34: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:221:28: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:224:50: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_din1.gpio_120", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:225:34: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:226:28: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:231:49: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_din3.gpio_122", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:232:29: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:233:23: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:236:50: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_din2.gpio_121", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:237:34: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:238:28: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
make[4]: *** [arch/arm/mach-omap2/lge/lge-common.o] Error 1
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:31 (mm:ss)) ####
Thanks so much for your help!