Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: fallen/lm32-binutils-mmu
base: 95e32bfe197b
...
head fork: fallen/lm32-binutils-mmu
compare: 48745c595ad0
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 9 additions and 3 deletions.
  1. +8 −2 README
  2. +1 −1  opcodes/lm32-desc.c
10 README
View
@@ -1,12 +1,18 @@
How to install Milkymist LM32-MMU modified version of binutils
-1°) Clone source repository
+1°) Clone source repository and patch it
git clone git://github.com/fallen/lm32-binutils-mmu.git
+ wget http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11/binutils-2.22-rtems4.11-20120427.diff
+ cd lm32-binutils-mmu
+ cat ../binutils-2.22-rtems4.11-20120427.diff | patch -p1 --dry-run
+ # If the previous command says no error you can continue
+ cat ../binutils-2.22-rtems4.11-20120427.diff | patch -p1
+
2°) Make sure you have everything ready to compile lm32-binutils-mmu
- sudo aptitude install m4 patch build-essential texinfo cvs libncurses5-dev libgmp3-dev libmpfr-dev libmpc-dev autoconf autotools-dev automake
+ sudo aptitude install m4 patch build-essential texinfo cvs libncurses5-dev libgmp3-dev libmpfr-dev libmpc-dev autoconf autotools-dev automake flex bison
3°) Compile it
2  opcodes/lm32-desc.c
View
@@ -198,7 +198,7 @@ static CGEN_KEYWORD_ENTRY lm32_cgen_opval_h_csr_entries[] =
{ "TLBCTRL", 28, {0, {{{0, 0}}}}, 0, 0 },
{ "TLBVADDR", 29, {0, {{{0, 0}}}}, 0, 0 },
{ "DTLBMA", 29, {0, {{{0, 0}}}}, 0, 0 },
- { "TLBPADDR", 30, {0, {{{0, 0}}}}, 0, 0 }
+ { "TLBPADDR", 30, {0, {{{0, 0}}}}, 0, 0 },
{ "ITLBMA", 30, {0, {{{0, 0}}}}, 0, 0 }
};

No commit comments for this range

Something went wrong with that request. Please try again.