Commit Graph

11337 Commits

Author SHA1 Message Date
Joel Sherrill
48449a8713 2011-10-06 Gedare Bloom <giddyup44@yahoo.com>
PR 1920/bsp
	* shared/helenos/kernel/sparc64/src/sun4u/takemmu.S,
	shared/start/start.S, shared/startup/bspgetworkarea.c,
	shared/startup/linkcmds: Fix BSP memory use to support more than 4 MB
	of RAM.
2011-10-06 16:46:36 +00:00
Joel Sherrill
b7d3a2ca33 2011-10-06 Gedare Bloom <giddyup44@yahoo.com>
PR 1919/bsp
	* shared/startup/bsppredriverhook.c: New file.
2011-10-06 16:45:12 +00:00
Joel Sherrill
87f92e4b33 2011-10-06 Gedare Bloom <giddyup44@yahoo.com>
PR 1919/bsp
	* Makefile.am: Change install ISR callout to bsppredriverhook.
2011-10-06 16:44:56 +00:00
Jennifer Averett
656f958759 Corrected changelog. 2011-10-05 14:12:40 +00:00
Jennifer Averett
49baad5f0f 2011-10-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1922
	* preinstall.am: EDF and CBS scheduler: extern declarations fix.
2011-10-04 15:19:44 +00:00
Ralf Corsepius
11848f35b5 New (Missing from BSP import). 2011-10-02 04:57:04 +00:00
Ralf Corsepius
8880766220 New (Missed during BSP-import). 2011-09-30 10:08:12 +00:00
Sebastian Huber
7a752161b4 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/mpc8309som.cfg, startup/linkcmds.mpc8309som: New file.
	* Makefile.am, preinstall.am: Reflect changes above.
	* configure.ac, console/console-config.c, include/bsp.h,
	include/hwreg_vals.h, include/irq.h, network/network.c,
	spi/spi_init.c, startup/cpuinit.c: Renamed various BSP options.
	* make/custom/gen83xx.inc, make/custom/hsc_cm01.cfg,
	make/custom/mpc8313erdb.cfg, make/custom/mpc8349eamds.cfg: Avoid
	special linkcmds.
2011-09-26 10:08:29 +00:00
Sebastian Huber
c2bc9efe85 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc83xx/include/mpc83xx.h, mpc83xx/network/tsec.c: Update due to API
	changes.
2011-09-26 10:03:30 +00:00
Sebastian Huber
8f21cc09aa 2011-09-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* acinclude.m4: Added lm3s69xx BSP.
2011-09-24 13:25:45 +00:00
Sebastian Huber
e263c1607a 2011-09-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 0001-Fixed-interrupt-handling-for-ARMv7M.patch,
	0002-Fixed-system-handler-priority-register-access.patch,
	0003-Disable-priority_mask-unused-for-NVIC.patch, 0004-Typo.patch,
	0005-Evil-hack-for-BASEPRI-BASEPRI_MAX.patch,
	0006-Evil-hack-to-increase-the-RAM-size.patch, bsp_specs, ChangeLog,
	clock/clock-config.c, configure.ac, console/console-config.c,
	console/uart.c, .cvsignore, include/bsp.h, include/.cvsignore,
	include/irq.h, include/lm3s69xx.h, include/uart.h, irq/irq.c,
	make/custom/lm3s6965.cfg, make/custom/lm3s69xx.inc, Makefile.am,
	README, start/start.S, startup/bspreset.c, startup/bspstart.c,
	startup/bspstarthook.c, startup/linkcmds.lm3s6965, timer/timer.c: New
	files.
2011-09-24 13:23:42 +00:00
Sebastian Huber
82525a756d 2011-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/lpc32xx.inc: Workaround for GCC bug 50106.
	* include/lpc32xx.h: Fixed register map for NAND MLC.
	* include/boot.h: Declare lpc32xx_set_boot_block_bad().
	* misc/boot.c: Define lpc32xx_set_boot_block_bad().
	* include/nand-mlc.h, misc/nand-mlc-erase-block-safe.c,
	misc/nand-mlc-read-blocks.c, misc/nand-mlc-write-blocks.c,
	misc/nand-mlc.c: Changed bad block handling.  Support for non-aligned
	data.  Documentation.
2011-09-22 07:09:07 +00:00
Sebastian Huber
dfdf7961e1 2011-09-19 Andrei Mozzhuhin <nopscmn@gmail.com>
PR 1915/libcpu
	* at91rm9200/usart/usart.c: Fixed polled read.
2011-09-19 07:01:02 +00:00
Sebastian Huber
900d9e66f8 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Update due to API changes.
2011-09-01 15:57:09 +00:00
Sebastian Huber
df8204f590 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc567x.h: Added FLASH as an alias to FLASH_A.
2011-09-01 08:18:56 +00:00
Sebastian Huber
3ac2bf5e24 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h: Use legacy register naming.
2011-09-01 08:15:10 +00:00
Sebastian Huber
7a84689f29 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc556x.h,
	mpc55xx/include/fsl-mpc567x.h: Added missing FLASH types.
2011-09-01 08:09:28 +00:00
Sebastian Huber
9e7758b277 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspgetworkarea.c, startup/linkcmds.base: Removed files.
	* include/mpc55xx-config.h, make/custom/mpc5674fevb.cfg,
	startup/early-init.c, startup/ebi-cal-cs-config.c,
	startup/ebi-cs-config.c, startup/exc-vector-base.S,
	startup/fmpll-syncr-vals.c, startup/linkcmds.mpc5674fevb,
	startup/mmu-config.c, startup/siu-pcr-config.c: New files.
	* Makefile.am, preinstall.am: Reflect changes above.
	* startup/linkcmds.gwlcfm, startup/linkcmds.mpc5566evb,
	startup/linkcmds.phycore_mpc5554: Use linker command base file.
	* configure.ac: Support MPC5674F.  Changed eSCI options.
	* clock/clock-config.c: Support MPC5674F.
	* i2c/i2c_init.c, network/smsc9218i.c, startup/sd-card-init.c: Update
	due to API changes.
	* include/bsp.h: Define BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN.
	* network/if_smc.c: Use HAS_SMC91111.
	* startup/start.S, startup/bspstart.c: Moved low-level initialization
	into new files.  Overall cleanup.
2011-08-31 16:03:10 +00:00
Sebastian Huber
f23c9ed63d 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/linkcmds.base: Removed file.
	* Makefile.am: Reflect change above.
2011-08-31 15:55:52 +00:00
Sebastian Huber
e635abf6a7 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/startup/linkcmds.base: New file.
2011-08-31 15:54:19 +00:00
Sebastian Huber
97fa2f1b1e 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc555x.h,
	mpc55xx/include/fsl-mpc556x.h, mpc55xx/include/fsl-mpc567x.h,
	mpc55xx/include/regs-edma.h, mpc55xx/include/regs-mmu.h: New files.
	* Makefile.am, M preinstall.am: Reflect changes above.
	* mpc55xx/dspi/dspi.c: Update due to API changes.
	* mpc55xx/include/edma.h, mpc55xx/edma/edma.c: Rework to support
	multiple eDMA modules.  Removed complex error interrupt handling.
	* mpc55xx/include/esci.h, mpc55xx/esci/esci.c: Support interrupt mode
	and printk().  Use configure options.
	* mpc55xx/include/irq.h: More defines.  API changes.
	* mpc55xx/include/mpc55xx.h: API changes.
	* mpc55xx/include/reg-defs.h: Added register defines.
	* mpc55xx/include/regs.h: Use new register header files.
	* mpc55xx/include/siu.h: Fixed includes.
	* mpc55xx/misc/fmpll.S, mpc55xx/misc/copy.S, mpc55xx/misc/flash.S:
	Changed sections.  API changes. Support MPC5674F.
2011-08-31 15:50:30 +00:00
Sebastian Huber
b2aa729698 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc_categories.c,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h: Support e200z7.
2011-08-31 15:27:58 +00:00
Sebastian Huber
54a4fe5fa9 2011-08-30 Peter Dufault <dufault@hda.com>
* make/custom/phycore_mpc5554.cfg, startup/linkcmds.phycore_mpc5554,
	network/if_smc.c: New files.
	* Makefile.am, preinstall.am: Reflect changes above.
	* configure.ac: Add support for the Phytec PhyCORE MPC5554.  Includes:
	  - HAS_SMC91111 to indicate a BSP has that neworking.
	  - SMC91111_ENADDR_IS_SETUP so that it skips code to set up the MAC
	  address.
	  - MPC55XX_CLOCK_EMIOS_CHANNEL to permit one to set which eMIOS
	  channel to use for the clock.
	  - MPC55XX_BOOTFLAGS: Skips two words above the RCHW in the startup
	  for use in skpping over the MMU setup.  Required for debugging via a
	  cheap emulator where code is loaded into RAM and then mapped in as
	  flash.
	 - BOARD_PHYCORE_MPC5554 If defined, use custom settings for the
	 Phytec PhyCORE MPC5554 SOM.
	* clock/clock-config.c: Modify so that the EMIOS channel used for the
	clock can be selected at configuration time.  For MPC5544 only:
	  - Conditionally skip access to a register that faults if accessed on
	  the MPC5554
	  - Do not set the control register mode as was done for GW_LCFM
	  support, it breaks interrupts.
	* make/custom/mpc55xx.inc: Make it possible to override the soft-float
	to set the type of floating point BSP will use.
	* startup/start.S: Add support for the "boot flags", two long-words
	that I manipulate with the debugger to skip over MMU setup.  Use an
	external for the start of external SRAM instead of the hardwired
	number 0x20000000.  Disable write access to the internal flash.
2011-08-30 13:58:05 +00:00
Sebastian Huber
c1188b418c 2011-08-30 Peter Dufault <dufault@hda.com>
* mpc55xx/misc/flash_support.c: New file.
	* Makefile.am: Reflect change above.
	* mpc55xx/include/mpc55xx.h: Add definitions for the FLASH interface
	and two memory protect interfaces.  Add modifications to eliminate
	warnings in some of the cache macros.
	* mpc55xx/include/regs.h: Add some structure tag names for some
	structures that I needed access to.  Don't define the ALTCADR for the
	MPC5554 - it is reserved and acess casues an exception.  Hide the C99
	designated initializers when compiling with C++.  Add some support for
	the EQADC.
	* mpc55xx/include/esci.h, mpc55xx/include/watchdog.h: Add C++
	protection.
2011-08-30 13:30:09 +00:00
Sebastian Huber
b907a78b7a 2011-08-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/network/smc91111exp.h, libchip/network/smc91111.c: Use
	BSP_FEATURE_IRQ_EXTENSION define.
2011-08-30 13:16:35 +00:00
Sebastian Huber
839dc97e86 2011-08-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Define BSP_FEATURE_IRQ_EXTENSION.
2011-08-30 13:13:25 +00:00
Sebastian Huber
2174c66d4b 2011-08-30 Peter Dufault <dufault@hda.com>
* libchip/network/smc91111.c: Modify to support the MPC5554 using new
	exceptions.  Fix where the networking status is being dumped to a
	single thousand-character line.  Add support for when the chip loaded
	it's MAC address from a serial chip at reset (the
	SMC91111_ENADDR_IS_SETUP option).  Call lan91cxx_start() every time
	the the device is initialized.  Without this change the chip can not
	be "upped" once it has been downed.
	* c/src/libchip/network/smc91111.h: Change the "#ifdef expression" to
	"#if expression".
	* c/src/libchip/network/smc91111exp.h: Add support for new exceptions.
2011-08-30 13:07:21 +00:00
Joel Sherrill
37c0ccb23c 2011-08-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Revert patch and add comment clarifying code and need for
	cast.
2011-08-30 12:16:24 +00:00
Joel Sherrill
9549ed9b86 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* bootcard.c: Correct printk() format.
2011-08-29 21:38:09 +00:00
Joel Sherrill
50d1c45d36 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* configure.ac: Formatting. Remove duplication BSP_HAS_SMP.
2011-08-29 21:36:02 +00:00
Joel Sherrill
fd8dca50a1 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, startup/bspstart.c: Formatting.
2011-08-29 21:32:56 +00:00
Joel Sherrill
2996b9b14d 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am: Do not include ne2000.rel unless networking is enabled.
2011-08-29 18:28:35 +00:00
Sebastian Huber
3143f31fe6 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Update due to API changes.
2011-08-24 09:53:14 +00:00
Sebastian Huber
cefcc5ebd0 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/iss555.c: Update due to API changes.
2011-08-24 09:52:13 +00:00
Sebastian Huber
c972c361af 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console/polled_io.c: Update due to API changes.
2011-08-24 09:51:30 +00:00
Sebastian Huber
01750d5210 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* network/network.c: Update due to API changes.
2011-08-24 09:50:15 +00:00
Sebastian Huber
7e85bfbef4 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/bootloader/exception.S, shared/bootloader/misc.c,
	shared/bootloader/mm.c, shared/console/polled_io.c,
	shared/startup/probeMemEnd.c: Update due to API changes.
2011-08-24 09:48:56 +00:00
Sebastian Huber
1d367a49df 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc6xx/clock/c_clock.c, mpc6xx/mmu/mmuAsm.S,
	new-exceptions/bspsupport/ppc_exc_global_handler.c,
	shared/include/cpuIdent.c, shared/src/stack.c: Update due to API
	changes.
2011-08-24 09:45:20 +00:00
Jennifer Averett
76c0fb0012 2011-08-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* Makefile.am, console/config.c: Resolved printk issues.
	* console/printk_support.c: New file.
2011-08-23 18:06:08 +00:00
Jennifer Averett
41265b2397 2011-08-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* Makefile.am: Removed console.c and linked to the shared console.c.
	Note: This change was verified through compilation only.
	* console/console.c: Removed.
2011-08-23 16:28:22 +00:00
Sebastian Huber
61860b57a0 2011-08-23 Julien Delange <julien.delange@gmail.com>
* startup/linkcmds: Fixed instruction cache size.
2011-08-23 07:43:11 +00:00
Sebastian Huber
8c43f3d79d 2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Fixed code section.
2011-08-22 14:09:55 +00:00
Sebastian Huber
7b46d7a63d 2011-08-15 Julien Delange <julien.delange@gmail.com>
* irq/irq.c: Removed printk() before the interrupt initialization
	because it somehow destroys the interrupt context.
	* make/custom/nds.cfg: Enable Thumb interwork.
	* startup/bspstart.c: Set default exception handler.
2011-08-15 08:12:49 +00:00
Sebastian Huber
2a514e80d9 2011-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* irq/irq-dispatch.c: New file.
	* irq/irq.c: Moved bsp_interrupt_dispatch() to new file.
	* Makefile.am: Reflect change from above.
2011-08-08 12:36:15 +00:00
Sebastian Huber
18a0c56b4b 2011-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/i2c.c: Bugfix.
2011-08-08 12:33:22 +00:00
Till Straumann
7bdd5716f5 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* configure.ac: changed tests so that variants
	of qemuprep (e.g., qemuprep-altivec) are recognized.
2011-08-06 02:39:35 +00:00
Till Straumann
e94aa61b68 2011-08-04 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes
	which moved code around, apparently): *must* store i8259
	mask to frame *before* switching to IRQ stack. The code
	retrieves the mask after switching back to original stack.
	Also, the IRQ stack has no reserved space for the mask;
	storing it there could overwrite memory!
2011-08-05 00:15:50 +00:00
Joel Sherrill
18544cbd47 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* ChangeLog: Spacing.
	* README: Removed.
2011-08-02 14:04:40 +00:00
Joel Sherrill
15ad13cb7d 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* milkymist_networking/mm_crc32.c: Removed.
2011-08-02 14:04:31 +00:00
Joel Sherrill
5f4dd4b91f 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* README: Merge content from lm32/README which was specific to
	this BSP.
2011-08-02 14:04:27 +00:00