samsung-chagallwifi: fix boot and add wifi pkg
With this the device boots successfully every time.
As with all exynos devices (as far as I know), FIMC IS has to be disabled. However, simply disabling FIMC IS does not work due to compilation errors and a null pointer dereference. 01-fix-FIMC-IS-disabling.patch takes care of this. After a lot of printk debugging and various attempts I solved the main issue by moving an ifdef guard.
Some additional things had to be disabled to make the kernel compile after FIMC IS had been disabled, specifically:
- CONFIG_CAMERA_EEPROM
- CONFIG_VIDEO_EXYNOS_MIPI_CSIS
- CONFIG_LEDS_MAX77803
Apart from that we also have:
02-netfilter-symbols.patch, which fixes another compilation error.
03-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch (similar as for other devices) which prevents host mac address being set to 00:00:00:00:00.
Kernel sources have been changed to the lineage-16.0 branch in the exynos5420 repo, as that is where development happens at the moment.
I have also added a firmware package with wifi blobs (which should work for some other tablet variants as well).
Next thing I want to fix is the display, would be fun to actually see something on the screen!
Ping @ExultantMonkey, please give the package a try if your tablet is alive :)