LG-SD4XX / android_kernel_lge_cv1

Stock based kernel source for LG Aristo 2
Other
1 stars 1 forks source link

will not compile 64bit kernel #1

Open Duhjoker opened 3 years ago

Duhjoker commented 3 years ago

hi

i have been trying to compile a 64bit kernel with this source and there is a problem with several c files where it says that you upgraded some stuff. if i try to remove it i get more errors. can you possibly fix it

Travisholt92 commented 3 years ago

Which branch and which defconfig

Duhjoker commented 3 years ago

its the master branch for the lge cv1 and the 64bit defconfig.

https://github.com/LG-SD4XX/android_kernel_lge_cv1

i aploagize for that i thought i had put that in the first message. i dont have the source in front of me to give you the exact message but i can if i need to.

Also i have been trying to port to Ubuntu touch with lv517 and cv1 and both system images fail to be loaded by the lxc. both the 64bit kernel for lv517 and the arm kernel for cv1 work completely and ive booted native ubuntu from the sdcard but ubuntu touch will not work. any way to get some collaboration?

Travisholt92 commented 3 years ago

I have some time this weekend to help you out

Duhjoker commented 3 years ago

that would greatly appreciated. im on telegram @duhjokersinhell or you check out Ubports Porting https://t.me/ubports_porting

Duhjoker commented 3 years ago

i fixed the error with the qpnp_fg.c by replacing it with the same file from the lv517 but this error keeps coming up every time i try to compile the kernel in 64bit

CC drivers/usb/host/xhci-hub.o CC drivers/usb/gadget/function/u_uac1.o CC drivers/usb/gadget/function/f_uac2.o CC drivers/usb/gadget/android.o CC drivers/soc/qcom/lge/lge_bootloader_time_checker.o /tmp/cc1LagZI.s: Assembler messages: /tmp/cc1LagZI.s:1404: Error: unknown mnemonic mrc' --mrc p15,0,x1,c1,c0,0' /tmp/cc1LagZI.s:1414: Error: unknown mnemonic mrc' --mrc p15,0,x2,c2,c0,0' /tmp/cc1LagZI.s:1422: Error: unknown mnemonic mrc' --mrc p15,0,x3,c2,c0,1' /tmp/cc1LagZI.s:1430: Error: unknown mnemonic mrc' --mrc p15,0,x4,c2,c0,2' /media/ubuntu/be827602-b8d2-4c25-95d6-875f8748f422/Halium/kernel/lge/cv1/scripts/Makefile.build:257: recipe for target 'drivers/soc/qcom/lge/lge_handle_panic.o' failed make[6]: [drivers/soc/qcom/lge/lge_handle_panic.o] Error 1 make[6]: Waiting for unfinished jobs.... CC drivers/usb/storage/scsiglue.o /media/ubuntu/be827602-b8d2-4c25-95d6-875f8748f422/Halium/kernel/lge/cv1/scripts/Makefile.build:402: recipe for target 'drivers/soc/qcom/lge' failed make[5]: [drivers/soc/qcom/lge] Error 2 /media/ubuntu/be827602-b8d2-4c25-95d6-875f8748f422/Halium/kernel/lge/cv1/scripts/Makefile.build:402: recipe for target 'drivers/soc/qcom' failed make[4]: [drivers/soc/qcom] Error 2 /media/ubuntu/be827602-b8d2-4c25-95d6-875f8748f422/Halium/kernel/lge/cv1/scripts/Makefile.build:402: recipe for target 'drivers/soc' failed make[3]: [drivers/soc] Error 2 make[3]: Waiting for unfinished jobs.... CC drivers/usb/storage/protocol.o LD drivers/usb/phy/built-in.o CC drivers/usb/host/xhci-dbg.o CC drivers/staging/prima/CORE/HDD/src/wlan_hdd_scan.o CC drivers/video/fbdev/msm/../../msm/mdss/mdss_mdp_pp_debug.o CC drivers/usb/gadget/function/f_uvc.o CC drivers/usb/gadget/ci13xxx_msm.o CC drivers/usb/storage/transport.o CC drivers/usb/host/xhci-trace.o CC drivers/usb/gadget/u_lgeusb.o CC drivers/usb/gadget/function/uvc_queue.o CC drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.o