[LEDE-DEV] [PATCH RFC 2/2] x86: lift generic x86-32 target

Russell Senior russell at personaltelco.net
Wed May 18 16:57:08 PDT 2016


I built an openwrt image for apu2 back in March.  It mostly just
worked, with some minor tweaks for running off of mmc,  This was my
patch then, relative to r49096.

diff --git a/target/linux/x86/config-4.4 b/target/linux/x86/config-4.4
index 5b54031..e323fa6 100644
--- a/target/linux/x86/config-4.4
+++ b/target/linux/x86/config-4.4
@@ -270,6 +270,14 @@ CONFIG_M486=y
 # CONFIG_MK6 is not set
 # CONFIG_MK7 is not set
 # CONFIG_MK8 is not set
+CONFIG_MMC=y
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_RICOH_MMC=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PCI=y
+# CONFIG_MMC_SDHCI_PLTFM is not set
+# CONFIG_MMC_TIFM_SD is not set
+# CONFIG_MMC_WBSD is not set
 # CONFIG_MODIFY_LDT_SYSCALL is not set
 CONFIG_MODULES_TREE_LOOKUP=y
 CONFIG_MODULES_USE_ELF_REL=y

On Wed, May 18, 2016 at 4:17 PM, Stijn Tintel <stijn at linux-ipv6.be> wrote:
> On 17-05-16 23:37, Felix Fietkau wrote:
>> On 2016-05-17 23:12, Daniel Golle wrote:
>>> * build for pentium4 instead of i486
>>> * enable PAE
>>> * enable EFI support
>>> * enable KVM guest and host support
> Is anyone running KVM on a 32bit host? I would leave out KVM host
> support here.
>> I like this change, but I think I'll wait a bit before applying it to
>> see if anybody else has some comments about it.
>>
> I too think x86 and subtargets need some love, but let's not rush
> things. Maybe now is a good time to discus other things related to x86
> as well.
>
> E.g., a while ago I created a profile for x86/64 for the PCEngines APU2,
> but never submitted it, so I put it at [1] now. Last year, on
> OpenWrt-Devel, Felix suggested [2] instead. I would like to hear others'
> opinions about this too.
>
> And if any else has other ideas... Looking forward to hear them.
>
> Stijn
>
> [1]
> https://git.lede-project.org/?p=lede/stintel/staging.git;a=shortlog;h=refs/heads/apu2
> [2]
> https://lists.openwrt.org/pipermail/openwrt-devel/2015-November/037035.html
>
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



More information about the Lede-dev mailing list