Travis Geiselbrecht
781405aa87
[app][tests] add realtime arg to the spinner command
...
Change-Id: I07feb8c66de06fc99730b6795b0442dd9dd7b982
2015-05-29 15:27:58 -07:00
Travis Geiselbrecht
96ba54f187
[merge] merge back from smp branch
2015-05-28 12:52:41 -07:00
Travis Geiselbrecht
056b30bfe7
[app][lkboot] ask platform code if we should autoboot before booting
...
-have the zynq nak autobooting if the BOOT_MODE pins were set to
JTAG mode.
-Clean up some of the timeout logic a bit.
Change-Id: I4ace6354de89f2e88aa270e5ebc1bf01ebe3b046
2015-05-20 23:31:39 -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
fada1c63ca
[app][lkboot] remove printf warning
...
Change-Id: Ibee4aa7fec25ccb2a5c91fb4e3d6bc87ed0231c0
2015-05-20 14:25:37 -07:00
Arve Hjønnevåg
2c9c5959e7
Merge branch 'master' of https://github.com/travisg/lk into smp
...
Change-Id: Iecb11d57b6f089234c0826932bdb229588939750
2015-05-18 16:49:37 -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
e3834e4601
[app][lkboot] allow building lkboot without server, sysparams control autoboot behavior
...
add lkboot.autoboot and lkboot.autoboot_timeout sysparam overrides to the default.
Change-Id: I84640db94bc6ab0df906ad78e00462819150422c
2015-04-27 16:34:02 -07:00
Travis Geiselbrecht
3764cb3a2d
[app][lkboot] modularlize lkboot, add secondary DCC channel, remove large buffer
...
Change-Id: I5a59f06c909722fe7269aa0991da10fa1ea8196e
2015-04-27 16:29:45 -07:00
Travis Geiselbrecht
ab3e0c147a
[app][tests] add a instruction multi issue test, clean up formatting
2015-04-18 14:51:53 -07:00
Travis Geiselbrecht
bf033f3bdf
[app][tests] fix float_tests to not fail on bad memory access
2015-04-06 10:46:00 -07:00
Travis Geiselbrecht
9e06ed48f1
[app][tests] fix warning in mem_test
2015-04-03 20:39:40 -07:00
Travis Geiselbrecht
80fbfef0e1
[merge] merge branch 'master' into smp
...
Conflicts:
kernel/vm/pmm.c
platform/zynq/debug.c
platform/zynq/platform.c
2015-03-31 15:35:13 -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
13f3a13f7d
[app][tests] a few tweaks to some tests
...
-Add more interesting names to fibo threads
-Iterate a lot more on some of the thread tests (for faster cpus)
-Add spinner command that lets you add threads that spin forever
2015-03-10 16:43:55 -07:00
Travis Geiselbrecht
8fb2c54304
[kernel] remove critical_section, move everything to spinlocks
2015-03-10 16:43:54 -07:00
Travis Geiselbrecht
bf1d680063
[app][benchmark] slight cleanup
2015-03-10 16:42:53 -07:00
Travis Geiselbrecht
53e3d98e4d
[app][tests] add quick spinlock test
2015-03-10 16:42:53 -07:00
Travis Geiselbrecht
2035d88315
[app][tests] add some test cases for thread_detach/thread_join behavior
2015-03-10 16:37:08 -07:00
Travis Geiselbrecht
d449902adc
[app][lkboot] restructure to add booting out of flash
...
-Now lkboot will start a network server (if networking is enabled)
and wait for a predetermined amount of time (5 seconds currently).
If after that time no one has talked to it, it will try to boot
an image out of flash.
-If no networking, then directly boot an image out of flash immediately.
TODO: configure timeout, add 'autoboot' command to lkboot to let the host
short circuit the wait.
2015-03-03 14:59:27 -08: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
Travis Geiselbrecht
295d26c907
[app][lkboot] assume fpga images have already been endian swapped
...
Remove endian swap code on the receiving side.
2014-12-11 20:01:11 -08:00
Travis Geiselbrecht
0b8d9befda
[app][lkboot] first stab at trying to pass arguments to binaries loaded with lkboot
2014-12-11 19:58:46 -08:00
Shreyas Nagaraj
2ff04720f7
[arch][x86-64] MMU fixes - arch_mmu_query, page walking, kernel ld script
2014-12-11 19:22:37 -08:00
Shreyas Nagaraj
e2a45c32b7
[arch][x86_64] more x86-64 MMU changes
2014-12-11 19:22:37 -08:00
Travis Geiselbrecht
ee9d2927ad
[arm] add ability to pass and generically read up to 4 boot args from whoever loaded lk
...
-Extend arch_chain_load() to pass 4 args
2014-11-21 15:50:18 -08:00
Travis Geiselbrecht
2a7913e43e
[app][lkboot] add code to create/remove additional partitions, try to boot bootimages if passed
2014-11-21 15:50:18 -08:00
Travis Geiselbrecht
29a3eb393e
[libm] add ARM VFP versions of sqrt() routines
...
-VFP has a vsqrt instruction. Use it.
2014-11-18 10:43:40 -08:00
Travis Geiselbrecht
f75fe0b81b
[app][tests] add new memory test
...
-Use the VMM to allocate a large chunk of uncached physical memory
-if no VMM, allocate from heap
-Do a simple own address test then a pattern and moving inversion test
2014-10-23 14:41:44 -07:00
Travis Geiselbrecht
fde8a93302
[app][inetsrv] add an echo server (port 7)
2014-10-19 02:52:00 -07:00
Travis Geiselbrecht
9b7b6cdbf3
[app][tests] beef up the cache benchmark tests a little bit
2014-10-19 01:14:43 -07:00
Travis Geiselbrecht
3f7e6e5b9d
[app][clock_tests] handle having current_time() divides round properly
...
This will probably break implementations that truncate round.
2014-09-29 16:37:54 -07:00
Travis Geiselbrecht
227c14cb6b
[lib][libc] fix floating point printf for negatives
2014-09-09 13:37:30 -07:00
Chris Anderson
9c512e3bab
[zynq] Move zybo-common to zynq-common
2014-08-27 11:48:18 -07:00
Travis Geiselbrecht
bba71af9ed
[kernel] add real time flag for threads
...
Threads marked as real time do not have the preemption timer run against
them and will continue to run until they voluntarily yield or are
preempted by a higher priority thread from irq context.
2014-08-25 21:41:08 -07:00
Travis Geiselbrecht
30912e2f26
[app][tests] tests for floating point printf
2014-08-22 00:10:39 -07:00
Travis Geiselbrecht
afead3d125
[app][bench] add some quick n dirty sin/cos/sqrt benchmarks if libm is built
2014-08-20 17:42:06 -07:00
Travis Geiselbrecht
30add04420
[app][lkboot] align the boot buffer on 16MB boundary virtually and physically
2014-08-18 14:50:03 -07:00
Travis Geiselbrecht
3856c37434
[platform][zybo] turn off some of the boot spew
2014-08-18 14:50:03 -07:00
Brian Swetland
82fa2c8d7e
[app][lkboot] complete boot command in a thread
...
so we can allow the lkboot transaction to complete and the
host tool doesn't hang waiting for an ack
2014-08-13 15:16:05 -07:00
Travis Geiselbrecht
462e1475e1
[app][lkboot] remove console from the required module list
2014-08-12 16:21:27 -07:00
Travis Geiselbrecht
43e914f453
[app][lkboot] add boot command
2014-08-12 16:21:27 -07:00
Brian Swetland
e3f3a428a2
[app][lkboot] fix a dumb bug
2014-08-08 19:03:55 -07:00
Brian Swetland
fc898a85d6
[app][lkboot] fix lkb_write() for len 65536
2014-08-08 16:03:49 -07:00
Brian Swetland
47c2ae27e3
[app][lkboot] provide a means to register additional commands
2014-08-08 15:58:13 -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
Travis Geiselbrecht
255d4089b5
[app][inetsrv] print some transfer speed statistics
2014-08-07 15:20:34 -07:00
Travis Geiselbrecht
6586f96874
[app][inetsrv] make sure the chargen generator buffers at a boundary of the sequence
2014-08-07 15:09:31 -07:00
Brian Swetland
312e5e146a
[lkboot] reboot support
2014-08-06 16:09:55 -07:00