This commit is contained in:
Markus Fröschle
2012-12-09 18:17:07 +00:00
parent c34bae81df
commit 6bf3a165b2
2 changed files with 4 additions and 13 deletions

View File

@@ -7,6 +7,8 @@ define tbtr
end
tr
define run
continue
end
source mcf5474.gdb

View File

@@ -803,19 +803,8 @@ void initialize_hardware(void) {
init_slt();
xprintf("\r\nBaS_gcc for FireBee v %d.%d\r\n", MAJOR_VERSION, MINOR_VERSION);
xprintf("initializing hardware...\r\n");
init_fbcs();
init_ddram();
init_fpga();
/* FireTOS seems to have trouble to initialize the ST-RAM by itself, so... */
/* Validate ST RAM */
* (volatile uint32_t *) 0x42e = STRAM_END; /* phystop TOS system variable */
* (volatile uint32_t *) 0x420 = 0x752019f3; /* memvalid TOS system variable */
* (volatile uint32_t *) 0x43a = 0x237698aa; /* memval2 TOS system variable */
* (volatile uint32_t *) 0x51a = 0x5555aaaa; /* memval3 TOS system variable */
/* Jump into FireTOS */
typedef void void_func(void);
void_func* FireTOS = (void_func*) FIRETOS;