Florent Kermarrec
11be0a27fc
fix minimac bases addresses
2014-05-12 19:19:34 +02:00
Sebastien Bourdeauducq
87a8504304
Refactor CRC tools
2014-04-19 00:01:29 +02:00
Florent Kermarrec
93f02a8cf4
tools: replace mkmscimg with mkmscimg.py (mkmscimg.c was platform dependent)
2014-04-18 20:22:42 +02:00
Sebastien Bourdeauducq
f76da70cda
software/libcompiler-rt: adapt to new upstream directory organization
2014-04-08 15:29:23 +02:00
Sebastien Bourdeauducq
3882a07ae5
Add Python flasher
2014-02-28 09:40:49 -08:00
Sebastien Bourdeauducq
9e784fc82c
Generate mem.h from SoC description
2014-02-21 17:55:05 +01:00
Sebastien Bourdeauducq
fce46ac0ca
Simplify use of external targets/platforms/cores + add default platform in targets
2014-02-16 14:51:52 +01:00
Sebastien Bourdeauducq
a23dffd2c2
bios: update banner
2014-02-15 14:02:09 +01:00
Sebastien Bourdeauducq
f55943ae18
new action syntax for make.py + support xc3sprog
2014-02-15 14:01:50 +01:00
Sebastien Bourdeauducq
14b50dbb0c
videomixer: config system + store video resolution in flash
2013-11-30 23:07:19 +01:00
Sebastien Bourdeauducq
4ba796417d
software: do not attempt to build network/sdram drivers when cores are not present
2013-11-24 23:50:09 +01:00
Sebastien Bourdeauducq
d4063409e1
software/bios: infer flash start from linker
2013-11-24 23:45:03 +01:00
Sebastien Bourdeauducq
fca0b968e7
generate linker memory map, move all generated files into the same folder
2013-11-24 19:50:17 +01:00
Sebastien Bourdeauducq
bc2b4a888b
memtest: flush caches, display total error count, use ifdef instead of comment
2013-11-24 13:59:45 +01:00
Sebastien Bourdeauducq
7496ba6360
framebuffer: fix resynchronization after resolution change
2013-11-21 00:33:22 +01:00
Sebastien Bourdeauducq
f5ba0ac023
videomixer: select 1024x768 by default
2013-11-21 00:33:01 +01:00
Sebastien Bourdeauducq
f62615054d
videomixer: stick to 20x PLL configuration as 10x causes traditional spartan6 weirdness
2013-11-18 20:43:30 +01:00
Sebastien Bourdeauducq
a75be2e5dd
videomixer: reconfigure PLL on resolution change
2013-11-18 20:37:45 +01:00
Sebastien Bourdeauducq
72001addcb
videomixer: add PLL dump command
2013-11-18 20:37:27 +01:00
Sebastien Bourdeauducq
6fc03946be
videomixer: add PLL control code
2013-11-18 20:37:10 +01:00
Sebastien Bourdeauducq
8b82575861
dvisampler: hold PLL in reset when disabled
2013-11-18 20:36:30 +01:00
Sebastien Bourdeauducq
8f164d0d7b
videomixer: reduce debug output
2013-11-17 23:40:42 +01:00
Sebastien Bourdeauducq
64bfca56b4
videomixer: add more video modes
2013-11-16 17:41:03 +01:00
Sebastien Bourdeauducq
ba15f1581f
videomixer: flush L2 after CPU framebuffer write
2013-11-16 16:27:58 +01:00
Sebastien Bourdeauducq
c9e99dfca9
bios: flushl2 command
2013-11-16 16:27:34 +01:00
Sebastien Bourdeauducq
c3d0985fb2
add L2 cache size in identifier + function to flush L2
2013-11-16 16:27:21 +01:00
Sebastien Bourdeauducq
940341b4bf
videomixer: fix stray DMA detection
2013-11-16 13:53:38 +01:00
Sebastien Bourdeauducq
d225bdf362
videomixer: clear framebuffers
2013-11-15 11:25:58 +01:00
Sebastien Bourdeauducq
a5d9f72901
videomixer: check resolution and frame length
2013-11-13 18:57:39 +01:00
Sebastien Bourdeauducq
1582bad2d6
videomixer: filter PLL lock output
2013-11-13 16:50:09 +01:00
Robert Jordens
1a28690fa0
microudp: fix udp txlen
...
* the preample length 8 is already included in sizeof(struct
ethernet_header)
* the minimum packet size is 64, exluding fcs and including
preample it is 68 (the arp functions are correct)
2013-11-12 19:05:15 +01:00
Sebastien Bourdeauducq
69568adb8e
videomixer: support resolution change at runtime
2013-11-11 23:20:21 +01:00
Sebastien Bourdeauducq
593867b92a
videomixer: add more video modes
2013-11-11 22:16:56 +01:00
Sebastien Bourdeauducq
c8da400af0
videomixer: compute best m/d value for pixel clock synthesizer
2013-11-11 21:30:12 +01:00
Sebastien Bourdeauducq
132b6ce87d
videomixer: set established timing bits in EDID
2013-11-11 18:56:13 +01:00
Sebastien Bourdeauducq
3ba9fbefd5
videomixer: generate EDID
2013-11-11 17:52:07 +01:00
Sebastien Bourdeauducq
f5211aff30
videomixer: add EDID manipulation routines
2013-11-10 23:50:18 +01:00
Sebastien Bourdeauducq
75d25af3aa
cosmetic changes
2013-11-10 16:12:24 +01:00
Robert Jordens
de87149c8c
common.mak: drop the echo from the version tag finding, did not work here, use python -c
...
Signed-off-by: Robert Jordens <jordens@gmail.com>
2013-11-10 13:17:37 +01:00
Sebastien Bourdeauducq
e4db7d1c7f
common.mak: specify python3
2013-11-10 11:29:27 +01:00
Robert Jordens
4fc301ceba
common.mak: -Os instead of -O3, smaller bios (<32k)
2013-11-10 10:51:05 +01:00
Sebastien Bourdeauducq
d7a4d8b66e
use git commit id as version
2013-11-09 16:38:44 +01:00
Sebastien Bourdeauducq
0b881d934f
rename milkymist-ng to MiSoC
2013-11-09 15:27:32 +01:00
Florent Kermarrec
e7c72a826c
uart_isr: fix interrupts clear
2013-10-23 13:04:49 +02:00
Sebastien Bourdeauducq
e6e04a2e3a
framebuffer: prepare for DVI out
2013-09-17 18:15:22 +02:00
Sebastien Bourdeauducq
ffe4bff396
dvisampler: use hard differential phase detector
2013-09-14 17:14:20 +02:00
Sebastien Bourdeauducq
cc0667df8d
software/videomixer: 1024x768 by default
2013-09-13 18:32:23 +02:00
Sebastien Bourdeauducq
be9acc045f
software/videomixer: support test mode without pots
2013-09-13 18:32:01 +02:00
Sebastien Bourdeauducq
52be94f060
videomixer: handle HPD
2013-09-08 12:54:48 +02:00
Sebastien Bourdeauducq
525c32976b
software/memtest: fix bandwidth computation
2013-07-17 13:08:40 +02:00
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