mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Tim Sander <tim@krieglstein.org>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] Terasic DE0 NANO-SoC: add support
Date: Mon, 1 Feb 2016 14:45:27 +0100	[thread overview]
Message-ID: <20160201134527.GD24820@pengutronix.de> (raw)
In-Reply-To: <1519322.ASLy3evpL3@dabox>

On Mon, Feb 01, 2016 at 02:26:42PM +0100, Tim Sander wrote:
> Hi Steffen
> 
> Am Montag, 1. Februar 2016, 14:03:39 schrieb Steffen Trumtrar:
> (...)
> > > > > 
> > > > > > diff --git a/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts
> > > > > > b/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts new file mode
> > > > > > 100644
> > > > > > index 000000000000..5d1840451382
> > > > > > --- /dev/null
> > > > > > +++ b/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts
> > > > > > @@ -0,0 +1,136 @@
> > > > > > +/*
> > > > > > + *  Copyright (C) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
> > > > > > + *
> > > > > > + * This program is free software; you can redistribute it and/or
> > > > > > modify
> > > > > > + * it under the terms of the GNU General Public License as
> > > > > > published by
> > > > > > + * the Free Software Foundation; either version 2 of the License,
> > > > > > or
> > > > > > + * (at your option) any later version.
> > > > > > + *
> > > > > > + * This program is distributed in the hope that it will be useful,
> > > > > > + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > > > > > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > > > > > + * GNU General Public License for more details.
> > > > > > + *
> > > > > > + * You should have received a copy of the GNU General Public
> > > > > > License
> > > > > > + * along with this program.  If not, see
> > > > > > <http://www.gnu.org/licenses/>.
> > > > > > + */
> > > > > > +
> > > > > > +#include <arm/socfpga_cyclone5_sockit.dts>
> > > > > 
> > > > > This is the wrong DT.
> > > > > What you AFAIK want is the socfgpa_cyclone5_de0_sockit.dts
> This one is not beeing found. Did you mean socfpga_cyclone5_de0_nano_soc.dts.
> Which is also not there. I do *think* that the Sockit board has a similar 
> layout. So i deliberately choose this file. Should i copy and adapt this file?

Current master: dts/src/arm/socfpga_cyclone5_de0_sockit.dts

> > IIRC Dinh, who did the dts, initially started with an even more confusing
> > naming and ended with this.
> > It seems reasonable to me, to fix the model name in linux to match the dts
> > name, i.e. "DE0-Nano-SoC". I don't know how the "Atlas" fits in there
> > though.

Seems I got confused with all the names. So, the dts is called
socfpga_cyclone5_de0_sockit.dts and the model name is "Terasic DE-0(Atlas)"
and Terasic calls it "DE0-Nano-SoC Kit/Atlas-SoC Kit".

I think it should then be

	model = "Terasic DE0-Nano-SoC Kit/Atlas-SoC Kit";

I didn't insist on that when I reviewed the dts for linux, maybe I should
have.

Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2016-02-01 13:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01 11:23 Tim Sander
2016-02-01 12:06 ` Steffen Trumtrar
2016-02-01 12:48   ` Antony Pavlov
2016-02-01 12:51     ` Tim Sander
2016-02-01 13:03       ` Steffen Trumtrar
2016-02-01 13:26         ` Tim Sander
2016-02-01 13:45           ` Steffen Trumtrar [this message]
2016-02-01 14:04             ` [PATCH v2] Terasic DE0-Nano-SoC: " Tim Sander
2016-02-01 14:07               ` [PATCH v3] " Tim Sander
2016-02-01 19:31                 ` Trent Piepho
2016-02-02 13:48                   ` Tim Sander
2016-02-02 14:15                     ` Sascha Hauer

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=20160201134527.GD24820@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=tim@krieglstein.org \
    /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