1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-11-23 23:45:21 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Werner Almesberger
19e87df825 Add DFU to BOOKSHELF. Add MMC driver unloading instructions to f32x/README
- BOOKSHELF: added the DFU specification 1.1 as "dfu"
- f32x/README: the kernel's MMC driver has to be unloaded before using the
  uSD interface for bit-banging
2010-11-05 22:00:13 -03:00
Werner Almesberger
13aa36be2b Changed default target to "ben" and added Ben upload.
- f32x/Makefile: "ben" is now the default target
- f32x/Makefile: made upload process target-dependent
2010-10-22 14:50:13 -03:00
Werner Almesberger
e614d15fef Cleaned up command-line parsing. Added option -n to disable target power.
- f32x/c2-ben.c: removed #include <stdio.h> left over from debugging
- f32x/f32x.c (main): command-line parsing now uses getopt() and is done
  before trying to talk to the target
- f32x/c2-drv.h (c2_ops), f32x/c2.h (c2_init), f32x/c2.c (c2_init),
  f32x/c2-om.c (om_init): pass "power" argument along the init call chain
- f32x/c2-ben.c (ben_init): added target power switching
- f32x/f32x.c (usage, main): new option -n to disable target power
2010-10-22 14:50:13 -03:00
Werner Almesberger
df9fb5c338 Include gpio-s3c24xx.h in gpio-s3c24xx.c
- f32x/gpio-s3c24xx.c: include gpio-s3c24xx.h
- f32x/gpio-s3c24xx.c: fix declaration mismatch discovered this way
2010-10-21 20:25:17 -03:00
Werner Almesberger
bb600dada5 f32x: added support for the c2ben adapter
- f32x/c2-ben.c: bitbang wrapper for the c2ben board
- f32x/Makefile: added "ben" target
- f32x/gpio-xburst.h, f32x/gpio-xburst.c: GPIO access primitives for XBurst
  CPUs
2010-10-21 20:15:07 -03:00
Werner Almesberger
80a0152663 Don't call gpio_init in c2_init, so that we can do additional setup work before
- f32x/c2-om.c: moved system includes to c2-bitbang.c
- f32x/c2-bitbang.c (c2_init): leave it to the upper layer to call gpio_init
- f32x/c2-om.c (om_init): call gpio_init, then c2_init
2010-10-21 19:28:00 -03:00
Werner Almesberger
6a4da0eaef Moved C2 bitbang functions from c2-om.c to (#included) c2-bitbang.c
- f32x/c2-om.c: renamed C2 bitbang functions from om_* to c2_*
- f32x/c2-om.c,  f32x/c2-bitbang.c: moved most of the content of c2-om.c to
  c2-bitbang.c and #include c2-bitbang.c
- f32x/Makefile: c2-om.o depends on c2-bitbang.c now
2010-10-21 19:09:43 -03:00
Werner Almesberger
3c9abdc65a Renamed gpio.* to gpio-s3c24xx.*
- f32x/Makefile (OBJS_om): rename gpio.o to gpio-s3c24xx.o
- f32x/gpio-s3c24xx.h, f32x/gpio-s3c24xx.c, f32x/c2-om.c: renamed gpio.* to
  gpio-s3c24xx.* to
2010-10-21 18:30:02 -03:00
Werner Almesberger
3bbf318536 Switched from four-spaces to one-tab indentation. 2010-10-21 10:05:26 -03:00
Werner Almesberger
de75051afa Support different targets. (Openmoko GTA01/02 with Dbgv3, soon c2ben.)
- f32x/Makefile: added support for building for different targets (for now,
  just TARGET=om)
- f32x/c2-drv.h: interface for C2 drivers
- f32x/c2-om.c: updated title
- f32x/c2-om.c: renamed all c2_* to om_* and made them "static"
- f32x/c2-om.c (c2_om): driver operations
- f32x/c2.c: call driver operations
- f32x/c2.h: moved protocol constants to c2-drv.h
2010-10-21 10:03:42 -03:00
Werner Almesberger
ab35c6b518 Prepare abstraction of C2 communication.
- f32x/c2.c: renamed to c2-om.c
- f32x/Makefile (OBJS): changed c2.o to c2-om.o
2010-10-21 10:00:41 -03:00
Werner Almesberger
c55fc4018d f32x/ - firmware uploader for the C2 protocol. From IDBG. 2010-08-13 08:46:38 -03:00