* Config Linux for omap embedded system
@ 2006-01-05 1:58 Chen leonard-a17094
2006-01-12 22:51 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Chen leonard-a17094 @ 2006-01-05 1:58 UTC (permalink / raw)
To: linux-omap-open-source
Hi,
I'm a newbie for linux-omap, and am trying to port the linux-omap onto a
specific embedded system, which has 8M/8M rom/ram.
I have some questions regarding with configuring Linux:
1. how to config the total memory when making the kernel? For example,
8M/8M rom/ram.
2. how to specify the startup address when making the kernel? For
example, the kernel is expected to start from 0x0a000000.
3. how to let the linker allocate code/data/stack on specific addresses?
For example, code starts from 0x0a000000, data starts from 0x08000000,
and stack starts from 0x04000000.
Thanks in advance,
Liang
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Config Linux for omap embedded system
2006-01-05 1:58 Config Linux for omap embedded system Chen leonard-a17094
@ 2006-01-12 22:51 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-01-12 22:51 UTC (permalink / raw)
To: Chen leonard-a17094; +Cc: linux-omap-open-source
Hi,
You probably already figured all these out, but just in case...
* Chen leonard-a17094 <liangchen@motorola.com> [060104 18:07]:
> Hi,
>
> I'm a newbie for linux-omap, and am trying to port the linux-omap onto a
> specific embedded system, which has 8M/8M rom/ram.
>
> I have some questions regarding with configuring Linux:
> 1. how to config the total memory when making the kernel? For example,
> 8M/8M rom/ram.
Adding mem=8M to kernel cmdline should do it.
> 2. how to specify the startup address when making the kernel? For
> example, the kernel is expected to start from 0x0a000000.
See Makefile.boot in mach-omap1 directory.
> 3. how to let the linker allocate code/data/stack on specific addresses?
> For example, code starts from 0x0a000000, data starts from 0x08000000,
> and stack starts from 0x04000000.
You can set a mapping in .lds file. See the old Psion second stage
bootloader boot2nd at:
http://www.yipton.demon.co.uk/boot2nd/latest/boot2nd.tgz
The file you want to look is boot2nd.lds.
Regards,
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-12 22:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 1:58 Config Linux for omap embedded system Chen leonard-a17094
2006-01-12 22:51 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox