How to build a NN kernel for Jlime ================================== - Download and install the jlime toolchain - Download the .config kernel file from: http://jlime.com/downloads/releases/muffinman/kernels/ # git clone http://projects.qi-hardware.com/index.php/p/qi-kernel/source/tree/master/ git clone git://projects.qi-hardware.com/qi-kernel.git git checkout -b jlime remotes/origin/jz-2.6.34 # Copy the kernel config file you downloaded to .config. For example: cp config-nn-2.6.34.txt .config # Set the PATH as $PATH:/your/toolchain/bin/ export PATH=$PATH:/usr/local/jlime/mipsel-toolchain/usr/bin make ARCH=mips CROSS_COMPILE=mipsel-linux- clean # make ARCH=mips CROSS_COMPILE=mipsel-linux- menuconfig make ARCH=mips CROSS_COMPILE=mipsel-linux- vmlinux.bin # Get the set entry point for mkimage command (-e) echo 0x$(mipsel-linux-nm vmlinux 2>/dev/null | grep " kernel_entry" | cut -f1 -d ' ') cd arch/mips/boot rm vmlinux.bin.gz uImage gzip -9 vmlinux.bin # You get the value for -e with the echo command above mkimage -A mips -O linux -T kernel -C gzip -a 0x80010000 -e 0x80014240 -n 'MIPS' -d vmlinux.bin.gz uImage # cp uImage to FAT partition, or under /boot on MicroSD