source: trunk/target/linux/x86/alix2/target.mk @ 26880

Last change on this file since 26880 was 26880, checked in by cshore, 6 years ago

Add missed files from previous commit: This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.

Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.

GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)

GPIO 24 : Soft switch 1

No kernel version bump. Added i2c-scx200-acb for lm-sensors support.

Signed-off-by: Philip Prindeville <philipp@…>

File size: 1.0 KB
Line 
1BOARDNAME:=PCEngines alix2
2FEATURES:=squashfs pci usb gpio
3ALIX2_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new)
4DEFAULT_PACKAGES += kmod-ata-via-sata \
5                        kmod-crypto-hw-geode kmow-crypto-ocf \
6                        kmod-$(ALIX2_GPIO) kmod-gpio-nsc \
7                        kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \
8                        kmod-via-rhine kmod-leds-alix \
9                        kmod-i2c-core kmod-i2c-gpio \
10                        kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
11                        kmod-i2c-scx200-acb \
12                        kmod-usb-core kmod-usb2 kmod-usb-uhci \
13                        kmod-cfg80211 kmod-mac80211 \
14                        kmod-mppe kmod-pppoe kmod-pppoa kmod-pppo2ltp \
15                        kmod-ath kmod-ath5k kmod-ath9k \
16                        bridge ppp ppp-mod-pppoa \
17                        libopenssl ocf-crypto-headers zlib hwclock hostapd
18
19CS5535_MASK:=0x0a400000
20
21CFLAGS += -Os -pipe -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
22          -fno-align-labels
23
24define Target/Description
25        Build firmware images for PCEngines alix2 board
26endef
27
28define KernelPackage/$(GEOS_GPIO)/install
29     sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-$(GEOS_GPIO)
30endef
Note: See TracBrowser for help on using the repository browser.