一、安装编译依赖 (ubuntu)
sudo apt-get install g++
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install gettext
sudo apt-get install texinfo
sudo apt-get install mercurial
sudo apt-get install subversion
sudo apt-get install libncurses5-dev
二、编译Kernel (zImage)
配置LCD
/qi-kernel/arch/mips/configs/a320_defconfig
#CONFIG_JZ_SLCD_ILI9331=y
#CONFIG_JZ_SLCD_ILI9338=y
#CONFIG_JZ_SLCD_ILI9325=y
编译
$ git clone git://projects.qi-hardware.com/qi-kernel.git
$ cd qi-kernel
$ git checkout jz-3.3
$ make ARCH=mips a320_defconfig
$ make ARCH=mips vmlinuz.bin
生成文件
/qi-kernel/vmlinuz.bin
三、编译Root file system (rootfs.bin)
$ cd opendingux-buildroot-opendingux-2010.11
$ make a320_defconfig
$ make
sudo apt-get install g++
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install gettext
sudo apt-get install texinfo
sudo apt-get install mercurial
sudo apt-get install subversion
sudo apt-get install libncurses5-dev
二、编译Kernel (zImage)
配置LCD
/qi-kernel/arch/mips/configs/a320_defconfig
#CONFIG_JZ_SLCD_ILI9331=y
#CONFIG_JZ_SLCD_ILI9338=y
#CONFIG_JZ_SLCD_ILI9325=y
编译
$ git clone git://projects.qi-hardware.com/qi-kernel.git
$ cd qi-kernel
$ git checkout jz-3.3
$ make ARCH=mips a320_defconfig
$ make ARCH=mips vmlinuz.bin
生成文件
/qi-kernel/vmlinuz.bin
三、编译Root file system (rootfs.bin)
$ cd opendingux-buildroot-opendingux-2010.11
$ make a320_defconfig
$ make