From: Lukasz Majewski <l.majewski@majess.pl>
To: u-boot@lists.denx.de
Subject: [U-Boot] Switch from mmcboot to ramboot?
Date: Fri, 30 Nov 2012 00:22:37 +0100 [thread overview]
Message-ID: <20121130002237.1262e9a8@jawa> (raw)
In-Reply-To: <CAN0CFw3_aFyuMoQAtV96KB=N9AcFiDb0bywUokMawgAZ7xs2=Q@mail.gmail.com>
Hi Grant,
> > > How can I tell u-boot to boot with the ramboot= definition
> > > instead of mmcboot= ?
> > >
> > > - Grant
> >
> > You need to change environmental variable bootcmd
> >
> > setenv bootcmd ramboot
> > saveenv
> > run bootcmd
> >
> > or simpler:
> >
> > Stop u-boot -> and access prompt
> >
> > then,
> >
> > run ramboot
>
> Hi Lucasz, that didn't work for me and I think it's because of the
> variables set by 'make am335x_evm_defconfig'. It seems like there
> are a set of standard u-boot commands and a higher level of variables
> set by 'make am335x_evm_defconfig' which appear in
> include/configs/am335x_evm.h and prevent you from using the standard
> u-boot commands in uEnv.txt.
I can give you an example with Samsung's soc.
When you execute 'make trats_defconfig' then default envs defined at
include/trats.h are compiled in.
Then if envs are broken (or not available), then those values are
default.
Please type ? at u-boot prompt and look for env commands.
When you type the command, then context help appears.
On Samsung's SoCs you can easily write those default envs to memory
(oneNAND or eMMC) with 'envs default'. And then edit those stored
values (as I've written previously).
>
> For example, even after adding the following to the top of my
> uEnv.txt:
I'm not familiar with am335x_evm board and I don't know what is the
purpose of uEnv.txt.
I may just guess, that this is a default command list to execute.
Please investigate the "env" command if it can work for you.
>
> setenv bootcmd ramboot
> saveenv
>
> I still get:
>
> "Booting from mmc ..."
>
> I'm struggling to figure out how to use the framework provided by
> 'make am335x_evm_defconfig' in uEnv.txt. Can you point me to info on
> how to do that?
>
> - Grant
Regards,
Lukasz
prev parent reply other threads:[~2012-11-29 23:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 21:50 [U-Boot] Switch from mmcboot to ramboot? Grant
2012-11-29 8:24 ` Lukasz Majewski
2012-11-29 21:09 ` Grant
2012-11-29 23:22 ` Lukasz Majewski [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=20121130002237.1262e9a8@jawa \
--to=l.majewski@majess.pl \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox