2008-07-27 08:56:15     ASAP! Please help...Custom Board with NO SDRAM

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-07-27 08:56:15     ASAP! Please help...Custom Board with NO SDRAM

Izhar Eyal (ISRAEL)

Message: 59446   

 

Hi Everybody,

 

We have a custom board, BF561 with 64MB NOR Flash (connected to AMS0) and 8MB pSRAM (connected to AMS1). We have no SDRAM installed (so there is no memory at adresses 0x00 an so on).

 

We have managed to successfuly load u-boot, jump to area of 0x2400000 and run kernel, but the kernel seems to assumes than some things are at addresses near zero.

 

examples:

 

file init.c, line 103:

 

alloc_bootmem_pages(PAGE_SIZE)     - function seems trying to allocate at 0 range

 

file bootmem.h, line 66:

 

#define alloc_bootmem(_pa(MAX_DMA_ADDRESS))   - the pa function always returns with a zero physical address.

 

Is it possible to use the uCLinux without SDRAM or any other RAM at 0 address?

 

Maybe we have missed some configuration files, can you please explain where do we set address spaces, memory devices in use, etc.

 

Thank you.

QuoteReplyEditDelete

 

 

2008-07-27 09:07:58     Re: ASAP! Please help...Custom Board with NO SDRAM

Mike Frysinger (UNITED STATES)

Message: 59447   

 

please review the documentation.  the Blackfin on-chip memory is not nearly enough to run Linux.  do not waste your time attempting to do so.

QuoteReplyEditDelete

 

 

2008-07-27 09:55:13     Re: ASAP! Please help...Custom Board with NO SDRAM

Izhar Eyal (ISRAEL)

Message: 59450   

 

Mike, this is NOT the on-chip memory, as I mentioned this is an External pSRAM with 8Mbytes of memory.

QuoteReplyEditDelete

 

 

2008-07-27 10:20:09     Re: ASAP! Please help...Custom Board with NO SDRAM

Mike Frysinger (UNITED STATES)

Message: 59451   

 

no one has attempted this nor do we have any hardware to try and assist, so you're largely on your own.  you'll need to change your link address and then probably use memmap= kernel option.  search the docs wiki for information.

Attachments

    Outcomes