diff mbox

[LEDE-DEV,RFC,1/2] Add some common packages for x86-64 target.

Message ID 1464297648-550-1-git-send-email-greearb@candelatech.com
State RFC
Headers show

Commit Message

Ben Greear May 26, 2016, 9:20 p.m. UTC
From: Ben Greear <greearb@candelatech.com>

This should make x86-64 targets more useable out of the box.
The assumption is that most x86-64 users have adequate storage,
and those that do not can still config away the options they
do not need.

Signed-off-by: Ben Greear <greearb@candelatech.com>
---
 target/linux/x86/64/target.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Bastian Bittorf May 27, 2016, 6:33 a.m. UTC | #1
* greearb@candelatech.com <greearb@candelatech.com> [27.05.2016 08:12]:
> From: Ben Greear <greearb@candelatech.com>
> 
> This should make x86-64 targets more useable out of the box.
> The assumption is that most x86-64 users have adequate storage,

please dont. I understand your issues, but better define
another profile like e.g. "bloated" (please search for a better name).
this is the var "DEVICE_TYPE" - see 'git grep DEVICE_TYPE'.

bye, bastian
Ben Greear May 27, 2016, 1:57 p.m. UTC | #2
On 05/26/2016 11:33 PM, Bastian Bittorf wrote:
> * greearb@candelatech.com <greearb@candelatech.com> [27.05.2016 08:12]:
>> From: Ben Greear <greearb@candelatech.com>
>>
>> This should make x86-64 targets more useable out of the box.
>> The assumption is that most x86-64 users have adequate storage,
>
> please dont. I understand your issues, but better define
> another profile like e.g. "bloated" (please search for a better name).
> this is the var "DEVICE_TYPE" - see 'git grep DEVICE_TYPE'.

I can just bake everything into the 2/2 'buildme.sh' logic with a bigger
diffconfig result file if there is no desire to tweak the core packages
for this platform.

Truth is, I couldn't get 'igb' be selected with this patch anyway, so
the 2/2 logic is still needed anyway.

Thanks,
Ben
Dave Taht May 27, 2016, 2:25 p.m. UTC | #3
On Fri, May 27, 2016 at 7:57 AM, Ben Greear <greearb@candelatech.com> wrote:
>
>
> On 05/26/2016 11:33 PM, Bastian Bittorf wrote:
>>
>> * greearb@candelatech.com <greearb@candelatech.com> [27.05.2016 08:12]:
>>>
>>> From: Ben Greear <greearb@candelatech.com>
>>>
>>> This should make x86-64 targets more useable out of the box.
>>> The assumption is that most x86-64 users have adequate storage,
>>
>>
>> please dont. I understand your issues, but better define
>> another profile like e.g. "bloated" (please search for a better name).
>> this is the var "DEVICE_TYPE" - see 'git grep DEVICE_TYPE'.
>
>
> I can just bake everything into the 2/2 'buildme.sh' logic with a bigger
> diffconfig result file if there is no desire to tweak the core packages
> for this platform.
>
> Truth is, I couldn't get 'igb' be selected with this patch anyway, so
> the 2/2 logic is still needed anyway.

It sounds like you are trying to get
http://www.pcengines.ch/apu2c4.htm booted into openwrt?
igb is kind of needed for that. :) -

I am curious if the toolchain can enable the crypto (AES-NI)
instructions on that chipand/or if various openwrt packages will use
them?



>
> Thanks,
> Ben
>
> --
> Ben Greear <greearb@candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
diff mbox

Patch

diff --git a/target/linux/x86/64/target.mk b/target/linux/x86/64/target.mk
index 6497698..e54885f 100644
--- a/target/linux/x86/64/target.mk
+++ b/target/linux/x86/64/target.mk
@@ -1,6 +1,13 @@ 
 ARCH:=x86_64
 BOARDNAME:=x86_64
-DEFAULT_PACKAGES += kmod-button-hotplug kmod-e1000e kmod-e1000 kmod-r8169
+DEFAULT_PACKAGES += kmod-button-hotplug kmod-e1000e kmod-e1000 kmod-r8169 kmod-igb kmod-8139cp kmod-8139too
+# Add some drivers for common wifi NICs
+DEFAULT_PACKAGES += kmod-ath9k kmod-ath10k kmod-ath9k-htc kmod-ath5k
+# Add some firmware
+DEFAULT_PACKAGES += ath10k-firmware-qca988x ath10k-firmware-qca99x0 ath9k-htc-firmware ath10k-firmware-qca6174
+# Useful general OS packages
+DEFAULT_PACKAGES += bzip2 curl dmesg ethtool getopt hostapd ip-full iperf3 iputils-ping iputils-tracepath iw
+DEFAULT_PACKAGES += nstat relayd tcpdump wpa-cli wpa-supplicant wpa-supplicant-mesh
 
 define Target/Description
         Build images for 64 bit systems including virtualized guests.