Re: [U-Boot] [PATCH] remove MVS1 board

2008-08-18 Thread Andre Schwarz
Wolfgang, no users out there. The hardware is out of production for 5 years now. We already waited that long to make sure. After all there have been OEM customers only. You can definitely remove it. regards, Andre Wolfgang Denk schrieb: Dear Andre, In message [EMAIL PROTECTED] you wrote:

[U-Boot] network bootp/tftp hang with tsec on MPC8343

2008-08-21 Thread Andre Schwarz
Hi, after moving to the latest u-boot (v1.3.4) I can observe strange hangs during network transfer. This is clearly related to U-Boot since network is running smoothly after booting linux from flash. It's a MPC8343 with a Vitesse VSC8601 PHY connected via RGMII. This happens both at 100M and

Re: [U-Boot] network bootp/tftp hang with tsec on MPC8343

2008-08-27 Thread Andre Schwarz
JerryVanBaren schrieb: Andre Schwarz wrote: Huh - problem solved. It's been a memory setup issue :-( But I still wonder why the error is forced, i.e. happens more often, when using network on u-boot. If it is a SDRAM (DDR/DDR2) configuration issue, it likely is the DMA happening from

Re: [U-Boot] LAN Timeout

2008-09-10 Thread Andre Schwarz
Manuel, we do this with conditional boot depending on environment settings, e.g. netboot yes or no. If netboot==no then omit bootp/dhcp completely and proceed to boot from flash. Otherwise try netboot and stick to the timeout. Autoneg can indeed take some time ... This can easily be done with a

Re: [U-Boot] Problem with flash on a MPC5200B board

2008-10-10 Thread Andre Schwarz
Sylvain, there may be a combination of several faults. What exact type of flash are you using -have a look at the suffix like TFIR040 to figure out if it's a fixed x8 or x16 or configurable and how the sector layout is supposed to be (top/bottom boot or uniform sector flash). Send me the

[U-Boot] [PATCH v5] use common code for Matrix Vision boards

2009-08-27 Thread Andre Schwarz
clean up existing boards (mvBC-P/MPC5200 and mvBL-M7/MPC8343) by using common code. MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich

[U-Boot] [PATCH v5] use common code for Matrix Vision boards

2009-08-27 Thread Andre Schwarz
diff --git a/board/matrix_vision/mvbc_p/mvbc_p.c b/board/matrix_vision/mvbc_p/mvbc_p.c index a300342..0cbe900 100644 --- a/board/matrix_vision/mvbc_p/mvbc_p.c +++ b/board/matrix_vision/mvbc_p/mvbc_p.c @@ -39,6 +39,7 @@ #include asm/io.h #include fpga.h #include mvbc_p.h +#include

[U-Boot] [PATCH] add Matrix Vision specific dir for common code.

2009-08-31 Thread Andre Schwarz
--- /dev/null +++ b/board/matrix_vision/common/mv_common.c @@ -0,0 +1,125 @@ +/* + * (C) Copyright 2008 + * Andre Schwarz, Matrix Vision GmbH, andre.schw...@matrix-vision.de + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program is free software; you can

[U-Boot] [PATCH] fix broken matrix vision boards

2009-08-31 Thread Andre Schwarz
boards are currently broken due to missing common dir inside board dir. MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, [snip] finally I got both some time and hardware : 4 nops after _start does the trick, i.e. the board is up and running fine. Diffing both System.maps and U-Boot hexdump gives only trivial results : - in_flash and _start_of_vectors adress increment = 0x10. - offset calculation for

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Andy, Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is used. I

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Andy, Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is used.

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, [snip] still -E_TOO_LITTLE_INFO: sorry - thought it was clear already. include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is used. CPU: e300c4, MPC8379, Rev: 2.1 at 600 MHz, CSB: 400 MHz - Boot from NOR Flash - HRCW from I2C EEPROM - Reset

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, CPU: e300c4, MPC8379, Rev: 2.1 at 600 MHz, CSB: 400 MHz - Boot from NOR Flash - HRCW from I2C EEPROM - Reset Vector 0x100, i.e. low boot. OK, almost the same as me, but I got a: CPU: e300c2, MPC8321, Rev: 1.1 at 266.664 MHz, CSB: 133.332 MHz However, I think I just

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, ok - works for me, i.e. no quad-nop needed anymore. Does both your boards work now? MPC8343 @ 400MHz never had any issues - it's still working with your patch applied. MPC8377 works fine up to 533MHz ... 600MHz+ still hangs. Looks like there are more sync missing. I am

Re: [U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-05 Thread Andre Schwarz
On 11/04/2010 08:49 PM, Wood Scott-B07421 wrote: Timur Tabi wrote: Wood Scott-B07421 wrote: To be totally safe, we probably want to do a readback plus twi (to turn a data dependency into a flow dependency) before the isync. twi == trap word immediate? Yes. If so, I don't see

[U-Boot] NAND on eLBC

2010-11-05 Thread Andre Schwarz
Scott, looks like I made a mistake on current MPC8377 NAND wiring. Nand-Flash write enable is wired to LFWE1 ... I connected each WE to its corresponding CS, i.e. : - CS0/WE0 - Nor Flash - CS1/WE1 - Nand Flash - CS2/WE2 - MRAM Am I assuming right that FCM can only use WE0 ? Do you see any

Re: [U-Boot] Weak symbols: request for comments

2010-11-05 Thread Andre Schwarz
Sebastien, [snip] So, U-boot needs to be fixed. I can see the following ways forward: 1.1) Stop using weak symbols; use pre-initialized function pointers instead (possibly grouped in a struct, for cleanliness). This has the benefit of offering a clear interface and being

[U-Boot] MPC8377: USB breaks board

2010-11-05 Thread Andre Schwarz
Jocke, sorry to bother you again, but it might relate to our last discussion. Actually my MPC8377 based board is up and running with basic functionality. Now I'm trying to add USB support - but as soon as CONFIG_USB_EHCI_FSL is defined serial line is pretty dead again. This means again there's

Re: [U-Boot] MPC8377: USB breaks board

2010-11-05 Thread Andre Schwarz
On 11/05/2010 04:00 PM, Joakim Tjernlund wrote: Andre Schwarzandre.schw...@matrix-vision.de wrote on 2010/11/05 15:51:13: Jocke, sorry to bother you again, but it might relate to our last discussion. Actually my MPC8377 based board is up and running with basic functionality. Now I'm

[U-Boot] MPC8377: SerDes config

2010-11-05 Thread Andre Schwarz
All, I'm a little confused how to setup SerDes properly on MPC8377, i.e. which function uses which port ... I'd expect the following : - SATA Ports 1+2 used on SerDes 1 - PCIe Ports 3+4 (2 times x1) on SerDes 2 This is what I've done : CONFIG_SYS_SCCR_PCIEXP1CM = 0 (disabled)

Re: [U-Boot] [PATCH] Switch from archive libraries to partial linking

2010-11-09 Thread Andre Schwarz
Sebastian, drivers/qe already has an object called qe.o ... renaming qe.a to qe.o doesn't work. I'd suggest to build libqe.o and also adapt Toplevel Makefile accordingly. I also don't understand why ftd.c is not depending on CONFIG_QE. That's another question ... but leads to error having your

Re: [U-Boot] NAND on eLBC

2010-11-10 Thread Andre Schwarz
Scott, looks like I made a mistake on current MPC8377 NAND wiring. Nand-Flash write enable is wired to LFWE1 ... I connected each WE to its corresponding CS, i.e. : - CS0/WE0 - Nor Flash - CS1/WE1 - Nand Flash - CS2/WE2 - MRAM Am I assuming right that FCM can only use WE0 ? I

Re: [U-Boot] [PATCH v2] Switch from archive libraries to partial linking

2010-11-10 Thread Andre Schwarz
Sebastien, I also don't understand why ftd.c is not depending on CONFIG_QE. That's another question ... but leads to error having your patch applied. Right, fdt.c should not be included in the build unless both CONFIG_QE and CONFIG_OF_LIBFDT are defined. Previously this issue was

Re: [U-Boot] MPC8377: USB breaks board

2010-11-11 Thread Andre Schwarz
Kim, Timur, some comments on this from your side would really help ! The issue can be summarized like this : - MPC8377 based board is basically running fine with both U-Boot and Linux. - Activating USB support within U-Boot leads to *very* early crash : No console output - not even PCI

Re: [U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-15 Thread Andre Schwarz
On 11/12/2010 08:31 PM, Scott Wood wrote: On Fri, 12 Nov 2010 13:26:17 -0600 Kumar Galaga...@kernel.crashing.org wrote: On Nov 12, 2010, at 11:22 AM, Scott Wood wrote: On Fri, 12 Nov 2010 09:58:53 -0600 Kumar Galaga...@kernel.crashing.org wrote: We only do the 'twi'

Re: [U-Boot] MPC8377: USB breaks board

2010-11-15 Thread Andre Schwarz
On 11/11/2010 01:24 PM, Andre Schwarz wrote: Kim, Timur, some comments on this from your side would really help ! The issue can be summarized like this : - MPC8377 based board is basically running fine with both U-Boot and Linux. - Activating USB support within U-Boot leads to *very

[U-Boot] [PATCH] don't touch non-existent EHCI regs on MPC837x.

2010-11-15 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- arch/powerpc/cpu/mpc83xx/cpu_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c index 7a1cae7..cfead18 100644 --- a/arch

Re: [U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-15 Thread Andre Schwarz
Dave, I notice this is hot thread for 83xx in these days. Anybody can share more background for the issue? I would like have a look the issue. during MPC8377 board bring up we couldn't get U-Boot up and running - the serial line has been dead. Using a bdi2000 debugger told us the CPU,

Re: [U-Boot] [PATCH] don't touch non-existent EHCI regs on MPC837x.

2010-11-15 Thread Andre Schwarz
Kumar, Signed-off-by: Andre Schwarzandre.schw...@matrix-vision.de --- arch/powerpc/cpu/mpc83xx/cpu_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) This doesn't seem quite right, the MPC837x has USB controllers. - k yes, it has - and it is working fine. But USB

Re: [U-Boot] [PATCH] don't touch non-existent EHCI regs on MPC837x.

2010-11-15 Thread Andre Schwarz
Wolfgang, Dear Andre Schwarz, In message4ce14e3e.7060...@matrix-vision.de you wrote: This doesn't seem quite right, the MPC837x has USB controllers. yes, it has - and it is working fine. But USB register range 0x00-0xff is reserved and hangs the CPU. With this patch

Re: [U-Boot] [PATCH] don't touch non-existent EHCI regs on MPC837x.

2010-11-15 Thread Andre Schwarz
Am 15.11.2010 17:16, schrieb Wolfgang Denk: Dear Andre Schwarz, In message4ce1572c.6080...@matrix-vision.de you wrote: This doesn't seem quite right, the MPC837x has USB controllers. yes, it has - and it is working fine. But USB register range 0x00-0xff is reserved and hangs the CPU

[U-Boot] boxbe bullshit

2010-11-16 Thread Andre Schwarz
Wolfgang, since a couple of days I get lots of mails from other U-Boot List subscribers. Is there any way to block this ? Regards, André Am 16.11.2010 10:51, schrieb nore...@boxbe.com: Hello Andre Schwarz, Your message about Re: [U-Boot] MPC8377: USB breaks board (Action Required

[U-Boot] [PATCH] [MPC837x] Make it work again with USB. USB register range IMMR+0x00-0xff is reserved and hangs the CPU.

2010-11-16 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- arch/powerpc/cpu/mpc83xx/cpu_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c index 7a1cae7..cfead18 100644 --- a/arch

[U-Boot] [PATCH] [MPC837x v2] Make it work again with USB.

2010-11-16 Thread Andre Schwarz
USB register range IMMR+0x00-0xff is reserved and hangs the CPU. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- arch/powerpc/cpu/mpc83xx/cpu_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu

Re: [U-Boot] [PATCH 2/2] [NEXT] Move LDSCRIPT definitions to board config files.

2010-11-30 Thread Andre Schwarz
Cc: Detlev Zundeld...@denx.de Cc: Heiko Schocherh...@denx.de Cc: Andre Schwarzandre.schw...@matrix-vision.de Cc: Peter De Schrijverp...@mind.be --- Acked-by: Andre Schwarz andre.schw...@matrix-vision.de Regards, André MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht

Re: [U-Boot] [PATCH] MVBLM7: make TSEC2 work again.

2010-11-30 Thread Andre Schwarz
Kim, diff --git a/include/configs/MVBLM7.h b/include/configs/MVBLM7.h index 28e0d1b..431e102 100644 --- a/include/configs/MVBLM7.h +++ b/include/configs/MVBLM7.h @@ -348,7 +348,7 @@ #define CONFIG_SYS_SCCR_TSEC1CM1 #define CONFIG_SYS_SCCR_TSEC2CM1 -#define CONFIG_SYS_SICRH

Re: [U-Boot] [PATCH] MVBLM7: make TSEC2 work again.

2010-11-30 Thread Andre Schwarz
Wolfgang, Dear Andre Schwarz, In message4cf4fcd6.80...@matrix-vision.de you wrote: Since I have more stuff pending I'll wait for the merge window to open before re-submitting. We have a next branch. understood - will rebase on current master and resubmit immediately

Re: [U-Boot] [PATCH 3/3] minor fixes for mvBL-M7 and use of common code

2009-07-08 Thread Andre Schwarz
Kim Phillips schrieb: On Tue, 07 Jul 2009 21:04:43 +0200 Wolfgang Denk w...@denx.de wrote: Dear Kim Phillips, In message 20090624112410.b287f606.kim.phill...@freescale.com you wrote: WD hasn't applied it yet - I applied it to my local tree. None of this means your patch should

Re: [U-Boot] Move do_irqinfo() to common/cmd_irq.c breaks MVBLUE board...

2009-12-07 Thread Andre Schwarz
Peter, On second thought, this will disable both the 'interrupts' and 'irqinfo' command for the MVBLUE. Andre, do you mind if the 'interrupts' command is not available the MVBLUE? please go ahead - no problem at all. Regards, André MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler

[U-Boot] dtb merge

2009-04-08 Thread Andre Schwarz
Any ideas on how to merge device tree binaries from slave devices ? Having a PowerPC based board with various extension boards on e.g. the local bus with each board having some kind of PROM device (I2C, SPI etc.) containing a dtb ... is it possible to merge this into the existing boards dtb

[U-Boot] [PATCH v3] Add initial support for Matrix Vision mvSMR board based on MPC5200B.

2010-04-01 Thread Andre Schwarz
Add initial support for Matrix Vision mvSMR board based on MPC5200B. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- Wolfgang, thanks for having a look @ v2. This is v3 taking all comments into account. TIA, Andre CREDITS |2 +- MAINTAINERS

[U-Boot] [PATCH] mpc83xx/mvBLM7: add usb commands and cleanup.

2010-05-03 Thread Andre Schwarz
Add USB commands. Rename autoscript to bootscript. Add automatic bootscript image generation to makefile. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- board/matrix_vision/mvblm7/Makefile |1 + board/matrix_vision/mvblm7/bootscript| 43

Re: [U-Boot] FSL DDR @ 83xx

2009-03-03 Thread Andre Schwarz
Jerry Van Baren wrote: Andre Schwarz wrote: Kumar Gala schrieb: On Dec 9, 2008, at 12:01 PM, Andre Schwarz wrote: Jon Loeliger schrieb: On Mon, 2008-12-08 at 18:02 +0100, Andre Schwarz wrote: Kim, I'd like to change my DDR setup code since it looks like my computed values

Re: [U-Boot] MPC5200B: Trouble with config pins

2008-11-21 Thread Andre Schwarz
Jürgen, Have a look at the manual chapter 4 (=Reset + Config). SRESET (issued by gpt0 - watchdog) isn't supposed to do a full hardware reset. Looks like you should make use of the SRESET and trigger HRESET accordingly. I could solve this with _not_ using the internal watchdog but an external

[U-Boot] FSL DDR @ 83xx

2008-12-08 Thread Andre Schwarz
Kim, I'd like to change my DDR setup code since it looks like my computed values are not perfectly stable on our 8343 based board. This implies using a fake SPD and the related code to set up the controller. Is the new common FSL DDR setup code (cpu/mpc8xxx/ddr/*) stable for 83xx or shall I

Re: [U-Boot] FSL DDR @ 83xx

2008-12-09 Thread Andre Schwarz
Kim Phillips schrieb: On Mon, 08 Dec 2008 18:02:02 +0100 Andre Schwarz [EMAIL PROTECTED] wrote: I'd like to change my DDR setup code since it looks like my computed values are not perfectly stable on our 8343 based board. This implies using a fake SPD and the related code to set up

[U-Boot] show_boot_progess @ ppc not working

2008-12-09 Thread Andre Schwarz
All, can someone tell me why the board specific function void show_boot_progress(int arg) is no longer called (at least on MPC5200). Of course this line is present in the board config : #define CONFIG_SHOW_BOOT_PROGRESS 1 What have I missed ? regards, André MATRIX VISION GmbH, Talstraße

Re: [U-Boot] FSL DDR @ 83xx

2008-12-09 Thread Andre Schwarz
Jon Loeliger schrieb: On Mon, 2008-12-08 at 18:02 +0100, Andre Schwarz wrote: Kim, I'd like to change my DDR setup code since it looks like my computed values are not perfectly stable on our 8343 based board. This implies using a fake SPD and the related code to set up the controller

Re: [U-Boot] show_boot_progess @ ppc not working

2008-12-10 Thread Andre Schwarz
Heiko Schocher schrieb: Hello Andre, Andre Schwarz wrote: All, can someone tell me why the board specific function void show_boot_progress(int arg) is no longer called (at least on MPC5200). Of course this line is present in the board config : #define CONFIG_SHOW_BOOT_PROGRESS 1

Re: [U-Boot] show_boot_progess @ ppc not working

2008-12-10 Thread Andre Schwarz
Graeme Russ schrieb: Hi All, I had some 'fun' with weak functions a little while ago, and I'm wondering if maybe we should fix up a few inconsistencies... Andre Schwarz wrote: Heiko Schocher schrieb: Hello Andre, Andre Schwarz wrote: All, can someone tell me why

[U-Boot] init FEC @ MPC5200

2008-12-10 Thread Andre Schwarz
Ben, after cloning the latest u-boot git I can see that you've added this inside the mvBC-P board setup : int board_eth_init(bd_t *bis) { cpu_eth_init(bis); /* Built in FEC comes first */ return pci_eth_init(bis); } Are you aware that there's no PHY connected and the ETH-Pins are used

Re: [U-Boot] FSL DDR @ 83xx

2008-12-11 Thread Andre Schwarz
Kumar Gala schrieb: On Dec 9, 2008, at 12:01 PM, Andre Schwarz wrote: Jon Loeliger schrieb: On Mon, 2008-12-08 at 18:02 +0100, Andre Schwarz wrote: Kim, I'd like to change my DDR setup code since it looks like my computed values are not perfectly stable on our 8343 based board

Re: [U-Boot] FSL DDR @ 83xx

2008-12-11 Thread Andre Schwarz
Kumar Gala schrieb: On Dec 9, 2008, at 12:01 PM, Andre Schwarz wrote: Jon Loeliger schrieb: On Mon, 2008-12-08 at 18:02 +0100, Andre Schwarz wrote: Kim, I'd like to change my DDR setup code since it looks like my computed values are not perfectly stable on our 8343 based board

[U-Boot] [PATCH] PowerPC: change board specific early pci_init() into generic.

2010-10-05 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- arch/powerpc/lib/board.c |9 - include/configs/BAB7xx.h |1 + include/configs/CPC45.h |1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c

[U-Boot] [PATCH] MVBLM7: make TSEC2 work again.

2010-10-22 Thread Andre Schwarz
SICRH has been misconfigured, i.e. TSEC2 clock + D[0:3] are GPIOs. Fix this to be RGMII signals again. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- Kim, sorry for late submission - this has been lingering around for a while. Hopefully you can still appply it since it's a real

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-10-25 Thread Andre Schwarz
Jocke, [snip] You still haven't reported weather the 4 nop's helped or not, yet you seek my help. I am just going to ignore you until you do test it. finally I got both some time and hardware : 4 nops after _start does the trick, i.e. the board is up and running fine. Diffing both

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-10-25 Thread Andre Schwarz
Jocke, Andre Schwarzandre.schw...@matrix-vision.de wrote on 2010/10/25 15:50:19: Jocke, [snip] You still haven't reported weather the 4 nop's helped or not, yet you seek my help. I am just going to ignore you until you do test it. finally I got both some time and

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-10-25 Thread Andre Schwarz
Wolfgang, Dear Andre Schwarz, In message4cc58b1b.8040...@matrix-vision.de you wrote: finally I got both some time and hardware : 4 nops after _start does the trick, i.e. the board is up and running fine. This is probably completely unrelated - but check your

Re: [U-Boot] 36-bit u-boot

2010-11-02 Thread Andre Schwarz
Leif, I have managed to flashed a 36-bits u-boot to my p4080 board. I have put in two 4Gb dimm into the board but it doesn't work. I got the following from u-boot. [snip] DRAM: Initializing Error: DDR_SDRAM_CFG[RD_EN] and DDR_SDRAM_CFG[2T_EN] should not be set at the same

Re: [U-Boot] mpc8343: TSEC1 @ RGMII stopped working

2010-06-22 Thread Andre Schwarz
Kim, are you using TOT of mpc83xx or master ? ToT seems to be working fine for me (using different PHYs though): U-Boot 2010.06-rc2-00035-g1f24126 (Jun 21 2010 - 11:16:54) MPC83XX [snip] you can try applying commit 71bd860cce4493c5def07804723661e75271052b mpc83xx: don't shift

Re: [U-Boot] I2C: OMAP: spurious i2c probe addresses

2011-05-26 Thread Andre Schwarz
Michael, On 05/25/2011 05:38 PM, Michael Jones wrote: While running v2011.06-rc1, I noticed some new behavior on my OMAP3 i2c bus. I tracked it to commit 0e57968a215d1b, I2C: OMAP: detect more devices when probing an i2c bus. It detects more devices indeed, such as some that don't even

[U-Boot] [PATCH] MPC5200: Add initial support for Matrix Vision mvSMR board

2010-03-23 Thread Andre Schwarz
Add initial support for Matrix Vision mvSMR board based on MPC5200B. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- CREDITS |2 +- MAINTAINERS |1 + MAKEALL |1 + Makefile

Re: [U-Boot] [PATCH] MPC5200: Add initial support for Matrix Vision mvSMR board

2010-03-24 Thread Andre Schwarz
Detlev, Hi Andre, just a few obligatory remarks... thanks for pointing this out - these are remnants dated from 2006 ... simply overlooked them while concentrating on proper git usage :-) Will wait for some more comments and resubmit v2 tomorrow. Regards, André MATRIX VISION GmbH,

[U-Boot] [PATCH v2] Add initial support for Matrix Vision mvSMR board based on MPC5200B.

2010-03-25 Thread Andre Schwarz
Add initial support for Matrix Vision mvSMR board based on MPC5200B. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- Wolfgang, I've made all changes requested by Detlev regarding v1. Patch has been checked with checkpatch.pl from kernel tree showing no obvious errors

Re: [U-Boot] [STATUS] v2010.03-rc3 is out

2010-03-29 Thread Andre Schwarz
Wolfgang, Please help testing, and send any feedback / last minute patches ASAP. if there's any chance that you'll apply this patch we can include the latest code in our long term test site and report any possible issues related with U-Boot @ MPC5200.

Re: [U-Boot] [STATUS] v2010.03-rc3 is out

2010-03-29 Thread Andre Schwarz
Wolfgang, This is new code - posted just a couple of days ago. It will certainly not go into the upcoming release any more. Hmm - it's just another board making use of existing mpc5xxx code and some common matrix-vision code already present. There are no mods to any code possibly

Re: [U-Boot] [PATCH] [MPC837x v2] Make it work again with USB.

2011-03-31 Thread Andre Schwarz
Kim, On Mon, 28 Feb 2011 17:18:38 +0100 Andre Schwarzandre.schw...@matrix-vision.de wrote: sorry to bother you again, but I again stumbled over the discussed USB init issue : nack, 837x has a usb controller at IMMR+0x23000. yes - but offset 0x00-0xff is explicitly reserved regarding to

[U-Boot] data alignment problem with redundant env

2011-03-31 Thread Andre Schwarz
Hi, moving to latest U-Boot introduces some issues with the environment. Setup: - PowerPC based boards (52xx / 83xx) - Environments are in flash with redundancy Dumping flash the environments with dd and using hexdump shows : - crc32 - flags Data (first entry beginning with 'a').

Re: [U-Boot] data alignment problem with redundant env

2011-03-31 Thread Andre Schwarz
Wolfgang, Dear Andre Schwarz, In message4d949e22.5090...@matrix-vision.de you wrote: moving to latest U-Boot introduces some issues with the environment. Which board would that be? I don't see this on any board I tested. it is mvblm7 (=MPC8343) and a new MPC8377 based one waiting

Re: [U-Boot] data alignment problem with redundant env

2011-03-31 Thread Andre Schwarz
Wolfgang, Which board would that be? I don't see this on any board I tested. it is mvblm7 (=MPC8343) and a new MPC8377 based one waiting for the merge window to open. I'm using a gcc-4.3.3 from OpenEmbedded/Angstrom ... if this matters at all. Can you please try and use anothe rtool chain,

Re: [U-Boot] [PATCH] mpc83xx: restrict UTMI PHY configuration to 831x parts

2011-04-04 Thread Andre Schwarz
-existent) PHY_CLK_VALID bit never gets set. Reported-by: Andre Schwarzandre.schw...@matrix-vision.de Signed-off-by: Kim Phillipskim.phill...@freescale.com Tested-by: Andre Schwarz andre.schw...@matrix-vision.de Works on MPC8343 and MPC8377. --- arch/powerpc/cpu/mpc83xx/cpu_init.c |4

[U-Boot] [RFC] mpc83xx: add config options to spd_sdram

2011-04-05 Thread Andre Schwarz
Kim, I have made some mods to spd_sdram.c for various reason: 1. use SPD setup also for soldered RAM. This allows DDR mounting options without U-Boot change because SPD data is written during in-circuit/boundary-scan testing. 2. read SPD data also from extended adressing EEPROMS used for e.g.

Re: [U-Boot] [RFC] mpc83xx: add config options to spd_sdram

2011-04-06 Thread Andre Schwarz
Kim, York, I have made some mods to spd_sdram.c for various reason: 1. use SPD setup also for soldered RAM. This allows DDR mounting options without U-Boot change because SPD data is written during in-circuit/boundary-scan testing. not sure I understand this - board with soldered RAM can't

Re: [U-Boot] [RFC] mpc83xx: add config options to spd_sdram

2011-04-06 Thread Andre Schwarz
York, I have made some mods to spd_sdram.c for various reason: 1. use SPD setup also for soldered RAM. This allows DDR mounting options without U-Boot change because SPD data is written during in-circuit/boundary-scan testing. not sure I understand this - board with soldered RAM can't

Re: [U-Boot] data alignment problem with redundant env

2011-04-06 Thread Andre Schwarz
Wolfgang, Which board would that be? I don't see this on any board I tested. it is mvblm7 (=MPC8343) and a new MPC8377 based one waiting for the merge window to open. I'm using a gcc-4.3.3 from OpenEmbedded/Angstrom ... if this matters at all. Can you please try and use anothe rtool

Re: [U-Boot] [RFC] mpc83xx: add config options to spd_sdram

2011-04-08 Thread Andre Schwarz
Kim, York, ok - will give it a try tomorrow. hmm - having a look at the Makefile it looks like I need CONFIG_FSL_DDR2. This seems to pull in the new code ... without omitting the old one in arch/powerpc/cpu/mpc83xx/spd_sdram.c The Makefile further uses ctrl_regs.c ... which

Re: [U-Boot] [RFC] mpc83xx: add config options to spd_sdram

2011-04-08 Thread Andre Schwarz
York, On Fri, 2011-04-08 at 09:41 +0200, Andre Schwarz wrote: I am sorry I totally ignored the subject with mpc83xx. I was thinking of mpc85xx. ok - no new code for 83xx then. You are right the old code is in spd_sdram.c and it is still in use for mpc83xx. Unless to adjust the code

Re: [U-Boot] [RFC] mpc83xx: add config options to spd_sdram

2011-04-08 Thread Andre Schwarz
On 04/08/2011 06:36 PM, York Sun wrote: On Fri, 2011-04-08 at 18:29 +0200, Andre Schwarz wrote: York, On Fri, 2011-04-08 at 09:41 +0200, Andre Schwarz wrote: I am sorry I totally ignored the subject with mpc83xx. I was thinking of mpc85xx. ok - no new code for 83xx then. You are right

[U-Boot] [PATCH] MatrixVision common code: use getenv_f instead of snprintf.

2011-04-14 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- board/matrix_vision/common/mv_common.c | 25 + 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/board/matrix_vision/common/mv_common.c b/board/matrix_vision/common/mv_common.c index 0afc535

[U-Boot] [PATCH] MPC837x: set i2c1_clk Running on mpc837x without CONFIG_FSL_ESDHC leads to i2c1_clk not being set at all. It is bound to clock of encryption module. fix this.

2011-04-14 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- arch/powerpc/cpu/mpc83xx/speed.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/speed.c b/arch/powerpc/cpu/mpc83xx/speed.c index 5e616dd..1eca1a8 100644 --- a/arch/powerpc/cpu

[U-Boot] [PATCH] MPC83xx: add define for global half-strength enable (HSE)

2011-04-14 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- include/mpc83xx.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/mpc83xx.h b/include/mpc83xx.h index ea137c7..8292018 100644 --- a/include/mpc83xx.h +++ b/include/mpc83xx.h @@ -1000,6 +1000,7

[U-Boot] [PATCH] MPC83xx: add config options for memory setup.

2011-04-14 Thread Andre Schwarz
CPO value and driver strength settings are board specifc. Also allow SPD data fetch from any accessible I2C EEPROM. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions

[U-Boot] [PATCH v2] MPC837x: set i2c1_clk

2011-04-14 Thread Andre Schwarz
Running on mpc837x without CONFIG_FSL_ESDHC leads to i2c1_clk not being set at all. It is bound to clock of encryption module. fix this. Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- Changes for v2: - fix commit message mangling in subject line. arch/powerpc/cpu

[U-Boot] [PATCH 0/4] MPC83xx: Add MergerBox support.

2011-04-14 Thread Andre Schwarz
introduced by this patchset. Files have been checked using checkpatch. Andre Schwarz (4): MergerBox: Add board config file. MergerBox: add documentation. MergerBox: add maintainer and boards.cfg entries. MergerBox: add board specific files in vendor dir. MAINTAINERS

[U-Boot] [PATCH 1/4] MergerBox: Add board config file.

2011-04-14 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- include/configs/MERGERBOX.h | 619 +++ 1 files changed, 619 insertions(+), 0 deletions(-) create mode 100644 include/configs/MERGERBOX.h diff --git a/include/configs/MERGERBOX.h b/include

[U-Boot] [PATCH 3/4] MergerBox: add maintainer and boards.cfg entries.

2011-04-14 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- MAINTAINERS |1 + boards.cfg |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4756f14..0720659 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -442,6 +442,7 @@ Peter De

[U-Boot] [PATCH 2/4] MergerBox: add documentation.

2011-04-14 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- doc/README.mergerbox | 59 ++ 1 files changed, 59 insertions(+), 0 deletions(-) create mode 100644 doc/README.mergerbox diff --git a/doc/README.mergerbox b/doc/README.mergerbox new

[U-Boot] [PATCH 4/4] MergerBox: add board specific files in vendor dir.

2011-04-14 Thread Andre Schwarz
Signed-off-by: Andre Schwarz andre.schw...@matrix-vision.de --- board/matrix_vision/mergerbox/Makefile| 51 ++ board/matrix_vision/mergerbox/fpga.c | 175 + board/matrix_vision/mergerbox/fpga.h | 30 board/matrix_vision/mergerbox/mergerbox.c | 241

Re: [U-Boot] [PATCH] mv_common.c: get rid of 'defined but not used' warning

2011-10-20 Thread Andre Schwarz
Am 20.10.2011 13:37, schrieb Michael Jones: When CONFIG_ENV_IS_NOWHERE, got following warning: mv_common.c:32:14: warning: 'entries_to_keep' defined but not used. Get rid of this warning. Signed-off-by: Michael Jonesmichael.jo...@matrix-vision.de Acked-by: Andre Schwarz andre.schw...@matrix

[U-Boot] merge conflicts during git pull

2011-02-11 Thread Andre Schwarz
Wolfgang, just wanted to update my local U-Boot master branch an got some errors I don't understand (since I'm still a git newbie). This is what I have: git originally cloned from public repo - thus I have in .git/config : [remote origin] fetch = +refs/heads/*:refs/remotes/origin/*

Re: [U-Boot] merge conflicts during git pull

2011-02-14 Thread Andre Schwarz
Wolfgang, Have I missed anything ? Is there a way to get automagically merged whatever there might be to merge ? Sorry, I have no idea what happenend of your system. I can see no issues on our side. thank - will clone a new repo an pull in my local branches. -- Regards, Andre

Re: [U-Boot] [PATCH] [MPC837x v2] Make it work again with USB.

2011-02-28 Thread Andre Schwarz
Kim, finally found some time to re-work my 8377 board code for submission. sorry to bother you again, but I again stumbled over the discussed USB init issue : nack, 837x has a usb controller at IMMR+0x23000. yes - but offset 0x00-0xff is explicitly reserved regarding to the manual. Don't

[U-Boot] issue with 'ubi part'

2011-03-02 Thread Andre Schwarz
Stefan, actually I have an issue with the ubi part command. Situation: MPC8377 based board with 64MiB Nor- (u-boot etc.) and 1GiB Nand-Flash (ubi volume). MTD devices look like this : = mtdparts device nor0 NOR, # parts = 2 #: namesizeoffset mask_flags

Re: [U-Boot] issue with 'ubi part'

2011-03-04 Thread Andre Schwarz
Stefan, Hi Andre, On Wednesday 02 March 2011 16:35:09 Andre Schwarz wrote: actually I have an issue with the ubi part command. Situation: MPC8377 based board with 64MiB Nor- (u-boot etc.) and 1GiB Nand-Flash (ubi volume). MTD devices look like this : = mtdparts device nor0NOR

Re: [U-Boot] issue with 'ubi part'

2011-03-04 Thread Andre Schwarz
Stefan, Andre, On Friday 04 March 2011 11:16:50 Andre Schwarz wrote: = ubi part root Creating 1 MTD partitions on nand0: 0x-0x4000 : mtd=0 UBI: attaching mtd2 to ubi0 UBI error: io_init: unaligned VID header shift 2 UBI error: ubi_init: cannot attach mtd2 UBI error

[U-Boot] MPC837x PCIe no link

2011-03-04 Thread Andre Schwarz
All, sorry to bother you again. After my harddisk died I'm porting my latest 8377 work to TOT. Unfortunately I'm lacking some commits that haven't been pushed to backup. But everything's fine so far and the system is up and running, except PCIe. Using the old binary left on the server PCIe has

[U-Boot] [RFC] mpc83xx/speed.c

2011-03-09 Thread Andre Schwarz
I have an issue with i2c-1 bus speed not being calculated correctly on MPC8377. arch/powerpc/cpu/mpc83xx/speed.c lines 320+ are : #if defined(CONFIG_MPC834x) i2c1_clk = tsec2_clk; #elif defined(CONFIG_MPC8360) i2c1_clk = csb_clk; #elif defined(CONFIG_MPC832x) i2c1_clk

Re: [U-Boot] Multiple stdin/out without CONFIG_CONSOLE_MUX?

2012-10-26 Thread Andre Schwarz
Stephen, On 10/25/2012 01:05 AM, Stephen Warren wrote: While looking into a CONFIG_CONSOLE_MUX-related issue, I noticed the following: include/configs/u8500_href.h:136: stdin=serial,usbtty\0 include/configs/u8500_href.h:135: stdout=serial,usbtty\0 include/configs/snowball.h:180: