mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] S3C24xx: NAND management changes to support booting from NAND
@ 2011-02-24 21:10 Juergen Beisert
  2011-02-24 21:10 ` [PATCH 1/2] mini2440: Add more info about possible SDRAM and flash devices Juergen Beisert
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Juergen Beisert @ 2011-02-24 21:10 UTC (permalink / raw)
  To: barebox

It seems there are more variants of the mini2440 in the wild than I ever
thought.

In order to support booting from NAND some important settings like NAND's page
size and address cycle count must be known. These settings are provided by
four external pins and can be read back from an register of the NFC. This
patch set makes the S3C24xx NFC driver using these bits.

Hopefully now all mini2440 variants can be booted from NAND without the need
for special configurations.

Juergen


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [RFC] Add more changes to make the mini2440 work
@ 2011-02-22 21:20 Juergen Beisert
  2011-02-22 21:20 ` [PATCH 1/2] mini2440: Add more info about possible SDRAM and flash devices Juergen Beisert
  0 siblings, 1 reply; 5+ messages in thread
From: Juergen Beisert @ 2011-02-22 21:20 UTC (permalink / raw)
  To: barebox

It seems there are more variants of the mini2440 in the wild than I ever
thought.

If there is someone out there with a different SDRAM and NAND setting than my
system, please test this patches on top of barebox-next. My SDRAM is of type
Hynix HY57V561620FTP-H and my NAND is of type Samsung K9F1208U0C.
It seems my NAND is the only type with 512 byte pages. All other possible
NAND devices (K9F1G08UOB, K9F2G08UOB, K9K8G08U0A) are using 2048 bytes per
page. This difference is important when booting from NAND. So, I add a menu
entry to select 512 or 2048 bytes per page. I have no idea how to handle this
in a different/generic way, as it's hard to detect the NAND device at this
early point of time when the system starts after reset.

Comments are welcome.

jbe


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2011-02-25  7:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-24 21:10 [PATCH] S3C24xx: NAND management changes to support booting from NAND Juergen Beisert
2011-02-24 21:10 ` [PATCH 1/2] mini2440: Add more info about possible SDRAM and flash devices Juergen Beisert
2011-02-24 21:10 ` [PATCH 2/2] mini2440: Consider correct NAND page size for boot Juergen Beisert
2011-02-25  7:09 ` [PATCH] S3C24xx: NAND management changes to support booting from NAND Belisko Marek
  -- strict thread matches above, loose matches on Subject: below --
2011-02-22 21:20 [RFC] Add more changes to make the mini2440 work Juergen Beisert
2011-02-22 21:20 ` [PATCH 1/2] mini2440: Add more info about possible SDRAM and flash devices Juergen Beisert

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