From 2980337a93f568c9062a37bf8834e5e307b294eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 1 Nov 2012 20:36:52 +0000 Subject: [PATCH] --- BaS_GNU/BaS_GNU/mcf5474.gdb | 9 +++++++-- BaS_GNU/BaS_GNU/sources/BaS.c | 2 +- BaS_GNU/BaS_GNU/sources/supervisor.S | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/BaS_GNU/BaS_GNU/mcf5474.gdb b/BaS_GNU/BaS_GNU/mcf5474.gdb index 6c9f86f..0fb1111 100644 --- a/BaS_GNU/BaS_GNU/mcf5474.gdb +++ b/BaS_GNU/BaS_GNU/mcf5474.gdb @@ -45,11 +45,16 @@ set *((long *) 0xFF000100) = 0x008D0000 set *((long *) 0xFF000104) = 0x710D0F00 end +define cu +!killall m68k-bdm-gdbserver +end + # # Wake up the board # -define initBoard +define ib addresses setup-dram -end \ No newline at end of file +end +ib diff --git a/BaS_GNU/BaS_GNU/sources/BaS.c b/BaS_GNU/BaS_GNU/sources/BaS.c index 8f6d14d..c67b0ad 100644 --- a/BaS_GNU/BaS_GNU/sources/BaS.c +++ b/BaS_GNU/BaS_GNU/sources/BaS.c @@ -111,7 +111,7 @@ void BaS(void) MCF_INTC_IMRL = 0xffffff00; /* int 1-7 on */ MCF_INTC_IMRH = 0xbffffffe; /* psc3 and timer 0 int on */ - MCF_MMU_MMUCR = MCF_MMU_MMUCR_EN; /* MMU on */ + //MCF_MMU_MMUCR = MCF_MMU_MMUCR_EN; /* MMU on */ xprintf("finished\r\n"); xprintf("IDE reset: "); diff --git a/BaS_GNU/BaS_GNU/sources/supervisor.S b/BaS_GNU/BaS_GNU/sources/supervisor.S index 7988122..b637348 100644 --- a/BaS_GNU/BaS_GNU/sources/supervisor.S +++ b/BaS_GNU/BaS_GNU/sources/supervisor.S @@ -3,6 +3,7 @@ */ #include "startcf.h" +#define cf_stack .extern _rt_cacr; .extern _rt_mod;