Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

No commit comments for this range

Something went wrong with that request. Please try again.