Hi Carlo Carlo Caione wrote:
> On Sat, Aug 28, 2010 at 4:04 PM, John Dallaway <j...@dallaway.org.uk> wrote: >> Ahh, yes. You will also need to inhibit management of the internal flash >> by enabling CYGNUM_REDBOOT_FLASH_RESERVED_DEVICES with value "0x08000000". >> >> If you can confirm correct behaviour with this additional configuration >> change, I will update redboot_ROM.ecm accordingly. > > Yeah. now it seems to be ok. Thank you for the confirmation. I have checked in the RedBoot configuration fixes. > The last problem I have is that exec command is not present in RedBoot even > if I have selected "Provide the exec command in RedBoot". > I need exec to load ucLinux kernel (XIP). Implementation of the RedBoot "exec" command is architecture-specific and typically provided by the various eCos architectural HAL packages. There is no support for RedBoot "exec" in the Cortex-M architectural HAL package at present. Take a look at redboot_linux_exec.c and CYGPKG_REDBOOT_ARM_OPTIONS in the ARM architectural HAL package, clone for Cortex-M and modify as required. I hope this helps... John Dallaway eCos maintainer -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss