LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices


Reply
  Search this Thread
Old 08-28-2019, 08:43 AM   #1
LinET
LQ Newbie
 
Registered: Aug 2019
Posts: 5

Rep: Reputation: Disabled
Modify the kernel config in order to boot from emmc devices.


I have an intel compute stick. But this is valid for many more new nettops and laptops.
The internal storage device is not an ssd or hdd, but is an emmc device.
In order to be able to boot without creating an initrd the huge linux image should contain the mmc related options as build-in and not as module. In order to boot my ICS I had modify the config and recompile the kernel here is my diff:

@@ -6187,8 +6272,8 @@
CONFIG_UWB_HWA=m
CONFIG_UWB_WHCI=m
CONFIG_UWB_I1480U=m
-CONFIG_MMC=m
-CONFIG_MMC_BLOCK=m
+CONFIG_MMC=y
+CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_SDIO_UART=m
# CONFIG_MMC_TEST is not set
@@ -6197,11 +6282,11 @@
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not set
-CONFIG_MMC_SDHCI=m
-CONFIG_MMC_SDHCI_PCI=m
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PCI=y
CONFIG_MMC_RICOH_MMC=y
-CONFIG_MMC_SDHCI_ACPI=m
-CONFIG_MMC_SDHCI_PLTFM=m
+CONFIG_MMC_SDHCI_ACPI=y
+CONFIG_MMC_SDHCI_PLTFM=y
# CONFIG_MMC_SDHCI_F_SDH30 is not set
CONFIG_MMC_WBSD=m
CONFIG_MMC_TIFM_SD=m
@@ -6213,7 +6298,7 @@
CONFIG_MMC_USDHI6ROL0=m
CONFIG_MMC_REALTEK_PCI=m
CONFIG_MMC_REALTEK_USB=m
-CONFIG_MMC_CQHCI=m
+CONFIG_MMC_CQHCI=y
CONFIG_MMC_TOSHIBA_PCI=m
CONFIG_MMC_MTK=m
CONFIG_MMC_SDHCI_XENON=m

It whould be nice if this option will end up into the iso image kernel.

Nice work on Zenwalk.
 
Old 08-29-2019, 04:10 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,356

Rep: Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332
Hi, LinET & welcome to LQ.

I'll trust you on your config. There is a catch-22 here, in that if you need a driver to access your intel compute stick, or whatever port/slot it's plugged into, how do you get it? I have an sdcard slot here, but I can't boot from it because it needs usb and it's own drivers.

You can find quick guides and/or youtube videos online.
 
Old 08-29-2019, 06:44 AM   #3
LinET
LQ Newbie
 
Registered: Aug 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Hi, LinET & welcome to LQ.

I'll trust you on your config. There is a catch-22 here, in that if you need a driver to access your intel compute stick, or whatever port/slot it's plugged into, how do you get it? I have an sdcard slot here, but I can't boot from it because it needs usb and it's own drivers.

You can find quick guides and/or youtube videos online.
I've fixed my problem.
First with an initrd and the build-in "huge" kernel, then with a recompilation of the kernel (I have moved to 5.2 anyway) so I will not use an initrd.

The point I was making is that we are getting more and more systems with emmc drives so it warrants putting the emmc block drivers inside the kernel (not as a module), the same way we are doing already with mass storage usb devices and sata etc.

It is about the compromise I agree, I think that putting the emmc as build-in is a good one.

Also, the zenwalk installer was missing the block emmc driver even from the modules. I had to fetch it from the kernel-modules archive from the install medium, modprobe it. It was a hassle. Some less knowledgeable person would have gave up.

There are others that have had basically the same problem, with the same solution.

https://www.linuxquestions.org/quest...ge-4175587811/

The recommendation is for the next installer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the Linux kernel have drivers for eMMC memory? stf92 Linux - Hardware 17 02-19-2018 09:49 AM
Logi Sales Manager on Ncurses (invoice, invoicing, orders, order, sale order, sales order...)? Xeratul Linux - Software 0 03-25-2017 02:45 PM
How to enable ext4fs read-write calls for eMMC flash on 3.6.40 kernel rajkiran.singh Linux - Kernel 1 05-18-2016 10:42 PM
How to modify linux kernel config based on existing .config 5883 Linux - Kernel 3 08-05-2014 09:26 AM
Modify Boot order in Redhat 7.1 busybee Linux - Software 9 11-06-2001 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration