From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 02/03 v3] Add support for Olimex SAM9-L9261 SBC
Date: Sat, 18 Jul 2009 23:09:40 +0200 [thread overview]
Message-ID: <20090718210940.GD16951@game.jcrosoft.org> (raw)
In-Reply-To: <200907151858.59324.dinuxbg@gmail.com>
On 18:58 Wed 15 Jul , Dimitar Dimitrov wrote:
> The SAM9-L9261 board support is based on code for AT91SAM9261EK. Networking
> is missing and will be added after the DM9000 support for AT91 boards is
> fixed to comply with U-Boot guide-lines.
> ---
this patch look at 80% similar as the at91sam9261ek
could you regenerate it with
git format-patch -M -B -C
> MAINTAINERS | 3 +
> MAKEALL | 1 +
> Makefile | 17 +++
> board/olimex/sam9_l9261/Makefile | 56 ++++++++
> board/olimex/sam9_l9261/config.mk | 1 +
> board/olimex/sam9_l9261/led.c | 43 +++++++
> board/olimex/sam9_l9261/partition.c | 40 ++++++
> board/olimex/sam9_l9261/sam9_l9261.c | 214 +++++++++++++++++++++++++++++++
> include/configs/sam9_l9261.h | 230 ++++++++++++++++++++++++++++++++++
> tools/Makefile | 3 +
> tools/logos/olimex.bmp | Bin 0 -> 27510 bytes
> 11 files changed, 608 insertions(+), 0 deletions(-)
> create mode 100644 board/olimex/sam9_l9261/Makefile
> create mode 100644 board/olimex/sam9_l9261/config.mk
> create mode 100644 board/olimex/sam9_l9261/led.c
> create mode 100644 board/olimex/sam9_l9261/partition.c
> create mode 100644 board/olimex/sam9_l9261/sam9_l9261.c
> create mode 100644 include/configs/sam9_l9261.h
> create mode 100644 tools/logos/olimex.bmp
>
<snip>
> +
> +/* ------------------------------------------------------------------------- */
> +/*
> + * Miscelaneous platform dependent initialisations
> + */
> +
why don't you configure the dm9000 SMC?
<snip>
> +
> +/* ARM asynchronous clock */
> +#define AT91_CPU_NAME "AT91SAM9261"
no-need please remove
> +#define AT91_MAIN_CLOCK 18432000 /* 18.432 MHz crystal */
> +#define CONFIG_SYS_HZ 1000
> +
> +#define CONFIG_ARM926EJS 1 /* This is an ARM926EJS Core */
> +#define CONFIG_AT91SAM9261 1 /* It's an Atmel AT91SAM9261 SoC*/
> +#define CONFIG_SAM9_L9261 1 /* on an SAM9_L9261 Board */
> +#define CONFIG_ARCH_CPU_INIT
> +#undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */
> +
> +#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
> +#define CONFIG_SETUP_MEMORY_TAGS 1
> +#define CONFIG_INITRD_TAG 1
> +
> +#define CONFIG_SKIP_LOWLEVEL_INIT
> +#define CONFIG_SKIP_RELOCATE_UBOOT
> +
> +/*
> + * Hardware drivers
> + */
> +#define CONFIG_ATMEL_USART 1
> +#undef CONFIG_USART0
> +#undef CONFIG_USART1
> +#undef CONFIG_USART2
> +#define CONFIG_USART3 1 /* USART 3 is DBGU */
> +
> +/* LCD */
> +#define CONFIG_LCD 1
> +#define LCD_BPP LCD_COLOR8
> +#define CONFIG_LCD_LOGO 1
> +#undef LCD_TEST_PATTERN
> +#define CONFIG_LCD_INFO 1
> +#define CONFIG_LCD_INFO_BELOW_LOGO 1
> +#define CONFIG_LCD_INVERTED_CLOCK 1
> +#define CONFIG_SYS_WHITE_ON_BLACK 1
> +#define CONFIG_ATMEL_LCD 1
> +#define CONFIG_ATMEL_LCD_BGR555 1
> +#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
> +
> +/* LED */
> +#define CONFIG_AT91_LED
> +#define CONFIG_RED_LED AT91_PIN_PA23 /* this is the power led */
> +#define CONFIG_GREEN_LED AT91_PIN_PA13 /* this is the user1 led */
> +#define CONFIG_YELLOW_LED AT91_PIN_PA14 /* this is the user2 led */
please fix the indent
> +
> +#define CONFIG_BOOTDELAY 3
> +
> +/*
> + * BOOTP options
> + */
> +#define CONFIG_BOOTP_BOOTFILESIZE 1
> +#define CONFIG_BOOTP_BOOTPATH 1
> +#define CONFIG_BOOTP_GATEWAY 1
> +#define CONFIG_BOOTP_HOSTNAME 1
> +
<snip>
> +
> +#define CONFIG_BAUDRATE 115200
> +#define CONFIG_SYS_BAUDRATE_TABLE {115200 , 19200, 38400, 57600, 9600 }
> +
> +#define CONFIG_SYS_PROMPT "U-Boot> "
> +#define CONFIG_SYS_CBSIZE 256
> +#define CONFIG_SYS_MAXARGS 16
> +#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
> +#define CONFIG_SYS_LONGHELP 1
> +#define CONFIG_CMDLINE_EDITING 1
> +
> +#define ROUND(A, B) (((A) + (B)) & ~((B) - 1))
no-need please remove
> +/*
> + * Size of malloc() pool
> + */
Best Regards,
J.
next prev parent reply other threads:[~2009-07-18 21:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-15 15:56 [U-Boot] [PATCH] Add inverted clock polarity support for Atmel LCD driver Dimitar Dimitrov
2009-07-15 15:58 ` [U-Boot] [PATCH 02/03 v3] Add support for Olimex SAM9-L9261 SBC Dimitar Dimitrov
2009-07-18 21:09 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-07-15 16:00 ` [U-Boot] [PATCH 03/03 v3] Add support for Olimex SAM9-L9260 SBC Dimitar Dimitrov
2009-07-18 21:13 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-18 19:18 ` [U-Boot] [PATCH] Add inverted clock polarity support for Atmel LCD driver Anatolij Gustschin
2009-07-25 20:28 ` Anatolij Gustschin
2009-07-18 20:58 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-18 23:34 ` Anatolij Gustschin
2009-07-19 9:34 ` Jean-Christophe PLAGNIOL-VILLARD
2009-11-22 21:01 ` Wolfgang Denk
2009-11-24 19:47 ` Dimitar Dimitrov
2009-12-05 0:10 ` 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=20090718210940.GD16951@game.jcrosoft.org \
--to=plagnioj@jcrosoft.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox