we need firmware files after cleaning
This commit is contained in:
parent
1ed5301cc5
commit
8b18e89493
1 changed files with 4 additions and 3 deletions
7
build.sh
7
build.sh
|
@ -57,9 +57,6 @@ else
|
||||||
git clone https://github.com/patrickhwood/linux-sunxi -b pat-3.4.75-ct $DEST/linux-sunxi # Patwood's kernel 3.4.75+
|
git clone https://github.com/patrickhwood/linux-sunxi -b pat-3.4.75-ct $DEST/linux-sunxi # Patwood's kernel 3.4.75+
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Adding wlan firmware to kernel source
|
|
||||||
cd $DEST/linux-sunxi/firmware; wget -q https://www.dropbox.com/s/o3evaiuidtg6xb5/ap6210.zip -O temp.zip; unzip -o temp.zip; rm temp.zip
|
|
||||||
|
|
||||||
# Applying Patch for 2gb memory
|
# Applying Patch for 2gb memory
|
||||||
#patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < $SRC/patch/memory.patch || true
|
#patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < $SRC/patch/memory.patch || true
|
||||||
|
|
||||||
|
@ -98,6 +95,10 @@ fex2bin $DEST/cubie_configs/sysconfig/linux/ct-hdmi.fex $DEST/output/script-hdmi
|
||||||
echo "------ Compiling kernel"
|
echo "------ Compiling kernel"
|
||||||
cd $DEST/linux-sunxi
|
cd $DEST/linux-sunxi
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
|
# Adding wlan firmware to kernel source
|
||||||
|
cd $DEST/linux-sunxi/firmware; wget -q https://www.dropbox.com/s/o3evaiuidtg6xb5/ap6210.zip -O temp.zip; unzip -o temp.zip; rm temp.zip
|
||||||
|
|
||||||
make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
|
make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
|
||||||
# get proven config
|
# get proven config
|
||||||
cp $DEST/linux-sunxi/kernel.config $DEST/linux-sunxi/.config
|
cp $DEST/linux-sunxi/kernel.config $DEST/linux-sunxi/.config
|
||||||
|
|
Loading…
Add table
Reference in a new issue