Commit Graph

13888 Commits

Author SHA1 Message Date
Joel Sherrill
22bbb9f165 pc386: Add --disable-com1-com4 boot argument 2016-03-10 10:38:46 -06:00
Joel Sherrill
efbf6c910a libbsp/shared/console.c: Clean up memory allocation for per device data 2016-03-10 10:34:27 -06:00
Joel Sherrill
6db5ea03c3 pc386/startup/bsp_fatal_halt.c: Fix noreturn does return warning 2016-03-10 10:34:25 -06:00
Joel Sherrill
2e516dd46f pc386/startup/bspstart.c: Reformat and cleanup file header 2016-03-10 10:34:24 -06:00
Joel Sherrill
356b2c23f5 pc386: Add PCI UART support 2016-03-10 10:34:15 -06:00
Joel Sherrill
0ac1538db8 console_private.h: Improve comment for vt_ioctl() 2016-03-10 10:34:13 -06:00
Joel Sherrill
3662738787 console_private.h: Remove prototypes for non-existent methods bsp_com_inch() and bsp_com_outch() 2016-03-10 10:34:10 -06:00
Joel Sherrill
c3c57b1ba3 pc386: Improve boot command arguments for console/printk device selection
This patch adds the "--printk=" boot command line argument to specify
the printk() device. It also enhances the "--console=" boot command
line argument to match any device configured in the console device
table. The arguments are parsed as early as possible so they take
effect early. Currently, this is immediately after PCI initialization.
2016-03-10 10:33:27 -06:00
Joel Sherrill
f770fcb368 Add shared PCI support and enhance pc386 to support non-legacy PCI configuration space
This patch fundamentally results from enhancements to the pc386 BSP
to support systems which do **NOT** have the legacy PCI BIOS. The
patch adds support for detecting when legacy PCI BIOS is not
present and then using IO space to access to PCI Configuration Space.
This resulted in dynamically selected between two implementations
of PCI and refactoring out the shared methods.

This patch adds shared implementations of pci_bus_count() and
pci_find_device(). Subsequent patches will remove implementations
of these methods in other BSPs where possible.
2016-03-10 10:30:25 -06:00
Joel Sherrill
367176450c pc386/configure.ac: Delete incorrect and unused AM_CONDITIONAL 2016-03-10 10:26:53 -06:00
Joel Sherrill
3b6972327e i386/shared/pci/pcibios.c: Remove unused pcib_find_by_class() 2016-03-10 10:26:52 -06:00
Joel Sherrill
8ce16a4766 i386/shared/pci/pcibios.c: Remove unused pcib_special_cycle() 2016-03-10 10:26:49 -06:00
Joel Sherrill
12c9dc8ff5 pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API uses
This first step eliminates the following as public APIs for the pc386
BSP:

  + pcib_conf_read8
  + pcib_conf_read16
  + pcib_conf_read32
  + pcib_conf_write8
  + pcib_conf_write16
  + pcib_conf_write32

The if_fxp.c driver uses these enough where I provided local macros
to allow the code to be mostly unmodified. On other architectures
these names have been used privately. It will take multiple patches
to completely eliminate these symbols from the RTEMS source tree.

The focus of the first effort is just to eliminate these as a public
pc386 API so support can be added for systems without legacy PCI BIOS.
2016-03-10 10:26:48 -06:00
Sebastian Huber
9f5754b5c2 bsps: Avoid Giant lock in simulator clock driver
Update #2555.
2016-03-04 15:15:57 +01:00
Sebastian Huber
90d8567d34 score: Distribute clock tick to all online CPUs
Update #2554.
2016-03-04 13:36:10 +01:00
Gedare Bloom
daa303da3e pc386: adjust assembly in bsp_fatal_halt 2016-03-03 16:40:17 -05:00
Joel Sherrill
328bd350aa i386: refactor libcpu/cpu.h into rtems/score/i386.h
Fixes #2515.
2016-03-03 16:36:30 -05:00
Gedare Bloom
3267f9580f i386: prepare for paravirtualized interrupts 2016-03-03 16:36:30 -05:00
Gedare Bloom
505dc617c8 i386: relocate fatal halt to bsp layer 2016-03-03 16:36:30 -05:00
Gedare Bloom
fd05a055e6 i386: move idle thread into BSP layer 2016-03-03 16:36:29 -05:00
Joel Sherrill
e56266cb3e version.c: Add space so printing is neater 2016-03-03 16:36:29 -05:00
Joel Sherrill
3f5e0961b4 smdk2410: Resurrect missing gp32 files
When the gp32 BSP was obsoleted and removed, files were deleted that
were actually used by the gp32.

This was actually a violation of the expected directory structure
and why it wasn't caught. Another example of why continuous integration
testing -- even just building is important.
2016-03-03 08:12:53 -06:00
Sebastian Huber
cc1add7b44 bsps: Delete empty Clock_driver_support_at_tick() 2016-03-03 09:49:15 +01:00
Sebastian Huber
73de9393e3 bsp/qoriq: Do not touch MMU config for SMP start
Assume that the boot page is visible in the currently unused heap area.
2016-03-03 09:10:13 +01:00
Sebastian Huber
e468ba5532 U-Boot: Flush data cache after bdinfo copy 2016-03-03 09:10:13 +01:00
Martin Galvan
8c5c53f478 am335x irq handling improvement
This patch makes the following changes to the Beaglebone IRQ handling code:

- Disable support for nested interrupts.
- Detect spurious IRQs using the SPURIOUSIRQ field of the INTC_SIR_IRQ register.
- Acknowledge spurious IRQs by setting the NewIRQAgr bit of the INTC_CONTROL
  register. This cleans the SPURIOUSIRQ field and allows new interrupts
  to be generated.
- Improve the get_mir_reg function a bit.

Closes #2580.
2016-02-28 00:23:02 +01:00
Sebastian Huber
c466c62d78 bsp/leon3: Use -mcpu=leon3 machine option
Due to GCC configuration changes, the -muser-mode option is superfluous.
2016-02-22 07:04:17 +01:00
punitvara
42989d6f59 arm: Fixed typo in file bbb-gpio.c
This patch fixes typo "moode".

	Signed-off: Punit Vara <punitvara@gmail.com>
2016-02-19 16:09:04 -06:00
Joel Sherrill
e41d8ce5a7 arm/.../lpc1768_embed.cfg: Disable per function sections
updates #2576.
2016-02-06 10:25:00 -06:00
Joel Sherrill
8755f2a3d0 m68k/.../uC5282.cfg: Disable per function sections
updates #2575.
2016-02-06 10:22:17 -06:00
Joel Sherrill
aaa21b18aa powerpc/.../ss555.cfg: Correct ticket number in comment 2016-02-06 10:19:46 -06:00
Joel Sherrill
c99c70298b m68k/.../mcf5225x.cfg: Correct ticket number in comment 2016-02-06 10:18:57 -06:00
Joel Sherrill
406b3b7b98 powerpc/.../qemuppc.cfg: Correct ticket number in comment 2016-02-06 10:18:41 -06:00
Joel Sherrill
6564bd2abb powerpc/.../mpc8260ads.cfg: Correct ticket number in comment 2016-02-06 10:17:59 -06:00
Joel Sherrill
a3687b5c4f m68k/.../mrm332.cfg: Correct ticket number in comment 2016-02-06 10:17:02 -06:00
Joel Sherrill
fb81d367a3 m68k/gen68360/.../*.cfg: Correct ticket number in comment 2016-02-06 10:14:56 -06:00
Joel Sherrill
96cfad6d6f m68k/.../av5282.cfg: Disable per function sections
updates #2574.
2016-02-06 10:12:14 -06:00
Joel Sherrill
50ae9957f8 m68k/.../gen68340.cfg: Disable per function sections
updates #2573.
2016-02-06 10:12:14 -06:00
Joel Sherrill
1c3dd579f1 m68k/.../mcf5206elite.cfg: Disable per function sections
updates #2572.
2016-02-06 10:10:58 -06:00
Joel Sherrill
6a1cbb749c m68k/.../mcf5235.cfg: Disable per function sections
updates #2571.
2016-02-06 10:09:45 -06:00
Joel Sherrill
7cd9f934ff m68k/.../mcf52235.cfg: Disable per function sections
updates #2570.
2016-02-06 10:08:30 -06:00
Joel Sherrill
78fd1ec198 m68k/.../mcf5329.cfg: Disable per function sections
updates #2569.
2016-02-06 09:55:27 -06:00
Joel Sherrill
ea791d52bd m68k/.../mcf5329.cfg: Disable per function sections
updates #2569.
2016-02-06 09:51:54 -06:00
Joel Sherrill
123e2ec098 m68k/.../mcf5225x.cfg: Disable per function sections
updates #2568.
2016-02-06 09:45:48 -06:00
Joel Sherrill
303429f0d9 m68k/.../mrm332.cfg: Disable per function sections
updates #2567.
2016-02-06 09:43:22 -06:00
Joel Sherrill
6184b572d3 m68k/gen68360/.../*.cfg: Disable per function sections
updates #2566.
2016-02-06 09:41:04 -06:00
Joel Sherrill
068b31253e powerpc/.../mpc8260ads.cfg: Disable per function sections
updates #2565.
2016-02-06 09:39:51 -06:00
Joel Sherrill
8926fadfc0 powerpc/.../qemuppc.cfg: Disable per function sections
updates #2564.
2016-02-06 08:53:39 -06:00
Joel Sherrill
72d8e64cd0 powerpc/.../ss555.cfg: Disable per function sections.
updates #2563.
2016-02-06 08:50:34 -06:00
Joel Sherrill
c5ce9c3c21 powerpc/.../haleakala.cfg: Disable per function sections.
updates #2561.
2016-02-06 08:46:30 -06:00