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]

RE: Linux with Redboot on EP7312


Thanks Janni,

> For the tags, CYGHWR_REDBOOT_ARM_LINUX_TAGS_ADDRESS I've used 0x00200000.
>>make sure that when MMU is turned off this virtual address matches the
address
>>the kernel expects it's param block.It's hardcoded depending on the
latform _and_
>>the kernel version (at least for the edb7xxx this has changed at least
once)

How can I tell? Is it in a file somewhere where I built the kernel?
Also, just for reference, I'm using the default CYGARC_HAL_MMU_OFF
defined in redboot_linux_exec.c and not defining my own.
I did notice that the small linux loader I have for the original
SmartFirmware has a similar (smaller) function to do that:

void disable_mmu() {
  asm("mov r0,#0x00000070");
  asm("mcr p15,0,r0,c1,c0");
}

Should I replace the default with this???

Adam


-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Jani Monoses
Sent: Friday, November 01, 2002 8:52 AM
To: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Linux with Redboot on EP7312


> is 0xc0028000 by looking at these lines:
> c0028000 ? __init_begin
> c0028000 ? stext

> Now I've setup CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS to 0x00010000
this should be 0xc028000 then


> For the tags, CYGHWR_REDBOOT_ARM_LINUX_TAGS_ADDRESS I've used 0x00200000.
make sure that when MMU is turned off this virtual address matches the
address
the kernel expects it's param block.It's hardcoded depending on the latform
_and_
the kernel version (at least for the edb7xxx this has changed at least once)
> Also, should I expect the kernel output on the console (ttyS0)? or should
I
> pass in a
> console=ttyS0,38400?
it's probably not called ttyS0 on your board but ttyAM0 or someting.I might
be wrong though.

> Should I be using zImage rather then vmlinux?
zImage or Image (the uncompressed version)

Also if you update to a recent kernel you can run it from flash since the
uncompressor is position independent.


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





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


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