Project

General

Profile

Issue #2226

Remove remaining nonfree firmwares in kernel_samsung_smdk4412 in Replicant 6

Added by Denis 'GNUtoo' Carikli 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Freedom
Target version:
Start date:
02/25/2021
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Unknown
Grant:
Type of work:
#1

Updated by Denis 'GNUtoo' Carikli 9 months 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.

#2

Updated by Belgin Stirbu 9 months 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.

#3

Updated by Denis 'GNUtoo' Carikli 9 months 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.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.

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.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.

#4

Updated by Denis 'GNUtoo' Carikli 9 months 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.

#5

Updated by Denis 'GNUtoo' Carikli 9 months 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.

Also available in: Atom PDF