Commit Graph

25691 Commits

Author SHA1 Message Date
Gregory Nutt
c019c270d5 Tiva boards: Fix a naming collision, rename board-specific function from tiva_timer_initialize() to tiva_timer_configure() to remove conflict 2016-05-23 08:26:46 -06:00
Alexander Vasiljev
eb11e662db Modifications to the crypto API needed for LPC43xx. 2016-05-23 08:05:02 -06:00
Alexander Vasiljev
b43fcd6f99 LPC43xx: Add AES support. 2016-05-23 08:03:32 -06:00
Gregory Nutt
1bb9c1fa39 Update README 2016-05-23 07:55:25 -06:00
Gregory Nutt
34ce000c50 Sabre-6quad: Add an SMP configuration; Enable procfs in both configurations 2016-05-22 16:17:10 -06:00
Gregory Nutt
c7979ad49c Update README and ChangeLog 2016-05-22 15:17:03 -06:00
Gregory Nutt
5e5b6d677d Update README and ChangeLog 2016-05-22 15:05:41 -06:00
Gregory Nutt
80d0b2736e Reorder some logic: (1) set initial CPU IDLE task regsters AFTER allocating stack, (2) invalidate cache in CPU start-up BEFORE handling first interrupt. 2016-05-22 15:01:49 -06:00
Steve
a75c48c183 Fix for a minor typo that I introduced somewhere along the way during my testing. This makes the bridge code actually compile… 2016-05-21 17:09:50 -06:00
Gregory Nutt
9bd8070b34 Review of last PR 2016-05-20 18:12:05 -06:00
Gregory Nutt
56616f99d3 Forgot to add file before last commit 2016-05-20 18:09:12 -06:00
Gregory Nutt
e47714322e Merged in K-man23/nuttx/stm32f411e-disco (pull request #25)
Add basic configuration for stm32f411e-disco board with STM32F411VE chip
2016-05-20 17:54:07 -06:00
Konstantin Berezenko
a2253cdd3e Add basic configuration for stm32f411e-disco board with STM32F411VE chip 2016-05-20 16:38:25 -07:00
Steve
bd3ef36eda SUMMARY
-------
   This patch enhances networking support for the simulation under Linux.
   Includes updated support for Linux TUN/TAP, and the addition of support for
   Linux bridge devices.

CHANGES
-------
   o Check to see if the d_txavail callback is present before calling it in
     the arp send code.  This prevents a segfault when simulating the telnetd
     daemon with arp send enabled.

   o Adjust the simulation's netdriver_loop() so it will detect and respond to
     ARP requests.

   o Do not attempt to take the tap device's hardware address for use by the
     simulation.  That hardware address belongs to the host end of the link,
     not the simulation end.  Generate a randomized MAC address instead.

   o Do not assign an IP address to the interface on the host side of the TAP
     link.

   + Provide two modes: "host route" and "bridge".

   + In host route mode, maintain a host route that points any traffic for the
     simulation's IP address to the tap device.  In this mode, so long as the
     simulation's IP is a free address in the same subnet as the host, no
     additional configuration will be required to talk to it from the host.
     Note that address changes are handled automatically if they follow the
     rule of if-down/set-address/if-up, which everything seems to.

   + In bridge mode, add the tap device to the specified bridge instance.  See
     configs/sim/NETWORK-LINUX.txt for information and usage examples.  This
     enables much more flexible configurations (with fewer headaches), such as
     running multiple simulations on a single host, all of which can access
     the network the host is connected to.

   o Refresh configurations in configs/sim where CONFIG_NET=y.  They default
     to "host route" mode.

   o Add configs/sim/NETWORK-LINUX.txt

CAVEATS
-------
   - The MAC address generation code is extremely simplistic, and does not
     check for potential conflicts on the network.  Probably not an issue, but
     something to be aware of.

   - I was careful to leave it in a state where Cygwin/pcap should still work,
     but I don't have a Windows environment to test in.  This should be
     checked.

   - I don't know if this was ever intended to work with OS X.  I didn't even
     try to test it there.

NOTES
-----
   - Was able to get telnetd working and simulate nsh over telnet, but only so
     long as listen backlogs were disabled.

     There appears to be a bug in the backlog code where sockets are being
     returned in SYN_RCVD state instead of waiting until they're ESTABLISHED;
     if you perform an immediate send after accepting the connection, it will
     confuse the stack and the send will hang; additionally, the connection
     will never reach ESTABLISHED state.

     Can be worked around by adding a sleep(1) after the accept in telnetd.  I
     don't have the necessary knowledge of the IP stack to know what the
     correct fix is.
2016-05-20 17:36:14 -06:00
Alan Carvalho de Assisis
6c852faebb stm32f103-minimum: Add instructions for using the secret 128KB FLASH 2016-05-20 17:14:19 -06:00
Gregory Nutt
5c55846d2d Minor README file update 2016-05-20 17:11:49 -06:00
Gregory Nutt
356692d70e SMP: Need to enable FPU on other CPUs as well 2016-05-20 13:35:58 -06:00
Gregory Nutt
07acd5327a SMP: Clean CPU0 D-Cache before starting new CPU; Invalidate D-Cache when new CPU started. 2016-05-20 12:39:02 -06:00
Gregory Nutt
eeb4a5c230 Remove comments blocks before empty file sections 2016-05-20 07:46:10 -06:00
Gregory Nutt
2d3e653996 Mostly costmetic changes from review of last PR 2016-05-20 07:44:56 -06:00
Gregory Nutt
9643f68256 Merged in markolsson/nuttx (pull request #24)
Adds support for the 3 user LEDs on the Nucleo-144 board family
2016-05-20 07:31:05 -06:00
Mark Olsson
a985e289ec Fixed User Button config for Nucleo-144 board family 2016-05-20 15:22:47 +02:00
Mark Olsson
1f869e5879 Added new configuration (evalos) for the Nucleo-144 board family.
This new configuration will showcase all the features of the boards, so is a good way to easily test out a new board. This can be added to all boards in the future.
2016-05-20 14:55:30 +02:00
Mark Olsson
02e43ab1b3 Adds support for the 3 user LEDs on the Nucleo-144 board family
Extra: procfs support doesn't work, so the code for this has been removed from AppInitialize
2016-05-20 13:45:16 +02:00
Gregory Nutt
e35e986ddf Merged in david_s5/nuttx/sam_jam (pull request #23)
Fix build if the config is not updated
2016-05-19 17:45:38 -06:00
David Sidrane
916153fb75 Fix build if the config is not updated 2016-05-19 12:44:58 -10:00
Gregory Nutt
e27e87a957 Backing out part of last commit 2016-05-19 15:46:07 -06:00
David Sidrane
8fac871cc9 Adds a JTAG config and ERASE config to Kconfig to set the CCFG_SYSIO SYSIO Pins
• SYSIO4: PB4 or TDI Assignment
0: TDI function selected.
1: PB4 function selected.
• SYSIO5: PB5 or TDO/TRACESWO Assignment
0: TDO/TRACESWO function selected.
1: PB5 function selected.
• SYSIO6: PB6 or TMS/SWDIO Assignment
0: TMS/SWDIO function selected.
1: PB6 function selected.
• SYSIO7: PB7 or TCK/SWCLK Assignment
0: TCK/SWCLK function selected.
1: PB7 function selected.
• SYSIO12: PB12 or ERASE Assignment
0: ERASE function selected.
1: PB12 function selected.

The thing I did not add is warning or compilation failure, (to save the next guy the hassle), at ALL the driver points that uses the these pins.

I did remove this

  /* To use the USART1 as an USART, the SYSIO Pin4 must be bound to PB4
   * instead of TDI
   */

  uint32_t sysioreg = getreg32(SAM_MATRIX_CCFG_SYSIO);
  sysioreg |= MATRIX_CCFG_SYSIO_SYSIO4;
  putreg32(sysioreg, SAM_MATRIX_CCFG_SYSIO);

in sam_lowputc.c in favor of an #error - because the default is an input TDI and driving it blindly to an output TXD1, would be a contention.
2016-05-19 14:33:54 -06:00
Gregory Nutt
7f7d4e664c Completely trivial changes from review of last PR 2016-05-19 14:09:00 -06:00
Gregory Nutt
5ec7ac21a8 Merged in slorquet/nuttx/can (pull request #22)
CAN support for STM32L4
2016-05-19 14:00:58 -06:00
Sebastien Lorquet
ef66f641e9 small fix left from stm32 2016-05-19 21:57:59 +02:00
Sebastien Lorquet
6642898ee4 Merge branch 'master' into can 2016-05-19 21:49:31 +02:00
Sebastien Lorquet
8aae953f67 CAN support for STM32L4 2016-05-19 19:13:04 +02:00
Gregory Nutt
34c0c7b54c Another update to README 2016-05-19 10:20:40 -06:00
Gregory Nutt
8af8d9fb05 Update README 2016-05-19 10:03:51 -06:00
Gregory Nutt
4c837d6e86 Update README 2016-05-19 07:59:31 -06:00
Gregory Nutt
c0653dc238 Update ChangeLog 2016-05-19 07:51:06 -06:00
Gregory Nutt
66233060e2 Update README file 2016-05-19 07:25:52 -06:00
Gregory Nutt
8ace1e3be2 Remove all implementatinos of up_wdginitialize(). It is no longer used. 2016-05-18 19:48:42 -06:00
Gregory Nutt
c364faeefc SAM WDT: Rename up_wdginitialize() functions to something more appropriate for the internal OS interface. 2016-05-18 19:47:48 -06:00
Gregory Nutt
1d2ee34131 SAM WDT: Rename up_wdginitialize() functions to something more appropriate for the internal OS interface. 2016-05-18 19:47:41 -06:00
Gregory Nutt
161bf368c1 Remove schematic... wrong board 2016-05-18 15:56:34 -06:00
Gregory Nutt
5d574549bd stm32f103-minimum: Add schematic; remove unused watchdog driver logic 2016-05-18 15:37:42 -06:00
Gregory Nutt
67756f1f70 Refresh configurations 2016-05-18 13:49:38 -06:00
Alan Carvalho de Assis
104b695645 configs: Add support for the generic STM32F103CBT6 Minimum Board 2016-05-18 13:33:17 -06:00
Gregory Nutt
ca04284750 Remove comment blocks for empty file sections 2016-05-18 13:00:36 -06:00
Gregory Nutt
4e71c4c9ef Correct some typos in comments 2016-05-18 12:49:07 -06:00
Gregory Nutt
f7fd8c6539 Trivial typo fix 2016-05-18 11:56:19 -06:00
Gregory Nutt
f454b38d6e ARMv7-A SMP: Allow CONFIG_SMP_NCPUS=1 for testing purposes 2016-05-18 09:17:02 -06:00
Gregory Nutt
32838fcc2c enter/leave_critical_section: In SMP configuration, may attempt to access the task lists before they have been initialized 2016-05-18 09:17:01 -06:00