From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] Separate EBV Socrates board from Altera Cyclone 5 board and from Virtual Target
Date: Wed, 28 May 2014 10:53:16 +0200 [thread overview]
Message-ID: <m2fvjuffnn.fsf@lamuella.denx.de> (raw)
In-Reply-To: <20140527135933.GA31318@amd.pavel.ucw.cz> (Pavel Machek's message of "Tue, 27 May 2014 15:59:33 +0200")
Hi Pavel,
> Hi, Detlev!
>
>> > Altera Cyclone 5 board is very different board (big, rectangular,
>> > expensive) than EBV Socrates (small, circular, cheap) board. Different
>> > parts are used there, too, but same configuration of u-boot works on
>> > both. Nevertheless, printing wrong name confuses users. Virtual target
>> > is completely different, and board configured for it will not boot on
>> > physical targets.
>>
>> Thanks for the initiative again.
>
> I'm celebrating mainline u-boot on my target :-).
Yay!
>> > --- a/boards.cfg
>> > +++ b/boards.cfg
>> > @@ -379,6 +379,8 @@ Active arm armv7 rmobile renesas lager
>> > Active arm armv7 s5pc1xx samsung goni s5p_goni - Przemyslaw
>> > Marczak <p.marczak@samsung.com>
>> > Active arm armv7 s5pc1xx samsung smdkc100 smdkc100 - Minkyu Kang
>> > <mk7.kang@samsung.com>
>> > Active arm armv7 socfpga altera socfpga socfpga_cyclone5 - -
>> > +Active arm armv7 socfpga altera socfpga socfpga_virtual - -
>> > +Active arm armv7 socfpga altera socfpga socfpga_socrates
>>
>> As you correctly note, the socrates is sold by EBV and not Altera so I
>> guess the 5th column needs to be changed. Will this still work?
>
> That will result in:
>
> CC arch/arm/lib/eabi_compat.o
> scripts/Makefile.build:64:
> /home/pavel/wagabuibui/u-boot/board/ebv/socfpga/Makefile: No such file
> or directory
> make[2]: *** No rule to make target
> `/home/pavel/wagabuibui/u-boot/board/ebv/socfpga/Makefile'. Stop.
I feared as much, so thats why I asked ;)
> ...and I don't think we want to do board/{altera,ebv} symlink. Are
> there any other options? Or is "altera" in the boards file simply
> acceptable?
This is a problem that will turn up in the future even more, so I
propose to solve it correctly now. It will not be long before we want
to have our own configuration for our MCV module and this will certainly
be sold by DENX. I think we need an infrastructure to allow for boards
sold by arbitrary manufacturers all using the Altera chip.
The situation as such is not uncommon, so maybe you can follow examples
from different CPUs? I.e. how is the imx6 handled on the different base
boards?
Cheers
Detlev
--
LISP has survived for 21 years because it is an approximate local
optimum in the space of programming languages.
-- John McCarthy (1980)
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2014-05-28 8:53 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-11 19:26 [U-Boot] [PATCH] Separate EBV Socrates board from Altera Cyclone 5 board Pavel Machek
2013-11-11 20:32 ` Chin Liang See
2013-11-11 20:33 ` Tom Rini
2013-11-12 8:22 ` Michal Simek
2013-11-12 9:56 ` Detlev Zundel
2013-11-12 10:17 ` Michal Simek
2013-11-12 14:46 ` Chin Liang See
2013-11-12 15:17 ` Michal Simek
2013-11-13 0:07 ` Dinh Nguyen
2013-11-13 14:39 ` Chin Liang See
2013-11-13 15:55 ` Michal Simek
2013-11-13 17:57 ` Chin Liang See
2013-11-14 7:23 ` Michal Simek
2013-11-12 15:25 ` Tom Rini
2013-11-12 9:53 ` Detlev Zundel
2014-01-13 8:29 ` Albert ARIBAUD
2014-05-27 13:12 ` [U-Boot] [PATCH v2] Separate EBV Socrates board from Altera Cyclone 5 board and from Virtual Target Pavel Machek
2014-05-27 13:42 ` Detlev Zundel
2014-05-27 13:59 ` Pavel Machek
2014-05-28 8:53 ` Detlev Zundel [this message]
2014-05-28 9:56 ` Pavel Machek
2014-05-28 10:36 ` Detlev Zundel
2014-05-28 12:49 ` Pavel Machek
2014-05-28 14:29 ` Wolfgang Denk
2014-05-28 18:26 ` Pavel Machek
2014-05-30 9:41 ` Detlev Zundel
2014-06-02 6:53 ` Chin Liang See
2014-06-05 10:45 ` Detlev Zundel
2014-06-02 7:22 ` Chin Liang See
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=m2fvjuffnn.fsf@lamuella.denx.de \
--to=dzu@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