From: "Sean Liming" <sean.liming@annabooks.com>
To: <yocto@yoctoproject.org>
Subject: How to add WiFi support
Date: Wed, 3 Jul 2013 16:36:47 -0700 [thread overview]
Message-ID: <000601ce7846$3167e7a0$9437b6e0$@annabooks.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2353 bytes --]
I have searched and spotted different discussion on adding wireless support
but have not found a solution. I have a Intel Centrino Wireless-N 1000 card
plugged into a Intel Atom N2800 (Cedar Trail) platform. I am using Yocto
Project 1.3.1, Cedar Trail BSP, core-image-x11
BB_VERSION = "1.16.0"
TARGET_ARCH = "i586"
TARGET_OS = "linux"
MACHINE = "cedartrail-nopvr"
DISTRO = "poky"
DISTRO_VERSION = "1.3.1"
TUNE_FEATURES = "m32 core2"
Core-image-x11
Following the instructions to use menuconfig and create configuration
fragment, I have enabled the various kernel options to include the iwlagn
driver. The configuration fragment called mydiff.cfg (attached) was placed
in the meta-intel/meta-cedartrail/recipes-kernel/Linux/files folder. The
Linux-yocto_3.0.bbappend was modified with the following:
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://mydiff.cfg"
After building the image, ifconfig didn't show wireless and neither does
iwconfig. The adapter is found when I do a lspci. The kernel wireless
website - http://wireless.kernel.org/en/users/Drivers/iwlwifi lists a
firmware package needed for installation. I tried to create a recipe to
place the firmware file in the /lib/firmware folder, but it doesn't get put
in. The lack of what to do for the LICENSE might be a problem. Here is the
recipe:
DESCRIPTION = "Intel WiFi 1000 Adapter"
LICENSE = "GPL"-?????
LIC_FILES_CHKSUM =
"file://${WORKDIR}/LICENSE.iwlwifi-1000-ucode;md5=aa2bfb02c7e0712680334b9f47
f8dc61"
SRC_URI = "file://LICENSE.iwlwifi-1000-ucode \
file://iwlwifi-1000-3.ucode \
"
FWPATH = "lib/firmware"
do_install_apped() {
install -m 0644 LICENSE.iwlwifi-1000-ucode ${D}${FWPATH}
install -m 0644 iwlwifi-1000-3.ucode ${D}${FWPATH}
}
I manually created the /lib/firmware folder and copied the firmware file
(iwlwifi-1000-3.ucode) to the folder. Nothing changed after a reboot. I also
tried a Intel Centrino Ultimate-N 6300 same result.
1. Was a kernel modification the right direction to enable support for this
driver?
2. Did I miss anything with regards to the configuration fragment setup?
3. Is the firmware really needed? If so why is there no /lib/firmware folder
and what should be used for the LICENSE ?
Regards,
Sean Liming
[-- Attachment #2: mydiff.cfg --]
[-- Type: application/octet-stream, Size: 2354 bytes --]
++ .confignew 2013-07-03 14:56:58.000000000 -0700
# CONFIG_NETFILTER_XT_TARGET_LED is not set
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
# CONFIG_MAC80211_RC_PID is not set
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
# CONFIG_MAC80211_MESH is not set
CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_AT76C50X_USB is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_RTL8180 is not set
# CONFIG_RTL8187 is not set
# CONFIG_ADM8211 is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_MWL8K is not set
# CONFIG_ATH_COMMON is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
CONFIG_IWLAGN=y
#
# Debugging Options
#
# CONFIG_IWLWIFI_DEBUG is not set
# CONFIG_IWLWIFI_DEVICE_TRACING is not set
# CONFIG_IWLWIFI_DEVICE_SVTOOL is not set
# CONFIG_IWL_P2P is not set
# CONFIG_IWL4965 is not set
# CONFIG_IWL3945 is not set
# CONFIG_IWM is not set
# CONFIG_LIBERTAS is not set
# CONFIG_HERMES is not set
# CONFIG_P54_COMMON is not set
# CONFIG_RT2X00 is not set
# CONFIG_RTL8192CE is not set
# CONFIG_RTL8192SE is not set
# CONFIG_RTL8192CU is not set
# CONFIG_WL1251 is not set
# CONFIG_WL12XX_MENU is not set
# CONFIG_ZD1211RW is not set
# CONFIG_MWIFIEX is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
#
# LED drivers
#
# CONFIG_LEDS_ALIX2 is not set
# CONFIG_LEDS_CLEVO_MAIL is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
CONFIG_LEDS_TRIGGERS=y
#
# LED Triggers
#
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
#
# iptables trigger is under Netfilter config (LED target)
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_ARC4=y
CONFIG_AVERAGE=y
next reply other threads:[~2013-07-03 23:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 23:36 Sean Liming [this message]
2013-07-04 18:25 ` How to add WiFi support Sean Liming
2013-07-07 2:35 ` Sean Liming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601ce7846$3167e7a0$9437b6e0$@annabooks.com' \
--to=sean.liming@annabooks.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.