Sebastien Bourdeauducq
2f662bf8ab
software/videomixer: fix overflow in memory bandwidth computation
2013-07-14 20:05:18 +02:00
Sebastien Bourdeauducq
f3e07db1ef
software/memtest: basic test
2013-07-13 17:31:46 +02:00
Sebastien Bourdeauducq
379a48bb31
software: add memtest
2013-07-11 19:03:45 +02:00
Sebastien Bourdeauducq
e42a42ce40
software: move time.c to libbase
2013-07-11 19:00:48 +02:00
Sebastien Bourdeauducq
c2ec077d8f
software: share SDRAM linker script
2013-07-11 18:49:42 +02:00
Sebastien Bourdeauducq
25506c1ab5
software: share crt0
2013-07-11 18:36:26 +02:00
Sebastien Bourdeauducq
26ff6f2a9c
s6ddrphy: style and other minor fixes
2013-07-10 20:39:53 +02:00
Florent Kermarrec
60f1585fef
use Migen s6ddrphy, generate sdram init_sequence in cif.py
2013-07-10 19:56:09 +02:00
Sebastien Bourdeauducq
9d9270b5cd
dvisampler: report FIFO overflow
2013-07-10 19:55:36 +02:00
Sebastien Bourdeauducq
22e25347fe
software/videomixer: increase framebuffer size
2013-06-25 22:48:25 +02:00
Sebastien Bourdeauducq
6d3af8a914
videomixer: better memory bandwidth reporting
2013-06-15 16:50:27 +02:00
Sebastien Bourdeauducq
3644d2a6ef
lasmicon: bandwidth monitoring
2013-06-15 12:51:11 +02:00
Sebastien Bourdeauducq
13bf6f51f3
videomixer: timeout on IDELAY busy
2013-06-14 23:39:51 +02:00
Sebastien Bourdeauducq
81d35ef85d
videomixer: add fb.c
2013-06-14 23:39:48 +02:00
Sebastien Bourdeauducq
bb43171274
videomixer: support different resolutions
2013-06-14 23:39:45 +02:00
Sebastien Bourdeauducq
91d7b656a9
Switch to LASMI, bug pandemonium
2013-06-11 14:18:16 +02:00
Sebastien Bourdeauducq
6f2c05d436
microudp: fix compilation warning
2013-06-11 14:03:39 +02:00
Sebastien Bourdeauducq
45cfdf41fc
New simplified flash layout + build flashable images for SoC and videomixer
2013-06-01 17:20:40 +02:00
Sebastien Bourdeauducq
cbd621ef2c
software/stdlib: fix atoi
2013-05-31 14:44:52 +02:00
Sebastien Bourdeauducq
7c95d253d9
software/videomixer: improve phase calibration
2013-05-30 21:40:16 +02:00
Sebastien Bourdeauducq
30f5ef8895
software/videomixer: remove unneeded DCM resets
2013-05-30 21:39:56 +02:00
Sebastien Bourdeauducq
b6448ba5fc
bios: remove rescue
2013-05-28 16:15:30 +02:00
Sebastien Bourdeauducq
701aac2513
bios/linker.ld: flash -> rom
2013-05-28 16:15:17 +02:00
Sebastien Bourdeauducq
fdb021c992
dvisampler: increase frequency of reports to avoid missing WER values
2013-05-28 16:15:00 +02:00
Sebastien Bourdeauducq
3eb41f73e6
Simplify system ID
2013-05-19 19:44:00 +02:00
Sebastien Bourdeauducq
d487dc607f
software: add nofloat libbase for size-optimized binaries
2013-05-19 12:41:40 +02:00
Sebastien Bourdeauducq
fb6cd481f0
dvisampler: report the word error rate
2013-05-16 22:38:55 +02:00
Sebastien Bourdeauducq
a39bf8ca7b
software/videomixer: support additive blending (enable with SW1, status on LED)
2013-05-16 17:44:49 +02:00
Sebastien Bourdeauducq
ac64701e19
software/videomixer: better pot calibration
2013-05-16 17:43:56 +02:00
Sebastien Bourdeauducq
581cf5bcb8
timer: atomic reads
2013-05-13 17:18:30 +02:00
Sebastien Bourdeauducq
9f81afb844
software/videomixer: connect crossfade and blackout pots
2013-05-13 15:45:28 +02:00
Sébastien Bourdeauducq
6bf6477dbc
Merge pull request #1 from fallen/makefile-001
...
Some Makefile love
2013-05-13 00:38:26 -07:00
Sebastien Bourdeauducq
bb73558ccc
software/videomixer: framebuffer enable/disable
2013-05-12 21:46:16 +02:00
Yann Sionneau
301008cd0c
Some Makefile love
2013-05-12 14:24:18 +02:00
Sebastien Bourdeauducq
e96b027dee
Framebuffer mixing
2013-05-10 21:03:55 +02:00
Sebastien Bourdeauducq
6f11ddb079
software/dvisampler: periodically reset PLL until locked + recalibrate IO every second
2013-05-09 14:11:08 +02:00
Sebastien Bourdeauducq
546aa76aef
software/dvimixer: support two channels
2013-05-09 13:41:21 +02:00
Sebastien Bourdeauducq
c6d553e4e4
software/videomixer: interrupt-driven video passthrough
2013-05-09 10:52:43 +02:00
Sebastien Bourdeauducq
b3d87e1c79
software/videomixer: use new DMA engine
2013-05-08 22:31:18 +02:00
Sebastien Bourdeauducq
f82a16f3a3
software/videomixer: send to framebuffer
2013-05-06 09:56:49 +02:00
Sebastien Bourdeauducq
ad01dc8a74
software/videomixer: use new resdetection regs
2013-05-05 11:58:43 +02:00
Sebastien Bourdeauducq
2e3c2611a6
software: put network code in a library
2013-05-01 00:12:13 +02:00
Werner Almesberger
1ab89d6a62
tftp.h, tftp.c: add tftp_put
2013-04-16 19:23:12 +02:00
Werner Almesberger
22f39b9d26
tftp.c: use symbolic constant for block size
2013-04-16 19:23:12 +02:00
Werner Almesberger
944dd5932d
tftp.c (format_request): pass opcode as argument
2013-04-16 19:23:12 +02:00
Werner Almesberger
aafb3ef8d7
tftp.c: use uintNN_t instead of "unsigned short", etc.
2013-04-16 19:23:12 +02:00
Werner Almesberger
cdb5519272
tftp.h, tftp.c (tftp_get): make "buffer" void and use unsigned char internally
2013-04-16 19:23:12 +02:00
Werner Almesberger
effa71a811
tftp.c: make "packet_data" unsigned and optimize strcpy+strlen
2013-04-16 19:23:12 +02:00
Werner Almesberger
e0e447f0e0
tftp.c (rx_callback): simplify expressions containing unnecessary casts
2013-04-16 19:23:12 +02:00
Werner Almesberger
36613c7955
tftp.c: use symbolic constants for protocol opcodes
2013-04-16 19:23:12 +02:00
Werner Almesberger
65b807b63f
microudp.c: avoid redundant accesses into multi-level structures
2013-04-16 19:23:11 +02:00
Sebastien Bourdeauducq
f833bc9aa9
software/videomixer: use new csr.h
2013-04-14 16:33:00 +02:00
Sebastien Bourdeauducq
8fd092ca12
crg: support VGA pixel clock reprogramming
2013-03-28 19:07:17 +01:00
Sebastien Bourdeauducq
fdf7f10f54
Automatically build CSR access functions
2013-03-25 14:42:48 +01:00
Sebastien Bourdeauducq
6a54276d55
software/include/base: C++ compatibility
2013-03-25 14:38:58 +01:00
Sebastien Bourdeauducq
3640cab439
software/common.mak: add C++ definitions
2013-03-24 16:11:53 +01:00
Sebastien Bourdeauducq
6010308317
software/videomixer: report char position + detected resolution, detect phase at beginning
2013-03-24 00:46:23 +01:00
Sebastien Bourdeauducq
80f3e97ca9
software/stddef.h: c++ compat for NULL
2013-03-24 00:17:42 +01:00
Sebastien Bourdeauducq
d65941d6cc
dvisampler: channel synchronization
2013-03-22 18:37:10 +01:00
Sebastien Bourdeauducq
515cdb2bd8
dvisampler: character synchronization
2013-03-21 22:56:13 +01:00
Sebastien Bourdeauducq
2315544b36
software/videomixer: quick hack for phase detection
2013-03-21 15:32:26 +01:00
Sebastien Bourdeauducq
a6a3d93059
software: add videomixer base files
2013-03-21 10:42:31 +01:00
Sebastien Bourdeauducq
bb566c9e7c
software/bios: change boot order
2013-03-21 10:41:56 +01:00
Sebastien Bourdeauducq
2ae504fb9b
software/bios: default length 4 for mr command
2013-03-13 19:59:39 +01:00
Sebastien Bourdeauducq
a9b723568a
Use new module, autoreg and eventmanager Migen APIs
2013-03-10 19:32:38 +01:00
Sebastien Bourdeauducq
2059592db2
software/libcompiler-rt: add ctzsi2
2013-03-06 11:10:16 +01:00
Sebastien Bourdeauducq
5e6505b946
bios: print number of memory errors
2013-02-24 16:51:03 +01:00
Sebastien Bourdeauducq
07120e3c3e
bios: use puts for long string
2013-02-17 16:21:25 +01:00
Sebastien Bourdeauducq
8247f3a154
bios: add build date to banner
2013-02-17 14:29:11 +01:00
Sebastien Bourdeauducq
20003f0ada
software: go back to GCC
2013-02-16 23:41:42 +01:00
Sebastien Bourdeauducq
a94ee3884f
software/include: add float.h
2013-01-12 10:57:43 +01:00
Sebastien Bourdeauducq
83f562a76c
software/include: add stdbool.h
2013-01-12 10:51:07 +01:00
Sebastien Bourdeauducq
080dbaa206
software: hide and delete .ts files
2013-01-10 18:01:42 +01:00
Sebastien Bourdeauducq
7adee988f2
software: compile compiler-rt ourselves
2013-01-10 17:59:00 +01:00
Sebastien Bourdeauducq
d576893bda
software/include/base/stdint.h: add INT32_C
2013-01-10 17:58:17 +01:00
Sebastien Bourdeauducq
c5c29199be
software: run the assembler ourselves to prevent future time wastage due to breakage of our custom Clang toolchain
2013-01-10 17:20:31 +01:00
Sebastien Bourdeauducq
c490917aec
software/common.mak: remove -fsigned-char from CFLAGS
2013-01-10 17:14:51 +01:00
Sebastien Bourdeauducq
e4144f2c7d
software/common.mak: use -target instead of deprecated -ccc-host-triple
2013-01-10 17:13:33 +01:00
Sebastien Bourdeauducq
b0503aaf85
software/include/base/stdint.h: more definitions
2013-01-10 17:10:29 +01:00
Sebastien Bourdeauducq
dd6eacba62
Remove uses of the RE signal on field registers
2012-10-09 19:08:37 +02:00
Sebastien Bourdeauducq
5ef8d5f534
bios/dataflow: use freeze register
2012-08-04 23:39:29 +02:00
Sebastien Bourdeauducq
274a00217e
bios: asmiprobe command
...
Because with reordering architectures come order-dependent intermittent bugs.
2012-08-04 16:32:15 +02:00
Sebastien Bourdeauducq
eb751f6e80
bios: add command to print df debug info
2012-08-03 18:51:39 +02:00
Sebastien Bourdeauducq
59f4490630
software/libbase: qsort
2012-06-04 19:45:13 +02:00
Sebastien Bourdeauducq
2dc346dfd6
base/stdlib.h: abs/labs
2012-06-04 19:41:49 +02:00
Sebastien Bourdeauducq
b4f49cc48f
software/base/limits.h: add some more
2012-06-04 19:41:41 +02:00
Sebastien Bourdeauducq
ebed9ca6f8
software/libbase: add fseek+ftell decls
2012-06-03 21:32:36 +02:00
Sebastien Bourdeauducq
674b3f1a8c
software/include/hw: add flash offset for filesystem
2012-06-02 23:44:57 +02:00
Sebastien Bourdeauducq
964dc8050c
software: stdarg.h: cleanup and add va_copy
2012-06-02 17:12:37 +02:00
Sebastien Bourdeauducq
5fe1aade34
software/libbase: uintptr_t
2012-06-02 00:16:38 +02:00
Sebastien Bourdeauducq
8fa0198089
software/libbase: add strcat strncat
2012-05-31 21:03:52 +02:00
Sebastien Bourdeauducq
20b137fce9
software: more flexible compilation target
2012-05-31 20:17:33 +02:00
Sebastien Bourdeauducq
ee8ef23f2f
software: use new Clang target name
2012-05-31 20:17:02 +02:00
Sebastien Bourdeauducq
b13bc6ed64
software/libbase: add some more types
2012-05-31 20:16:24 +02:00
Sebastien Bourdeauducq
fc9e723175
Remove compiler-rt config
2012-05-31 20:16:05 +02:00
Sebastien Bourdeauducq
3a4408a880
software: merge flash.h into mem.h
2012-05-31 16:30:30 +02:00
Sebastien Bourdeauducq
8d63c249e3
software: platform configuration file for compiler-rt
2012-05-29 16:40:04 +02:00
Sebastien Bourdeauducq
e18447d166
software/common.mak: use clang + lm32-elf binutils only
2012-05-29 16:39:47 +02:00
Sebastien Bourdeauducq
8d1bc50120
software/libbase/vsnprintf: treat %g as %f (temporary hack)
2012-05-28 21:18:25 +02:00
Sebastien Bourdeauducq
e982571953
software/libbase: remove fabsf
2012-05-28 19:48:20 +02:00
Sebastien Bourdeauducq
771a27d964
software/libbase: add strerror
2012-05-28 19:48:11 +02:00
Sebastien Bourdeauducq
8e03ea26d6
software/libbase: use compiler-rt
2012-05-28 19:41:31 +02:00
Sebastien Bourdeauducq
e115eb08fb
software/libbase: fix stupid mistake in limits.h
2012-05-28 19:32:38 +02:00
Sebastien Bourdeauducq
2428057c2f
software/libbase: malloc family decl in stdlib
2012-05-28 17:20:06 +02:00
Sebastien Bourdeauducq
56e201fd5d
software/libbase: more file decls in stdio
2012-05-28 17:17:13 +02:00
Sebastien Bourdeauducq
333179e1c5
software/libbase: memcpy: same with 2 alignment
2012-05-27 16:06:23 +02:00
Sebastien Bourdeauducq
c4a28a404b
software/libbase: __floatunsisf/__floatunsidf
2012-05-27 16:05:04 +02:00
Sebastien Bourdeauducq
48b70f09a8
software/libbase: fix memcpy handling of buffers with differing alignments
2012-05-27 15:45:45 +02:00
Sebastien Bourdeauducq
4dbc938f7c
software: more string functions
2012-05-25 23:26:43 +02:00
Sebastien Bourdeauducq
a481db612a
software/libbase: strtod
2012-05-25 23:26:17 +02:00
Sebastien Bourdeauducq
99070f0afd
software/libbase: errno
2012-05-25 23:24:53 +02:00
Sebastien Bourdeauducq
0b99cbf7b9
software/libbase: provide getenv declaration
2012-05-25 22:50:30 +02:00
Sebastien Bourdeauducq
37b578854b
software/libbase: provide file I/O declaration
2012-05-25 22:45:28 +02:00
Sebastien Bourdeauducq
cd546edc19
software/libbase: stddef.h
2012-05-25 22:30:17 +02:00
Sebastien Bourdeauducq
fdc7da5826
software/libbase: improve limits.h
2012-05-25 22:29:37 +02:00
Sebastien Bourdeauducq
d66835d3ab
software/common.mak: support changing source directory
2012-05-25 22:29:15 +02:00
Sebastien Bourdeauducq
598498ec2b
libbase: setjmp/longjmp
2012-05-25 22:28:38 +02:00
Sebastien Bourdeauducq
8e0461121f
software/libbase: srand and RAND_MAX
2012-05-25 18:57:23 +02:00
Sebastien Bourdeauducq
88a909e86c
software: cleanup CFLAGS
2012-05-25 17:20:04 +02:00
Sebastien Bourdeauducq
80f3d83c34
software/libbase: now that we have double precision, printf hack no longer needed
2012-05-24 23:47:56 +02:00
Sebastien Bourdeauducq
78d5645236
software/libbase: double precision FP glue
2012-05-24 23:47:32 +02:00
Sebastien Bourdeauducq
275caae7f0
software/libbase: fix softfloat compilation warnings
2012-05-24 23:25:59 +02:00
Sebastien Bourdeauducq
97b77945e5
software/libbase: upgrade softfloat to version 2b + add support for more precision
2012-05-24 23:21:18 +02:00
Sebastien Bourdeauducq
22f7d1716e
Remove some boilerplate
2012-05-24 19:22:27 +02:00
Sebastien Bourdeauducq
473c75898e
software: include.mak -> common.mak
2012-05-24 19:02:59 +02:00
Sebastien Bourdeauducq
2500e71cb7
software: merge libextra into libbase
2012-05-24 19:01:47 +02:00
Sebastien Bourdeauducq
2823034a7b
software/libextra: remove blockdev + fatfs
2012-05-24 18:51:27 +02:00
Sebastien Bourdeauducq
f6f42293d1
Clock frequency detection
2012-05-22 13:23:44 +02:00
Sebastien Bourdeauducq
4d754dbb33
bios: serial, network and flash boot support
2012-05-21 22:57:12 +02:00
Sebastien Bourdeauducq
275ed9cd9c
bios: timer support
2012-05-21 22:56:21 +02:00
Sebastien Bourdeauducq
e33399de82
bios/ddrinit: use new padding scheme for address register
2012-05-21 22:55:45 +02:00
Sebastien Bourdeauducq
d03ee7a89f
libbase: unmask UART interrupt correctly
2012-05-21 20:01:21 +02:00
Sebastien Bourdeauducq
c01594f9fd
Common interrupt numbers
2012-05-21 19:52:41 +02:00
Sebastien Bourdeauducq
79124d822b
Identifier
2012-05-17 01:41:41 +02:00
Sebastien Bourdeauducq
bb798176fc
Common include files
2012-05-16 10:20:04 +02:00
Sebastien Bourdeauducq
b6aa40d845
bios: automatically enable hardware memory controller and test memory
2012-05-15 19:29:26 +02:00
Sebastien Bourdeauducq
7ecfd60368
bios: more DDR diagnostic functions
2012-05-14 20:07:57 +02:00
Sebastien Bourdeauducq
8d4a42887e
ddrphy: working on hardware, simulation a bit messed up
2012-02-24 15:44:51 +01:00
Sebastien Bourdeauducq
17b2588321
ddrphy: reads OK, write data coming out 1/2 cycle too late
2012-02-24 15:05:52 +01:00
Sebastien Bourdeauducq
a363eb4a36
ddrphy: partly working
2012-02-24 13:54:10 +01:00
Sebastien Bourdeauducq
92ac69bae3
dfii: new design
2012-02-23 21:21:07 +01:00
Sebastien Bourdeauducq
f35cd4a85b
Prepare for new DDR PHY
2012-02-19 18:43:42 +01:00
Sebastien Bourdeauducq
1e4e092a55
bios: fix function prototypes
2012-02-18 21:06:35 +01:00
Sebastien Bourdeauducq
026457a98c
Send SDRAM initialization sequence and answer PHY read/write requests. Obstinately refuses to work, unfortunately.
2012-02-18 18:12:14 +01:00
Sebastien Bourdeauducq
5bc840b9c1
DFI injector (untested)
2012-02-17 23:50:10 +01:00
Sebastien Bourdeauducq
c38de34a21
bios: DDR initialization skeleton
2012-02-17 18:47:04 +01:00
Sebastien Bourdeauducq
e5927e265f
bios: add flash target using m1nor
2012-02-17 18:16:29 +01:00
Sebastien Bourdeauducq
c387ce7ce5
Map DDR PHY controls in CSR
2012-02-17 17:34:59 +01:00
Sebastien Bourdeauducq
755079d7fa
libbase: blocking UART write if IRQs are enabled
2012-02-07 15:12:27 +01:00
Sebastien Bourdeauducq
73fce59631
software: shell from original BIOS
2012-02-07 15:02:44 +01:00
Sebastien Bourdeauducq
ef0667d959
software: UART RX demo
2012-02-07 14:12:33 +01:00
Sebastien Bourdeauducq
fb22edc06a
software: enable -Wmissing-prototypes
2012-02-07 13:02:06 +01:00
Sebastien Bourdeauducq
63f6dece56
software: use the Clang/LLVM compiler
2012-02-07 12:52:34 +01:00
Sebastien Bourdeauducq
a40b0ea175
software: fix size_t and ptrdiff_t
2012-02-07 12:06:49 +01:00
Sebastien Bourdeauducq
494c383fa8
software: remove unnecessary IRQ acks
2012-02-07 00:07:25 +01:00
Sebastien Bourdeauducq
4aaf48afb0
software: interrupt driven UART working
2012-02-06 23:53:29 +01:00
Sebastien Bourdeauducq
5cde57cb65
software: use new UART
2012-02-06 17:53:41 +01:00
Sebastien Bourdeauducq
45529d5941
BIOS: hello world
2012-02-05 20:01:28 +01:00
Sebastien Bourdeauducq
e2317bc83b
flash: remove splash screens
2012-02-05 19:12:33 +01:00
Sebastien Bourdeauducq
1ad44b6571
software: dependencies the Werner way
2012-02-03 12:25:55 +01:00
Sebastien Bourdeauducq
1a4a6eb445
Copy some software code from the original Milkymist SoC.
...
Libbase should keep its RAM usage to a minimum as it is meant to
be executed before the SDRAM is up and running. (Having lots of
code is OK though as we XIP from the flash)
2012-02-03 12:08:17 +01:00