public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] changes in uEnv.txt does not work
@ 2012-01-26 16:18 manish kanchan
  0 siblings, 0 replies; 3+ messages in thread
From: manish kanchan @ 2012-01-26 16:18 UTC (permalink / raw)
  To: u-boot

Hi,
I am Manish and i have recently started working on beagleboard xm.
I am facing certain issues. Need guidance to solve it.

Background:
I am using beagleboard xm, uboot version 9 of 2011

Intention:
Current version of uboot has the environment variable loaduimage set for
ext3 partition.Now i want the uboot to pick the uimage from fat partition.
I can do it by modifying the uboot code and use the rebuilt uboot but i
want to remove dependency on building uboot for future version. So i was
trying to play around with uEnv.txt


Exercise:
Initially i tried to update loaduimage to fatload mmc ${mmcdev} ${loadaddr}
uImage and tried booting but was unsuccessful.
I tried to uncover the problem by echo statements to track the code flow.
I observed that the
1.Same command works when i change the omap3_beagle.h and rebuild the uboot
but it does not work if i change it using uEnv.txt.
2.Also that the error is returned from mmcboot->bootm command saying the
image is in wrong format. But i am using the same image as in case 1.

Can some on guide me how do i achive this. I want to use uEnv.txt for
better maintanibilty


Manish Kanchan

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

* [U-Boot] Changes in uEnv.txt does not work
@ 2012-01-27 16:38 manishdkanchan
  2012-01-31 16:57 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: manishdkanchan @ 2012-01-27 16:38 UTC (permalink / raw)
  To: u-boot


Hi,
I am Manish and i have recently started working on beagleboard xm.
I am facing certain issues. Need guidance to solve it.

Background:
I am using beagleboard xm, uboot version 9 of 2011

Intention:
Current version of uboot has the environment variable loaduimage set for
ext3 partition.Now i want the uboot to pick the uimage from fat partition.
I can do it by modifying the uboot code and use the rebuilt uboot but i want
to remove dependency on building uboot for future version. So i was trying
to play around with uEnv.txt


Exercise:
Initially i tried to update loaduimage to fatload mmc ${mmcdev} ${loadaddr}
uImage and tried booting but was unsuccessful.
I tried to uncover the problem by echo statements to track the code flow.
I observed that the 
1.Same command works when i change the omap3_beagle.h and rebuild the uboot
but it does not work if i change it using uEnv.txt.
2.Also that the error is returned from mmcboot->bootm command saying the
image is in wrong format. But i am using the same image as in case 1.

Can some on guide me how do i achive this. I want to use uEnv.txt for better
maintanibilty
-- 
View this message in context: http://old.nabble.com/Changes-in-uEnv.txt-does-not-work-tp33215335p33215335.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] Changes in uEnv.txt does not work
  2012-01-27 16:38 [U-Boot] Changes in uEnv.txt does not work manishdkanchan
@ 2012-01-31 16:57 ` Tom Rini
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2012-01-31 16:57 UTC (permalink / raw)
  To: u-boot

On Fri, Jan 27, 2012 at 9:38 AM, manishdkanchan
<manishdkanchan00@gmail.com> wrote:
>
> Hi,
> I am Manish and i have recently started working on beagleboard xm.
> I am facing certain issues. Need guidance to solve it.
>
> Background:
> I am using beagleboard xm, uboot version 9 of 2011
>
> Intention:
> Current version of uboot has the environment variable loaduimage set for
> ext3 partition.Now i want the uboot to pick the uimage from fat partition.
> I can do it by modifying the uboot code and use the rebuilt uboot but i want
> to remove dependency on building uboot for future version. So i was trying
> to play around with uEnv.txt

What are the contents of your uEnv.txt?  With v2011.09 and uEnv.txt
that contains:

fromuenv=true
loaduimage=silly

I see:
Hit any key to stop autoboot:  0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

31 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Unknown command 'silly' - try 'help'
...

-- 
Tom

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

end of thread, other threads:[~2012-01-31 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 16:38 [U-Boot] Changes in uEnv.txt does not work manishdkanchan
2012-01-31 16:57 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2012-01-26 16:18 [U-Boot] changes " manish kanchan

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