All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilya Averyanov <averyanovin+uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440
Date: Mon, 23 Apr 2012 17:40:32 +0400	[thread overview]
Message-ID: <CABi8O6Ys0D4kyCj=z=Rrj+K_K_G9FF__UhH2m7HpBgMuuPkdcQ@mail.gmail.com> (raw)
In-Reply-To: <201204211519.30964.marex@denx.de>

Dear Marek Vasut,

Would you please explain, why do you want to initialize the sdram has been in
C code.
If for provide this feature should be written assembly code. And it would
sometimes even harder than the initialization code sdram?

2012/4/21 Marek Vasut <marex@denx.de>

> Dear Ilya Averyanov,
>
> > 2012/4/21 Vasily Khoruzhick <anarsoul@gmail.com>
> >
> > > 2012/4/21 Ilya Averyanov <averyanovin+uboot@gmail.com>:
> > > > No have problem.
> > > > Available only if you boot from NOR flash.
> > > > If you boot from the NAND 4kb of SRAM (steppingstone) not available.
> > >
> > > For NAND boot it's mapped at 0x0
> > > For NOR boot it's mapped at 0x40000000
> > >
> > > NAND controller uses it for booting purpose, but anyway for SPL we
> > > should fit code into
> > > 4k (hardware limitation), so I think using assembly here for SDRAM init
> > > is OK.
> > >
> > > And how will you use the internal SRAM when you boot from NAND, if the
> > > SoC
> >
> > writes in the SDRAM read data from NAND, and your data will be
> overwritten.
>
> Why? You'll load SPL into SRAM, then in SPL you'll copy the rest of uboot
> from
> NAND to - then already inited - SDRAM and execute it. We even have
> ready-to-use
> NAND SPL.
>
> >
> > > Regards
> > > Vasily
>
> Best regards,
> Marek Vasut
>

  reply	other threads:[~2012-04-23 13:40 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16 17:46 [U-Boot] Add support for Mini2440 Gabriel Huau
2012-04-17 20:09 ` [U-Boot] [PATCH V2] " Gabriel Huau
     [not found]   ` <1334694802-4881-1-git-send-email-contact@huau-gabriel.fr>
2012-04-17 20:45     ` [U-Boot] [PATCH v2] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440 Marek Vasut
2012-04-19 19:25 ` [U-Boot] [PATCH v3] " Gabriel Huau
2012-04-19 20:08   ` Marek Vasut
2012-04-19 20:16     ` Gabriel Huau
2012-04-19 20:45       ` Marek Vasut
2012-04-19 21:33         ` Gabriel Huau
2012-04-19 22:22           ` Marek Vasut
2012-04-20  7:19             ` Ilya Averyanov
2012-04-20  9:11               ` Marek Vasut
2012-04-20 13:35                 ` Ilya Averyanov
2012-04-20 14:08                   ` Marek Vasut
2012-04-20 14:30                     ` Ilya Averyanov
2012-04-20 14:35                       ` Ilya Averyanov
2012-04-20 16:17                         ` Marek Vasut
2012-04-20 17:17                           ` Ilya Averyanov
2012-04-20 19:11                             ` Marek Vasut
2012-04-23 20:36                             ` Wolfgang Denk
2012-04-20 19:18                           ` Vasily Khoruzhick
2012-04-20 20:03                             ` Marek Vasut
2012-04-20 22:51                               ` Ilya Averyanov
2012-04-20 23:07                                 ` Marek Vasut
2012-04-21  7:35                                   ` Vasily Khoruzhick
2012-04-23 20:43                                     ` Wolfgang Denk
2012-04-20 23:30                                 ` [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440) Gabriel Huau
2012-04-21  4:09                                   ` Ilya Averyanov
2012-04-21  9:00                                   ` Vasily Khoruzhick
2012-04-21  7:42                                 ` [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440 Vasily Khoruzhick
2012-04-21 10:39                                   ` Marek Vasut
2012-04-21 12:33                                   ` Ilya Averyanov
2012-04-21 13:19                                     ` Marek Vasut
2012-04-23 13:40                                       ` Ilya Averyanov [this message]
2012-04-23 14:07                                         ` Marek Vasut
2012-04-23 14:27                                           ` Ilya Averyanov
2012-04-23 15:25                                             ` Marek Vasut
2012-04-23 20:39                             ` Wolfgang Denk
2012-04-20 16:16                       ` Marek Vasut
2012-04-19 21:37         ` Ilya Averyanov
2012-04-19 22:23           ` Marek Vasut
2012-04-19 22:30             ` Graeme Russ
2012-04-19 22:22   ` Graeme Russ

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='CABi8O6Ys0D4kyCj=z=Rrj+K_K_G9FF__UhH2m7HpBgMuuPkdcQ@mail.gmail.com' \
    --to=averyanovin+uboot@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.