From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 2/4] apf27: add support for the armadeus APF27 board
Date: Fri, 02 Aug 2013 13:12:04 +0200 [thread overview]
Message-ID: <51FB9404.7010300@denx.de> (raw)
In-Reply-To: <51FA9715.30905@yahoo.fr>
Hi Philippe,
On 01/08/2013 19:12, trem wrote:
>> Ok, this must be done in assembly - normally is part of lowelevel_init,
>> while board_init_f() is already written in C.
>>
>> Really I was waiting that general code is called, that is
>> spl_nand_load_image() and then the driver function. You are pushing a
>> parallel way that is, at the end, still the old way to boot (nand_spl).
>
> This board boot from nand, so the SPL should be lower than 2KB.
> The SPL start from NFC (nand) buffer, and It has to :
> - initialize the ram
> - copy itself to another location (ram)
> - jump to this another location
> - copy u-boot from nand to ram
> - jump to ram
>
> We have tried to use SPL framework (with nand driver), but the result
> is a SPL bigger than 2 KB, so we can't use it.
>
> To have a SPL smaller than 2 KB, we have written everything in assembler.
Ok, sorry - I am now used with current i.MX where there is not this
constraint. I reread the boot part of i.MX27 manual and I got the point.
I understand there is no other way for the i.MX27.
I would like you add your useful explanation why you add an assembly
NAND driver (so what you have written here in the lines above) to the
commit message, so that is clear why you were forced to use this way
instead of the SPL framework.
>
> Are you agree with this solution for the SPL ?
>
I understand there is no other solution ;-)
Best regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2013-08-02 11:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-28 20:16 [U-Boot] [PATCH v4 0/4] apf27: add support of armadeus apf27 Philippe Reynes
2013-07-28 20:16 ` [U-Boot] [PATCH v4 1/4] mx27: add missing constant for mx27 Philippe Reynes
2013-07-29 8:17 ` Stefano Babic
2013-07-28 20:16 ` [U-Boot] [PATCH v4 2/4] apf27: add support for the armadeus APF27 board Philippe Reynes
2013-07-29 9:43 ` Stefano Babic
2013-08-01 17:12 ` trem
2013-08-02 11:12 ` Stefano Babic [this message]
2013-08-02 12:49 ` Fabio Estevam
2013-08-02 13:05 ` Stefano Babic
2013-07-28 20:16 ` [U-Boot] [PATCH v4 3/4] apf27: add FPGA support for the apf27 board Philippe Reynes
2013-07-28 22:28 ` Wolfgang Denk
2013-07-28 20:16 ` [U-Boot] [PATCH v4 4/4] Update u-boot-nand.bin to be used with spl Philippe Reynes
2013-07-29 22:29 ` Scott Wood
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=51FB9404.7010300@denx.de \
--to=sbabic@denx.de \
--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