summaryrefslogtreecommitdiffstats
path: root/src/target
AgeCommit message (Collapse)AuthorFilesLines
2014-06-15fw/trx: Initial import of the TRX firmware applicationSylvain Munaut7-1/+1222
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1/l23_api: Wire the L1CTL to the internal TRX interface & prim_btsSylvain Munaut1-0/+47
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1: Initial import of new BTS primitiveSylvain Munaut5-0/+356
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1: Add 'TRX' internal interfaceSylvain Munaut3-2/+90
This is a generic interface to submit and retrieve bursts to be transmitted. By default it has a dummy implementation that does nothing and it's up to the 'application' to provide a correct implementation. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1/tpu: Add function to open multi slot TX TPU windowSylvain Munaut2-0/+46
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/calypso/dsp: Enable multi-slot TX mode of the ABBSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/calypso/dsp: Import and load DSP extension patchSylvain Munaut2-3/+199
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/calypso/uart: Tweak the RX irq threshold to avoid overrunSylvain Munaut1-1/+3
We use the extended mode to have a better control Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1: add CBCH flag to dedicated modeAlex Badea3-6/+25
Add a .dm_flags member to struct l1ctl_dm_est_req. Define a flag bit to indicate CBCH mode. If set, this instructs L1 to use the CBCH variant of SDCCH for dedicated mode (no uplink, no SACCH). Add the new dm_flags field to l1ctl_tx_dm_est_req* API calls. Clear it everywhere, except for app_cbch_sniff which requests CBCH. Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15[WIP] Ugly hack to compensate lost time on TS change (high TS -> low TS)Sylvain Munaut1-0/+22
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-12-29fw: tell linker to add init_array to ctor sectionSteve 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>
2013-09-26Fix wrong msgb_pull usageSylvain Munaut2-4/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-04-07fw: remove deprecated chainload appSteve Markgraf2-56/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: pirelli_dpl10: initialize address line 22 for flash accessSteve Markgraf1-0/+6
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: apps/loader: initialize framebuffer and show somethingSteve Markgraf1-0/+23
Since we now initialize the display for all apps, it otherwise just shows the last content of the display ram, which is weird. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: keypad driver overhaul, support for different keymapsSteve Markgraf10-80/+90
Now the Pirelli DP-L10 keymap is supported. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: introduce per-board uart mappingSteve Markgraf17-65/+123
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: introduce with_irq parameter for board_init()Steve Markgraf15-64/+53
So far the loader-app used to do the init on its own, which brought a lot of problems for board- specific initialization. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-02target: Add support for IQ swap when requiredSylvain Munaut12-8/+82
Operation in GSM850 band requires IQ swap because of the offset PLL used in the TRF causing spectrum reversal. Thanks to Dieter Spaar for noticing the issue and the original patch Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02fw: Fix link scripts to represent reality more accuratelySylvain Munaut2-17/+16
Previously they were hacks to allow build ... Not needed now. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02fw/build: Allow applications to filter environmentsSylvain Munaut3-1/+47
We use an external python script to solve which env to build, to mix board and app env list Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02fw/build: Add ENV_ APP_ BOARD_ prefix to variables to cleanup namespaceSylvain Munaut6-49/+49
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02fw/build: Group env / boards / applicationsSylvain Munaut1-42/+66
No functional changes, just moving things around Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02fw/build: The app/board/env combo macro need to be lastSylvain Munaut1-5/+5
The app template will create the list of app specific objs so that needs to be before Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02fw/build: Include app / board / env specific objs during buildSylvain Munaut1-2/+2
Just put the env with the rest and not manifest and also allow app additional files Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02fw/build: Add a silent rule for the 'size' call as wellSylvain Munaut1-1/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-11-20Tell L1CTL_FBSB_REQ the expected received signal levelHarald Welte1-1/+2
As Dieter points out, this drastically improves the resiliance to high receive levels on the C155. We cannot blindly assume a received signal level of -85 dBm if the BTS is 2m away and we actually receive -40 dBm. This patch extends the L1CTL_FBSB_REQ data structure in layer 1 with the respective field, as well as the l1ctl_tx_fbsb_req() API function called from the various layer23 apps. "mobile" and "bcch_scan" already did a PM request and thus know the expected signal power. "ccch_scan" and "cbch_sniff" apparently don't do, so the -85 dBm constant is now hardcoded into the host-side source code there, and should probably be fixed in a follow-up patch.
2012-11-14fw/comm: remove unused, outdated copy of msgb.hSteve Markgraf1-161/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-08use msgb_pull() to get bytes from start of message, not msgb_get()Harald Welte2-36/+36
msgb_get() is for getting bytes from the end of a message, but it was broken in libosmocore for a long time (until it was fixed today).
2012-06-25Properly name firmware images OsmocomBB not just OSMOCOM !Harald Welte7-7/+7
2012-05-07Adding the manufacturer id of STMicroelectronicsChristian Inci1-2/+2
For supporting the flash on a Motorola C118. Note: Flashing rssi on it worked fine. Signed-off-by: Christian Inci <chris.pcguy.inci@gmail.com>
2012-04-28firmware/rssi: Adding symbols to display battery and RX levelAndreas Eversberg1-2/+20
2012-04-28firmware: Adding new font with symbols for battery and RX levelAndreas Eversberg4-1/+118
2012-04-28Further work on C123 charging.Christian Vogel3-86/+174
2012-04-28Add battery info to hello world.Christian Vogel1-0/+33
2012-04-28Charging: Add to Compal_E88, dummy for others.Christian Vogel2-6/+13
2012-04-28Battery charging for C123.Christian Vogel4-0/+357
2012-04-28Add MADC/battery related bit definitions in twl3025.hChristian Vogel1-0/+50
2012-03-29fw/prim_tch: Fix regression introduced in ↵Sylvain Munaut1-1/+1
f04f53d3b7909cc77d1b451bc8596c4d69ce8172 Thanks to Andreas for spotting this. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29Fixed neighbour cell measurement task for SDCCH/8 multiframesAndreas Eversberg3-6/+14
Only on BCCH's multiframe we are allowed to measure on frames 0, 10, 20, 30, 40. On SDCCH/8 multiframe, measurements are performed on frame 50 only.
2012-02-12firmware: add missing includesSteve Markgraf14-2/+19
This fixes all 'implicit-function-declaration'-warnings. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-02-12firmware/fb: add framebuffer driver for the Pirelli DP-L10 displaySteve Markgraf3-9/+225
This commit adds a combined driver for the Sunplus SPCA-552E Multimedia Controller and the Samsung S6B33B1X LCD controller. I have to thank Stephan Meier, who helped me to reverse-engineer this beast during 28c3. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-02-07firmware/rssi: Fixed offset of power bars in sync modeAndreas Eversberg1-1/+1
2012-02-07firmware: Turn off FIQ, when waiting for power button to be releasedAndreas Eversberg1-0/+8
2012-02-07firmware/monitor: Added channel request to measure distance from cellAndreas Eversberg1-34/+296
When synced, press the green button to request channel from cell. The result, timing advance, distance and response delay is printed on the display. It only works, if TX is enabled and SI 3 has been received.
2012-02-07firmware/framebuffer: Cleanups of compiler warnings and debugging outputAndreas Eversberg4-7/+7
2012-02-07firmware/timer: Added HZ as global defintion for jiffies per secondAndreas Eversberg2-5/+5
2012-02-04firmware/monitor: Improvements and sync supportAndreas Eversberg1-36/+544
By pressing the green button, the sync mode is entered. The screen show some informations about the cell. The beep indicates, if the received BCCH was valid or not. By pressing the Down button, the list of channels of the serving cell and neighbour cells can be viewed and scrolled through. By pressing the Up button, the levels (downlink or uplink) of the serving cell can be viewed. Also it is possible to select one of the serving cell's frequencies by pressing the Left/Right button.
2012-02-04firmware: Increased data size for for ram linker scripts.Andreas Eversberg2-4/+4
This is required, since monitor app requires a litte more than 64k.
2012-02-04Improvement of neighbour cell power measurement task.Andreas Eversberg4-4/+14
5 measurements are now performed during a 51 multiframe. They are performed at one of the 5 FCCH. Additionally a timeslot offset can be given for each measurement. This way it is possible to measure each timeslot seperately. The given ARFCN must be in sync with the serving cell.