From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91 with framebuffer in SDRAM
Date: Tue, 23 Oct 2007 07:24:22 +0200 [thread overview]
Message-ID: <005101c81534$ff70bbc0$01c4af0a@Glamdring> (raw)
In-Reply-To: 206b9e70710221621l5fba5bafse99c5923c2635f92@mail.gmail.com
> Hi,
>
> I'm trying to cobble together a proto with the AT91SAM9261EK and a WVGA
> TFT
> screen using Ulf's 1.2.0-atmel branch. I have gotten the screen to work
> just
> fine. The problem is that I need to operate out of SDRAM, and I'm trashing
> the environment variables somehow. The environment variables are at
> PHYS_SDRAM + 0x100 and are 0x2000 long so I have tried PHYS_SDRAM +
> several
> larger numbers (0x10000, 0x20000, 0x100000) for fb_base but all result in
> corrupt environment variables when I try to save them. I believe that I am
> staying out of u-boot's operating RAM (0x23f00000+ correct?), but I could
> be
> mistaken.
>
The environment variables should be stored in flash, not in SDRAM.
- Even if you execute from SDRAM.
What type of flash are you using.
My stuff is there to support dataflash, and anything else
get little or no testing.
> The symptom is the constantly-recurring bad CRC warning and saveenv
> appears
> to have no effect. The settings seem to be working fine when I switch
> fb_base back to AT91C_IRAM, but obviously the display doesn't function
> properly. I've looked through for obvious mistakes in writing the logo and
> text below the logo to the fb but haven't been able to track anything
> down.
>
> Also, as an aside, I think that the vl_pixclock variable is used
> incorrectly
> in the at91sam926X files. It is supposed to be (from the definition) in
> picoseconds but appears to only work in Hz.
>
> Any help is appreciated.
>
> Thanks,
> Zac
>
Best Regards
Ulf Samuelsson
next prev parent reply other threads:[~2007-10-23 5:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-22 23:21 [U-Boot-Users] AT91 with framebuffer in SDRAM Zac Wheeler
2007-10-23 4:05 ` [U-Boot-Users] Idle mode example for at91rm9200 Leonid
2007-10-23 5:24 ` Ulf Samuelsson [this message]
2007-10-23 19:56 ` [U-Boot-Users] AT91 with framebuffer in SDRAM Zac Wheeler
2007-10-23 20:14 ` Ulf Samuelsson
2007-10-25 22:13 ` Zac Wheeler
2007-10-26 5:51 ` Ulf Samuelsson
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='005101c81534$ff70bbc0$01c4af0a@Glamdring' \
--to=ulf@atmel.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