MrArtemSid / beryllium_4.14

Use staging10 branch if u wanna try to boot 4.14 in rom. Staging12 is WIP, but is preferred to make it stable
Other
4 stars 2 forks source link

Touchscreen prevents booting #1

Closed MrArtemSid closed 3 years ago

MrArtemSid commented 3 years ago

console-ramoops.txt

[ 3.643203] i2c /dev entries driver [ 3.643488] i2c_geni 88c000.i2c: Bus frequency not specified, default to 400KHz. [ 3.644478] i2c_geni 894000.i2c: Bus frequency not specified, default to 400KHz. [ 3.644658] nq-nci 1-0028: nqx_probe: probing nqxx failed, check hardware [ 3.644673] nq-nci: probe of 1-0028 failed with error -22 [ 3.645198] i2c_geni a98000.i2c: Bus frequency not specified, default to 400KHz. [ 3.645885] [NVT-ts] nvt_ts_probe 1526: start [ 3.645901] [NVT-ts] nvt_parse_dt 776: novatek,irq-gpio=31 [ 3.645917] [NVT-ts] nvt_parse_dt 820: tp vendor: 70 [ 3.645922] [NVT-ts] nvt_parse_dt 830: tp hw version: 1 [ 3.645933] [NVT-ts] nvt_parse_dt 838: fw_name: novatek_nt36672_e10_hw01.fw [ 3.645947] [NVT-ts] nvt_parse_dt 845: limit_name: (null) [ 3.645958] [NVT-ts] nvt_parse_dt 820: tp vendor: 70 [ 3.645968] [NVT-ts] nvt_parse_dt 830: tp hw version: 2 [ 3.645980] [NVT-ts] nvt_parse_dt 838: fw_name: novatek_nt36672_e10_hw02.fw [ 3.645990] [NVT-ts] nvt_parse_dt 845: limit_name: (null) [ 3.657221] [NVT-ts] nvt_bootloader_reset 257: start [ 3.700155] [NVT-ts] nvt_bootloader_reset 267: end [ 3.727915] Unable to handle kernel paging request at virtual address ffffffc00805b700 [ 3.727924] Mem abort info: [ 3.727935] Exception class = DABT (current EL), IL = 32 bits [ 3.727943] SET = 0, FnV = 0 [ 3.727949] EA = 0, S1PTW = 0 [ 3.727954] FSC = 5 [ 3.727962] Data abort info: [ 3.727970] ISV = 0, ISS = 0x00000145 [ 3.727978] CM = 1, WnR = 1 [ 3.727988] swapper pgtable: 4k pages, 39-bit VAs, pgd = ffffff9dd7a79000 [ 3.728001] [ffffffc00805b700] pgd=0000000000000000, pud=0000000000000000 [ 3.728025] Internal error: Oops: 96000145 [#1] PREEMPT SMP [ 3.728039] Modules linked in: [ 3.728052] Process swapper/0 (pid: 1, stack limit = 0xffffff8008058000) [ 3.728070] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G W 4.14.171-perf-g0c7f07414fe3-dirty #3 [ 3.728083] Hardware name: Xiaomi Technologies, Inc. Beryllium MP v2.1 (DT) [ 3.728095] task: ffffffec338d8000 task.stack: ffffff8008058000 [ 3.728124] pc : clean_dcache_area_poc+0x20/0x38 [ 3.728141] lr : swiotlb_map_page+0x6c/0x90 [ 3.728151] sp : ffffff800805b480 pstate : 80800045 [ 3.728159] x29: ffffff800805b4b0 x28: 0000000000000002 [ 3.728171] x27: ffffffec32fec810 x26: 0000000000000001 [ 3.728184] x25: 0000000000000001 x24: 0000000000000000 [ 3.728196] x23: 0000000000000000 x22: ffffffec32099410 [ 3.728206] x21: ffffffd5c805b708 x20: 0000000000000001 [ 3.728215] x19: 0000000000000001 x18: 0000000000000002 [ 3.728226] x17: 00000000000003e7 x16: 000000000000e188 [ 3.728237] x15: 0000000000000000 x14: ffffffec33954b00 [ 3.728247] x13: ffffffec29245ca8 x12: 0000000000000dc8 [ 3.728258] x11: 0000104000000000 x10: ffffff9dd760e000 [ 3.728268] x9 : ffffffd5c0000000 x8 : 000000000805b708 [ 3.728279] x7 : 0000000000000000 x6 : ffffff8009455090 [ 3.728289] x5 : 0000000000000000 x4 : 0000000000000001 [ 3.728299] x3 : 000000000000003f x2 : 0000000000000040 [ 3.728310] x1 : ffffffc00805b709 x0 : ffffffc00805b700 [ 3.728325] [ 3.728325] PC: 0xffffff9dd56a5b40: [ 3.728336] 5b40 d50b7e20 14000002 d5087620 8b020000 eb01001f 54ffffa3 d5033f9f d65f03c0 [ 3.728363] 5b60 d53b0023 d503201f d3504c63 d2800082 9ac32042 8b010001 d1000443 8a230000 [ 3.728383] 5b80 d50b7a20 8b020000 eb01001f 54ffffa3 d5033f9f d65f03c0 17fffff2 d53b0023 [ 3.728401] 5ba0 d503201f d3504c63 d2800082 9ac32042 8b010001 d1000443 8a230000 d50b7c20 [ 3.728421] [ 3.728421] LR: 0xffffff9dd56a3124: [ 3.728430] 3124 37700277 37780217 3949a2c8 7100011f 1a9f17e8 372801d7 340001a8 f94116c8 [ 3.728447] 3144 9000b549 f9476929 aa1403e1 8b0832a8 2a1303e2 cb090108 b25a6500 94000aab [ 3.728466] 3164 14000003 320003e8 362ffe97 aa1503e0 a9437bfd a9424ff4 a94157f6 f84407f7 [ 3.728484] 3184 d65f03c0 f81c0ff7 a90157f6 a9024ff4 a9037bfd 9100c3fd aa0403f3 2a0303f4 [ 3.728504] [ 3.728504] SP: 0xffffff800805b440: [ 3.728513] b440 d56a5b80 ffffff9d 80800045 00000000 32099410 ffffffec d680a000 ffffff9d [ 3.728531] b460 ffffffff ffffffff 00000001 00000000 0805b4b0 ffffff80 d56a5b80 ffffff9d [ 3.728548] b480 29245880 ffffffec 29255080 ffffffec 29245e28 ffffffec d680a000 ffffff9d [ 3.728566] b4a0 32099410 ffffffec 29245de8 ffffffec 0805b4e0 ffffff80 d61ec85c ffffff9d [ 3.728584] [ 3.728593] Call trace: [ 3.728607] clean_dcache_area_poc+0x20/0x38 [ 3.728625] geni_se_iommu_map_buf+0x88/0xdc [ 3.728644] geni_i2c_xfer+0x698/0xcb4 [ 3.728659] i2c_transfer+0x4c8/0x6b4 [ 3.728665] i2c_transfer+0x7c/0xb8 [ 3.728677] CTP_I2C_READ+0x8c/0x260 [ 3.728684] nvt_ts_probe+0x7a0/0x123c [ 3.728690] i2c_device_probe+0x23c/0x288 [ 3.728709] driver_probe_device+0x3f4/0x434 [ 3.728720] __device_attach_driver+0xf8/0x110 [ 3.728731] bus_for_each_drv+0x7c/0xc4 [ 3.728738] device_attach+0xa8/0x134 [ 3.728745] device_initial_probe+0x10/0x18 [ 3.728753] bus_probe_device+0x30/0x98 [ 3.728763] device_add+0x6dc/0x870 [ 3.728772] device_register+0x1c/0x28 [ 3.728781] i2c_new_device+0x304/0x324 [ 3.728792] of_i2c_register_devices+0xec/0x258 [ 3.728802] i2c_register_adapter+0x2a0/0x384 [ 3.728808] i2c_add_adapter+0xac/0xfc [ 3.728815] geni_i2c_probe+0x570/0x584 [ 3.728827] platform_drv_probe+0x80/0xb8 [ 3.728836] driver_probe_device+0x3f4/0x434 [ 3.728845] driver_attach+0xc0/0xec [ 3.728855] bus_for_each_dev+0x80/0xc8 [ 3.728864] driver_attach+0x20/0x28 [ 3.728873] bus_add_driver+0x11c/0x1e4 [ 3.728880] driver_register+0xa4/0xf0 [ 3.728889] __platform_driver_register+0x40/0x48 [ 3.728908] geni_i2c_driver_init+0x18/0x20 [ 3.728921] do_one_initcall+0xfc/0x1ac [ 3.728939] kernel_init_freeable+0x198/0x22c [ 3.728957] kernel_init+0x10/0x208 [ 3.728966] ret_from_fork+0x10/0x18 [ 3.728981] Code: 9ac32042 8b010001 d1000443 8a230000 (d50b7a20) [ 3.728995] ---[ end trace eb402750c8c0f60a ]--- [ 3.735583] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 3.735583] [ 3.735599] SMP: stopping secondary CPUs [ 3.735662] ipa ipa3_active_clients_panic_notifier:262 [ 3.735662] ---- Active Clients Table ---- [ 3.735662] [ 3.735662] Total active clients count: 0 [ 3.735662] [ 3.735681] Kernel Offset: 0x1dcd600000 from 0xffffff8008000000 [ 3.735692] CPU features: 0x00802218 [ 3.735699] Memory Limit: none [ 3.742316] Rebooting in 1 seconds.. [ 4.742389] SMP: stopping secondary CPUs [ 4.742423] Going down for restart now [ 4.742855] Forcing a warm reset of the system

MrArtemSid commented 3 years ago

temporary fixed by nt36xxx: use buffer from GFP_DMA for i2c transfer