Commit Graph

55 Commits

Author SHA1 Message Date
whitequark 8db098dd8f Make sure the BIOS file ends on an aligned boundary.
If it does not, the address to which mkmscimg.py writes the CRC
and the address from which it is read could differ.
2015-07-29 12:30:57 +03:00
Florent Kermarrec 35250f5b11 bios: add romboot
When firmware is small enough, it can be interesting to run code from an embedded blockram memory (faster and not impacted by memory controller activity).
It can also be a fallback option in case boot from flash failed.
To use this, define ROM_BOOT_ADDRESS and initialize the blockram with the firmware data.
2015-07-14 18:01:44 +02:00
Florent Kermarrec 23541b5949 software/bios: call eth_mode only if we have an ethernet mac (we don't need to call it when we have a hardware UDP/IP stack) 2015-07-04 21:04:23 +02:00
Yann Sionneau 10eb07526d bios: show memtest command in help 2015-07-02 17:20:06 +02:00
Florent Kermarrec f44956bfca soc/sdram: add L2_SIZE constant and avoid declaring an empty flush_l2_cache function when L2_SIZE is not defined 2015-06-19 08:39:37 +02:00
Florent Kermarrec 0b1a2e1022 liteeth: do MII/GMII detection in gateware for gmii_mii phy 2015-04-26 18:08:07 +02:00
Florent Kermarrec ae71bf2830 liteeth: fix and improve 10/100/1000Mbps speed auto detection 2015-04-26 14:54:53 +02:00
Florent Kermarrec 515398634f liteeth/phy/gmii_mii: add clock counter and use it in bios to select mode 2015-04-12 18:42:52 +02:00
Florent Kermarrec 473997df26 cpuif: add CSR_ prefix to CSR base addresses (avoid conflicts between CSR and mems bases) 2015-03-02 16:52:17 +01:00
Florent Kermarrec 8280acd3a7 sdram: only keep frontend logic and sdram core declaration in soc/sdram.py, move other logic to sdram/core 2015-03-02 12:17:49 +01:00
Florent Kermarec 603c2641bb new Ethernet MAC 2014-11-20 16:47:22 -08:00
Sebastien Bourdeauducq 2388bfabc3 bios: support DDR3 write leveling and read calibration. This makes the full DDR3 SODIMM work on the KC705. 2014-09-03 14:25:26 +08:00
Sebastien Bourdeauducq 6decb357f1 bios: add sdrrderr 2014-09-01 15:23:37 +08:00
Sebastien Bourdeauducq 57335bdf3f bios: add DQ filtering to sdrrd, add sdrrdbuf command 2014-09-01 14:58:58 +08:00
Sebastien Bourdeauducq dc2024f54d bios: remove references to 'DDR' SDRAM, as we also support SDR SDRAM 2014-05-23 21:31:26 +02:00
Sebastien Bourdeauducq 1c08aeb21c Initial mor1kx (OpenRISC) support
Based on milkymist-ng-mor1kx by Stefan Kristiansson
2014-05-14 10:24:56 +02: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 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 c9e99dfca9 bios: flushl2 command 2013-11-16 16:27:34 +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
Sebastien Bourdeauducq 91d7b656a9 Switch to LASMI, bug pandemonium 2013-06-11 14:18:16 +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 b6448ba5fc bios: remove rescue 2013-05-28 16:15:30 +02:00
Sebastien Bourdeauducq 3eb41f73e6 Simplify system ID 2013-05-19 19:44:00 +02:00
Sebastien Bourdeauducq 581cf5bcb8 timer: atomic reads 2013-05-13 17:18:30 +02:00
Sebastien Bourdeauducq 2e3c2611a6 software: put network code in a library 2013-05-01 00:12:13 +02:00
Sebastien Bourdeauducq fdf7f10f54 Automatically build CSR access functions 2013-03-25 14:42:48 +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 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 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 3a4408a880 software: merge flash.h into mem.h 2012-05-31 16:30:30 +02:00
Sebastien Bourdeauducq 4dbc938f7c software: more string functions 2012-05-25 23:26:43 +02:00
Sebastien Bourdeauducq 22f7d1716e Remove some boilerplate 2012-05-24 19:22:27 +02:00
Sebastien Bourdeauducq 2500e71cb7 software: merge libextra into libbase 2012-05-24 19:01:47 +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 79124d822b Identifier 2012-05-17 01:41:41 +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 92ac69bae3 dfii: new design 2012-02-23 21:21:07 +01:00
Sebastien Bourdeauducq 1e4e092a55 bios: fix function prototypes 2012-02-18 21:06:35 +01:00
Sebastien Bourdeauducq c38de34a21 bios: DDR initialization skeleton 2012-02-17 18:47:04 +01:00