README.openrisc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. OpenRISC Linux
  2. ==============
  3. This is a port of Linux to the OpenRISC class of microprocessors; the initial
  4. target architecture, specifically, is the 32-bit OpenRISC 1000 family (or1k).
  5. For information about OpenRISC processors and ongoing development:
  6. website http://openrisc.net
  7. For more information about Linux on OpenRISC, please contact South Pole AB.
  8. email: info@southpole.se
  9. website: http://southpole.se
  10. http://southpoleconsulting.com
  11. ---------------------------------------------------------------------
  12. Build instructions for OpenRISC toolchain and Linux
  13. ===================================================
  14. In order to build and run Linux for OpenRISC, you'll need at least a basic
  15. toolchain and, perhaps, the architectural simulator. Steps to get these bits
  16. in place are outlined here.
  17. 1) The toolchain can be obtained from openrisc.net. Instructions for building
  18. a toolchain can be found at:
  19. http://openrisc.net/toolchain-build.html
  20. 2) or1ksim (optional)
  21. or1ksim is the architectural simulator which will allow you to actually run
  22. your OpenRISC Linux kernel if you don't have an OpenRISC processor at hand.
  23. git clone git://openrisc.net/jonas/or1ksim-svn
  24. cd or1ksim
  25. ./configure --prefix=$OPENRISC_PREFIX
  26. make
  27. make install
  28. 3) Linux kernel
  29. Build the kernel as usual
  30. make ARCH=openrisc defconfig
  31. make ARCH=openrisc
  32. 4) Run in architectural simulator
  33. Grab the or1ksim platform configuration file (from the or1ksim source) and
  34. together with your freshly built vmlinux, run your kernel with the following
  35. incantation:
  36. sim -f arch/openrisc/or1ksim.cfg vmlinux
  37. ---------------------------------------------------------------------
  38. Terminology
  39. ===========
  40. In the code, the following particles are used on symbols to limit the scope
  41. to more or less specific processor implementations:
  42. openrisc: the OpenRISC class of processors
  43. or1k: the OpenRISC 1000 family of processors
  44. or1200: the OpenRISC 1200 processor
  45. ---------------------------------------------------------------------
  46. History
  47. ========
  48. 18. 11. 2003 Matjaz Breskvar (phoenix@bsemi.com)
  49. initial port of linux to OpenRISC/or32 architecture.
  50. all the core stuff is implemented and seams usable.
  51. 08. 12. 2003 Matjaz Breskvar (phoenix@bsemi.com)
  52. complete change of TLB miss handling.
  53. rewrite of exceptions handling.
  54. fully functional sash-3.6 in default initrd.
  55. a much improved version with changes all around.
  56. 10. 04. 2004 Matjaz Breskvar (phoenix@bsemi.com)
  57. alot of bugfixes all over.
  58. ethernet support, functional http and telnet servers.
  59. running many standard linux apps.
  60. 26. 06. 2004 Matjaz Breskvar (phoenix@bsemi.com)
  61. port to 2.6.x
  62. 30. 11. 2004 Matjaz Breskvar (phoenix@bsemi.com)
  63. lots of bugfixes and enhancments.
  64. added opencores framebuffer driver.
  65. 09. 10. 2010 Jonas Bonn (jonas@southpole.se)
  66. major rewrite to bring up to par with upstream Linux 2.6.36