[U-Boot] [PATCH v5] kirkwood: add NAS62x0 board support

Jason Cooper u-boot at lakedaemon.net
Mon Mar 26 15:23:37 CEST 2012


On Sun, Mar 25, 2012 at 09:31:43PM +0200, Luka Perkov wrote:
> Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220.
> 
> Only difference between boards is number of SATA ports.
> 
> More information about the boards can be found here:
> 
> http://www.raidsonic.de/en/products/nas-systems.php?we_objectID=7036
> http://www.raidsonic.de/en/products/nas-systems.php?we_objectID=7515

Luka,

Sorry I didn't see this before now.  You may want to have a look at the
patch series going into v3.4 here [1].  Basically, All of mine and
Andrew Lunn's.

If you base your kernel patches off of this, CC: me and I'll pull them
in.

...
> diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h
> new file mode 100644
> index 0000000..2dc698e
> --- /dev/null
> +++ b/include/configs/ib62x0.h
> @@ -0,0 +1,172 @@
> +/*
> + * Copyright (C) 2011-2012
> + * Gerald Kerma <dreagle at doukki.net>
> + * Luka Perkov <uboot at lukaperkov.net>
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.
> + *
> + * 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/>.
> + */
> +
> +#ifndef _CONFIG_IB62x0_H
> +#define _CONFIG_IB62x0_H
> +
> +/*
> + * Version number information
> + */
> +#if defined(CONFIG_BOARD_IS_IB_NAS6210)
> +# define CONFIG_IDENT_STRING	" RaidSonic ICY BOX IB-NAS6210"
> +#elif defined(CONFIG_BOARD_IS_IB_NAS6220)
> +# define CONFIG_IDENT_STRING	" RaidSonic ICY BOX IB-NAS6220"
> +#else
> +# error Unknown RaidSonic ICY BOX board specified
> +#endif
> +
> +/*
> + * High level configuration options
> + */
> +#define CONFIG_FEROCEON_88FR131		/* CPU Core subversion */
> +#define CONFIG_KIRKWOOD			/* SOC Family Name */
> +#define CONFIG_KW88F6281		/* SOC Name */
> +#define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
> +
> +/*
> + * Machine type
> + */
> +#define CONFIG_MACH_TYPE	MACH_TYPE_NAS6210


#define CONFIG_OF_LIBFDT

If you add this here, the mach-type won't be needed once you add a
devicetree file to Linux.  It shouldn't be too hard to follow what we
have going on for dreamplug and Buffalo DNS-xxx (patches are still wip
for Buffalo stuff).

hth,

Jason.

[1] git://git.infradead.org/users/jcooper/linux-kirkwood.git kirkwood_dt_for_3.4_v3


More information about the U-Boot mailing list