OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [hal/] [mn10300/] [stb/] [v2_0/] [misc/] [stubrom.perm] - Blame information for rev 327

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
#
2
# A configuration for building a GDB stub ROM for the STB board.
3
#
4
# To build the ROMs:
5
# 1. Create a build directory and cd into it.
6
# 2. Run: permtest.tcl --srcdir= /hal/mn10300/stb/current/misc/stubrom.perm
7
#    Where  is the path to your source repository.
8
# 3. Run: make
9
# 4. Run: make -C hal/common/current/src/stubrom
10
#
11
# The file hal/common/current/src/stubrom/stubrom will be an ELF excutable of the ROM.
12
# Use objcopy to convert this to the appropriate format for your PROM burner.
13
# Enjoy!
14
#
15
# If you do not have permtest.tcl, then run the pkgconf command by hand and
16
# then edit pkgconf/hal.h to enable/disable the options as shown.
17
#
18
 
19
pkgconf --target=mn10300_am33 --platform=stb --startup=rom --disable-kernel --disable-uitron --disable-libc --disable-libm --disable-io --disable-io_serial --disable-wallclock --disable-watchdog
20
 
21
header hal.h {
22
        enable  CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
23
        enable  CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
24
        disable CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
25
        enable  CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
26
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.