summaryrefslogtreecommitdiffstats
path: root/src/host/osmocon
AgeCommit message (Collapse)AuthorFilesLines
2010-10-03osmoload.c: Cast to uint8_t from char* to fix a compiler warningHolger Hans Peter Freyther1-2/+2
2010-10-03osmocom.c: rc is not assigned and contains garbage, return 0.Holger Hans Peter Freyther1-2/+2
2010-10-03osmocon.c: Use C99 inttypes instead of u_intX_t.Holger Hans Peter Freyther1-5/+5
2010-09-14misc: update .gitignore filesSylvain Munaut1-2/+28
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-20[osmocon] add a chainloading mode for the compal ramloaderSteve Markgraf1-6/+27
The idea is to load a small application to the phone, which activates and executes the Calypso romloader. The payload itself then is loaded with the romloader, bypassing the magic and the resulting size limit on the C139/C140 and J100i. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-07-20loader: meaner. now supports address ranges for all relevant flash ↵Ingo Albrecht1-116/+274
operations. reports better.
2010-07-20osmoload: better messageIngo Albrecht1-1/+1
2010-07-20osmocon: new debug option, allows selective dumping of rx and/or tx.Ingo Albrecht1-24/+49
2010-07-20osmoload: fixed programming abortIngo Albrecht1-1/+1
2010-07-20osmoload: flash programmingIngo Albrecht1-6/+137
2010-07-20osmoload: allow running without firmware imageIngo Albrecht1-12/+13
2010-07-20loader: flash locking commands, various flash reworkIngo Albrecht1-9/+173
2010-07-20loader: new state handling for memdump, added missing crc handling to memputIngo Albrecht1-22/+34
2010-07-20loader: incomplete crc support and query timeoutsIngo Albrecht1-26/+64
2010-07-20osmoload: fix some printfs.Ingo Albrecht1-2/+2
2010-07-20loader: reply dump mode. additional information in init reply.Ingo Albrecht1-5/+14
2010-07-20osmoload: command reorg, state machine reorg, query timeoutsIngo Albrecht1-78/+172
2010-07-20osmoload: Added a jump command.Ingo Albrecht1-0/+30
2010-07-20osmoload: Print something when loader starts. Fix handling of unknown replies.Ingo Albrecht1-1/+4
2010-07-20osmoload: memload commandIngo Albrecht1-4/+102
2010-07-20osmoload: memdump commandIngo Albrecht1-37/+203
2010-07-20Add a copyright message to osmoload.Ingo Albrecht1-0/+21
2010-07-20Loader with memory read/write and various lifecycle operations.Ingo Albrecht1-7/+101
2010-07-15osmocon.c: enable hdlc console for mtk romloader targetsSteve Markgraf1-5/+5
Since the mt622x uart driver is now in a working state, we can actually use the sercomm console. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-05-19osmocon: extend hexdump to show all printable charactersJan Luebbe1-3/+9
2010-05-19osmocon: change mtk load address for MT6223 romloaderSteve Markgraf1-1/+1
The romloader of the MT6223 uses more of the internal SRAM than the loader of the MT6227, thus we need to change the load address. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-05-17osmocon: Add experimental support for the MTK romloaderSteve Markgraf1-10/+291
Currently the switch to a higher baudrate is missing, which has to be done by a direct UART autobaud register write, plus sending an autobaud sample. As a result, the maximum download speed is currently 19.200 Baud. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-05-17osmocon: use a global load addressSteve Markgraf1-9/+11
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-05-17osmocon: cosmetic cleanupSteve Markgraf1-19/+22
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-05-17osmocon: use osmocore timers, minor fixesSteve Markgraf1-42/+15
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-05-17osmocon.c: Fix serial_set_baudrate functionDaniel Willmann1-0/+5
We have to call tcgetattr prior to changing the baudrate and writing the struct again.
2010-04-21osmocom: Fix serial init (CSIZE field)Sylvain Munaut1-1/+1
Since we clear the whole CSIZE, we need to set CS8 _after_ the clearing or it'll just get erased ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-04-07osmocon: fix c140xor, fix compiler warnings due to unhandled cases, cleanupSteve Markgraf1-15/+20
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-04-06osmocon: use git-version-gen and PACKAGE_VERSION for 'osmocon -v'Harald Welte5-6/+165
2010-04-06osmocon: cosmetic cleanup (mostly 80character line length)osmocon_v0.0.0Harald Welte1-80/+128
2010-04-06osmocon: * introduce support for "non-secure" romloader inside ↵Steve Markgraf1-31/+464
Calypso/Calypso lite, "-m romload", tested on the BenQ Siemens A38 * automatically add the required 1003 magic for the C139, C140 and J100i "-m c140/c140xor", intended for loading loader.ramload.bin, and loading the application itself with "osmoload memload" on these targets * replace null-terminated string "ftmtool" with uint8_t (length was 8, so the ftmtool message was only recognized when the byte following to our allocated buffer memory was 0x00) * fix minor compiler warnings * add copyright message Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-03-30osmocon: use serial port initialization code from openbsc/src/rs232.cHarald Welte1-43/+38
Both have the same goal: put the RS232 port into a completely raw, binary-transparent mode. So there's no point in keeping two completely different functions for this.
2010-03-30osmocon: calcluate unix domain socket length in a portable wayHarald Welte1-2/+15
Let's hope this concept (as seen in Xorg sources) is portable enough to calculate the length of the sockaddr_un properly on all architectures.
2010-03-22misc compiler warning fixesHarald Welte2-4/+4
* added missing param in call to gsm48_rx_bcch * added 'extern' to declarations of rsl_rlm_cause_strs and target_board * added several 'const' for strings * removed useless 'bufptr,' from hexdump (From: itsme <itsme@xs4all.nl>)
2010-03-19Two more small patchesErik Ekman1-2/+2
Hi Found a spelling error while testing my C139, and also fixed the warning discussed in my earlier patch. /Erik From 9d8a7454367f3d095e6d4c046e84a22126ff887a Mon Sep 17 00:00:00 2001 From: Erik Ekman <yarrick@kryo.se> Date: Wed, 17 Mar 2010 22:48:57 +0100 Subject: [PATCH 1/2] Remove operand which has no effect Signed-off-by: Ingo Albrecht <prom@berlin.ccc.de>
2010-03-07Handle EAGAIN. Print errors properly.Ingo Albrecht1-2/+8
2010-03-07Fixed transmit path of osmocon in various ways.Ingo Albrecht1-16/+28
2010-03-07Loader communications support in osmocon. Generalized tool connections.Ingo Albrecht1-48/+89
2010-03-07Skeleton of bootloader.Ingo Albrecht2-2/+202
2010-03-07Renamed layer2_connection -> tool_connection.Ingo Albrecht1-7/+7
2010-03-07osmocon: drain the hdlc sercomm queue through selectHarald Welte1-5/+23
2010-03-07osmocon: we don't want to write to serial FD after download completedHarald Welte1-0/+1
2010-03-01Fix three more warningsErik Ekman1-1/+3
2010-03-01Fix some warnings in osmoconErik Ekman1-1/+3
2010-02-23add osmocon TPU debugger supportHarald Welte3-1/+142
Receives TPU RAM from target and prints it to console