public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Using an initramfs in SDRAM
@ 2011-02-17 14:38 Boswell, Patrick
  2011-02-17 15:31 ` Wolfgang Denk
  2011-02-17 16:06 ` Eric Cooper
  0 siblings, 2 replies; 3+ messages in thread
From: Boswell, Patrick @ 2011-02-17 14:38 UTC (permalink / raw)
  To: u-boot

 

Hello,

 

What bootargs should I pass to have a JTAG preloaded initramfs in SDRAM
be used by a booting Linux (2.6.32) kernel

for an Android boot system?

 

My platform is an OMAP3530. I would like to have the initramfs in SDRAM
versus the MMC/SD card, as is typical

with a Beagleboard running Android.

 

Will a bootarg like "root=0x8f000000" work instead of
"root=/dev/mmcblk0p2"?

 

Thanks.

 

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Using an initramfs in SDRAM
  2011-02-17 14:38 [U-Boot] Using an initramfs in SDRAM Boswell, Patrick
@ 2011-02-17 15:31 ` Wolfgang Denk
  2011-02-17 16:06 ` Eric Cooper
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2011-02-17 15:31 UTC (permalink / raw)
  To: u-boot

Dear "Boswell, Patrick",

In message <0E62BBF85AF134469094EB502CE90A321EAC24@TAMPA202EM.se.sypris.com> you wrote:
> 
> What bootargs should I pass to have a JTAG preloaded initramfs in SDRAM
> be used by a booting Linux (2.6.32) kernel

This is a Linux question, not an U-oot one, so you are actually off
topic here.

> Will a bootarg like "root=0x8f000000" work instead of
> "root=/dev/mmcblk0p2"?

No, it will not work.  You want to read
Documentation/kernel-parameters.txt and Documentation/initrd.txt in
your Linux kernel tree.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real programmers don't comment their code. It was hard to  write,  it
should be hard to understand.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Using an initramfs in SDRAM
  2011-02-17 14:38 [U-Boot] Using an initramfs in SDRAM Boswell, Patrick
  2011-02-17 15:31 ` Wolfgang Denk
@ 2011-02-17 16:06 ` Eric Cooper
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Cooper @ 2011-02-17 16:06 UTC (permalink / raw)
  To: u-boot

On Thu, Feb 17, 2011 at 09:38:23AM -0500, Boswell, Patrick wrote:
> What bootargs should I pass to have a JTAG preloaded initramfs in SDRAM
> be used by a booting Linux (2.6.32) kernel for an Android boot system?

Unless I'm misunderstanding your question, you can convert your
initramfs image into a uInitrd (with mkimage), use u-boot to load that
into memory (from MMC or whatever), and then pass its address as the
second argument to bootm.

-- 
Eric Cooper             e c c @ c m u . e d u

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-17 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 14:38 [U-Boot] Using an initramfs in SDRAM Boswell, Patrick
2011-02-17 15:31 ` Wolfgang Denk
2011-02-17 16:06 ` Eric Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox