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
Travis Geiselbrecht
d3419db6f0
[warnings] knock out a few warnings and add a few vim tags
2014-08-06 15:03:32 -07:00
Travis Geiselbrecht
45b8467ff0
[lib][minip] change tcp socket handles to an opaque tcp_socket_t struct
2014-08-06 15:01:28 -07:00
Brian Swetland
b8bd9b9edb
[lkboot] add "getsysparam", support data return from server
2014-08-06 10:34:09 -07:00
Brian Swetland
5b2e6584f8
[app][lkboot] network bootloader server
2014-08-05 18:19:08 -07:00
Travis Geiselbrecht
f57575dfd7
[app][inetsrv] increase discard buffer size for efficiency
2014-08-04 19:11:34 -07:00
Travis Geiselbrecht
97c4b96e5d
[app][inetsrv] add a few basic internet servers (chargen, discard)
2014-08-04 17:50:55 -07:00
Travis Geiselbrecht
e846e9e32e
[app][stringtests] bump the buffer size to 2MB, to remove L2 caching effects
2014-08-02 15:49:22 -07:00
Travis Geiselbrecht
c66805275d
[libc] remove warning in memset.c when compiled on 32bit machines
2014-08-02 15:49:22 -07:00
Travis Geiselbrecht
3f5de5d833
[app][stringtests] clean up the old asm files, make sure modern memset/memcopy works
...
Add reference C implementation to test/benchmark against.
2014-07-30 20:11:10 -07:00
Chris Anderson
5bc6f97090
[kernel] Add resched option to sem_post
2014-07-24 17:10:02 -07:00
Travis Geiselbrecht
8c6807188c
[app][aboot] remove some old Google code that hasn't been used in a while
...
aboot and its support libraries are still developed on a fork of the
lk project by QCT.
2014-07-18 16:24:56 -07:00
Travis Geiselbrecht
4d011b03b1
[arch][arm] fix floating point test code on thumb2 only devices
2014-07-14 17:33:07 -07:00
Travis Geiselbrecht
b0c5c4939d
[app][tests] add tests for floating point
2014-06-11 15:01:49 -07:00
Travis Geiselbrecht
f18660a2f4
[app][tests] add quick n' dirty cache test routine
2014-06-03 21:18:09 -07:00
Travis Geiselbrecht
94920d35d1
[kernel] remove current_thread global, add get|set_current_thread() accessor
...
-Up to the architecture to implement the getter|setter
2014-05-03 23:58:44 -07:00
Travis Geiselbrecht
7e8770cf07
[app][fibo] print total time taken to run test
2014-05-01 19:06:57 -07:00
Travis Geiselbrecht
3b07685da8
[warnings] knock out some 64bit warnings
2014-03-11 21:04:55 -07:00
Travis Geiselbrecht
33b94d9b97
[lib][libc][arm-m] add new arm-m optimized memcpy and memset routines
2014-03-09 03:37:18 -07:00
Travis Geiselbrecht
13db848328
[app][stringtests] add new assembly implementation of memcpy and memset for arm-m
...
Cortex-m devices like data to be moved in units of 64bit, but must be aligned.
Otherwise, moving a 32bit word at a time is fine at any alignment.
2014-03-09 01:51:58 -08:00
Macpaul Lin
bcbd41b89e
[aboot] add a method for stopping fastboot when usb is unplugged during RX.
...
Add a signal method to stop fastboot thread when usb cable is plugging out
durning firmware download.
Signed-off-by: Macpaul Lin <macpaul@gmail.com >
Cc: Amol Jadi <amoljadi@codeaurora.org >
Cc: Casey Piper <cpiper@codeaurora.org >
Cc: Travis Geiselbrecht <geist@foobox.com >
2013-10-23 18:07:15 +08:00
Travis Geiselbrecht
c730c5a860
[app][usbtest] add default usb test app
...
Continually tries to send and receive 4K usb packets.
2013-10-20 16:04:18 -07:00
Dima Zavin
36c7735533
[libc][stdio] cleanup printf definition and clients
...
Move implementation to stdio.c to sit next to the other
stdio definitions that use the debug output functions. Keep
the declaration of it, though, in printf.h to sit next to
sprintf, etc.
Don't include printf.h directly in other places, rely on stdio.h
to properly pull in these functions.
Change-Id: I357cb04a5c78185b8fde908193b672326c2ee542
Signed-off-by: Dima Zavin <dima@android.com >
2013-08-05 10:04:29 -07:00
Dima Zavin
e8a9b4b7a4
[libc] move tracing out of debug into separate trace.h
...
Change-Id: I7476fc17b587a0ea2a42cbe3d49b72063e4c5dc8
Signed-off-by: Dima Zavin <dima@android.com >
2013-08-05 10:04:29 -07:00
Travis Geiselbrecht
2ae06216b1
[libc] fix printf edge case with signed leading digits
...
Fixes specific case as in printf("%03d\n", -2), which
would put the sign digit after the leading zeros.
Make sure the sign bits are before any leading zeros or spaces.
Add test case for this.
2013-07-31 11:16:01 -07:00
Corey Tabaka
561c6c2df6
[app][pcitests] Add class code to bus dump.
2013-07-18 02:30:40 -07:00
Travis Geiselbrecht
7643bc28c3
[make] add -Wstrict-prototypes and clean up old C style prototypes
...
replace all built versions of foo(); with foo(void);
2013-06-19 14:21:53 -07:00
Travis Geiselbrecht
e002c58b59
[make] rename INCLUDES -> GLOBAL_INCLUDES
...
To be more consistent, rename make variable INCLUDES to GLOBAL_INCLUDES.
Also remove the need to put -I in front of each field, the make system
will do that for you.
To fix your module makefiles:
-Change INCLUDES -> GLOBAL_INCLUDES
-Remove -I prefix
2013-06-07 22:26:06 -07:00
Travis Geiselbrecht
5e87468584
[app][thread_tests] add a few tests for the static initializers
2013-05-25 11:35:07 -07:00
Travis Geiselbrecht
2760f146f5
[app][tests] disable printf formatting warnings for printf test
2013-05-24 20:52:16 -07:00
Travis Geiselbrecht
7e9fa038c3
[libc] fixup users of newly modified stdio routines
2013-05-24 20:51:37 -07:00
Travis Geiselbrecht
ec85566712
[app][tests] add more tests to clock_tests
2013-03-09 17:04:14 -08:00
Travis Geiselbrecht
0fc1b9475d
[app][tests] switch the thread tests to the new thread_create mechanism
2012-12-22 15:53:04 -08:00
Travis Geiselbrecht
058e24354f
[app] detach the app threads
2012-12-22 15:53:04 -08:00
Travis Geiselbrecht
935e190f9b
[lib][libc][printf] add ' ', t, j specifier, remove U and D
2012-12-16 13:45:31 -08:00
Travis Geiselbrecht
fa91cf8926
[arch][x86] fix build with arm asm in some benchmark code
2012-11-11 14:42:03 -08:00
Travis Geiselbrecht
30e2d00539
[app][test] some benchmarks and a quick clock tester
2012-11-02 12:21:49 -07:00
Travis Geiselbrecht
a6c70ee683
[app] run all of app/ through astyle
2012-10-31 21:49:13 -07:00