13 Commits

Author SHA1 Message Date
Travis Geiselbrecht
fe28bd8a95 [lib][minip] add a mechanism to wait for the stack to be configured
Configured in this case means an ip address assigned and a nic
installed.
2022-03-19 14:46:01 -07:00
Travis Geiselbrecht
f7d8e2300c [warnings] add -Wshadow which helps detect local variables that override globals
Nothing particularly bad showed up but cleaned up a bit of code.
2020-07-25 16:49:25 -07:00
Travis Geiselbrecht
cba9e47987 [license] replace the longer full MIT license with a shorter one
Used scripts/replacelic. Everything seems to build fine.
2019-07-05 17:22:23 -07:00
Travis Geiselbrecht
d8fa82cb91 [formatting] run everything through codestyle
Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.

See scripts/codestyle
2019-06-19 21:02:24 -07:00
Travis Geiselbrecht
1b7a28efb8 [include][lk] fixup lk/ include path move 2019-06-19 19:46:11 -07:00
Travis Geiselbrecht
a4ca0a6e00 [vmm] move most users of arch_mmu_query directly to vaddr_to_paddr() 2016-02-14 12:45:53 -08:00
John Grossman
eab2816302 [lib][ptable] Modify ptable to respect erase geometries.
Modify the existing ptable code to pay attention to bio device erase
geometry if present.  Significant changes include...

+ Partitions must be allocated on both program and erase block
  boundaries.
+ Partitions lengths must be multiples of both program and erase block
  sizes.
+ Partitions may not span non-homogeneous regions of erase geometry.
+ ptable_allocate as been made private.
+ Users may no longer explicitly select a position for partitions to
  be added, they may only ask for the partition to be allocated at the
  begining or the end of the block device.
+ A bio subdevice will be registered for each active partition in the
  system.  Users are encouraged to add their partition using
  ptable_add, and then open a handle to the subdevice using bio_open.
  The bio subdevice will prevent accidental scribbling outside of the
  partition lines, and also advertise the partition erase size.

Signed-off-by: John Grossman <johngro@google.com>
Change-Id: I09bf9038d210ff8be42d44166ab92c789872e036
2015-06-29 17:32:10 -07:00
Travis Geiselbrecht
307628f29b [platform][zynq] add watchdog driver
-use lib/watchdog to manage the hardware watchdog driver
-set the default timeout to 1 second, pet at 500ms intervals

Change-Id: I04d23313083e4715791e197d4a50f319df9916aa
2015-05-20 23:31:39 -07:00
Travis Geiselbrecht
5b830de81f [zynq-common] squelch a little bit of debug spew when compiling at lower debug levels 2015-05-02 22:48:57 -07:00
Travis Geiselbrecht
5cea44316c [platform][zynq] make building gem/minip optional, make initializing sdram optional
Change-Id: Ia499573363fcf9b60a7338e072ea21f72e7e4eee
2015-03-17 17:47:54 -07:00
Travis Geiselbrecht
9dafcb855d [app][zynq-common] support loading fpga image out of flash
If the bootloader started the app image out of flash and has passed
the address to it in the bootargs, then load the fpga image out of
flash.
2015-03-03 14:55:40 -08:00
Travis Geiselbrecht
ac71743a45 [zynq-common] if loaded from bootimage in ram, program fpga
Use the bootargs and bootimage code to find the image we were
booted from. If found and the fpga image checks out, program it.
2014-12-16 17:29:44 -08:00
Chris Anderson
9c512e3bab [zynq] Move zybo-common to zynq-common 2014-08-27 11:48:18 -07:00