view packages/hal/powerpc/mbx/current/misc/stubrom.perm @ 32:5af43b635655 ecos-sw-1999-08-18

Merge from eCos master repository on 1999-08-18-15:20:01-BST
author jlarmour
date Wed, 18 Aug 1999 15:33:44 +0000
parents
children e7ba79f6d3a8
line wrap: on
line source

#
# A configuration for building a GDB stub ROM for the Motorola MBX board,
# with MPC 860 or 821 CPU.
#
# To build the ROMs:
# 1. Create a build directory and cd into it.
# 2. Run: permtest.tcl --srcdir=<SOURCEDIR> <SOURCEDIR>/hal/powerpc/mbx/current/misc/stubrom.perm
#    Where <SOURCEDIR> is the path to your source repository.
#    (If necessary, make sure the system clock speed is set correctly in
#     pkgconf/hal_powerpc_mbx.h:  40MHz (MPC821) versus 50MHz (MPC860) by default)
# 3. Run: make
# 4. Run: make -C hal/common/current/src/stubrom
#
# The file hal/common/current/src/stubrom/stubrom will be an excutable of the ROM.
# Use objcopy to convert this to the appropriate format for your PROM burner:
#     powerpc-eabi-objcopy -O binary hal/common/current/src/stubrom/stubrom stubrom.img
# Enjoy!
#

pkgconf --target=powerpc --platform=mbx --startup=rom --disable-kernel --disable-uitron --disable-libc --disable-libm --disable-io --disable-io_serial --disable-wallclock --disable-watchdog

header hal.h {
	enable   CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
	disable  CYGFUN_HAL_COMMON_KERNEL_SUPPORT
	disable  CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
	disable  CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
	disable  CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
	enable   CYG_HAL_ROM_MONITOR
}

# 	enable  CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT excluded for now