[PATCH] ARM: SoCFPGA: add Terasic DE10-Nano board support

Gwenhael Goavec-Merou gwenj at trabucayre.com
Mon May 31 12:29:21 PDT 2021


On Mon, 31 May 2021 13:42:56 +0200
Roland Hieber <rhi at pengutronix.de> wrote:

> On Fri, May 28, 2021 at 12:29:51PM +0300, Antony Pavlov wrote:
> > On Thu, 27 May 2021 21:36:00 +0200
> > Gwenhael Goavec-Merou <gwenj at trabucayre.com> wrote:
> >   
> > > From: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> > > 
> > > The Terasic DE10-Nano board is based on CycloneV SoCFPGA (5CSEBA6) with
> > > 
> > > What has been tested to work:
> > > - SD card
> > > - Gigabit network  
> > 
> > What is the status of FPGA bitstream loading?
> > 
> > ...
> >   
> > > diff --git a/arch/arm/boards/terasic-de10-nano/iocsr_config_cyclone5.c
> > > b/arch/arm/boards/terasic-de10-nano/iocsr_config_cyclone5.c new file mode
> > > 100644 index 000000000..c1291dea4
> > > --- /dev/null
> > > +++ b/arch/arm/boards/terasic-de10-nano/iocsr_config_cyclone5.c
> > > @@ -0,0 +1,678 @@
> > > +/* GENERATED FILE - DO NOT EDIT */  
> 
> By the way, what were the sources from which that file was generated?
> (I assume the sources were under BSD-3-Clause…?)
>
Files are copied/adapted by  scripts/socfpga_import_preloader. Files used
produces by quartus and bsp-editor as explained in
Documentation/boards/socfpga.rst Original files are BSD-3-Clause
>
>  - Roland

Gwenhael

> 
> > > +/*
> > > + * Copyright Altera Corporation (C) 2012-2014. All rights reserved
> > > + *
> > > + * SPDX-License-Identifier:    BSD-3-Clause  
> > 
> > To: Sascha
> > Can we add BSD-3-Clause-licensed file into barebox?
> > 
> > ...
> >   
> > > diff --git a/arch/arm/dts/socfpga_cyclone5_de10_nano.dts
> > > b/arch/arm/dts/socfpga_cyclone5_de10_nano.dts new file mode 100644
> > > index 000000000..6965e3820
> > > --- /dev/null
> > > +++ b/arch/arm/dts/socfpga_cyclone5_de10_nano.dts
> > > @@ -0,0 +1,34 @@
> > > +/*
> > > + *  Copyright (C) 2021 Gwenhael Goavec-Merou
> > > <gwenhael.goavec-merou at trabucayre.com>
> > > + *
> > > + * 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.  
> > 
> > Just use SPDX-License-Identifier here.
> >   
> > > + * 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/>.
> > > + */
> > > +  
> > 
> > -- 
> > Best regards,
> >   Antony Pavlov
> > 
> > _______________________________________________
> > barebox mailing list
> > barebox at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox
> >   
> 
> -- 
> Roland Hieber, Pengutronix e.K.          | r.hieber at pengutronix.de     |
> Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
> 31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list