Date:2011-11-26 11:42:19 (12 years 4 months ago)
Author:Werner Almesberger
Commit:9551dbac73d983c9a6d967dcd7406bde750a80c9
Message:m1/BUILD-CHEAT-SHEET: poorly organized notes for how to build things

Files: m1/BUILD-CHEAT-SHEET (1 diff)

Change Details

m1/BUILD-CHEAT-SHEET
1(This is my cheat sheet. It works for me but yet may stil be incomplete
2and redundant at the same time.)
3
4Compiling rtems:
5
6  cd rtems
7  ./bootstrap -c && ./bootstrap -p && ./bootstrap
8  mkdir -p build
9  cd build
10  ../configure --target=lm32-rtems4.11 --enable-rtemsbsp=milkymist \
11    --enable-posix --disable-itron --enable-networking \
12    --disable-multiprocessing --disable-tests --prefix=/opt/rtems-4.11
13  make
14  make install
15
16Compiling rtems-yaffs:
17
18  cd rtems-yaffs2
19  make -f Makefile.rtems
20  make -f Makefile.rtems install
21
22Compiling milkymist.git, libfpvm:
23
24  cd software/libfpvm
25  make -C lm32-rtems install
26
27  (verify)
28
29Compiling milkymist.git, softusb-input:
30
31  prerequisites:
32
33  make -C software/libhpdmc
34  make -C software/libnet
35  make -C software/libbase
36
37  make -C software/softusb-input
38  make -C software/libhal
39  make -C software/bios
40
41  ./build_bios.sh
42
43Compiling flickernoise.git:
44
45  cd flickernoise/src
46  make bin/flickernoise.fbi && m1nor bin/flickernoise.fbi
47
48  (m1nor from wernermisc/m1/tools/)
49
50Rebooting the M1:
51
52  cd wernermisc/m1/jtag-boot
53  make boot
54
55Send patches:
56
57  git send-email --cover-letter --thread --annotate f6c7474ae3b181157d8950e25c4705d53d9ae9c1
58
59------------------------------
60
61Draft items below:
62
63---
64
65Rebuild RTEMS after updating the Navre firmware:
66
67cp ../../../milkymist/software/libhal/softusb-input.h ../c/src/lib/libbsp/lm32/shared/milkymist_usbinput/softusb-input.h && make -j 5 && make install
68
69---
70
71Synthesize the SoC:
72
73cd boards/milkymist-one/flash
74make -C ../synthesis -f Makefile.xst clean && make clean && time make soc.fpg
75m1nor soc.fpg

Archive Download the corresponding diff file

Branches:
master



interactive