# Download these files from this archive: armada-375-wdmc-gen2.dts kernel.config armada370-gcc464_glibc215_hard_armada-GPL.txz (For x86 OS, From WD Site / in GPL sources archive) # or armada38x-gcc493_glibc220_hard-GPL.txz (For x64 OS, from Synology svn repo) # For Debian / Ubuntu install few packages: apt-get install build-essential libncurses5 u-boot-tools git # Go to *any* folder: mkdir /home/user/ cd /home/user # Marvell kernel source: git clone https://github.com/MarvellEmbeddedProcessors/linux-marvell # Go inside... cd linux-marvell # Copy armada-375-wdmc-gen2.dts to arch/arm/boot/dts/ # Copy kernel.config to .config # Build kernel: alias makehelp='make CROSS_COMPILE=/opt/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- ARCH=arm' makehelp menuconfig makehelp zImage makehelp armada-375-wdmc-gen2.dtb mkdir -p ../kernel-bin/boot cat arch/arm/boot/zImage arch/arm/boot/dts/armada-375-wdmc-gen2.dtb > ../kernel-bin/zImage_and_dtb mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'WDMC-Gen2' -d ../kernel-bin/zImage_and_dtb ../kernel-bin/boot/uImage rm ../kernel-bin/zImage_and_dtb # Optional: makehelp modules makehelp INSTALL_MOD_PATH=../kernel-bin modules_install #################################### # Done! # All files stored in /home/user/kernel-bin ####################################