URL
https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk
Subversion Repositories or1k_soc_on_altera_embedded_dev_kit
[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [patches/] [README] - Rev 24
Compare with Previous | Blame | View Log
1. Download the kernel from http://www.kernel.org/pub/linux/kernel/v2.6
2. Apply the patch
cd linux-2.6.x
bzip2 -dc patch-name.tar.bz2 | patch -p1
3. For or1ksim (expect 2.6.24-or32_v1.patch.bz2)
make ARCH=or32 or1ksim_defconfig
make -j4 ARCH=or32 CROSS_COMPILE=or32-elf-
or32-elf-sim -f arch/or32/sim_configs/or1ksim_linux.cfg vmlinux
4. For Altera DK_N2VEAL_3C25N
make ARCH=or32 or32_dk_n2veal_3c25n_defconfig
make -j4 ARCH=or32 CROSS_COMPILE=or32-elf-
or32-elf-objcopy -O binary vmlinux vmlinux.bin
Xianfeng Zeng <xianfeng.zeng@gmail.com>