Commit Graph

175 Commits

Author SHA1 Message Date
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