1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-04-21 12:27:27 +03:00

M1 build process update: USB firmware loading

- added https://www.rtems.org/bugzilla/show_bug.cgi?id=2032
  to patch set (Ioctl interface for loading USB firmware)

- now really switched from using RTEMS CVS to git (forgot to commit
  all the changes before)

- updated softusb -> FN update process
This commit is contained in:
Werner Almesberger
2012-02-26 12:42:35 -03:00
parent fe7a334808
commit dde052cfc3
3 changed files with 493 additions and 13 deletions

View File

@@ -7,16 +7,12 @@ Instructions:
Getting rtems:
cvs -d :pserver:anoncvs@www.rtems.com:/usr1/CVS login
cvs -d :pserver:anoncvs@www.rtems.com:/usr1/CVS -z 9 co -P rtems # 00:58
git clone git://git.rtems.org/rtems.git
cd rtems
cvs update -D 2011/12/01 # for now
git checkout 19d18f235084cbd361e068811a11f46d99918950 # for predictability
ln -s /home/qi/wernermisc/m1/patches/rtems/ patches
quilt push -a
future:
git clone git://git.rtems.org/rtems.git
Compiling rtems:
cd rtems
@@ -25,9 +21,9 @@ Compiling rtems:
cd build
../configure --target=lm32-rtems4.11 --enable-rtemsbsp=milkymist \
--enable-posix --disable-itron --enable-networking \
--disable-multiprocessing --disable-tests --prefix=/opt/rtems-4.11 # 00:09
make # -j5 # 01:11
make install # 00:05
--disable-multiprocessing --disable-tests --prefix=/opt/rtems-4.11 # 00:14
make # -j5 # 01:21
make install # 00:06
Compiling rtems-yaffs:
@@ -40,8 +36,6 @@ Compiling milkymist.git, libfpvm:
cd software/libfpvm
make install
(verify)
Compiling milkymist.git, softusb-input:
prerequisites:
@@ -78,9 +72,17 @@ Draft items below:
---
Rebuild RTEMS after updating the Navre firmware:
Rebuild Flickernoise after updating the Navre firmware:
cp ../../milkymist/software/libhal/softusb-input.h ../c/src/lib/libbsp/lm32/shared/milkymist_usbinput/softusb-input.h && make -j 5 && make install
milkymist.git:
make -C softusb-input
make -C softusb-input install
flickernoise.git:
cd src
make clean && make -j 5 bin/flickernoise.fbi && m1nor bin/flickernoise.fbi
---