[U-Boot] [RFC PATCH 1/2] mkimage: add atmelimage

2014-04-23 Thread Andreas Bießmann
4 KiB. Signed-off-by: Andreas Bießmann --- common/image.c |1 + include/image.h|1 + tools/Makefile |1 + tools/atmelimage.c | 88 tools/imagetool.c |2 ++ tools/imagetool.h |1 + 6 files changed, 94 inser

[U-Boot] [RFC PATCH 0/2] Add atmel ROM code image

2014-04-23 Thread Andreas Bießmann
ution is a bit smarter. We would need to patch at least 2 start.S files (arm926ejs and armv7), maybe also the arm920t one too. In fact is the conversion of executable BLOB to ROM detected executable BLOB something that should really be done afterwards as all other SoC vendors do. Andreas Bießma

Re: [U-Boot] [PATCH] spl: consolidate arch/arm/include/asm/arch-*/spl.h

2014-04-23 Thread Andreas Bießmann
cfpga/spl.h > will be merged, while I am not sure about OMAP and Exynos. > > Signed-off-by: Masahiro Yamada > Cc: Tom Rini > Cc: Michal Simek > Cc: Andreas Bießmann Acked-by: Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] lib/sha256: fix compile on some hosts

2014-04-20 Thread Andreas Bießmann
/string.h in the end. This header howver is completely wrong here. Just take the string.h if compiling with HOSTCC and linux/string.h when not. Signed-off-by: Andreas Bießmann Cc: Heiko Schocher --- lib/sha256.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/sha256.c b/lib

[U-Boot] [PATCH 3/3] board:tricorder: fixup SPL OOB layout

2014-04-10 Thread Andreas Bießmann
From: Andreas Bießmann Commit d016dc42cedbf6102e100fa9ecb58462edfb14f8 changed the layout of BCH8 SW on omap3 boards. We need to adopt the ecc layout for the nand_spl_simle driver to avoid wrong ecc errors. Signed-off-by: Andreas Bießmann Cc: Thomas Weber Signed-off-by: Andreas Bießmann

[U-Boot] [PATCH 1/3] board:tricorder: always work with valid eeprom data

2014-04-10 Thread Andreas Bießmann
From: Andreas Bießmann Commit 890880583d84607e36b52a785a96b167728bbf73 introduced EEPROM parsing and board detection but faild to return a valid tricorder_eeprom struct for backup case. When pressing S200 while reading EEPROM we ignore the value. We returned falsely a tricorder_eeprom struct

[U-Boot] [PATCH 0/3] board:tricorder: late fixups for 2014.04

2014-04-10 Thread Andreas Bießmann
d you please chack the patches and send your ACK ASAP? Best regards Andreas Bießmann Andreas Bießmann (3): board:tricorder: always work with valid eeprom data board:tricorder: enable omap_gpio clocks board:tricorder: fixup SPL OOB layout board/corscience/tricorder/tricorder.c |2 ++ in

[U-Boot] [PATCH 2/3] board:tricorder: enable omap_gpio clocks

2014-04-10 Thread Andreas Bießmann
From: Andreas Bießmann Signed-off-by: Andreas Bießmann Cc: Thomas Weber Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 62f97d2..a609861 100644 --- a

Re: [U-Boot] Data abort in omap_gpio

2014-04-10 Thread Andreas Bießmann
On 04/10/2014 09:22 AM, Andreas Bießmann wrote: > On 04/09/2014 05:37 PM, Tom Rini wrote: >> On Wed, Apr 09, 2014 at 05:22:57PM +0200, Andreas Bießmann wrote: > >>> (gdb) s >>> 118 __raw_writel(l, reg); >>> (gdb) print/s l >>> $17 = 2

Re: [U-Boot] Data abort in omap_gpio

2014-04-10 Thread Andreas Bießmann
Dear Tom Rini, On 04/09/2014 05:37 PM, Tom Rini wrote: > On Wed, Apr 09, 2014 at 05:22:57PM +0200, Andreas Bießmann wrote: >> (gdb) s >> 118 __raw_writel(l, reg); >> (gdb) print/s l >> $17 = 2048 >> (gdb) print/x l >> $18 = 0x800 >> (gdb) pri

[U-Boot] Data abort in omap_gpio

2014-04-09 Thread Andreas Bießmann
ldr pc, _data_abort (gdb) --->8--- (Encounterd with tricorder board current ToT) I'll dive into that tomorrow. If anyone has some pointeres, please speak out loud ;) Best Regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] data abort in omap_gpio

2014-04-09 Thread Andreas Bießmann
are of that? I'll dive into that tomorrow. If anyone knows that problem a pointer would be good. Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Bug in buildsystem for SPL LDSCRIPT

2014-04-09 Thread Andreas Bießmann
; first works. Cold you please provide a fix for that in 2014.04? > > > Thanks your bug report! > > I think > http://patchwork.ozlabs.org/patch/337822/ > should fix the problem. works like a charm, many thanks! Best regrads Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] kbuild: fix a bug in regeneration of linker scripts

2014-04-09 Thread Andreas Bießmann
> spl/u-boot-spl.lds should be updated in this case, but it wasn't. > > To fix this problem, linker scripts generation should be handled > by $(call if_changed_dep,...) rather than by $(call if_changed,...). > > Signed-off-by: Masahiro Yamada > Rep

Re: [U-Boot] Bug in buildsystem for SPL LDSCRIPT

2014-04-08 Thread Andreas Bießmann
pl/u-boot-spl* abiessmann@punisher % ls -l include/configs/tricorder.h -rw-r--r-- 1 abiessmann abiessmann 12071 Apr 9 08:28 include/configs/tricorder.h abiessmann@punisher % --->8--- Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Bug in buildsystem for SPL LDSCRIPT

2014-04-07 Thread Andreas Bießmann
and also to the list ... sorry for the noise On 04/07/2014 11:27 AM, Andreas Bießmann wrote: > Hi Masahiro, > > a late bug report ;) changing my board config file will not regenerate > the spl/u-boot-spl.lds for the board though it depends on it. The > LDSCRIPT is patched

Re: [U-Boot] During boot is U-Boot doing its jobs sequentially or in parallel?

2014-03-18 Thread Andreas Bießmann
his patches publicly yet AFAIK. I have some pre-version here, but they will not apply on current TOT and never on 2010.06. 2014.04 will be the first version with full SPL support for the first Atmel device (sama5d3xek). 2014.01 had support for MMC boot on that board, 2014.04 will add support fo

[U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2014-03-09 Thread Andreas Bießmann
Dear Albert Aribaud, please pull the following changes from u-boot-atmel/master into u-boot-arm/master. The following changes since commit de4fdfc1f22d70c23be5443dafacb8163023f9b1: Merge branch 'u-boot-tegra/master' into 'u-boot-arm/master' (2014-03-07 14:32:42 +0100) are available in the gi

Re: [U-Boot] [U-Boot,v2,3/3] arm: atmel: sama5d3: add nand spl boot support

2014-03-09 Thread Andreas Bießmann
k/sama5d3xek.c | 2 ++ > include/configs/sama5d3xek.h | 12 > 4 files changed, 18 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,v2,2/3] mtd: nand: atmel: prepare for nand spl boot support

2014-03-09 Thread Andreas Bießmann
ivers/mtd/nand/atmel_nand.c | 208 ++ > include/nand.h| 6 ++ > 2 files changed, 214 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] ARM: atmel: add sama5d3 Xplained board support

2014-03-09 Thread Andreas Bießmann
+++ > 4 files changed, 350 insertions(+) > create mode 100644 board/atmel/sama5d3_xplained/Makefile > create mode 100644 board/atmel/sama5d3_xplained/sama5d3_xplained.c > create mode 100644 include/configs/sama5d3_xplained.h applied with reordering of boards.cfg to u-b

Re: [U-Boot] at91 gpio: fix typo in compatibility macro

2014-03-09 Thread Andreas Bießmann
iver-td75922.html > >Signed-off-by: Andreas Henriksson > >--- >arch/arm/include/asm/arch-at91/gpio.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boo

Re: [U-Boot] [U-Boot,v2,1/3] arm: atmel: sama5d3: add spi spl boot support

2014-03-09 Thread Andreas Bießmann
k/sama5d3xek.c | 2 ++ > include/configs/sama5d3xek.h | 11 +++ > 4 files changed, 17 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] at91sam9263ek: add mmc support

2014-03-09 Thread Andreas Bießmann
ces.c | 26 + > board/atmel/at91sam9263ek/at91sam9263ek.c | 10 > include/configs/at91sam9263ek.h | 13 ++ > 3 files changed, 49 insertions(+), 0 deletions(-) applied with a small whitespace fix to u-boot-at

Re: [U-Boot] [PATCH v2 5/5] arm: move exception handling out of start.S files

2014-03-09 Thread Andreas Bießmann
builds and lets say a vectors_SPL.S for SPL builds? Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 5/6] at91: enable USB ethernet for taskit stamp9g20

2014-03-09 Thread Andreas Bießmann
Dear Gerhard Sittig, On 08.03.2014 19:46, Gerhard Sittig wrote: enabling CONFIG_MACB makes other locations in the stamp config file enable network related commands (actually prevents disabling them) enable USB ethernet support by activating generic support as well as Asix and Moschip ethernet a

[U-Boot] kbuild: wrong version_autogenerated.h

2014-03-08 Thread Andreas Bießmann
uot; #define LD_VERSION_STRING "GNU ld (GNU Binutils) 2.20.1.20100303" andreas@andreas-pc % --->8--- I haven't seen anything about that on the list, is it a known bug? Is MAKEALL still a tool to use or is it outdated? At the moment I have not the time

Re: [U-Boot] [PATCH] arch-at91: Gets ethernet working on at91sam9g20 board

2014-03-06 Thread Andreas Bießmann
may be wrong, but then please elaborate your change in detail. Best regards Andreas Bießmann [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/180060 [2] http://www.denx.de/wiki/U-Boot/Patches [3] http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions [4] http://arti

Re: [U-Boot] Chain loading an u-boot from an u-boot

2014-02-12 Thread Andreas Bießmann
Just thinking ... have you checked the global data pointer? Is it possible that the global data of the first u-boot influences the global data of the second one? Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arch-at91: Gets ethernet working on at91sam9g20 board

2014-02-10 Thread Andreas Bießmann
1 > > /* Ethernet */ > +#define CONFIG_MACB_SEARCH_PHY That change would be accepted, if the SoB line is available. > #define CONFIG_MACB 1 > #define CONFIG_RMII 1 > #define CONFIG_NET_RETRY_COUNT 20 > Best rega

Re: [U-Boot] Chain loading an u-boot from an u-boot

2014-02-10 Thread Andreas Bießmann
ssing CCM_CCMR) for the > PMIC access. > If I throw in a mxc_dump_clocks() earlier it hangs there. Well, it may be related to some freescale interna I do not know. However It is likely that you really overwrite the first u-boot version with the second one. > > I'm pretty much running out of ideas, so any pointers are appreciated. Hope it helps ... Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v8 0/38] Switch over to real Kbuild

2014-01-30 Thread Andreas Bießmann
u-boot ELF. Maybe you want to sort that out? Sorry if that was discussed before, haven't followed the whole discussion. Nevertheless, many thanks for your great work! Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Andreas Bießmann
our special android kernel? Therefore would be the problem your special u-boot variant (as pointed out before). Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk

2014-01-07 Thread Andreas Bießmann
On 01/06/2014 07:45 AM, Masahiro Yamada wrote: > Like other architectures, CONFIG_AVR32 can be defined > in arch/avr32/config.mk rather than board header files. > > Signed-off-by: Masahiro Yamada > Cc: Andreas Bießmann Acked-by: Andreas Bießmann > --- > arch/avr32/con

[U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-12-17 Thread Andreas Bießmann
Dear Albert Aribaud, please pull the following fix ups from u-boot-atmel/master into u-boot-arm/master. The following changes since commit d2c7074b9593d822e2359a09c21747248fdf5fac: ARM: OMAP5: clocks: Update MPU settings for OPP_NOM (2013-12-12 17:43:39 -0500) are available in the git reposi

Re: [U-Boot] [U-Boot, 3/3] arm: atmel: at91sam9x5: move CONFIG_SYS_NO_FLASH to proper position

2013-12-17 Thread Andreas Bießmann
;Signed-off-by: Bo Shen > >--- >include/configs/at91sam9x5ek.h |8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,2/3] arm: atmel: at91sam9x5: cleanup unneeded undef

2013-12-17 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >remove unneeded #undef for at91sam9x5ek board. > >Signed-off-by: Bo Shen > >--- >include/configs/at91sam9x5ek.h |5 - > 1 file changed, 5 deletions(-) applied to u-boot-atmel/master, thanks! Best rega

Re: [U-Boot] [U-Boot,v2,1/3] arm: atmel: at91sam9x5: cleanup cs configure for spi

2013-12-17 Thread Andreas Bießmann
ripheral >--- > board/atmel/at91sam9x5ek/at91sam9x5ek.c |1 - > 1 file changed, 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 0/3] arm: atmel: clean up for at91sam9x5ek board

2013-12-17 Thread Andreas Bießmann
c |1 - > include/configs/at91sam9x5ek.h | 13 +++--- > 3 files changed, 9 insertions(+), 33 deletions(-) > Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] arm: atmel: at91sam9x5: cleanup cs configure for spi

2013-12-17 Thread Andreas Bießmann
74a30 100644 > --- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c > +++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c > @@ -272,7 +272,6 @@ int board_init(void) > > #ifdef CONFIG_ATMEL_SPI > at91_spi0_hw_init(1 << 0); > - at91_spi0_hw_init(1 << 4); So the correct change would be to remove the first line and leave the at91_spiX_hw_init() untouched. > #endif > > #ifdef CONFIG_MACB > @jagannadh.teki: I grabbed that patch delegated to you @ patchwork. Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] booting issue with Atmel SAMA5D31 Evaluation kit

2013-12-13 Thread Andreas Bießmann
your baseboard (not the J-Link!), switch J9 correclty (I think open it), push and hold PB4 and push/release PB1, after that sequence startup sam-ba, choose the correct interface and the 'at91sama5d3x-ek' board. Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: use canonical sub mnemonic

2013-12-12 Thread Andreas Bießmann
Dear Albert Aribaud, On 27.11.13 16:09, Andreas Bießmann wrote: > Building some arm boards with older binutils may produce errors like this: > > ---8<--- > crt0.S: Assembler messages: > crt0.S:70: Error: register expected, not '#(184)' -- `sub sp,#(184)' > --

Re: [U-Boot] Some M68K boards are depending the specific order of libraries

2013-12-11 Thread Andreas Bießmann
relative jump with 16 bit offset can not work cause the symbol cpu_init_f is to far away. I had similiar issue in linux kernel for avr32 these days. I found a work around, please read https://lkml.org/lkml/2013/10/24/156 to understand it. Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v5] at91: add support for CDU9G25 board

2013-12-09 Thread Andreas Bießmann
Dear Jiří Prchal, On 09/16/2013 11:36 AM, Jiří Prchal wrote: > Dne 16.9.2013 10:27, Andreas Bießmann napsal(a): >> On 09/13/2013 04:41 PM, Jiří Prchal wrote: >>> Dne 13.9.2013 16:10, Andreas Bießmann napsal(a): >>>> On 09/13/2013 03:00 PM, Jiri Prchal wrote: >>

[U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-12-09 Thread Andreas Bießmann
://git.denx.de/u-boot-atmel.git master for you to fetch changes up to 1dcdd86205708d3ab9f0dc3a2d6b5fa12b16fde4: arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263) (2013-12-09 13:21:54 +0100) Andreas Bießmann (4

Re: [U-Boot] [U-Boot, v3] arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263)

2013-12-09 Thread Andreas Bießmann
files changed, 332 insertions(+) > create mode 100644 board/calao/usb_a9263/Makefile > create mode 100644 board/calao/usb_a9263/usb_a9263.c > create mode 100644 include/configs/usb_a9263.h applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann

Re: [U-Boot] [U-Boot,v3,2/2] arm, at91: add siemens corvus board

2013-12-09 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >enable support for the siemens AT91SAM9G20 based board corvus. > >Signed-off-by: Boris Schmidt >Reviewed-by: Heiko Schocher >Cc: Andreas Bießmann >Cc: Bo Shen > >--- >- changes for v2: > - add comments from

Re: [U-Boot] [U-Boot,v3,1/2] arm, at91: add Siemens board taurus and axm

2013-12-09 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >enable support for the siemens AT91SAM9G20 based boards taurus >and axm. > >Signed-off-by: Roger Meier >Reviewed-by: Heiko Schocher >Cc: Andreas Bießmann >Cc: Bo Shen > >--- >- changes for v2: > - add comments

Re: [U-Boot] [U-Boot,4/4] at91: switch coloured LED to gpio API

2013-12-09 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann > >--- >arch/arm/cpu/arm926ejs/at91/led.c | 16 +++- > board/ronetix/pm9261/led.c| 14 +++--- > board/ronetix/pm9263/led.c| 10 +- > include/configs/pm9

Re: [U-Boot] [U-Boot,3/4] at91: nand: switch atmel_nand to generic GPIO API

2013-12-09 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann >Acked-by: Jens Scharsig (BuS Elektronik) >Tested-by: Jens Scharsig (BuS Elektronik) >Acked-by: Scott Wood > >--- >board/BuS/vl_ma2sc/vl_ma2sc.c |5 +++-- > board/egnite/ethernut5/ethern

Re: [U-Boot] [U-Boot,2/4] at91: redefine legacy GPIO PIN_BASE

2013-12-09 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >In order to get the very same value for legacy pin definitions and new gpio >definitions set the legacy PIN_BASE to 0. > >Signed-off-by: Andreas Bießmann > >--- >arch/arm/include/asm/arch-at91/gpio.h |2 +- > 1 file ch

Re: [U-Boot] [U-Boot,1/4] at91: add new gpio pin definitions

2013-12-09 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >This patch define new names for GPIO pins on at91 devices. Follow up patches >will convert the whole infrastructure to use these new definitions. > >Signed-off-by: Andreas Bießmann >Tested-by: Bo Shen > >--- >arch/arm/incl

Re: [U-Boot] [PATCH 1/3] arm: atmel: sama5d3: add spi spl boot support

2013-12-09 Thread Andreas Bießmann
f's. Another solution could be to move this function to board code. Any other suggestions? Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-12-01 Thread Andreas Bießmann
available in the git repository at: git://git.denx.de/u-boot-atmel.git master for you to fetch changes up to d07e2b598a690d6eb75019b379fc4933affe3d2c: arm: atmel: eb_cpux9k2: config clean up (2013-12-01 22:38:53 +0100) Andreas

Re: [U-Boot] arm: atmel: eb_cpux9k2: config clean up

2013-12-01 Thread Andreas Bießmann
ed, 4 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,v4,6/7] arm: atmel: add ddr2 initialization function

2013-12-01 Thread Andreas Bießmann
drc.c > create mode 100644 arch/arm/include/asm/arch-at91/atmel_mpddrc.h applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,v4,5/7] arm: atmel: sama5d3: early enable PIO peripherals

2013-12-01 Thread Andreas Bießmann
board/atmel/sama5d3xek/sama5d3xek.c |6 ++ > 1 file changed, 6 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] arm: atmel: sam9m10g45ek: let CONFIG_SYS_NO_FLASH at proper position

2013-12-01 Thread Andreas Bießmann
. > >So move CONFIG_SYS_NO_FLASH definition to proper position. > >Signed-off-by: Bo Shen > >--- >include/configs/at91sam9m10g45ek.h |7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) applied to u-boot-atmel/master, tha

Re: [U-Boot] [U-Boot,v4,7/7] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-12-01 Thread Andreas Bießmann
> include/configs/sama5d3xek.h | 34 ++ > 8 files changed, 285 insertions(+), 2 deletions(-) > create mode 100644 arch/arm/cpu/at91-common/spl.c > create mode 100644 arch/arm/cpu/at91-common/u-boot-spl.lds > create mode 100644 arch/arm/include/asm/arch-at

Re: [U-Boot] [U-Boot,v2] arm926ejs, at91: add common phy_reset function

2013-12-01 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add common phy reset code into a common function. > >Signed-off-by: Heiko Schocher >Cc: Andreas Bießmann >Cc: Bo Shen >Cc: Jens Scharsig >Cc: Sergey Lapin >Cc: Stelian Pop >Cc: Albin Tonnerre >Cc: Eric Benard >

Re: [U-Boot] [U-Boot,v4,2/7] arm: at91: pm9261: remove undefined bit in mckr

2013-12-01 Thread Andreas Bießmann
-- > 1 file changed, 2 insertions(+), 4 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,v4,1/7] arm: atmel: sama5d3: correct the ID for DBGU and PIT

2013-12-01 Thread Andreas Bießmann
rm/cpu/armv7/at91/sama5d3_devices.c |2 +- > arch/arm/cpu/armv7/at91/timer.c |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U

Re: [U-Boot] [U-Boot,v4,3/7] arm: atmel: sama5d3: correct the error define of DIV

2013-12-01 Thread Andreas Bießmann
insertions(+), 2 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,v4,4/7] arm: atmel: sama5d3: the offset of MULA is 18

2013-12-01 Thread Andreas Bießmann
e/asm/arch-at91/at91_pmc.h |4 > 1 file changed, 4 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263)

2013-11-29 Thread Andreas Bießmann
Dear Mateusz Kulikowski, On 11/28/2013 10:29 PM, Mateusz Kulikowski wrote: > On 11.11.2013 12:03, Andreas Bießmann wrote: >>> + >>> +/* Enable NandFlash */ >>> +at91_set_gpio_output(CONFIG_SYS_NAND_ENABLE_PIN, 1); >> >> Here you could really u

[U-Boot] [PATCH 4/4] at91: switch coloured LED to gpio API

2013-11-29 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- arch/arm/cpu/arm926ejs/at91/led.c | 16 +++- board/ronetix/pm9261/led.c| 14 +++--- board/ronetix/pm9263/led.c| 10 +- include/configs/pm9261.h |6 +++--- include/configs/pm9263.h |4

[U-Boot] [PATCH 3/4] at91: nand: switch atmel_nand to generic GPIO API

2013-11-29 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- board/BuS/vl_ma2sc/vl_ma2sc.c |5 +++-- board/egnite/ethernut5/ethernut5.c |3 ++- board/esd/meesc/meesc.c|5 +++-- board/esd/otc570/otc570.c |5 +++-- board/eukrea/cpu9260/cpu9260.c |5 +++-- board/ronetix

[U-Boot] [PATCH 2/4] at91: redefine legacy GPIO PIN_BASE

2013-11-29 Thread Andreas Bießmann
In order to get the very same value for legacy pin definitions and new gpio definitions set the legacy PIN_BASE to 0. Signed-off-by: Andreas Bießmann --- arch/arm/include/asm/arch-at91/gpio.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91

[U-Boot] [PATCH 1/4] at91: add new gpio pin definitions

2013-11-29 Thread Andreas Bießmann
This patch define new names for GPIO pins on at91 devices. Follow up patches will convert the whole infrastructure to use these new definitions. Signed-off-by: Andreas Bießmann --- arch/arm/include/asm/arch-at91/gpio.h | 24 +++- drivers/gpio/at91_gpio.c

[U-Boot] [PATCH 0/4] at91: remove legacy GPIO API (part 1)

2013-11-29 Thread Andreas Bießmann
hardware, it will work with a port number plus mask. This will be sent soon, but too late for 2014.01. This series however had an RFC in the MW and will therefore end up in the 2014.01 release. For all waiting on this change, I hopefully merge it next week and send another PR to Albert. Andreas

[U-Boot] [PATCH] arm: use canonical sub mnemonic

2013-11-27 Thread Andreas Bießmann
by: Alexey Smishlayev Signed-off-by: Andreas Bießmann --- arch/arm/cpu/armv7/lowlevel_init.S |2 +- arch/arm/lib/crt0.S|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/lowlevel_init.S b/arch/arm/cpu/armv7/lowlevel_init.S index 69e3053.

[U-Boot] Choosing toolchain (was: 'Re: Compiling U-Boot')

2013-11-27 Thread Andreas Bießmann
re for two different toolchains? Best regards Andreas Bießmann [1] http://www.denx.de/wiki/DULG/ELDK [2] http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ [3] https://www.google.com/search?q=arm+linux+toolchain#q=build+arm+linux+toolchain [4] http://

Re: [U-Boot] OMAP3 i2c issues on IGEP, u-boot 2013.10

2013-11-27 Thread Andreas Bießmann
; Oops, sorry, bad question :) > > Anybody knows if other OMAP3-based boards are affected for this issue ? not here on tricorder board, it has an AM37xx core. Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Compiling U-Boot

2013-11-27 Thread Andreas Bießmann
Dear Alexey Smishlayev, On 11/27/2013 02:53 PM, Alexey Smishlayev wrote: > On 2013.11.27. 15:39, Andreas Bießmann wrote: >> crt0.S:70 subtracts the GD_SIZE from current stack pointer. The code >> written seems to miss the Rn according to [1]. Could you please test to >> chang

Re: [U-Boot] Compiling U-Boot

2013-11-27 Thread Andreas Bießmann
r. The code written seems to miss the Rn according to [1]. Could you please test to change it from to: 'sub sp, sp, #GD_SIZE'? I wonder why my toolchain ignore this. It obviously take Rd == Rn when Rn is missing. Best regards Andreas Bießmann

Re: [U-Boot] patchwork does not pick my patch

2013-11-21 Thread Andreas Bießmann
in patchwork then. > What should I do? File bug report at patchwork ML? > Is it better to squash it to another patch? Well to show it up in patchwork that could work. Since this change is quite trivial I think it will also work if you just peak the relevant custodian to pick this from

Re: [U-Boot] [PATCH v3 6/6] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-11-13 Thread Andreas Bießmann
Hi Bo, On 11/14/2013 07:53 AM, Bo Shen wrote: > On 11/14/2013 02:28 PM, Andreas Bießmann wrote: >> On 14.11.13 06:52, Heiko Schocher wrote: >>> Am 13.11.2013 14:34, schrieb Andreas Bießmann: >>>> Hi Bo, >>>> >>>> On 11/06/2013 06:29 AM, Bo Sh

Re: [U-Boot] [PATCH v3 5/6] arm: atmel: add ddr2 initialization function

2013-11-13 Thread Andreas Bießmann
Hi Bo, On 11/14/2013 07:40 AM, Bo Shen wrote: > On 11/13/2013 09:03 PM, Andreas Bießmann wrote: >> On 11/06/2013 06:29 AM, Bo Shen wrote: >>> +static void atmel_mpddr_op(int mode, u32 ram_address) >> >> static inline, could give the compiler a hint to optimize he

Re: [U-Boot] [PATCH v3 6/6] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-11-13 Thread Andreas Bießmann
Hello Heiko, On 14.11.13 06:52, Heiko Schocher wrote: > Am 13.11.2013 14:34, schrieb Andreas Bießmann: >> Hi Bo, >> >> On 11/06/2013 06:29 AM, Bo Shen wrote: >>> Enable Atmel sama5d3xek boart spl boot support, which can load u-boot >>> from SD card with FAT

[U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-11-13 Thread Andreas Bießmann
-boot-atmel.git master for you to fetch changes up to 6182e9546aa602c97d55963e133c7e1a85ec: ARM: at91: sama5d3: add support for sama5d36 chip (2013-11-13 22:18:18 +0100) Andreas Bießmann (6): video: remove AT91 legacy API

Re: [U-Boot] ARM: at91: sama5d3: add support for sama5d36 chip

2013-11-13 Thread Andreas Bießmann
/at91/sama5d3_devices.c |4 +++- > arch/arm/include/asm/arch-at91/sama5d3.h |3 +++ > 2 files changed, 6 insertions(+), 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [U-Boot,5/6] net: remove unused CONFIG_AT91_LEGACY

2013-11-13 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann > >--- >drivers/net/at91_emac.c |9 - > 1 file changed, 9 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___

Re: [U-Boot] [U-Boot,6/6] at91: remove all occourances of CONFIG_AT91_LEGACY

2013-11-13 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann > >--- >arch/arm/include/asm/arch-at91/at91_pio.h | 33 > arch/arm/include/asm/arch-at91/at91_pit.h | 16 -- > arch/arm/include/asm/arch-at91/at91_pmc.h | 51 ++-

Re: [U-Boot] [U-Boot,4/6] snapper9260: remove unused AT91_LEGACY

2013-11-13 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann > >--- >include/configs/snapper9260.h |1 - > 1 file changed, 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Bo

Re: [U-Boot] [U-Boot,3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY

2013-11-13 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann >Acked-by: Bo Shen > >--- >include/configs/at91sam9m10g45ek.h |1 - > 1 file changed, 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards

Re: [U-Boot] [U-Boot,2/6] i2c: switch from AT91 legacy to ATMEL legacy

2013-11-13 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Since the required API is gpio which is enclosed with CONFIG_ATMEL_LEGACY use >that switch here. > >Signed-off-by: Andreas Bießmann >Acked-by: Heiko Schocher > >--- >drivers/i2c/soft_i2c.c |2 +- > include/i2c.h

Re: [U-Boot] [U-Boot,1/6] video: remove AT91 legacy API from bus_vcxk

2013-11-13 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann >Acked-by: Jens Scharsig (BuS Elektronik) >Acked-by: Anatolij Gustschin > >--- >drivers/video/bus_vcxk.c | 15 --- > 1 file changed, 15 deletions(-) applied to u-boot-atmel/master,

Re: [U-Boot] [PATCH v3 6/6] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-11-13 Thread Andreas Bießmann
SE ATMEL_BASE_DDRCS > #define CONFIG_SYS_SDRAM_SIZE0x2000 > > +#ifdef CONFIG_SPL_BUILD > +#define CONFIG_SYS_INIT_SP_ADDR 0x31 > +#else > #define CONFIG_SYS_INIT_SP_ADDR \ > (CONFIG_SYS_SDRAM

Re: [U-Boot] [PATCH v3 5/6] arm: atmel: add ddr2 initialization function

2013-11-13 Thread Andreas Bießmann
RC_TP2R_TXARDS_MASK0xf > +#define ATMEL_MPDDRC_TP2R_TRPA_OFFSET8 > +#define ATMEL_MPDDRC_TP2R_TRPA_MASK 0xf > +#define ATMEL_MPDDRC_TP2R_TRTP_OFFSET12 > +#define ATMEL_MPDDRC_TP2R_TRTP_MASK 0x7 > +#define ATMEL_MPDDRC_TP2R_TFAW_OFFSET16 > +#define ATMEL_MPDDRC_TP2R_TFAW_MASK 0xf > + > +/* bit field in Memory Device Register */ > +#define ATMEL_MPDDRC_MDR_LPDDR_SDRAM 0x3 > +#define ATMEL_MPDDRC_MDR_DDR2_SDRAM 0x6 > +#define ATMEL_MPDDRC_MDR_DBW_MASK(0x1 << 4) > +#define ATMEL_MPDDRC_MDR_DBW_32BITS (0x0 << 4) > +#define ATMEL_MPDDRC_MDR_DBW_16BITS (0x1 << 4) > + > +#endif > diff --git a/spl/Makefile b/spl/Makefile > index b366ac2..6dd1e5d 100644 > --- a/spl/Makefile > +++ b/spl/Makefile > @@ -123,6 +123,10 @@ ifeq ($(SOC),exynos) > LIBS-y += $(CPUDIR)/s5p-common/libs5p-common.o > endif > > +ifeq ($(SOC),at91) > +LIBS-y += arch/$(ARCH)/cpu/at91-common/libat91-common.o > +endif The libat91-common.o should be built in any case. The mpddrc.o should only be included for SPL build (that mentioned Heiko in another mail). > + > # Add GCC lib > ifeq ("$(USE_PRIVATE_LIBGCC)", "yes") > PLATFORM_LIBGCC = $(SPLTREE)/arch/$(ARCH)/lib/libgcc.o > Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 2/6] arm: atmel: sama5d3: correct the error define of DIV

2013-11-13 Thread Andreas Bießmann
for sam9261 (which is the SoC on pm9261) doesn't name bit position 12 either. So I'm fine with your change, but please fix the pm9261 board also (use the PLLADIV_2 define). > > #define AT91_PMC_IXR_MOSCS 0x0001 > #define AT91_PMC_IXR_LOCKA 0x0002

Re: [U-Boot] [PATCH v3 4/6] arm: atmel: sama5d3: early enable PIO peripherals

2013-11-13 Thread Andreas Bießmann
IOC); > + at91_periph_clk_enable(ATMEL_ID_PIOD); > + at91_periph_clk_enable(ATMEL_ID_PIOE); > + > at91_seriald_hw_init(); > > return 0; > To say it clear, for this patch no change requested. Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 3/6] arm: atmel: sama5d3: the offset of MULA is 18

2013-11-13 Thread Andreas Bießmann
Hi Bo, On 11/06/2013 06:29 AM, Bo Shen wrote: > The offset of MULA field in PLLA register in sama5d3 is 18, > and the length only 7 bits. > > Signed-off-by: Bo Shen > > --- no complaints Best regards Andreas Bießmann ___ U-B

Re: [U-Boot] [PATCH v3 1/6] arm: atmel: sama5d3: correct the ID for DBGU and PIT

2013-11-13 Thread Andreas Bießmann
Hi Bo, On 11/06/2013 06:29 AM, Bo Shen wrote: > As the DBGU and PIT has its own ID on sama5d3 SoC, while not share > with SYS ID. So, correct them. > > Signed-off-by: Bo Shen > > --- no complaints Best regards Andreas Bießmann

Re: [U-Boot] [RFC] arm926ejs, at91: add common phy_reset function

2013-11-12 Thread Andreas Bießmann
Hello Heiko, On 11/12/2013 11:21 AM, Heiko Schocher wrote: > add common phy reset code into a common function. > > Signed-off-by: Heiko Schocher > Cc: Andreas Bießmann > Cc: Bo Shen > Cc: Jens Scharsig > Cc: Sergey Lapin > Cc: Stelian Pop > Cc: Albin Tonner

Re: [U-Boot] [PATCH v2] arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263)

2013-11-11 Thread Andreas Bießmann
; +/* bootstrap + u-boot + env in dataflash on CS0 */ > +#define CONFIG_ENV_IS_IN_DATAFLASH > +#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + > 0x4000) > +#define CONFIG_ENV_OFFSET0x2000 > +#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + \ > + CONFIG_ENV_OFFSET) > +#define CONFIG_ENV_SIZE 0x2000 > +#define CONFIG_BOOTCOMMAND "nboot 2100 0" > +#define CONFIG_BOOTARGS "console=ttyS0,115200 " \ > + "root=/dev/mtdblock1 " \ > + "mtdparts=" MTDPARTS_DEFAULT " " \ > + "rw rootfstype=jffs2" > +#define CONFIG_EXTRA_ENV_SETTINGS \ > + "mtdparts=" MTDPARTS_DEFAULT "\0" \ > + > +#define CONFIG_SYS_PROMPT"U-Boot> " > +#define CONFIG_SYS_CBSIZE256 > +#define CONFIG_SYS_MAXARGS 16 > +#define CONFIG_SYS_PBSIZE(CONFIG_SYS_CBSIZE + \ > + sizeof(CONFIG_SYS_PROMPT) + 16) > +#define CONFIG_CMDLINE_EDITING > +#define CONFIG_AUTO_COMPLETE > +#define CONFIG_SYS_HUSH_PARSER > + > +/* > + * Size of malloc() pool > + */ > +#define CONFIG_SYS_MALLOC_LENROUND(3 * CONFIG_ENV_SIZE + 128*1024, > 0x1000) > + > +#endif > Beside these minor complaints there is nothing to stop inclusion for 2014.01. Please stay tuned and do not send v3 immediately cause of the ongoing change for GPIO API and consolidation of macb reset. I think another ping from your side in about two weeks would be Ok, if you haven't seen changes in the two mentioned points on the list. Best regards Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] MAKEALL: fix awk warning

2013-11-08 Thread Andreas Bießmann
Dear Masahiro Yamada, On 11/08/2013 03:01 AM, Masahiro Yamada wrote: > Hello, Andreas. > > I already posted a patch to fix this issue. > http://patchwork.ozlabs.org/patch/285071/ sorry, haven't seen that patch. Please ignore my patch then. Best regards

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
x27;d glad to see reports of (un)successful boot with configured bootm command. But I see your point, there is another input vector for the tests. I think this could only be defined on a per board basis. To pick up your example, I think it is worth to know that one tested the am335x_evm to boot

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
not cause any additional efforts > we should keep it, no matter if there is an active maintainer or test > reports or not. Only when a board becomes a pain to somebody - say, > because it develops build errors, or wit would require efforts to > adapt it to some new feature, _then_ we w

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
Hello Heiko, On 11/07/2013 11:39 AM, Heiko Schocher wrote: > Am 07.11.2013 10:37, schrieb Andreas Bießmann: >> On 11/07/2013 09:17 AM, Heiko Schocher wrote: >>> Am 06.11.2013 08:50, schrieb Wolfgang Denk: >>>> In message<20131105203736.GM5925@bill-the-cat>

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
ould easily build helper scripts to query that database when this board was last tested. > If we decide to delete older boards after n release cycles without > testreports, we must not decide nor look in a database. We are > sure, we have only "good and working" boards ... a

<    3   4   5   6   7   8   9   10   11   12   >