All of lore.kernel.org
 help / color / mirror / Atom feed
From: JPT <j-p-t@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Beginners Questions on modding a NAS
Date: Tue, 05 Mar 2013 20:25:40 +0100	[thread overview]
Message-ID: <kh5grh$he1$1@ger.gmane.org> (raw)
In-Reply-To: <kh2fa1$lf3$1@ger.gmane.org>


Hi,

wow, thanks. bootm worked fine. :)

*** Next step, booting from disk
I created a root fs on USB drive and tried to boot it.

usb start
ext2load usb 0:1 0x02000000 /boot/kernel-DUO-1.0.22
bootm

this works, but the kernel doesn't know where to find the root partition.
how do I have to pass the root= parameter to linux kernel?

this didn't work:
set bootargs console=ttyS0,115200 root=/dev/sda1

How do I find out the correct root device?

Or do I have to boot the "real" system after booting from initrd?


*** Last step: save settings setting for automated boot up.

I tried to save, it writes something, but after issuing "reset" it's 
back to initial values. what's wrong?

Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done



thanks,

JPT

  parent reply	other threads:[~2013-03-05 19:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 15:40 [U-Boot] Beginners Questions on modding a NAS JPT
2013-03-04 17:23 ` Michael Cashwell
2013-03-04 18:16   ` [U-Boot] [OT] " Albert ARIBAUD
2013-03-04 17:32 ` [U-Boot] " Jagan Teki
2013-03-04 18:03   ` Albert ARIBAUD
2013-03-05 19:25 ` JPT [this message]
2013-03-05 20:30   ` Michael Cashwell
2013-03-08 16:10     ` JPT

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='kh5grh$he1$1@ger.gmane.org' \
    --to=j-p-t@gmx.net \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.