Introduction
If you don't practice fake handles, this section runs Linux with the official FPGA Development Board.
4.1, experimental preparation
1 "ORSOC Tool chain Environment (GCC,GDB,JTAG), build process to see a blog:
http://blog.csdn.net/rill_zhen/article/details/8443882
2 "Ep4ce22 FPGA Development Board (€:149)
3 "Micro-usb Connecting line"
4.2, experimental steps
0 "connection. Connect the USB port at the top left of the board to the PC.
1 "Write RTL integrated circuit logic file (can also use their own quartus synthesis)
$ cd/home/openrisc
$ JTAG./program_fpga.jtag
2 to open Agent service between Gdbdebugger and or processor
$/opt/or_debug_proxy/bin/or_debug_proxy–r 55555
3 "(another terminal) open a serial terminal
Picocom–b 115200–p n–d 8–f XON/DEV/TTYUSB2
4 (one more terminal) to open gdb to download the vmlinux image
$ CD ~/soc-design/linux
$ make Arch=openrisc Defconfig
$ make Arch=openrisc
$ or32-elf-gdb
(GDB) Target remote:55555
(gdb) file./vmlinux
Answer ' y '
(GDB) load
(GDB) SPR NPC 0x100
(GDB) C
5 at this point, look at picocom that terminal, you can see the Linux boot process: The following figure: