Commit Graph

  • 5b108d8cf0 DFU: initialize g_dfu during real power up Harald Welte 2017-03-06 21:51:55 +01:00
  • 96065cacd7 add simtrace2-list to .gitignore Harald Welte 2017-03-06 21:05:44 +01:00
  • 1892fc1d7c add udev rules for all (currently) supported devices Harald Welte 2017-03-06 21:03:41 +01:00
  • 822d66ef69 simtrace2-remsim: Improve support for many interfaces + devices Harald Welte 2017-03-06 20:58:03 +01:00
  • 62bfd8a7a9 simtrace2-remsim: Document and add longopts for UDP forwarding Harald Welte 2017-03-06 20:56:14 +01:00
  • b170ea90d3 host: fix some compiler warnings (now that we have -Wall) Harald Welte 2017-03-06 18:59:41 +01:00
  • dea64cb746 host: Add "-Wall -g" CFLAGS to get compiler warnings Harald Welte 2017-03-06 18:57:08 +01:00
  • 2ba03bb9fc simtrace2-remsim: Move away from global variables Harald Welte 2017-03-06 18:51:39 +01:00
  • abba8a8d85 LED: Introduce LED blinking pattern code Harald Welte 2017-03-06 16:58:00 +01:00
  • 054216d94d usb: Use different SubClass values for card-emulation and sniffer Harald Welte 2017-03-06 10:06:32 +01:00
  • eab7e456fe USB: Don't specify Class/Subclass 0xff at device level Harald Welte 2017-03-06 10:04:56 +01:00
  • 495a67da7d usb: consistently use named structure initializers Harald Welte 2017-03-06 09:55:37 +01:00
  • 912b183b29 qmod: Use different Interface Strings for Modem1+2 / Modem 3+4 Harald Welte 2017-03-06 09:28:13 +01:00
  • 809e5840f9 qmod: Add code to switch between physical and virtual SIM Harald Welte 2017-03-06 09:16:40 +01:00
  • 0a8306ec69 add gnumeric spreadsheet with GPIO/Pin assignments of all boards Harald Welte 2017-03-05 22:17:28 +01:00
  • 2bff7cd9c2 tc_etu: Don't confiugre unused TIOA pin of TC0 + TC2 Harald Welte 2017-03-05 22:14:04 +01:00
  • 705e899e5f qmod: (re)activate USB port remapping. Harald Welte 2017-03-05 17:10:26 +01:00
  • 0e2959859a qmod: Replace hand-crafted delay loop with call to mdelay() Harald Welte 2017-03-05 16:48:47 +01:00
  • c6e482d581 qmod eeprom/i2c: Re-start watchdog while slow bit-banging Harald Welte 2017-03-05 16:24:29 +01:00
  • 1776997f8a remove old 'notes' file with german textaul notes Harald Welte 2017-03-05 13:30:32 +01:00
  • 596e666fa0 fix symlink that caused host programs to not build Harald Welte 2017-03-05 13:28:32 +01:00
  • 2363fa0327 Generate USB Strings from apps/*/usb_strings.txt files at compile time Harald Welte 2017-03-05 10:16:25 +01:00
  • 1405100dff DFU: Introduce board/app-specific override for booting in DFU mode Harald Welte 2017-03-04 19:17:27 +01:00
  • 7214b4747f Make sure to print CPU Reset Cause when starting the software Harald Welte 2017-03-03 19:02:09 +01:00
  • 45ebe4591a Enable Watchdog (500ms) Harald Welte 2017-03-03 19:01:53 +01:00
  • aaba4af46c Use Supply Controller to avoid running SAM3 on voltages lower than 3.0V Harald Welte 2017-03-03 18:48:13 +01:00
  • 3ecbf678db only simtrace is bus-powered, SAM3 on qmod + owhw are self-powered Harald Welte 2017-03-03 02:10:34 +01:00
  • 8adf0ac2ce DFU app: call into board_main_top() for qmod related initialization Harald Welte 2017-03-03 01:52:34 +01:00
  • f415d7163b Call USBD_Disconnect before software-triggered CPU reset Harald Welte 2017-03-03 01:51:43 +01:00
  • ec0837c463 change from \r\n (CRLF) to \n\r (LFCR) Harald Welte 2017-03-03 01:33:24 +01:00
  • 0de99cd069 DFU: String descriptors for DFU alt-interfaces 0.2 Harald Welte 2017-03-03 01:20:19 +01:00
  • ac4f66e5d1 DFU: Set 10ms bwPollTimeout (lowest possible as per spec) Harald Welte 2017-03-03 01:13:34 +01:00
  • 91fc40240e DFU: make sure to properly initialize g_dfu pointer before using it Harald Welte 2017-03-03 01:05:22 +01:00
  • b04f4f0ee8 DFU Runtime: Add missing return after handling USB standard requests Harald Welte 2017-03-03 00:36:39 +01:00
  • e8eea29cf6 dfu: fix cosmetic issue in debug message Harald Welte 2017-03-03 00:35:51 +01:00
  • d1e963479e DFU: fix transitions between runtime and DFU mode Harald Welte 2017-03-03 00:34:17 +01:00
  • db17e83960 cstartup: (re-)enable interrupts before calling main() Harald Welte 2017-03-02 23:19:13 +01:00
  • ec9b5fff3f dfu/main.c: Initialize FLASHD driver before using it Harald Welte 2017-03-02 23:18:40 +01:00
  • 0af4948211 cstartup / USBD: Use correct Makefile conditionals for DFU Harald Welte 2017-03-02 23:18:02 +01:00
  • adbe72a5ba Makefile: Define APPLICATION_foo BOARD_bar and ENVIRONMENT_baz #defines Harald Welte 2017-03-02 23:16:01 +01:00
  • e36970cac7 dfu: print Chip ID during boot Harald Welte 2017-03-02 19:24:14 +01:00
  • cab66419d6 flashd: Set 6 Wait states as per Errata requiremens for Revision A Harald Welte 2017-03-02 19:22:50 +01:00
  • 479e97e338 DFU: Add missing 'return' after handling generic USB control request Harald Welte 2017-03-02 16:53:13 +01:00
  • 203abf5f6e dfu_desc: Add some string descriptors and fix configuration desc table Harald Welte 2017-03-02 16:52:48 +01:00
  • ee9ebb30da stdio: Increase max string size to 512 and don't endless-loop!! Harald Welte 2017-03-02 16:52:08 +01:00
  • b2ad7f76a1 dfu_des.c: Cosmetic changes, use named initializers Harald Welte 2017-03-01 22:15:28 +01:00
  • 0395bd15b3 move PLLB (for USB) initialization to board_lowlevel.c Harald Welte 2017-02-28 01:28:56 +01:00
  • c430ac1f2a have local stdio.h file to avoid newlib issues Harald Welte 2017-02-28 01:25:12 +01:00
  • adba0ce80b fix g_dfu access from both DFU and runtime access Harald Welte 2017-02-28 01:02:24 +01:00
  • 65cca7cccc ensure g_dfu is linked to start of RAM when building DFU loader Harald Welte 2017-02-28 00:50:37 +01:00
  • db30727514 remove obsolete old linker script Harald Welte 2017-02-28 00:30:22 +01:00
  • 32852bc1d9 DFU: towards a more complete implementation Harald Welte 2017-02-28 00:21:45 +01:00
  • edf9c9d322 Makefile: Optimize for size Harald Welte 2017-02-27 23:24:22 +01:00
  • 37b6e41f84 move last few files from src_board / include_board Harald Welte 2017-02-27 23:20:38 +01:00
  • 964f509f59 remove pio_capture, we don't use it Harald Welte 2017-02-27 23:14:16 +01:00
  • 96e62a4664 stdio.c: fix compiler warning Harald Welte 2017-02-27 23:05:15 +01:00
  • 045ea3eb7b timer.h: Fix compiler warnings about redefinition Harald Welte 2017-02-27 23:02:26 +01:00
  • d09829dcc6 Remove newlib dependency, include own stdio/string/assert Harald Welte 2017-02-27 22:58:59 +01:00
  • d52523185f fix some compiler warnings Harald Welte 2017-02-27 20:34:20 +01:00
  • d8a003dfd7 Structure build system to build for multiple boards/apps/environments Harald Welte 2017-02-27 20:31:09 +01:00
  • a1cd0f31c8 fix compilation of card_emu_tests Harald Welte 2017-02-27 14:29:07 +01:00
  • 3f5e3ddffc Change directory structure to align with Atmel softpack Harald Welte 2017-02-27 13:53:17 +01:00
  • 7ed6f3bc37 WIP: Introduce USB DFU code from my at91lib DFU port Harald Welte 2017-02-26 17:00:43 +01:00
  • aa3b867abb WIP: split main from board-speciic parts Harald Welte 2017-02-10 19:21:10 +01:00
  • a05ccc9103 build efc.o and flashd.o as part of build process Harald Welte 2017-02-26 12:52:28 +01:00
  • e9eaf90d35 import efc.[ch] and flashd.[ch] from SAM3S softpack 2.1 Harald Welte 2017-02-26 12:52:01 +01:00
  • 1d91058eee qmod: Inver initial state of PERST signals Harald Welte 2017-02-10 19:50:24 +01:00
  • 4a9bce127f qmod: invert WWAN_PERST logic (we use transistors now) Harald Welte 2017-02-07 16:34:05 +01:00
  • 6732248f71 Add support for board version reading via ADC Harald Welte 2017-02-04 14:43:41 +01:00
  • 9c78cff10b Extend WWAN modem PERST to 300ms Harald Welte 2017-02-04 12:40:10 +01:00
  • 987f59aa02 Import libosmocore timer infrastructure and use it for PERST Harald Welte 2017-02-04 12:34:35 +01:00
  • b41598b602 Introudce an include_libosmocore directory and move (updated) linuxlist there Harald Welte 2017-02-04 12:15:58 +01:00
  • 7e5c7d5b82 Add debug commands '1' and '2' to generate 1ms reset pulses to modems Harald Welte 2017-02-03 22:59:04 +01:00
  • 31f817c3ac Add support for controlling PERST of WWAN modems (on qmod) Harald Welte 2017-02-03 22:21:32 +01:00
  • 83207e0cad Add 'mdelay()' function to busy-wait for given number of milli-seconds Harald Welte 2017-02-03 22:16:47 +01:00
  • 2819e9c131 wwan_led: Read + report status changes of WWAN LED inputs Harald Welte 2017-02-03 07:46:01 +01:00
  • af6147997d qmod: Remove 'U' debug command and directly initialize USB Harald Welte 2017-01-12 18:59:41 +01:00
  • fb3f308f2f board_lowlevel: Clean up PLLA configuration Harald Welte 2017-01-12 18:16:23 +01:00
  • 84ad98585c usb: Cofnigure PLLB according to board.h BOARD_MAINOSC Harald Welte 2017-01-12 18:06:57 +01:00
  • 7861132fad qmod: Don't violate PLL minimum output frequency Harald Welte 2017-01-12 11:07:04 +01:00
  • b871363be7 qmod: cosmetic changes to EEPROM hex array Harald Welte 2017-01-11 23:08:35 +01:00
  • b30783c83e qmod EEPROM: Dont't mark any ports as non-removable Harald Welte 2017-01-11 23:02:26 +01:00
  • ae8a465f36 qmod: Commit missing changes to EEPROM Harald Welte 2017-01-11 22:59:09 +01:00
  • 6dfcf70f63 qmod: Start with _HUB_RESET=0 -> HUB_RESET=1 (not in reset) Harald Welte 2017-01-11 22:23:13 +01:00
  • f9a182d24d qmod: breal the command loop when 'U' is pressed and proceed to USB init Harald Welte 2017-01-11 22:22:16 +01:00
  • afbb747170 qmod: do not automatically clear _HUB_RESET after EEPROM write Harald Welte 2017-01-11 22:21:28 +01:00
  • e07aed6543 qmod: debug menu: Add 'U' command to proceed to USB Harald Welte 2016-12-22 22:32:15 +01:00
  • 396354cbdb qmod: debug menu: make sure to always print something Harald Welte 2016-12-22 22:28:26 +01:00
  • 006b16ddc2 quad-modem: Add debug console commands for debugging Harald Welte 2016-12-22 21:29:10 +01:00
  • e974fbb9e5 Issue ST12_PRTPWR_OVERRIDE before putting hub in reset Harald Welte 2016-10-19 19:36:07 +02:00
  • 15e026ec34 qmod: Set PIN_PRTPWR_OVERRIDE to output/low Harald Welte 2016-10-11 17:46:09 +02:00
  • 4e3b9a5140 qmod: attempt to swithc the DN/DP wires of the SAM3 Harald Welte 2016-09-05 14:04:43 +02:00
  • 67415e3385 HACK: Add EEPROM writing at boot of SAM3 on qmod Harald Welte 2016-09-01 20:57:56 +02:00
  • 73d697d788 i2c-bitbang: increase speed to ~110kHz Harald Welte 2016-09-01 18:58:41 +02:00
  • 0aea9fff28 Fix reading SDA in I2C bit-banging code Harald Welte 2016-09-01 18:39:12 +02:00
  • c6ae98c53a i2c_bitbang: Change logic when to use i2c_delay() Harald Welte 2016-09-01 11:57:09 +02:00
  • 226b40aba4 WIP: bit-banging I2C support for EEPROM access on QMOD Harald Welte 2016-08-21 19:33:24 +02:00
  • a02b641650 Add support for 'qmod' (quad-modem) board Harald Welte 2016-08-21 18:32:12 +02:00
  • fd9c041ec8 fix TRACE_ENTRY line termination (LF -> CRLF) Harald Welte 2016-03-20 18:15:57 +01:00
  • 990f01051f Add HardFault Exception Handler Harald Welte 2016-03-20 18:15:45 +01:00