public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Segmented RAM, big userspace.
@ 2011-12-13 16:08 Sergey Lapin
  2011-12-13 16:24 ` Wolfgang Denk
  2011-12-13 20:00 ` Scott Wood
  0 siblings, 2 replies; 5+ messages in thread
From: Sergey Lapin @ 2011-12-13 16:08 UTC (permalink / raw)
  To: u-boot

Hi, all!

We have a board, based on s3c2416, with 128MB of RAM
and 1GB of NAND flash.
RAM is organized as 2 memory banks with far placed bases:

TOP

UNUSED 64MB

64MB SDRAM

--- 128MB segment base 1 -----

UNUSED 64MB

64MB SDRAM

-- 128MB segment base 0 ------

BOTTOM

So we could have only 64MB as one piece; Due to u-boot reloaction code we
need to have u-boot in first 64MB also. And now we have root filesystem
which we need to flash using u-boot, which is a little over this 64MB limit.

Is there some way to use second memory bank from u-boot?
Is it possible to tftp file in parts and flash it on NAND in parts?
(This requires handling of bad blocks too)

We need to flash using u-boot, that's requirement for speedy production.

It is possible to flash filesystems in parts, but for this to work
these are needed to be properly split. This raises a problem of
bad blocks - writing previous piece might end not where you expect it to
end, but a few blocks later. Hand-handling this case is too error-prone.

Thanks a lot,
S.

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

end of thread, other threads:[~2011-12-13 20:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-13 16:08 [U-Boot] Segmented RAM, big userspace Sergey Lapin
2011-12-13 16:24 ` Wolfgang Denk
2011-12-13 16:51   ` Sergey Lapin
2011-12-13 18:14     ` Wolfgang Denk
2011-12-13 20:00 ` Scott Wood

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