public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver
Date: Thu, 03 Apr 2014 12:05:36 +0200	[thread overview]
Message-ID: <533D3270.5030301@monstr.eu> (raw)
In-Reply-To: <20140403093519.GD11278@amd.pavel.ucw.cz>

On 04/03/2014 11:35 AM, Pavel Machek wrote:
> Hi!
> 
>>>>>> Actually socfpga board folder includes code to support both Cyclone V
>>>>>> and Arria V soc dev kit. 
>>>>>
>>>>> ok. I expect that you are talking about 2 completely different boards
>>>>> which are here
>>>>>
>>>>> http://www.altera.com/products/devkits/altera/kit-cyclone-v-soc.html
>>>>> http://www.altera.com/products/devkits/altera/kit-arria-v-soc.html
>>>>>
>>>>> Can you use the same configuration on both of them at the same time?
>>>>> I hardly believe that everything just match.
>>>>
>>>> Actually, there's third board, called SoCrates, and yes, exactly same
>>>> configuration works on it and cyclone-v.
>>>
>>> What about Arria-V?
>>>
>>>>
>>>> So you better start believing :-).
>>>
>>> Maybe I will start to believe that Altera design all board
>>> the same like position of pins for uarts, spi, ethernet, etc.
>>>
>>
>> At least Sockit and Socrates are pretty similar in that regard.
>> Apart from the things that are not ;-)
>>
>> Take for example the DDR3 pins on the FPGA side.
>> The Sockit has DDR3-RAM, the Socrates hasn't. So, the pinsetup is different
>> for both. And when you mess that up in the prebootloader, you can't AFAIK
>> change that later.
>> The boards will boot just fine with the same barebox image, but that doesn't
>> mean, that everything is setup correctly.
> 
> That is what I meant -- you still have useful box running
> Linux. Having something useful that boots out of the box is important.
> 
> And it seems to be same(-enough) between Socrates and Arria, too.

It is more about user expectation and explanation it was sent.

1. Here Chin was referring that it is one board
http://lists.denx.de/pipermail/u-boot/2014-March/174866.html

and here you are saying that it is for all Altera's development boards.
It means it is generic board support what I was telling from the start
and this configuration just luckily fits to more boards.

2. Altera is likely designing boards in very similar way that use the same console,
same DDRs(or working with the same timing), i2c pins, spi pins, whatever.
You are just lucky that one configuration
is working for more boards but they are not 100% fit.
I expect that they use the same oscillator and when someone change it
then this default configuration just stop to work.

That's why you should at least print any message that this is
"default" or "minimum" or "fail-safe" configuration and none should
use it in final product because simple it doesn't match what they have setup
in design tool.
Or just write that this configuration is for this development board
and it also working for these development boards.

From that WARNING, everybody should be aware that they have to replace that
generated files by their custom files which fit their design.
Then it is clear that they have something what it boots but they
have something what they shouldn't use in final product.

3. Have something useful that boots can be done with less lines
than it is done right now. From my experience with Zynq you don't need
600 lines of magic setting to have something useful which boots.

4. It is just question of time when Altera release the board where
different uart or oscillator is used and you won't have something
useful what boot.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140403/6f68ad4a/attachment.pgp>

  reply	other threads:[~2014-04-03 10:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05 16:05 [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver Chin Liang See
2014-03-12 14:45 ` Chin Liang See
2014-03-12 14:54   ` Michal Simek
2014-03-24 15:21     ` Chin Liang See
2014-03-25  6:20       ` Michal Simek
2014-04-01  8:46         ` Pavel Machek
2014-04-01  9:07           ` Michal Simek
2014-04-01 11:17             ` Steffen Trumtrar
2014-04-03  9:35               ` Pavel Machek
2014-04-03 10:05                 ` Michal Simek [this message]
2014-03-12 14:57 ` Michal Simek
2014-03-24 15:25   ` 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=533D3270.5030301@monstr.eu \
    --to=monstr@monstr.eu \
    --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