Ben Nanonote
Build Kernel
步驟如下:
$ cd $ git clone https://github.com/steward-fu/gh_a320_toolchain $ sudo cp -ap gh_a320_toolchain/x86 /opt/mipsel-linux-gcc $ export PATH=$PATH:/opt/mipsel-linux-gcc/usr/bin $ git clone git://projects.qi-hardware.com/qi-kernel.git $ cd qi-kernel $ git checkout jz-3.3 $ export ARCH=mips $ export CROSS_COMPILE=mipsel-linux- $ make qi_lb60_defconfig $ make vmlinux.bin $ gzip -9 -f arch/mips/boot/vmlinux.bin $ mkimage -A mips -O linux -T kernel -a 0x80010000 -C gzip -e 0x`${CROSS_COMPILE}nm vmlinux | grep " kernel_entry" | cut -f1 -d ' '` -n 'Ben NanoNote Linux Kernel' -d arch/mips/boot/vmlinux.bin.gz uImage $ sudo usbboot -c "boot;nprog 1024 uImage 0 0 -n"