summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/comm/sercomm_cons.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-05fw: introduce per-board uart mappingSteve Markgraf1-1/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-05-05uart.h: move header out of calypso-directoryWolfram Sang1-1/+1
Everything defined is a pretty generic interface and can be used by mediatek, too. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
2011-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso1-1/+1
This patch changes include paths to get osmocom-bb working with the current libosmocore tree. Among all these renames, you can notice several tweaks that I added on purpose, and that require some explanation, they are: * hexdump() in osmocon.c and osmoload.c has been renamed to avoid clashing with hexdump() defined in libosmocore. * gsmmap now depends on libosmogsm. Actually I had to cleanup Makefile.am because I was experiencing weird linking problems, probably due to a bug in the autotools. With the change included in this patch, I got it compiled and linked here correctly. This patch has been tested with the phone Motorola C123 and the following images files: * firmware/board/compal_e88/hello_world.compalram.bin * firmware/board/compal_e88/layer1.compalram.bin Using the osmocon, bcch_scan and mobile tools. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-03-07start to use libosmocore within the firmwareHarald Welte1-1/+1
* remove linuxlist.h copy and use osmocore * don't put 'struct gsm_time' into l1ctl packets * include rx_level and snr for each burst in l1ctl * properly build libosmocore.a for target * move gsmtime functions into libosmocore * move ctype.h to standard location
2010-03-07don't include trailing \0 termination in cons_puts()Harald Welte1-1/+1
successive calls to cons_puts() writing to the same msgb resulted in osmcoom printing null-characters while writing strings. We don't really need that...
2010-03-01SERCOMM: make sure to disable IRQ/FIQ to avoid race conditionsHarald Welte1-0/+11
2010-02-21sercomm_cons: Utilize msgb's better, don't always end at \nHarald Welte1-2/+5
In the sercomm_cons layer, ee used to enqueue a msgb for sending every time there is an end-of-line. However, if we send a number of very short lines, we easily run out of msgbs. Now we check how much msgb backlog there is in the transmit queue, and decide to skip the end-of-line flushing if needed. This still doesn't solve all our problems, but its still a useful mechanism.
2010-02-18Initial import of OsmocomBB into git repositoryHarald Welte1-0/+126