Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fallen/lm32-binutils-mmu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 95e32bfe197b
Choose a base ref
...
head repository: fallen/lm32-binutils-mmu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 48745c595ad0
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 20, 2012

  1. Improve README

    fallen committed Sep 20, 2012
    Copy the full SHA
    79c4a28 View commit details
  2. Fix missing comma

    fallen committed Sep 20, 2012
    Copy the full SHA
    48745c5 View commit details
Showing with 9 additions and 3 deletions.
  1. +8 −2 README
  2. +1 −1 opcodes/lm32-desc.c
10 changes: 8 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion opcodes/lm32-desc.c
Original file line number Diff line number Diff line change
@@ -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 }
};