Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] Dataflash rootfs problems (still)
Date: Thu, 25 Oct 2007 18:51:35 +0200	[thread overview]
Message-ID: <00de01c81728$f9ce0ba0$7b00000a@atmel.com> (raw)
In-Reply-To: 6090c5eb0710250946h4e180f83gbe06b1991a2a2159@mail.gmail.com

Ok, i'll give a try, as far as i'm concerned there are two choices for SPI
driver on the kernel:

- AT91_SPI
- ATMEL_SPI

Which one is better?, i've tested ATMEL_SPI this afternoon, but the kernel
doesn't detects my dataflash, can you point me to a source of information to
read steps to define my dataflash speed and get detected on boot?.

==> The AT91_SPI is the original SPI for AT91
        The Atmel_SPI is a newer version which also supports AVR32.
        This is probably the one to go for long term, but I did not try it myself.
        Try disabling the SD/MMC card interface.
        You probably want to address questions like this to the linux kernel mailing
        list instead of the buildroot list.

My previous kernel was detecting the dataflash itself, but when i define the
speed on my board config, the dataflash isn't detected anymore.

2007/10/25, Ulf Samuelsson <ulf@atmel.com>:
>
> > What about using the SPI bitbang driver for the AT91??
> >
>
>
> Not a good idea since you are transferring large amount of data.
> Better to use the PDC and the H/W SPI.
> Just set down the speed of the SPI.
>
> >> ons 2007-10-24 klockan 21:34 +0300 skrev Ivan Kuten:
> >> > >
> >> > > During the 1st boot, Dropbear creates and "writes" the generated
> keys,
> >> maybe
> >> > > is this *write* operation the one screwing up the dataflash?
> >> > >
> >> >
> >> > We have similar problems with Dataflash&RM9200
> >> > *write* operation is unreliable - we had corrupted filesystem after
> >> reboot.
> >> > Our solution was to use r/o only on dataflash.
> >> >
> >>
> >> I would reduce speed to 5 Mbps or lower. or implement the external
> gate.
> >> Moving to the AT91SAM9260 is of course a nice alternative.
> >> Lower cost, (soon) much higher speed (with the AT91SAM9260A)
> >> Better BootROM (I defined it :-)
> >>
> >>
>


Best Regards
Ulf Samuelsson

  reply	other threads:[~2007-10-25 16:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24 16:20 [Buildroot] Dataflash rootfs problems (still) Jorge S.
2007-10-24 16:33 ` Ulf Samuelsson
2007-10-24 16:54   ` Jorge S.
2007-10-24 18:34     ` Ivan Kuten
2007-10-24 22:57       ` Ulf Samuelsson
2007-10-25  9:08         ` Jorge S.
2007-10-25 16:17         ` Jorge S.
2007-10-25 16:30           ` Ulf Samuelsson
2007-10-25 16:46             ` Jorge S.
2007-10-25 16:51               ` Ulf Samuelsson [this message]
2007-10-25 18:48             ` Ivan Kuten
2007-10-25 17:58               ` Jorge S.
2007-10-25 19:09                 ` Ivan Kuten
2007-10-25 18:11                   ` Jorge S.
2007-10-25 19:20                     ` Ivan Kuten
2007-10-24 22:49     ` Ulf Samuelsson
  -- strict thread matches above, loose matches on Subject: below --
2007-10-24 18:37 Michael Trimarchi
2007-10-24 18:54 ` Jorge S.
2007-10-24 18:59   ` Jorge S.
2007-10-24 19:06 Michael Trimarchi
2007-10-24 19:40 ` Jorge S.

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='00de01c81728$f9ce0ba0$7b00000a@atmel.com' \
    --to=ulf@atmel.com \
    --cc=buildroot@busybox.net \
    /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