From: Roman Kolesnikov <romank@randrlabs.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Using at91 with a different parallel flash, request for help
Date: Mon, 12 Jun 2006 22:04:31 -0700 [thread overview]
Message-ID: <448E475F.90705@randrlabs.com> (raw)
In-Reply-To: <448D095C.5010209@koansoftware.com>
Marco Cavallini wrote:
> Roman Kolesnikov ha scritto:
>
>> Hello everyone,
>>
>> I found the difference (with the help of Koan) in the command list
>> and cycles for the newer Atmel chip. I have a new driver now to
>> access the flash, and it works ok. However, I still have problem with
>> UBoot1.1.4. When I load UBoot originally into flash and run,
>> everything works well. However, when I restart the uboot from flash
>> again, I think uboot overwrites something in the environment
>> variables. My environment variables become corrupt. For instance the
>> very first sign is invalid input, output, and debug settigns on the
>> second start up.
>>
>> When I print the environment variables, I get about 8K of garbage
>> data. I wonder what could be causing my corruption. It only occurs in
>> the environment variables.
>>
>
> Hi Roman,
> Please show us your include/configs/at91rm9200dk.h
>
> Ciao
Marco,
Here are my latest results.
I load uboot 1.1.4 (lowlevel init is skipped) into ram through bootload.bin.
I execute uboot 1.1.4
I load uboot 1.1.4 (low level init is present) into ram
I copy uboot 1.1.4(low level present) into flash at 10000000
I reset with external boot juped
uboot 1.1.4 loads fine
I saveenv
I reboot
I get errors about crc and stdin,out and error
I do printenv, I get 65K of .
At this point I see that my env variables are corrupted.
Here is my other trial
I load kernel into ram
I copy (linux) kernel into flash
I copy kernel from flash back to ram
I execute kernel -> I get bad magic number
However, the same kernel runs from ram
Somehow my data is corrupted. But why and how does the original uboot
saved to flash is loading fine?
I am lost,
Roman
next prev parent reply other threads:[~2006-06-13 5:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.873.1149966631.14549.u-boot-users@lists.sourceforge.net>
2006-06-11 1:33 ` [U-Boot-Users] Moving uboot to parallel flash trouble Roman Kolesnikov
2006-06-11 18:46 ` [U-Boot-Users] Using at91 with a different parallel flash, request for help Roman Kolesnikov
2006-06-12 6:27 ` Marco Cavallini
2006-06-12 17:33 ` Roman Kolesnikov
2006-06-12 19:07 ` Roman Kolesnikov
2006-06-13 5:04 ` Roman Kolesnikov [this message]
2006-06-13 7:05 ` Wolfgang Denk
2006-06-13 13:49 ` Roman Kolesnikov
2006-06-13 16:49 ` Jerry Van Baren
[not found] <mailman.19631.1149909549.684.u-boot-users@lists.sourceforge.net>
2006-06-10 3:46 ` Roman Kolesnikov
2006-06-10 3:18 [U-Boot-Users] Using at91 with a different parallel flash " Roman Kolesnikov
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=448E475F.90705@randrlabs.com \
--to=romank@randrlabs.com \
--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