Recompile a kernel including a firmware
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
How can i recompile the kernel? I' m trying this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel.
I' m using lubuntu 18.04 on a tablet, i want a custom kernel to enable the touchcreen.
Folowing this section took from https://github.com/onitake/gsl-firmware#silead_tsi made a custom silead_dmi.c
(that is located in drivers/platform/x86/silead_dmi.c
) and that refers to the silead_ts.fw
firmware that i found here https://github.com/onitake/gsl-firmware/tree/master/firmware/trekstor/surftab7new (FYI Mediacom W700 is equivalent at SurfTab wintron 7.0 ST70416-6).
I used apt-get source linux-headers-$(uname -r)
and got the linux-4.15
folder of 800 MB. That has the path drivers/platform/x86/silead_dmi.c
in which i made the drivers/platform/x86/silead_dmi.c
file.
Following the guide i used apt-get source linux-image-$(uname -r)
and got the linux-signed-4.15.0
folder of 118 kB.
Now using fakeroot debian/rules editconfigs
i get an error:
dh editconfigs
dh: Unknown sequence editconfigs (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
debian/rules:35: recipe for target 'editconfigs' failed
make: *** [editconfigs] Error 2
How can i fix this error and recompile the kernel?
And the folder obtained from apt-get source linux-headers-$(uname -r)
which has the path drivers/platform/x86/silead_dmi.c
?
And the firmware?
https://askubuntu.com/questions/1067640/enable-the-touchscreen-of-a-mediacom-winpad-w700
If someone want more info can check there.
linux-kernel compiling firmware touch-screen tablet
add a comment |Â
up vote
-1
down vote
favorite
How can i recompile the kernel? I' m trying this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel.
I' m using lubuntu 18.04 on a tablet, i want a custom kernel to enable the touchcreen.
Folowing this section took from https://github.com/onitake/gsl-firmware#silead_tsi made a custom silead_dmi.c
(that is located in drivers/platform/x86/silead_dmi.c
) and that refers to the silead_ts.fw
firmware that i found here https://github.com/onitake/gsl-firmware/tree/master/firmware/trekstor/surftab7new (FYI Mediacom W700 is equivalent at SurfTab wintron 7.0 ST70416-6).
I used apt-get source linux-headers-$(uname -r)
and got the linux-4.15
folder of 800 MB. That has the path drivers/platform/x86/silead_dmi.c
in which i made the drivers/platform/x86/silead_dmi.c
file.
Following the guide i used apt-get source linux-image-$(uname -r)
and got the linux-signed-4.15.0
folder of 118 kB.
Now using fakeroot debian/rules editconfigs
i get an error:
dh editconfigs
dh: Unknown sequence editconfigs (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
debian/rules:35: recipe for target 'editconfigs' failed
make: *** [editconfigs] Error 2
How can i fix this error and recompile the kernel?
And the folder obtained from apt-get source linux-headers-$(uname -r)
which has the path drivers/platform/x86/silead_dmi.c
?
And the firmware?
https://askubuntu.com/questions/1067640/enable-the-touchscreen-of-a-mediacom-winpad-w700
If someone want more info can check there.
linux-kernel compiling firmware touch-screen tablet
Fill a bugreport, or use the more conventionalmake menuconfig
andmake deb-pkg
.
â Ipor Sircer
Sep 3 at 12:56
1
Of you are modifying sources, you are on your own, please do not fill frivolous bug reports
â Rui F Ribeiro
Sep 4 at 5:45
@RuiFRibeiro if i fill a request for a new software? Include tablet touchscrenn support. So the developers can do it. Usingmake deb-pkg
i can transform the firmware into a installable package?
â Scorpion
Sep 4 at 7:40
@IporSircer how can i usemake menuconfig
and makedeb-pkg
?
â Scorpion
Sep 4 at 10:38
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
How can i recompile the kernel? I' m trying this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel.
I' m using lubuntu 18.04 on a tablet, i want a custom kernel to enable the touchcreen.
Folowing this section took from https://github.com/onitake/gsl-firmware#silead_tsi made a custom silead_dmi.c
(that is located in drivers/platform/x86/silead_dmi.c
) and that refers to the silead_ts.fw
firmware that i found here https://github.com/onitake/gsl-firmware/tree/master/firmware/trekstor/surftab7new (FYI Mediacom W700 is equivalent at SurfTab wintron 7.0 ST70416-6).
I used apt-get source linux-headers-$(uname -r)
and got the linux-4.15
folder of 800 MB. That has the path drivers/platform/x86/silead_dmi.c
in which i made the drivers/platform/x86/silead_dmi.c
file.
Following the guide i used apt-get source linux-image-$(uname -r)
and got the linux-signed-4.15.0
folder of 118 kB.
Now using fakeroot debian/rules editconfigs
i get an error:
dh editconfigs
dh: Unknown sequence editconfigs (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
debian/rules:35: recipe for target 'editconfigs' failed
make: *** [editconfigs] Error 2
How can i fix this error and recompile the kernel?
And the folder obtained from apt-get source linux-headers-$(uname -r)
which has the path drivers/platform/x86/silead_dmi.c
?
And the firmware?
https://askubuntu.com/questions/1067640/enable-the-touchscreen-of-a-mediacom-winpad-w700
If someone want more info can check there.
linux-kernel compiling firmware touch-screen tablet
How can i recompile the kernel? I' m trying this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel.
I' m using lubuntu 18.04 on a tablet, i want a custom kernel to enable the touchcreen.
Folowing this section took from https://github.com/onitake/gsl-firmware#silead_tsi made a custom silead_dmi.c
(that is located in drivers/platform/x86/silead_dmi.c
) and that refers to the silead_ts.fw
firmware that i found here https://github.com/onitake/gsl-firmware/tree/master/firmware/trekstor/surftab7new (FYI Mediacom W700 is equivalent at SurfTab wintron 7.0 ST70416-6).
I used apt-get source linux-headers-$(uname -r)
and got the linux-4.15
folder of 800 MB. That has the path drivers/platform/x86/silead_dmi.c
in which i made the drivers/platform/x86/silead_dmi.c
file.
Following the guide i used apt-get source linux-image-$(uname -r)
and got the linux-signed-4.15.0
folder of 118 kB.
Now using fakeroot debian/rules editconfigs
i get an error:
dh editconfigs
dh: Unknown sequence editconfigs (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
debian/rules:35: recipe for target 'editconfigs' failed
make: *** [editconfigs] Error 2
How can i fix this error and recompile the kernel?
And the folder obtained from apt-get source linux-headers-$(uname -r)
which has the path drivers/platform/x86/silead_dmi.c
?
And the firmware?
https://askubuntu.com/questions/1067640/enable-the-touchscreen-of-a-mediacom-winpad-w700
If someone want more info can check there.
linux-kernel compiling firmware touch-screen tablet
linux-kernel compiling firmware touch-screen tablet
edited Sep 6 at 9:39
asked Sep 3 at 12:44
Scorpion
543
543
Fill a bugreport, or use the more conventionalmake menuconfig
andmake deb-pkg
.
â Ipor Sircer
Sep 3 at 12:56
1
Of you are modifying sources, you are on your own, please do not fill frivolous bug reports
â Rui F Ribeiro
Sep 4 at 5:45
@RuiFRibeiro if i fill a request for a new software? Include tablet touchscrenn support. So the developers can do it. Usingmake deb-pkg
i can transform the firmware into a installable package?
â Scorpion
Sep 4 at 7:40
@IporSircer how can i usemake menuconfig
and makedeb-pkg
?
â Scorpion
Sep 4 at 10:38
add a comment |Â
Fill a bugreport, or use the more conventionalmake menuconfig
andmake deb-pkg
.
â Ipor Sircer
Sep 3 at 12:56
1
Of you are modifying sources, you are on your own, please do not fill frivolous bug reports
â Rui F Ribeiro
Sep 4 at 5:45
@RuiFRibeiro if i fill a request for a new software? Include tablet touchscrenn support. So the developers can do it. Usingmake deb-pkg
i can transform the firmware into a installable package?
â Scorpion
Sep 4 at 7:40
@IporSircer how can i usemake menuconfig
and makedeb-pkg
?
â Scorpion
Sep 4 at 10:38
Fill a bugreport, or use the more conventional
make menuconfig
and make deb-pkg
.â Ipor Sircer
Sep 3 at 12:56
Fill a bugreport, or use the more conventional
make menuconfig
and make deb-pkg
.â Ipor Sircer
Sep 3 at 12:56
1
1
Of you are modifying sources, you are on your own, please do not fill frivolous bug reports
â Rui F Ribeiro
Sep 4 at 5:45
Of you are modifying sources, you are on your own, please do not fill frivolous bug reports
â Rui F Ribeiro
Sep 4 at 5:45
@RuiFRibeiro if i fill a request for a new software? Include tablet touchscrenn support. So the developers can do it. Using
make deb-pkg
i can transform the firmware into a installable package?â Scorpion
Sep 4 at 7:40
@RuiFRibeiro if i fill a request for a new software? Include tablet touchscrenn support. So the developers can do it. Using
make deb-pkg
i can transform the firmware into a installable package?â Scorpion
Sep 4 at 7:40
@IporSircer how can i use
make menuconfig
and make deb-pkg
?â Scorpion
Sep 4 at 10:38
@IporSircer how can i use
make menuconfig
and make deb-pkg
?â Scorpion
Sep 4 at 10:38
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
The silead_ts.fw
is for this deprecated project https://github.com/onitake/gslx680-acpi.
You should use at least the https://github.com/onitake/gsl-firmware/blob/master/firmware/trekstor/surftab7new/firmware.fw, fimrware only extracted and not modified for the old project.
But you must use this https://github.com/onitake/gsl-firmware/blob/master/firmware/linux/silead/gsl1686-surftab-wintron70-st70416-6.fw ,put the file in /lib/firmware/silead
(create the folder silead
). Also made a copy with the name mssl1680.fw
(backup firmware).
Now follow this guide for recompile the kernel https://debian-handbook.info/browse/squeeze/sect.kernel-compilation.html.
Use apt-cache search ^linux-source
to find the source for the kernel (as the guide explains).
In the silead_dmi.c
file add:
static const struct property_entry mediacom_w700_props =
PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
PROPERTY_ENTRY_STRING("firmware-name",
"gsl1686-surftab-wintron70-st70416-6.fw"),
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
PROPERTY_ENTRY_BOOL("silead,home-button"),
;
And most important in the DMI_MATCH add:
/* Mediacom WinPad 7.0 W700 */
.driver_data = (void *)&surftab_wintron70_st70416_6_data,
.matches =
DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
,
,
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
The silead_ts.fw
is for this deprecated project https://github.com/onitake/gslx680-acpi.
You should use at least the https://github.com/onitake/gsl-firmware/blob/master/firmware/trekstor/surftab7new/firmware.fw, fimrware only extracted and not modified for the old project.
But you must use this https://github.com/onitake/gsl-firmware/blob/master/firmware/linux/silead/gsl1686-surftab-wintron70-st70416-6.fw ,put the file in /lib/firmware/silead
(create the folder silead
). Also made a copy with the name mssl1680.fw
(backup firmware).
Now follow this guide for recompile the kernel https://debian-handbook.info/browse/squeeze/sect.kernel-compilation.html.
Use apt-cache search ^linux-source
to find the source for the kernel (as the guide explains).
In the silead_dmi.c
file add:
static const struct property_entry mediacom_w700_props =
PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
PROPERTY_ENTRY_STRING("firmware-name",
"gsl1686-surftab-wintron70-st70416-6.fw"),
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
PROPERTY_ENTRY_BOOL("silead,home-button"),
;
And most important in the DMI_MATCH add:
/* Mediacom WinPad 7.0 W700 */
.driver_data = (void *)&surftab_wintron70_st70416_6_data,
.matches =
DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
,
,
add a comment |Â
up vote
0
down vote
accepted
The silead_ts.fw
is for this deprecated project https://github.com/onitake/gslx680-acpi.
You should use at least the https://github.com/onitake/gsl-firmware/blob/master/firmware/trekstor/surftab7new/firmware.fw, fimrware only extracted and not modified for the old project.
But you must use this https://github.com/onitake/gsl-firmware/blob/master/firmware/linux/silead/gsl1686-surftab-wintron70-st70416-6.fw ,put the file in /lib/firmware/silead
(create the folder silead
). Also made a copy with the name mssl1680.fw
(backup firmware).
Now follow this guide for recompile the kernel https://debian-handbook.info/browse/squeeze/sect.kernel-compilation.html.
Use apt-cache search ^linux-source
to find the source for the kernel (as the guide explains).
In the silead_dmi.c
file add:
static const struct property_entry mediacom_w700_props =
PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
PROPERTY_ENTRY_STRING("firmware-name",
"gsl1686-surftab-wintron70-st70416-6.fw"),
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
PROPERTY_ENTRY_BOOL("silead,home-button"),
;
And most important in the DMI_MATCH add:
/* Mediacom WinPad 7.0 W700 */
.driver_data = (void *)&surftab_wintron70_st70416_6_data,
.matches =
DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
,
,
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
The silead_ts.fw
is for this deprecated project https://github.com/onitake/gslx680-acpi.
You should use at least the https://github.com/onitake/gsl-firmware/blob/master/firmware/trekstor/surftab7new/firmware.fw, fimrware only extracted and not modified for the old project.
But you must use this https://github.com/onitake/gsl-firmware/blob/master/firmware/linux/silead/gsl1686-surftab-wintron70-st70416-6.fw ,put the file in /lib/firmware/silead
(create the folder silead
). Also made a copy with the name mssl1680.fw
(backup firmware).
Now follow this guide for recompile the kernel https://debian-handbook.info/browse/squeeze/sect.kernel-compilation.html.
Use apt-cache search ^linux-source
to find the source for the kernel (as the guide explains).
In the silead_dmi.c
file add:
static const struct property_entry mediacom_w700_props =
PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
PROPERTY_ENTRY_STRING("firmware-name",
"gsl1686-surftab-wintron70-st70416-6.fw"),
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
PROPERTY_ENTRY_BOOL("silead,home-button"),
;
And most important in the DMI_MATCH add:
/* Mediacom WinPad 7.0 W700 */
.driver_data = (void *)&surftab_wintron70_st70416_6_data,
.matches =
DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
,
,
The silead_ts.fw
is for this deprecated project https://github.com/onitake/gslx680-acpi.
You should use at least the https://github.com/onitake/gsl-firmware/blob/master/firmware/trekstor/surftab7new/firmware.fw, fimrware only extracted and not modified for the old project.
But you must use this https://github.com/onitake/gsl-firmware/blob/master/firmware/linux/silead/gsl1686-surftab-wintron70-st70416-6.fw ,put the file in /lib/firmware/silead
(create the folder silead
). Also made a copy with the name mssl1680.fw
(backup firmware).
Now follow this guide for recompile the kernel https://debian-handbook.info/browse/squeeze/sect.kernel-compilation.html.
Use apt-cache search ^linux-source
to find the source for the kernel (as the guide explains).
In the silead_dmi.c
file add:
static const struct property_entry mediacom_w700_props =
PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
PROPERTY_ENTRY_STRING("firmware-name",
"gsl1686-surftab-wintron70-st70416-6.fw"),
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
PROPERTY_ENTRY_BOOL("silead,home-button"),
;
And most important in the DMI_MATCH add:
/* Mediacom WinPad 7.0 W700 */
.driver_data = (void *)&surftab_wintron70_st70416_6_data,
.matches =
DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
,
,
edited Sep 12 at 7:17
answered Sep 6 at 9:43
Scorpion
543
543
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f466571%2frecompile-a-kernel-including-a-firmware%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Fill a bugreport, or use the more conventional
make menuconfig
andmake deb-pkg
.â Ipor Sircer
Sep 3 at 12:56
1
Of you are modifying sources, you are on your own, please do not fill frivolous bug reports
â Rui F Ribeiro
Sep 4 at 5:45
@RuiFRibeiro if i fill a request for a new software? Include tablet touchscrenn support. So the developers can do it. Using
make deb-pkg
i can transform the firmware into a installable package?â Scorpion
Sep 4 at 7:40
@IporSircer how can i use
make menuconfig
and makedeb-pkg
?â Scorpion
Sep 4 at 10:38