Commit Graph

106 Commits

Author SHA1 Message Date
Christopher Anderson
ffbb7b8fd3 [zynq] Add MIO_DEFAULT and correctly ignore MIO configuration based on that rather than 0 2015-04-02 11:03:55 -07:00
Stefan Kristiansson
9dd2d18171 [platform][or1ksim] add or1ksim platform for the or1k architecture
or1ksim is the "golden reference" simulator for the or1k
architecture, but the configuration used in this simple setup
is commonly used on other targets, so it could serve as a good
starting point for those as well.

Included is also a configuration file with uart and ethernet
peripherals defined, which of only the uart is supported.
2015-03-06 19:03:42 +02:00
Travis Geiselbrecht
c061e2d21c [arch][microblaze] add full interrupt, timer, and interrupt driven uart support 2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
6f4183bc9a [arch][microblaze] change linker script to support having a different LMA for the vector table
The qemu target has 128KB of ram at 0 and the rest at 0x90000000.
Split the binary so that the vector table lives at 0 and everything else in
the high address.
2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
0816848c82 [arch][microblaze] first semi functional context switch implementation 2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
436c5a885f [arch][microblaze] initial stab at getting a nulled out microblaze port compiling 2015-01-29 21:06:04 -08:00
Chris Anderson
5ed4eca1ba [zynq] Add slcr commands and pull out DDR config 2014-11-21 10:37:00 -08:00
Travis Geiselbrecht
49b0475a9a [target][uzed] remove extraneous TIMER_CLOCK_FREQ #define 2014-10-30 14:51:25 -07:00
Chris Anderson
a112873487 [zynq][gem] Move uzed and zybo gem inits to target 2014-10-10 14:56:38 -07:00
Chris Anderson
3e6334670f [zynq][gem] Move MIO cfg in the gem driver to the target cfg 2014-10-10 13:39:09 -07:00
Chris Anderson
751039507b [zynq] Add support to boot without configuring DRAM 2014-08-27 13:30:41 -07:00
Chris Anderson
27d679facd [zynq] Add uzed target support 2014-08-27 11:48:18 -07:00
Chris Anderson
e060c035d1 [zynq] Remove generated init for Zybo, add platform init routines 2014-08-27 11:48:18 -07:00
Travis Geiselbrecht
81dbfc2493 [platform][zynq] add support for putting the base of the system in dram (1MB offset)
-Add a few global #defines: ZYNQ_CODE_IN_SDRAM and ZYNQ_SDRAM_INIT which
are used in a few places to initialize or not initialze dram and affect
the way the VM is brought up.
-Add zybo-dram-test project
2014-08-13 17:28:47 -07:00
Travis Geiselbrecht
91e3efde16 [platform|target] add platform|target_quiesce calls 2014-08-12 16:09:09 -07:00
Brian Swetland
df26d050b9 [target][zybo] factor shared code into an app
Some but not all zybo based projects will want to share some higher
level initialization code, so move that to app/zybo-common and make
the zybo target a bit more bare-bones.
2014-08-08 15:20:30 -07:00
Brian Swetland
070fb64dfd [target][zybo] create bootloader patition if it doesn't exist 2014-08-05 18:16:11 -07:00
Travis Geiselbrecht
73b8ddbfb2 [target][zybo] add net0.use_dhcp flag to force dhcp even if ip address is set 2014-08-04 17:48:30 -07:00
Chris Anderson
98a09511e9 [zynq] Convert clk/mio jam table to readable code
Also re-added the generated pll table for documentation purposes
2014-08-04 15:54:25 -07:00
Chris Anderson
8599667a79 [zynq] Document IO PLL 2014-07-31 15:40:10 -07:00
Chris Anderson
2b4c03e80e [zynq] Convert the Zynq PLL init jam table into readable code
End goal will be to convert all the functions and remove ps7 entirely.
2014-07-31 15:37:03 -07:00
Chris Anderson
4a3ac17349 [gem]/[minip] mac and console changes
+ Add gem_set_macaddr
+ Disable promiscuous mode
+ Change flood command to raw
+ Change gem's console command from 'g' to 'gem'
+ Add status commands for both minip and gem
2014-07-31 01:24:40 -07:00
Travis Geiselbrecht
646070cd7f [target][zybo] read mac address and ip addresses from sysparams, if present
If the mac address isn't present, make up a random local one.
2014-07-26 20:54:34 -07:00
Chris Anderson
f3f4be5a8c [target][zybo] init minip 2014-07-24 17:53:37 -07:00
Travis Geiselbrecht
503f30f685 Merge remote-tracking branch 'github/vm'
Conflicts:
	platform/vexpress-a9/include/platform/vexpress-a9.h
	platform/zynq/rules.mk
2014-07-24 01:29:43 -07:00
Travis Geiselbrecht
4e5cb161a5 [target][zybo] add sysparam and ptable support
Add some code in target init that sets up the spi flash ptable
and sysparam block.
2014-07-23 15:22:12 -07:00
Travis Geiselbrecht
bcebb0861a [platform][zynq] refactor qspi into two layers 2014-07-15 20:09:08 -07:00
Travis Geiselbrecht
8186d9f365 [target] remove zynq-qemu test target 2014-07-14 17:32:08 -07:00
Travis Geiselbrecht
184cac4a0f [platform] add zybo and vexpress-a9 support for the VM 2014-07-11 18:11:59 -07:00
Travis Geiselbrecht
3f23b1dd30 [target][zynq-qemu] get the qemu target working after clock changes
The qemu target seems to emulate a 33Mhz crystal with default
pll settings.
2014-05-29 19:10:00 -07:00
Travis Geiselbrecht
bdb5addd5b [platform][zynq] initial implementation of some clock routines
-Mostly introspection at this point
-Move target specific jam table to early platform init
2014-05-29 18:24:55 -07:00
Travis Geiselbrecht
3558ec9328 [platform][vexpress-a9] add proper interrupt driven uart rx 2014-05-17 22:37:56 -07:00
Travis Geiselbrecht
25af26a00b [platform] remove realview-pb
vexpress-* is the new qemu target
2014-05-17 19:48:50 -07:00
Travis Geiselbrecht
53d2a21177 [platform][vexpress-a9] initial add of platform support for arm versatile express for cortex-a9 2014-05-17 17:53:54 -07:00
Travis Geiselbrecht
a69f397e06 [target][zybo] set the heap to the base of dram that's not covered with sram 2014-05-02 22:30:22 -07:00
Travis Geiselbrecht
1930cb3abd [platform][zynq] update timer code to take tick from target 2014-05-02 20:21:10 -07:00
Travis Geiselbrecht
adeed42672 [platform][alterasoc] initial support for Altera Cyclone V based SoC
-Initial dev board is a Helio
2014-05-01 19:06:57 -07:00
Sergio Rodriguez
11d4d89688 Merge remote-tracking branch 'upstream/master' into x86_64 2014-04-21 13:42:31 -07:00
Travis Geiselbrecht
e5a4b14bed [target][zybo] add initial port to zybo board 2014-04-20 23:53:13 -07:00
Travis Geiselbrecht
dcabc6cbe5 [platform][zynq] debug uart code tweak
-wait until there's a slot in the fifo before writing
-let the target set the debug uart
2014-04-20 17:50:23 -07:00
Travis Geiselbrecht
2ca94926a2 [platform][zynq] add quick 'n dirty support for Xilinx Zynq FPGA SoC
-tested against qemu model only at this point
-uart is polled
2014-04-19 00:46:52 -07:00
Sergio Rodriguez
e49f1d4f91 Creating initial commit for x86-64 for LK, this will be the base for the 64 bit version of LK. 2014-04-18 17:09:43 -07:00
Travis Geiselbrecht
8104e48945 [target][stm32f4-discovery] set HSE_VALUE to 8Mhz 2014-03-18 13:50:52 -07:00
Alex Ray
f42bc980d4 stm32f4-discovery: close port of stm32-p407
For the discovery dev board. Because it's pretty sweet.
2014-03-17 23:55:04 -07:00
Travis Geiselbrecht
6233aaae78 [target][lpcexpresso1549] added target init code from lpcopen example code
Initialize the board and move some of the uart initialization into platform space.
2014-03-16 12:37:43 -07:00
Travis Geiselbrecht
26956d9f6f [platform][lpc15xx] first stab at lpc15xx platform and target
Port to lpcexpresso 1549 board.
Builds, but not tested.
2014-03-15 13:32:30 -07:00
Travis Geiselbrecht
0cc8ef5ee8 [platform] add support for Foundation v8 emulator from ARM 2014-01-26 22:53:25 -08:00
Travis Geiselbrecht
9bb5a177e2 [osk5912] remove this old platform and target
Thanks for the years of service osk5912, we'll miss ya.
2014-01-25 20:30:47 -08:00
Travis Geiselbrecht
90d2942b44 [platform][stellaris] fix a bug in the usb driver, add more interfaces/endpoints 2013-09-12 11:12:46 -07:00
Travis Geiselbrecht
e3774f7108 [platform][stellaris] start of usb driver for stellaris 2013-09-09 15:03:58 -07:00