Hi Guys,
On the advice of Olimex we are building a new kernel (3.4.90) due to some A20 SOM instability problems with our previous kernel (3.4.103).
Managed to get everything working and the board now seems stable except for the driver for the touchscreen.
I have tried the fix that was required to get it working with 3.4.103 (removed IRQF_TRIGGER_FALLING from ft5x_ts.c) but I still get the following output when the touchscreen module is loaded;
[ 840.052744] input: ft5x_ts as /devices/platform/sunxi-i2c.2/i2c-2/2-0038/input/input2
[ 840.066724] ctp_set_irq_mode: config gpio to int mode.
[ 840.077963] ctp_set_irq_mode, 225: gpio_int_info, port = 8, port_num = 21.
[ 840.087656] INTERRUPT CONFIG
[ 840.096787] setting trigger mode 2 for irq 60 failed (gic_set_type+0x0/0xd8)
[ 840.109191] ft5x_ts 2-0038: ft5x_ts_probe: request irq failed
When I look at the interrupts I get;
CPU0 CPU1
29: 70730 54570 GIC arch_timer
30: 0 0 GIC arch_timer
32: 0 0 GIC axp_mfd
33: 266 0 GIC serial
39: 10284 0 GIC sunxi-i2c.0
40: 2 0 GIC sunxi-i2c.1
41: 2 0 GIC sunxi-i2c.2
49: 3344 0 GIC serial
52: 7812 0 GIC serial
54: 0 0 GIC timer0
55: 12 0 GIC aw_clock_event
56: 0 0 GIC sunxi-rtc alarm
59: 0 0 GIC dma_irq
60: 1 0 GIC
63: 28294 0 GIC sun4ikbd
64: 63868 0 GIC sunxi-mmc
67: 0 0 GIC sunxi-mmc
70: 1 0 GIC sw_usb_udc
71: 19247 0 GIC ehci_hcd:usb1
72: 0 0 GIC ehci_hcd:usb3
76: 106616 0 GIC sunxi lcd0
77: 107301 0 GIC sunxi lcd1
78: 0 0 GIC g2d
79: 53284 0 GIC sunxi scaler0
80: 53625 0 GIC sunxi scaler1
85: 0 0 GIC cedar_dev
88: 0 0 GIC sw_ahci
92: 0 0 GIC ace_dev
96: 0 0 GIC ohci_hcd:usb2
97: 0 0 GIC ohci_hcd:usb4
101: 17 0 GIC mali_gp_irq_handlers
102: 0 0 GIC mali_mmu_irq_handlers
103: 17 0 GIC mali_pp_irq_handlers
104: 0 0 GIC mali_mmu_irq_handlers
106: 0 0 GIC mali_pp_irq_handlers
107: 0 0 GIC mali_mmu_irq_handlers
IPI0: 0 0 Timer broadcast interrupts
IPI1: 6842 12528 Rescheduling interrupts
IPI2: 0 0 Function call interrupts
IPI3: 24 34 Single function call interrupts
IPI4: 0 0 CPU stop interrupts
IPI5: 0 0 CPU backtrace
As you can see something funny going on with IRQ60.
I've even tried insmod'ing the old .ko from 3.4.103 and I get the same result so I think something else may be wrong.
Anyone got any ideas?
Thanks,
Anthony
Hi Guys,
Never mind sorted it.
Something wrong with git, modules_install isn't copying my .ko file from the correct location.
Copied it out of the source directory and now all working as it should.
Anthony