remove old config from master branch
[fjen/buffalo-lschlv2-lsxhl-kconf.git] / compiling.txt
1 ##### COMPILE Linkstation LS-CHLv2 Kernel
2
3 ### >= 3.9
4 make menuconfig
5 make zImage modules
6 make kirkwood-lschlv2.dtb
7 cat arch/arm/boot/zImage arch/arm/boot/dts/kirkwood-lschlv2.dtb > arch/arm/boot/zImage_w_dtb.lschlv2
8 mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Linux-3.0" -d arch/arm/boot/zImage_w_dtb.lschlv2 arch/arm/boot/uImage
9
10 ### >= 3.6:
11 make menuconfig
12 make zImage modules
13 make kirkwood-lschlv2.dtb
14 cat arch/arm/boot/zImage arch/arm/boot/kirkwood-lschlv2.dtb > arch/arm/boot/zImage_w_dtb
15 mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'Linux-3.0' -d arch/arm/boot/zImage_w_dtb arch/arm/boot/uImage
16
17 ### < 3.6:
18 patch -Np1 -i lschlv2.patch
19 make menuconfig
20 make uImage modules
21
22 ### CROSS on debian
23 # replace make commands with:
24 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j3 ...
25
26 ##### INSTALL
27 kernel: arch/arm/boot/uImage
28 make modules_install
29 #or for an other path:
30 make modules_install INSTALL_MOD_PATH=blah