[ECOS] AT91/EB40 redboot and uCnet daugter board

Felix Nielsen felix@dezign.dk
Mon Apr 19 08:22:00 GMT 2004


I am having trouble getting the redboot compiled and up and running.

I have a AT91/EB40 devboard 2mb ram and a uCnet daugter board with 2mb 
flash AT49BV1614 and CS8900A. I started without the uCnet - just to keep 
things simple.

When I use the precompiled redboot 
I get this result :


RedBoot(tm) bootstrap and debug environment, version UNKNOWN - built 
17:01:31, 1

Platform: Atmel AT91/EB40 (ARM7TDMI)
Copyright (C) 2000, 2001, Red Hat, Inc.

RAM: 0x02000000-0x02080000, 0x0202d9f8-0x0207ef00 available
FLASH: 0x01010000 - 0x01020000, 256 blocks of 0x00000100 bytes each.


This look just right - besides the wrong amount of memory, but that 
should be easy to change :)

I then got the latest CVS, and tried to build reboot :

ecosconfig new eb40 redboot
U CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0

ecosconfig import 

make -s
headers finished
/opt/ecos/cvs/ecos/packages/redboot/current/src/load.c: In function 
/opt/ecos/cvs/ecos/packages/redboot/current/src/load.c:606: warning: 
unused variable `port'
/opt/ecos/cvs/ecos/packages/redboot/current/src/flash.c: In function 
/opt/ecos/cvs/ecos/packages/redboot/current/src/flash.c:1318: warning: 
unused variable `err_addr'
build finished

(gdb) set $cpsr=0xd3
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x2020000
Loading section .text, size 0xbc28 lma 0x2020040
Loading section .rodata, size 0x1eb3 lma 0x202bc68
Loading section .data, size 0x738 lma 0x202db1c
Start address 0x2020040, load size 57939
Transfer rate: 6098 bits/sec, 499 bytes/write.


RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version UNKNOWN - built 20:45:01, Apr 18 2004

Platform: Atmel AT91/EB40 (ARM7TDMI)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x02000000-0x02080000, [0x02034400-0x02080000] available
FLASH: 0x00000000 - 0x00000001, 0 blocks of 0x00000000 bytes each.


But the reboot is unable to find the flash, can anyone help with that?

Is it possible to backup the flash before I flash with a working 
redboot?, because it is flashed with prebuild uClinux bootstrap - and 
would to keep it as a backup.

Secondly I would really like to get the uCnet daugter board up and 
running, if anyone have information on that I would be happy.

Thanks for your time and hope to get some help :)

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list