summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/board
AgeCommit message (Collapse)AuthorFilesLines
2014-02-04fw: tell linker to add init_array to ctor sectionsylvain/burst_indSteve Markgraf5-0/+5
Starting with version 4.8, gcc places functions with __attribute__ ((constructor)) in .init_array instead of .ctors by default. This broke firmware images built with gcc >= 4.8. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-11-13fw: Disable backlight for the sniffing fwSylvain Munaut5-10/+5
No need to waste battery life Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-13[HACK] Increase speed of l1ctl to 408250bps after bootSylvain Munaut5-5/+5
This is required to deal with the increased traffic of a passive listener Note that it break the 'auto-restart' of osmocon when active because the bootloader will send the prompt at 115200 baud and we won't see it ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18fw: Add SE J100i-specific board init code and build images for itSteve Markgraf1-0/+140
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-09-17fw/compal/rffe: Add correct RFFE-configuration for Compal E86Steve Markgraf1-0/+106
The Compal E86 (C139/C140) has a different RFFE-configuration than the other Compal phones. The Motorola C139 schematics on this part look exactly the same, but in fact the board is missing a transistor (U16), and it uses TSPACT2 adittionally. This fixes the long-known problem with the C139/C140 phones of the rx-level being over -20dBm worse as compared to the E88/E89 phones, as well as the band selection on the antenna switch in TX-mode (which was completely wrong, but sort of worked anyway). Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-07-17[rf] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gainAndreas Eversberg3-3/+18
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().
2011-05-30board: mtk: increase RAM sizes in linker scriptWolfram Sang1-2/+2
gcc3 (and some gcc4) produce code which does not fit into the 0x5000-sized RAM sections. Extend them to 0x6000 for now, so it will build correctly again. The created binary (gcc3) has been successfully tested on my G2. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
2011-05-30mtk: uart: remove forgotten calypso-includeWolfram Sang1-2/+0
Dunno how that survived... Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
2011-05-29fw/rffe/compal: Add support for 850 bandSylvain Munaut1-2/+2
The HW switch supports it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-29fw/rffe: Add function to query RF wiringSylvain Munaut3-0/+36
Depending on the chipset and the HW, not all ports are connected and we need to know what we can use when we have the choice ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-05target/boards: add infrastructure for loaders for Mediatek platformsWolfram Sang5-0/+779
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>
2011-05-05uart.h: move header out of calypso-directoryWolfram Sang5-5/+5
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 Ayuso3-3/+3
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>
2011-02-06target/fw: correct IO_CNTL_REG name and small cosmetic fixesSteve Markgraf5-17/+16
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-24firmware: Add support for the Pirelli DP-L10 triband GSM/Wifi phoneSteve Markgraf3-0/+310
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-24fw/board/gta0x: move rffe configuration to board/gta0xSteve Markgraf1-0/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-24fw/makefile: enable generation of Compal E86 images (Motorola C139/C140)Steve Markgraf1-0/+143
This target now has its own init.c which correctly initializes the display and the keypad backlight Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-24fw/board/gta0x: remove unused define in RFFE configurationSteve Markgraf1-1/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-24fw/board/gta0x: implement TX support for gta0x devicesSteve Markgraf1-2/+16
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-24target/fw: set the TRF6151 tsp IDs from the rffe initializationSteve Markgraf2-4/+14
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-09-26target/layer1: Implement host-driven Tx power controlSylvain Munaut2-0/+125
It's up to L23 to change the parameters using the appropriate L1CTL call. This is a mix between Harald's version and Dieter's version of the TX control code. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-23[firmware] bring back gta0x imagesSteve Markgraf1-10/+14
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-07-20firmware: moved cfi_flash header to flash subdirectoryIngo Albrecht3-3/+3
2010-07-20firmware: e88 flash linkageIngo Albrecht1-0/+134
2010-07-20firmware: some documentation about memory maps and linkageIngo Albrecht3-0/+66
2010-07-20firmware: fixed linker script titleIngo Albrecht1-1/+1
2010-07-20firmware: new highram linkageIngo Albrecht1-0/+121
2010-07-20firmware: fixed linkage of ctors and dtors for ram imagesIngo Albrecht1-2/+2
2010-07-20firmware: fixed linkage of ctors and dtors for flash imagesIngo Albrecht1-4/+2
2010-07-20firmware: untabify linker scripts.Ingo Albrecht2-132/+132
2010-07-20firmware: fixed ctor linkageIngo Albrecht1-12/+0
2010-07-20firmware: board init with a ctor does not seem a good idea to me because i ↵Ingo Albrecht2-2/+2
need binaries without board init
2010-07-20firmware: non-asm backlight initIngo Albrecht2-2/+8
2010-07-20firmware: proper exception redirectIngo Albrecht1-9/+15
2010-07-20firmware: establish a ramtext section for code that must be in ramIngo Albrecht4-4/+38
2010-07-20firmware: consider reserved ram in loader linkageIngo Albrecht1-0/+5
2010-07-20firmware: modularized startup codeIngo Albrecht5-46/+134
2010-07-20firmware: separated various pieces of interrupt handling apartIngo Albrecht5-90/+128
2010-07-20firmware: linker script and startup code reorg.Ingo Albrecht5-98/+7
2010-07-20firmware: removed compal header strings temporarily.Ingo Albrecht1-5/+0
2010-07-20firmware: cleaned up init files.Ingo Albrecht2-13/+21
2010-07-20firmware: linker script for flashed app on e88.Ingo Albrecht2-0/+113
2010-06-25[layer1] An actual AGC implementationHarald Welte2-2/+17
We introduce trf6151_compute_gain() to compute the gain setting that leads to the ideal analog baseband power input level. This function is called from rffe_set_gain() for both the compal and the gta0x rf frontend, as there are no other amplifiers inside those phone designs. The new AGC function is not used yet from the regular layer1 code.
2010-06-24[firmware] move board_init() to a gcc-type constructorHarald Welte3-3/+6
Instead of calling board_init() from every main() function explicitly, we simply mark it as a constructor and have it called automagically
2010-06-24[firmware] make sure the .ctor sections are preserved during --gc-sectionsHarald Welte2-4/+4
--gc-sections throws away any symbol that is not referenced from either the entry symbol or explicit KEEP statements in the linker script. We add KEEP() to make sure the constructors are kept.
2010-06-24[firmware] Add support for __attribute__ ((constructor))Harald Welte3-0/+33
We modify the linker scripts to include the .ctors and .dtors sections and add some code to actually call them before we jump to the main() function.
2010-05-17gta02x: fix compile error due to wrong definitionSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-05-17Add new board gta0x (for Openmoko Freerunner devices) and build itDaniel Willmann2-0/+219
For now just copied over the compal_e88 init.c and adapted the RF frontend functions. For osmocon to work with the GSM download cable SERCOMM_UART_NR and CONS_UART_NR need to be switched.
2010-04-08firmware: whitespace fixes in calypso_uart.SHarald Welte1-2/+2
2010-04-08firmware: proper namespace in manifest.Ingo Albrecht1-2/+4