I need to port ecos on new platform board with u-boot. Everywhere I am able to find Porting guide for ecos with redboot. Did anyone booted ecos with u-boot? I got some link which tells it's possible to boot ecos with u-boot? https://sourceware.org/ml/ecos-discuss/2010-06/msg00038.html But I am not able to find any document regarding that.
I tried following following procedure to boot ecos with u-boot
compiled ecos 3.0
ecosconfig new
- ecosconfig tree
- make
cross compiled and generated sample hello_world elf linking library
generated in previous make.Powered on the board and stopped at u-boot(prebuilt u-boot already in flash)
- Transferred hello_world to a load_addr(entry point address of RAM) through tftp
- bootelf load_addr
But it got hanged as follows,
bootelf 0x820000bc
Loading .rom_vectors @ 0x82000000 (204 bytes)
Loading .text @ 0x820000cc (224132 bytes)
EDIT :
When I try loading at address 0x81000000 It proceed further as follows,
bootelf 0x81000000
Loading .rom_vectors @ 0x82000000 (204 bytes)
Loading .text @ 0x820000cc (207960 bytes)
Loading .rodata @ 0x82032d28 (7296 bytes)
Loading .data @ 0x820349a8 (2544 bytes)
Loading .ctors @ 0x82035398 (80 bytes)
Loading .dtors @ 0x820353e8 (56 bytes)
Loading .devtab @ 0x82035420 (608 bytes)
Clearing .sbss @ 0x82035680 (276 bytes)
Clearing .bss @ 0x82035798 (313052 bytes)
## Starting application at 0x820000bc ...
But hangs after the above line. My ELF file size is around 1.9 MB. Will it make a problem?
Note: RAM size - 8 MB (0x80000000 - 0x88000000)
It shouldn't be hard. If you have an ELF file, bootelf will boot it.