public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Chen leonard-a17094 <liangchen@motorola.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: Config Linux for omap embedded system
Date: Thu, 12 Jan 2006 14:51:53 -0800	[thread overview]
Message-ID: <20060112225153.GK5461@atomide.com> (raw)
In-Reply-To: <93481F4E3CC5F042BBDE9376E50F759A2A5A8B@zmy16exm63.ds.mot.com>

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

      reply	other threads:[~2006-01-12 22:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05  1:58 Config Linux for omap embedded system Chen leonard-a17094
2006-01-12 22:51 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060112225153.GK5461@atomide.com \
    --to=tony@atomide.com \
    --cc=liangchen@motorola.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox