This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[EB40]why redboot check my RAM smaller?


hi list,
I download ecos packages from ecos snapshot five days earlier.
I have one customed board based on AT91M40800(AT91X40),is similar with EB40.
I have 1M FLASH and 2M SRAM on board,and address as follows:
flash: 0x01000000-0x010FFFFF
sram:  0x02000000-0x021FFFFF
so I change packages/hal/arm/at91/eb40/current/include/hal_platform_setup.h:
_InitMemory:            
        .long   0x0100202E  // 0x01000000, 1MB, 8-bit, 
        .long   0x02002081  // 0x02000000, 2MB, 16-bit
I build redboot_rom.bin and download it to 0x0101000,but redboot start and
have this info through serial as follows:
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 16:39:53, May 24 2004

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

RAM: 0x02000000-0x02080000, [0x02005328-0x02080000] available
RedBoot> 
why available RAM is so small, can i load one file larger than 800k to RAM?

regards
zhuyong





--http://www.eyou.com
--Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä  ÓïÒôÓʼþ  Òƶ¯ÊéÇ©  ÈÕÀú·þÎñ  ÍøÂç´æ´¢...ÒÚÓÊδ¾¡

--http://vip.eyou.com
--¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä  ×¢²áÄúÖÐÒâµÄÓû§Ãû



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]