Issue #2226
openRemove remaining nonfree firmwares in kernel_samsung_smdk4412 in Replicant 6
0%
Updated by Denis 'GNUtoo' Carikli over 3 years ago
The kernel COPYING states the kernel source code is GPLv2.
However since there are some firmwares without corresponding source code in drivers/input/touchscreen it's better to remove them.
Updated by Anonymous over 3 years ago
Here's a list of all files in kernel/smdk4412/drivers/input/touchscreen that contain big arrays of bytes:
465_SMD_V66.h
477_SMD_V02.h
477_SMD_V50.h
G2M_12x09.c
GC_BOOT.h
GFD_26x07.c
GFS_03x14.c
M0_D2_C1_VA8.h
M0_D2_C1_VAB.h
M0_D2_C1_VAC.h
M0_D2_C1_VAD.h
M0_D2_C1_VB1.h
M0_D2_C1_VB2.h
M0_D2_C1_VB4.h
M0_D2_C1_VB5.h
MCH_SW889_R01_V01_bin.c
MCH_SW999_R03_V17_bin.c
MCH_SW999_R03_V18_bin.c
MMH_SM110S_R90_V30_bin.c
MMH_SM110S_R93_V38_bin.c
MMS100_ISC_Initial.h
MTH_SURFACE_TOUCH_0x58_bin.c
PROXIMA_OCTA_465_VC56.hex
PROXIMA_OCTA_465_VC56_bin.c
Surface_touch_57_04_11_bin.c
mxt1386_fw_ver10.h
mxt224s_V1.1.AA_.h
mxt224s_V1.1.C1_.h
wacom/wacom_i2c_firm_P6_REV02.h
wacom/wacom_i2c_firm_P6_REV03.h
wacom/wacom_i2c_firm_g9.h
wacom/wacom_i2c_firm_p4.h
zinitix_touch_bt4x3_firmware.h
Simply removing these files seems to not break anything (i compiled the kernel for all smdk4412 devices that replicant supports). They are included in other .c and .h files in the touchscreen directory but those aren't used.
Should I remove those files as well, even though they're not binary blobs?
For example mms152_isc_download.c isn't used anywhere from what I can tell.
Updated by Denis 'GNUtoo' Carikli over 3 years ago
Belgin Stirbu wrote in #note-2:
Here's a list of all files in kernel/smdk4412/drivers/input/touchscreen that contain big arrays of bytes:
465_SMD_V66.h
477_SMD_V02.h
477_SMD_V50.h
G2M_12x09.c
GC_BOOT.h
GFD_26x07.c
GFS_03x14.c
M0_D2_C1_VA8.h
M0_D2_C1_VAB.h
M0_D2_C1_VAC.h
M0_D2_C1_VAD.h
M0_D2_C1_VB1.h
M0_D2_C1_VB2.h
M0_D2_C1_VB4.h
M0_D2_C1_VB5.h
MCH_SW889_R01_V01_bin.c
MCH_SW999_R03_V17_bin.c
MCH_SW999_R03_V18_bin.c
MMH_SM110S_R90_V30_bin.c
MMH_SM110S_R93_V38_bin.c
MMS100_ISC_Initial.h
MTH_SURFACE_TOUCH_0x58_bin.c
PROXIMA_OCTA_465_VC56.hex
PROXIMA_OCTA_465_VC56_bin.c
Surface_touch_57_04_11_bin.c
mxt1386_fw_ver10.h
mxt224s_V1.1.AA_.h
mxt224s_V1.1.C1_.h
wacom/wacom_i2c_firm_P6_REV02.h
wacom/wacom_i2c_firm_P6_REV03.h
wacom/wacom_i2c_firm_g9.h
wacom/wacom_i2c_firm_p4.h
zinitix_touch_bt4x3_firmware.hSimply removing these files seems to not break anything (i compiled the kernel for all smdk4412 devices that replicant supports). They are included in other .c and .h files in the touchscreen directory but those aren't used.
Should I remove those files as well, even though they're not binary blobs?
For example mms152_isc_download.c isn't used anywhere from what I can tell.
Thanks.
By the way, are you able to send the patch for that on the mailing list? Or do I need to send it myself (I run my own mail server so I've no file size limits)?
Denis.
Belgin Stirbu wrote in #note-2:
Here's a list of all files in kernel/smdk4412/drivers/input/touchscreen that contain big arrays of bytes:
465_SMD_V66.h
477_SMD_V02.h
477_SMD_V50.h
G2M_12x09.c
GC_BOOT.h
GFD_26x07.c
GFS_03x14.c
M0_D2_C1_VA8.h
M0_D2_C1_VAB.h
M0_D2_C1_VAC.h
M0_D2_C1_VAD.h
M0_D2_C1_VB1.h
M0_D2_C1_VB2.h
M0_D2_C1_VB4.h
M0_D2_C1_VB5.h
MCH_SW889_R01_V01_bin.c
MCH_SW999_R03_V17_bin.c
MCH_SW999_R03_V18_bin.c
MMH_SM110S_R90_V30_bin.c
MMH_SM110S_R93_V38_bin.c
MMS100_ISC_Initial.h
MTH_SURFACE_TOUCH_0x58_bin.c
PROXIMA_OCTA_465_VC56.hex
PROXIMA_OCTA_465_VC56_bin.c
Surface_touch_57_04_11_bin.c
mxt1386_fw_ver10.h
mxt224s_V1.1.AA_.h
mxt224s_V1.1.C1_.h
wacom/wacom_i2c_firm_P6_REV02.h
wacom/wacom_i2c_firm_P6_REV03.h
wacom/wacom_i2c_firm_g9.h
wacom/wacom_i2c_firm_p4.h
zinitix_touch_bt4x3_firmware.hSimply removing these files seems to not break anything (i compiled the kernel for all smdk4412 devices that replicant supports). They are included in other .c and .h files in the touchscreen directory but those aren't used.
Should I remove those files as well, even though they're not binary blobs?
For example mms152_isc_download.c isn't used anywhere from what I can tell.
Updated by Denis 'GNUtoo' Carikli over 3 years ago
- Target version changed from Replicant 6.0 to Replicant 6.0 0004
As there is a patch somewhere I'm adding it for Replicant 6.0 0004.
Updated by Denis 'GNUtoo' Carikli over 3 years ago
Should I remove those files as well, even though they're not binary blobs?
Feel free to removed them in doubt. As they are not used it should be ok.