[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Tue, 29 Apr 2008 18:04:19 +0800
- From: tcheewan at ntu.edu.sg (Teng Chee Wan Philip)
- Subject: ERC32 BSP
You can also refer to the following link
From: Neil Mayes [mailto:N.Mayes at sstl.co.uk]
Sent: Tuesday, April 29, 2008 5:57 PM
To: Teng Chee Wan Philip
Subject: RE: rtems-users Digest, Vol 19, Issue 50
> -----Original Message-----
> From: Teng Chee Wan Philip [mailto:tcheewan at ntu.edu.sg]
> Sent: 29 April 2008 08:31
> To: Neil Mayes
> Cc: rtems-users at rtems.org
> Subject: RE: rtems-users Digest, Vol 19, Issue 50
> How did you put the hello world example into the boot ROM or RAM? The
> ERC32 BSP assumes that there is a bootloader or boot code
> that will initialise the stack pointer before the start code is run.
I have a bootloader that allows the RAM image to be sucked from the UART
to a specified location (0x02000000) and then allows the code to be
executed. I was under the impresseion a BSP should assume it's coming
from cold start and make sure it's world is setup as it would like it.
> Try using a mkprom-erc32 or any mkprom utility to make the
> boot PROM and boot from there.
Should the BSP not re-initialise the registers as it would want them?