Skip to content

Commit

Permalink
Prima_wlan
Browse files Browse the repository at this point in the history
  • Loading branch information
itmir913 committed Aug 2, 2013
1 parent 0c7f4d3 commit ef1b190
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 1 deletion.
5 changes: 5 additions & 0 deletions arch/arm/configs/msm8960_ef47s_tp20_user_defconfig
@@ -1,6 +1,11 @@
CONFIG_LOCALVERSION="-LucidOS-Kernel-by-Mir"
CONFIG_LOCALVERSION_AUTO=y

#
# Qualcomm Atheros Prima WLAN module
#
CONFIG_PRIMA_WLAN=m

CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
Expand Down
13 changes: 12 additions & 1 deletion build.sh
@@ -1,5 +1,8 @@
#!/bin/bash

echo "Check git update list"
git pull

#######################################
# android_kernel_pantech_ef47s #
#######################################
Expand Down Expand Up @@ -47,6 +50,13 @@ fi
# Finish - use build.sh
fi

# Prima_wlan
if [ -f $FOLDER/drivers/staging/prima/wlan.ko ]; then
./bin/strip --strip-unneeded "$FOLDER/drivers/staging/prima/wlan.ko"
cp $FOLDER/net/wireless/cfg80211.ko .
cp $FOLDER/drivers/staging/prima/wlan.ko prima_wlan.ko
fi

# Copy zImage
if [ -f $FOLDER/arch/arm/boot/zImage ]; then
cp -f $FOLDER/arch/arm/boot/zImage ./
Expand All @@ -56,7 +66,7 @@ if [ -f $zImage ]; then
echo "--------------------------"
echo " Makeing Boot.img"
echo "--------------------------"
./mkbootimg --cmdline "console=ttyHSL0,115200,n8 androidboot.hardware=qcom androidboot.carrier=SKT-KOR user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 maxcpus=2 loglevel=0" --base 0x80200000 --pagesize 2048 --kernel zImage --ramdisk ramdisk.gz --ramdiskaddr 0x82400000 -o boot.img
./bin/mkbootimg --cmdline "console=ttyHSL0,115200,n8 androidboot.hardware=qcom androidboot.carrier=SKT-KOR user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 maxcpus=2 loglevel=0" --base 0x80200000 --pagesize 2048 --kernel zImage --ramdisk ./bin/ramdisk.gz --ramdiskaddr 0x82400000 -o boot.img
fi


Expand All @@ -70,3 +80,4 @@ fi
if [ -d ../../out/target/$device ]; then
cp -f boot.img ../../out/target/$device/boot.img
fi

2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Expand Up @@ -134,4 +134,6 @@ source "drivers/staging/ramster/Kconfig"

source "drivers/staging/ozwpan/Kconfig"

source "drivers/staging/prima/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Expand Up @@ -58,3 +58,4 @@ obj-$(CONFIG_ANDROID) += android/
obj-$(CONFIG_PHONE) += telephony/
obj-$(CONFIG_RAMSTER) += ramster/
obj-$(CONFIG_USB_WPAN_HCD) += ozwpan/
obj-$(CONFIG_PRIMA_WLAN) += prima/
Binary file removed mkbootimg
Binary file not shown.
Binary file removed ramdisk.gz
Binary file not shown.

0 comments on commit ef1b190

Please sign in to comment.