Skip to content

Up-to-data flow for run kernel with openrisc on de0_nano board

Notifications You must be signed in to change notification settings

minjiexm/mor1kx_de0_nano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Up-to-data flow for booting kernel with openrisc on de0_nano board.

Env Requirment

Ubuntu 16.4

Command to setup

  • use tcsh and source setup.sh at first.
  • make : this will show all the predefined commands.
  • suggest use option1 to start install toolchains.

What is this repository for?

  • Download and install all or1k toolchain submodules.

    • or1k-src
    • ork1-gcc
    • linux : Kernel source files
    • or1ksim : or1k simulator
    • openOCD : GDB debug tool for or1k
    • mor1kx_dev_env : source codes and FPGA build env for mor1kx
  • Build linux kernel

  • Bootup kernel on simulator (or1ksim)

  • Bootup kernel on real hardware DE0-NANO

  • General tutorial for toolchain

How do I get set up?

set path = ($path $ALTERA_PATH/quartus/bin)

  • Set Env varaibles for tcsh setenv TOOLCHAIN_ROOT /opt/toolchain setenv PREFIX $TOOLCHAIN_ROOT/or1k-elf #PREFIX is the path where you want to install the toolchain. setenv ARCH openrisc setenv CROSS_COMPILE or1k-elf-

set path = ($path $PREFIX/bin $TOOLCHAIN_ROOT/or1ksim/bin $TOOLCHAIN_ROOT/openocd) Please make sure $PREFIX is already there and already chown to $USER.

About

Up-to-data flow for run kernel with openrisc on de0_nano board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published