From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH-ARM] Add support for Embest SBC2440-II Board
Date: Mon, 25 May 2009 21:13:04 -0700 [thread overview]
Message-ID: <4A1B6C50.6030703@gmail.com> (raw)
In-Reply-To: <4A175E6A.50805@fearnside-systems.co.uk>
Hi Kevin,
kevin.morfitt at fearnside-systems.co.uk wrote:
> Implementation based on the existing u-boot support for S3C2410-based boards. u-boot programmed into NOR flash.
>
> Tested on an SBC2440-II Board using tftp to copy the files from a server and programming them into NAND flash.
>
> MAKEALL used to build all LIST_ARM9 targets only - no other architectures built as the changes only affect ARM9-based boards.
>
> Signed-off-by: Kevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
>
<snip>
> --- /dev/null
> +++ b/include/configs/sbc2440ii.h
> @@ -0,0 +1,252 @@
> +/*
> + * (C) Copyright 2002
> + * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
> + * Marius Groeger <mgroeger@sysgo.de>
> + * Gary Jennejohn <gj@denx.de>
> + * David Mueller <d.mueller@elsoft.ch>
> + *
> + * Modified for the friendly-arm SBC-2410X by
> + * (C) Copyright 2005
> + * JinHua Luo, GuangDong Linux Center, <luo.jinhua@gd-linux.com>
> + *
> + * Modified for the Embest SBC2440-II by
> + * (C) Copyright 2009
> + * Kevin Morfitt, Fearnside Systems Ltd, <kevin.morfitt@fearnside-systems.co.uk>
> + *
> + * Configuation settings for the friendly-arm SBC-2410X board.
> + *
> + * 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, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + */
> +
> +#ifndef __CONFIG_H
> +#define __CONFIG_H
> +
> +
> +#define CONFIG_IDENT_STRING " for Embest SBC2440-II"
> +
> +/*
> + * If we are developing, we might want to start armboot from ram
> + * so we MUST NOT initialize critical regs like mem-timing ...
> + */
> +#undef CONFIG_SKIP_LOWLEVEL_INIT /* undef for developing */
> +
> +/*
> + * High Level Configuration Options
> + * (easy to change)
> + */
> +#define CONFIG_ARM920T 1 /* This is an ARM920T Core */
> +#define CONFIG_S3C2440 1 /* in a SAMSUNG S3C2440 SoC */
> +#define CONFIG_SBC2440II 1 /* on an Embest SBC-2440-II Board */
> +
> +/*
> + * input clock of PLL - the SBC2440-II has 12MHz input clock
> + */
> +#define CONFIG_SYS_CLK_FREQ 12000000
> +
> +
> +#define USE_920T_MMU 1
> +#undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */
> +
> +/*
> + * Size of malloc() pool
> + */
> +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024)
> +/*
> + * size in bytes reserved for initial data
> + */
> +#define CONFIG_SYS_GBL_DATA_SIZE 128
> +
> +/*
> + * Hardware drivers
> + */
> +#define CONFIG_DRIVER_CS8900 1 /* we have a CS8900 on-board */
> +#define CS8900_BASE 0x19000300
> +#define CS8900_BUS16 1 /* the Linux driver does accesses as shorts */
> +
> +/*
> + * select serial console configuration
> + */
> +#define CONFIG_S3C24X0_SERIAL
> +#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on SBC2440-II */
> +
> +/************************************************************
> + * RTC
> + ************************************************************/
> +#define CONFIG_RTC_S3C24X0 1
> +
> +/* allow to overwrite serial and ethaddr */
> +#define CONFIG_ENV_OVERWRITE
> +
> +#define CONFIG_BAUDRATE 115200
> +
> +
> +/*
> + * BOOTP options
> + */
> +#define CONFIG_BOOTP_BOOTFILESIZE
> +#define CONFIG_BOOTP_BOOTPATH
> +#define CONFIG_BOOTP_GATEWAY
> +#define CONFIG_BOOTP_HOSTNAME
> +
> +
> +/*
> + * Command line configuration.
> + */
> +#include <config_cmd_default.h>
> +
> +#define CONFIG_CMD_ASKENV
> +#define CONFIG_CMD_CACHE
> +#define CONFIG_CMD_DATE
> +#define CONFIG_CMD_ELF
> +
> +#define CONFIG_CMD_PING
> +#define CONFIG_CMD_DHCP
> +#define CONFIG_CMD_NAND
> +#define CONFIG_JFFS2_NAND
> +#define CONFIG_CMD_MTDPARTS
> +#define CONFIG_CMD_JFFS2
> +#define CONFIG_JFFS2_CMDLINE
> +#define MTDIDS_DEFAULT "nand0=sbc2440-II-nand"
> +#define MTDPARTS_DEFAULT \
> + "mtdparts=sbc2440-II-nand:2m(kernel),62m(rootfs)"
> +#define CONFIG_EXTRA_ENV_SETTINGS "autostart=yes"
> +
> +#define CONFIG_BOOTDELAY 3
> +#define CONFIG_BOOTARGS \
> +"noinitrd root=/dev/mtdblock1 rootfstype=jffs2 init=/linuxrc console=ttySAC0"
> +#define CONFIG_ETHADDR 08:00:3e:26:0a:5b
> +#define CONFIG_NETMASK 255.255.255.0
> +#define CONFIG_IPADDR 192.168.0.69
> +#define CONFIG_GATEWAYIP 192.168.0.1
> +#define CONFIG_SERVERIP 192.168.0.70
>
Please remove all of these network-related parameters.
<snip>
regards,
Ben
next prev parent reply other threads:[~2009-05-26 4:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-23 2:24 [U-Boot] [PATCH-ARM] Add support for Embest SBC2440-II Board kevin.morfitt at fearnside-systems.co.uk
2009-05-26 4:13 ` Ben Warren [this message]
2009-06-02 23:35 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-03 8:49 ` kevin.morfitt at fearnside-systems.co.uk
2009-06-03 10:05 ` Wolfgang Denk
2009-06-03 10:47 ` kevin.morfitt at fearnside-systems.co.uk
2009-06-03 11:49 ` Wolfgang Denk
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=4A1B6C50.6030703@gmail.com \
--to=biggerbadderben@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.