summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/apps
Commit message (Collapse)AuthorAgeFilesLines
* fw/apps: Remove manual gain control with keyboardSylvain Munaut2011-07-172-54/+0Star
| | | | | | | | | | | | - It's broken by the use of compute_gain - Since there is now an AGC loop, manually setting the register as no effect. If someone needs manual gain control for testing, he'll have to re-implement a proper AGC override. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* [rf] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gainAndreas Eversberg2011-07-172-2/+2
| | | | | | | | | rffe_compute_gain() is the new name for rffe_set_gain(). I needed to change this, to solve the name collision with the rffe_set_gain() function, which actually sets the absolute gain. rffe_get_gain() will now read the absolute gain which has been computed by rffe_compute_gain() or set by rffe_set_gain().
* src: use namespace prefix osmo_* for crc16 functionsPablo Neira Ayuso2011-05-152-6/+6
| | | | | | | | Summary of changes: s/crc16_table/osmo_crc16_table/g s/crc16/osmo_crc16/g s/crc16_byte/osmo_crc16_byte/g
* target/boards: add infrastructure for loaders for Mediatek platformsWolfram Sang2011-05-051-0/+366
| | | | | | | | | | We are just interested in the loaders here, no other applications needed. Split it from the compal-based phones. Add mt62xx as first user. Based on a patch by steve-m, but cleaned up and seperated from compal/calypso. Signed-off-by: Steve Markgraf <steve@steve-m.de> Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
* uart.h: move header out of calypso-directoryWolfram Sang2011-05-051-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>
* src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso2011-04-261-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>
* fw/app/layer1: unset the inverted attribute of the display after layer1_init()Steve Markgraf2011-01-241-1/+2
| | | | | | | | This attribute is toggled with the RTC interrupt, which is disabled in layer1_init(). If an interrupt between rtc_init() and layer1_init() occured, the display of the E88 phones remained inverted Signed-off-by: Steve Markgraf <steve@steve-m.de>
* target/loader: disable bootrom mappingSteve Markgraf2011-01-121-0/+3
| | | | | | This is for being able to read the whole flash on devices that use the bootrom, and also fixes flash detection on the C139/C140/J100i Signed-off-by: Steve Markgraf <steve@steve-m.de>
* target/simtest: remove delay functionsSteve Markgraf2011-01-111-30/+9Star
| | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* fixed typos in commentsThomas Waldmann2011-01-114-10/+10
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* loader: convert to kernel styleIngo Albrecht2010-08-171-45/+54
|
* [apps] add chainloading applicationSteve Markgraf2010-07-201-0/+53
| | | | | | It does nothing more than jumping to the Calypso romloader. Signed-off-by: Steve Markgraf <steve@steve-m.de>
* firmware: moved cfi_flash header to flash subdirectoryIngo Albrecht2010-07-201-1/+1
|
* loader: meaner. now supports address ranges for all relevant flash ↵Ingo Albrecht2010-07-201-3/+15
| | | | operations. reports better.
* firmware: gave all apps a proper hello message and let them print their git ↵Ingo Albrecht2010-07-205-6/+8
| | | | revision
* firmware: added missing init callsIngo Albrecht2010-07-204-0/+8
|
* firmware: board init with a ctor does not seem a good idea to me because i ↵Ingo Albrecht2010-07-201-0/+2
| | | | need binaries without board init
* loader: commented startup behaviourIngo Albrecht2010-07-201-1/+1
|
* firmware: removed flash safety hackIngo Albrecht2010-07-201-6/+2Star
|
* firmware: non-asm backlight initIngo Albrecht2010-07-201-0/+4
|
* firmware: flash programmingIngo Albrecht2010-07-201-5/+50
|
* loader: flash locking commands, various flash reworkIngo Albrecht2010-07-202-51/+136
|
* firmware: removed old compal_dump.Ingo Albrecht2010-07-201-79/+0Star
|
* loader: incomplete crc support and query timeoutsIngo Albrecht2010-07-201-3/+19
|
* loader: removed cruftIngo Albrecht2010-07-201-7/+0Star
|
* firmware: fix build with new manifestIngo Albrecht2010-07-201-1/+1
|
* loader: reply dump mode. additional information in init reply.Ingo Albrecht2010-07-201-1/+15
|
* loader: re-enabled firmware entry commandsIngo Albrecht2010-07-201-3/+0Star
|
* osmoload: Added a jump command.Ingo Albrecht2010-07-202-0/+37
|
* Loader with memory read/write and various lifecycle operations.Ingo Albrecht2010-07-202-48/+101
|
* [calypso] Rework of keypad interrupt handler.Andreas.Eversberg2010-07-181-0/+23
| | | | | | | | | The keys are correctly detected and debounced. There is no delay_ms in the interrupt handler anymore. When a key is pressed, the columns of the keypad are polled and debounced via timer interrupt. If no key is pressed, the timer interrupt is ignored again.
* firmware: sim controller driver by dexterIngo Albrecht2010-07-151-0/+325
|
* cleanup duplicated delay functionsSteve Markgraf2010-07-156-90/+6Star
| | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* [firmware] move board_init() to a gcc-type constructorHarald Welte2010-06-244-6/+0Star
| | | | | Instead of calling board_init() from every main() function explicitly, we simply mark it as a constructor and have it called automagically
* layer1/l1ctl: Split L1CTL_NEW_CCCH_REQ in FBSB_REQ nad SYNC_REQHarald Welte2010-05-191-0/+1
| | | | | | | | | | | | | | | | We really want to have those two as distinct operations - and we want proper state machines in L1 to quickly return if they've managed to acquire a FB or SB or not. Otherwise scanning will take ages... This code now introduces a new l1ctl_fbsb_req that is sent via L1CTL to ask for a bitmask of FB0/FB1/SB operations. The actual FB0/FB1 detection now no longer runs for 500 TDMA interrupts but completes as soon as we either know there is no FCCH, or that our frequency error is smaller than a caller-specified threshold. FB0/FB1 are already working, SB is not yet, sorry.
* layer1: remove 'l1s_cb' and l1_signal mechanismHarald Welte2010-05-171-12/+0Star
| | | | | | | | | the l1s signal was an old mechanism between l1test and the layer1 before we introduced the L1CTL protocol. This commit removes all leftover references to it. It also disables the l1test app, as it would no longer work without major modifications (using l1ctl from within the phone).
* apps/hello_world: cosmetic fixHarald Welte2010-03-271-7/+5Star
|
* hello_world app: print L1CTL messages as hexdump to consoleHarald Welte2010-03-211-0/+12
|
* Introduce LCD display_driver infrastructureHarald Welte2010-03-125-12/+10Star
| | | | | | | * introduce display_driver layer * port st7558 and ssd1783 drivers to display_driver * allow for run-time selection of display driver from board/init.c * replace st7558_puts() calls with display_puts() calls
* apps/loader: remove #include reference to file that doesn't existHarald Welte2010-03-111-2/+0Star
|
* Fix some compiler warnings...Holger Hans Peter Freyther2010-03-081-2/+0Star
| | | | Some real issues are still left and we need to act on them.
* start to use libosmocore within the firmwareHarald Welte2010-03-073-3/+0Star
| | | | | | | | | * 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
* fix compiler warningsHarald Welte2010-03-073-7/+3Star
|
* fix compiler warningsHarald Welte2010-03-071-2/+2
|
* Skeleton of bootloader.Ingo Albrecht2010-03-072-0/+235
|
* add 'struct timer_list' timer code similar to linux + OpenBSCHarald Welte2010-03-075-4/+18
| | | | | | | | | | | | | | | | We now support arbitrary timers by means of 'struct timer_list'. Any part of the program can register such a callback by means of schedule_timer() on a millisecond-granularity. However, there is no guarantee on the timer precision. It will not execute before the timer expires - but it might expire quite a bit later than we have asked it for, depending on how busy the cpu is with other work. The timer code is in the 'comm/' directory, as it is intended to be migrated into libosmocore soon. Furthermore, as we currently don't yet have a scheduler or tasks, the main() routine explicitly has to call update_timers() to check for any expired timers and run them.
* add an actual Layer1 asynchronous (L1A) API that can be called from higher ↵Harald Welte2010-03-011-40/+0Star
| | | | layers
* apps/compal_dsp_dump: Move board_init as first callSylvain Munaut2010-02-231-4/+3Star
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* Use ARFCN as specified from Layer2Harald Welte2010-02-201-0/+11
| | | | | with this commit, Layer2 can tell Layer1 to sync to a new CCCH on a specified ARFCN.
* Initial import of OsmocomBB into git repositoryHarald Welte2010-02-185-0/+797