[U-Boot] mmc hwpartition question

2016-06-03 Thread Matthias Fuchs
Hi, I am trying to setup an eMMC chip's user data area fully as enhanced type. Well, trying is probably wrong because its an OTP action and therefore I try to figure out the correct command on first try :-) U-Boot's "mmc hwpartition" command should be able to do this, but how? Where can I

[U-Boot] [PATCH 06/22] ppc4xx: remove DP405 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/dp405/Kconfig | 12 -- board/esd/dp405/MAINTAINERS |6 - board/esd/dp405/Makefile| 13 --- board/esd/dp405/dp405.c | 112 -- board/esd

[U-Boot] [PATCH 00/22] remove / switch esd 4xx boards

2015-01-12 Thread Matthias Fuchs
Hi, this series will remove a couple of esd 4xx boards that became obsolete in the past. Some others will be switched to generic board code. Matthias Matthias Fuchs (22): ppx4xx: remove APC405 board ppc4xx: remove AR405 board ppc4xx: remove ASH405 board ppc4xx: remove CMS700 board

[U-Boot] [PATCH 19/22] ppc4xx: switch CPCI2DP to generic board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/configs/CPCI2DP.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/CPCI2DP.h b/include/configs/CPCI2DP.h index 05106cd..845ed81 100644 --- a/include/configs/CPCI2DP.h +++ b/include/configs/CPCI2DP.h @@ -20,6

[U-Boot] [PATCH 10/22] ppc4xx: remove HUB405 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/hub405/Kconfig| 12 -- board/esd/hub405/MAINTAINERS|6 - board/esd/hub405/Makefile | 10 -- board/esd/hub405/flash.c| 85 -- board/esd/hub405

[U-Boot] [PATCH 07/22] ppc4xx: remove DU405 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/du405/Kconfig | 12 - board/esd/du405/MAINTAINERS |6 - board/esd/du405/Makefile|8 - board/esd/du405/du405.c | 187 -- board/esd/du405/du405.h

[U-Boot] [PATCH 13/22] ppc4xx: remove PMC405 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/pmc405/Kconfig| 12 -- board/esd/pmc405/MAINTAINERS|6 - board/esd/pmc405/Makefile | 13 -- board/esd/pmc405/pmc405.c | 142 - configs

[U-Boot] [PATCH 08/22] ppc4xx: remove DU440 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/du440/Kconfig | 12 - board/esd/du440/MAINTAINERS |6 - board/esd/du440/Makefile|9 - board/esd/du440/config.mk | 16 - board/esd/du440/du440.c

[U-Boot] [PATCH 20/22] ppc4xx: switch PLU405 to generic board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/configs/PLU405.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h index 8705161..a236e11 100644 --- a/include/configs/PLU405.h +++ b/include/configs/PLU405.h @@ -21,6 +21,8

[U-Boot] [PATCH 04/22] ppc4xx: remove CMS700 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/cms700/Kconfig| 12 -- board/esd/cms700/MAINTAINERS|6 - board/esd/cms700/Makefile | 16 -- board/esd/cms700/cms700.c | 192 board

[U-Boot] [PATCH 11/22] ppc4xx: remove OCRTC board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/ocrtc/Kconfig | 12 -- board/esd/ocrtc/MAINTAINERS |6 - board/esd/ocrtc/Makefile|8 -- board/esd/ocrtc/cmd_ocrtc.c | 68 -- board/esd/ocrtc

[U-Boot] [PATCH 16/22] ppc4xx: remove G2000 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/g2000/Kconfig |9 - board/g2000/MAINTAINERS |6 - board/g2000/Makefile|8 - board/g2000/g2000.c | 245 - board/g2000

[U-Boot] [PATCH 17/22] ppc4xx: remove some CPCI405 variants

2015-01-12 Thread Matthias Fuchs
only keep CPCI4052 Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |9 - board/esd/cpci405/Kconfig | 39 configs/CPCI405AB_defconfig |3 - configs/CPCI405DT_defconfig |3 - configs/CPCI405_defconfig |3 - doc

[U-Boot] [PATCH 21/22] ppc4xx: switch PMC405DE to generic board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/configs/PMC405DE.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/PMC405DE.h b/include/configs/PMC405DE.h index 94b9547..f7d28e3 100644 --- a/include/configs/PMC405DE.h +++ b/include/configs/PMC405DE.h

[U-Boot] [PATCH 22/22] ppc4xx: switch VOM405 to generic board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/configs/VOM405.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/VOM405.h b/include/configs/VOM405.h index c06897b..e229256 100644 --- a/include/configs/VOM405.h +++ b/include/configs/VOM405.h @@ -19,6 +19,8

[U-Boot] [PATCH 12/22] ppc4xx: remove PCI405 board

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/Kconfig |4 - board/esd/pci405/Kconfig| 12 - board/esd/pci405/MAINTAINERS|6 - board/esd/pci405/Makefile |9 - board/esd/pci405/cmd_pci405.c | 97 --- board/esd/pci405/flash.c

Re: [U-Boot] [PATCH] m68k: remove TASREG board

2015-01-12 Thread Matthias Fuchs
Hi, On 01/13/2015 03:16 AM, Huan Wang wrote: Hi, -Original Message- From: Matthias Fuchs [mailto:matthias.fu...@esd.eu] Sent: Tuesday, January 13, 2015 5:34 AM To: u-boot@lists.denx.de Cc: Wang Huan-B18965; Matthias Fuchs Subject: [PATCH] m68k: remove TASREG board Signed-off

Re: [U-Boot] [PATCH 9/9] board/esd/common/auto_update.c: fix Uninitialized variable

2014-11-06 Thread Matthias Fuchs
On 11/06/2014 02:03 PM, Wolfgang Denk wrote: cppcheck reports: [board/esd/common/auto_update.c:458]: (error) Uninitialized variable: cnt The variable is not really used anywhere, so remove it. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Matthias Fuchs matthias.fu...@esd

[U-Boot] [PATCH v2] ppc4xx: update PMC440 board support

2014-10-26 Thread Matthias Fuchs
- switch to GENERIC_BOARD - fix env support from eeprom Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- changes in v2: - add CONFIG_DISPLAY_BOARDINFO to enable checkboard() for correct hardware revision handling board/esd/pmc440/cmd_pmc440.c |6 +++--- include/configs/PMC440.h

Re: [U-Boot] [PATCH] ppc4xx: update PMC440 board support

2014-10-26 Thread Matthias Fuchs
Hi Anatolij, On 10/23/2014 06:09 PM, Anatolij Gustschin wrote: Hi Matthias, On Thu, 23 Oct 2014 17:50:23 +0200 Matthias Fuchs matthias.fu...@esd.eu wrote: ... diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h index c5e2f16..dc2c976 100644 --- a/include/configs/PMC440.h

Re: [U-Boot] [PATCH] Revert common, env: Fix support for environment in i2c eeprom

2014-10-23 Thread Matthias Fuchs
Hi Valentin, On 10/14/2014 04:21 PM, Valentin Longchamp wrote: Hi Matthias, On 10/14/2014 02:32 PM, Matthias Fuchs wrote: Hi Valentin, my patch fixed environment from i2c eeprom. I am not sure on which board I ran into that trouble. Probably PMC440. So reverting my former patch

Re: [U-Boot] [PATCH] Revert common, env: Fix support for environment in i2c eeprom

2014-10-23 Thread Matthias Fuchs
Hi Valentin, On 10/14/2014 04:21 PM, Valentin Longchamp wrote: Hi Matthias, On 10/14/2014 02:32 PM, Matthias Fuchs wrote: Hi Valentin, my patch fixed environment from i2c eeprom. I am not sure on which board I ran into that trouble. Probably PMC440. So reverting my former patch

[U-Boot] [PATCH] ppc4xx: update PMC440 board support

2014-10-23 Thread Matthias Fuchs
- switch to GENERIC_BOARD - fix env support from eeprom Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/pmc440/cmd_pmc440.c |6 +++--- include/configs/PMC440.h |3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/board/esd/pmc440/cmd_pmc440.c b

Re: [U-Boot] [PATCH] Revert common, env: Fix support for environment in i2c eeprom

2014-10-14 Thread Matthias Fuchs
); -#endif +#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT) + i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); #endif } -- Dipl.-Ing. Matthias Fuchs Head of System Design esd electronic system

Re: [U-Boot] [PATCH] Revert common, env: Fix support for environment in i2c eeprom

2014-10-14 Thread Matthias Fuchs
On 10/14/2014 03:01 PM, Holger Brunck wrote: On 10/14/2014 02:32 PM, Matthias Fuchs wrote: Hi Valentin, my patch fixed environment from i2c eeprom. I am not sure on which board I ran into that trouble. Probably PMC440. So reverting my former patch will break environment in i2c eeprom again

Re: [U-Boot] [PATCH] board: esd: remove remainders of dead boards

2014-03-31 Thread Matthias Fuchs
Cc: Stefan Roese s...@denx.de thanks. Acked-by: Matthias Fuchs matthias.fu...@esd.eu Matthias ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH V2] 4xx: add support for new PMC440 revision with cleanup

2014-03-25 Thread Matthias Fuchs
This patch adds support for the new PMC440 hardware revision 1.4. The board now uses Micrel KSZ9031 phys. Add missing i2c initialization before reading bootstrap eeprom. Fix a couple of coding style issues. Make local functions static. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu

[U-Boot] [PATCH] common, env: Fix support for environment in i2c eeprom

2014-03-19 Thread Matthias Fuchs
When using CONFIG_SYS_I2C i2c needs to be initialized by i2c_init_all(). This is done in some places but not in eeprom_init(). Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- common/cmd_eeprom.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/common

[U-Boot] [PATCH] 4xx: add support for new PMC440 revision

2014-03-19 Thread Matthias Fuchs
This patch adds support for the new PMC440 hardware revision 1.4. The board now uses Micrel KSZ9031 phys. Add missing i2c initialization before reading bootstrap eeprom. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/pmc440/pmc440.c | 83

Re: [U-Boot] [PATCH] 4xx: add support for new PMC440 revision

2014-03-19 Thread Matthias Fuchs
On 19.03.2014 12:44, Stefan Roese wrote: -if (miiphy_write(ppc_4xx_eth0, CONFIG_PHY_ADDR, 0x1f, 0x0001) == 0) { -miiphy_write(ppc_4xx_eth0, CONFIG_PHY_ADDR, 0x11, 0x0010); -miiphy_write(ppc_4xx_eth0, CONFIG_PHY_ADDR, 0x11, val_behavior); -

[U-Boot] [PATCH] 4xx: cleanup ethernet phy initialization on PMC440 boards

2014-03-19 Thread Matthias Fuchs
This patch moves phy initialization for VSC8601 ethernet phys that are used on early board revisions into a separate setup function. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/pmc440/pmc440.c | 45 ++--- 1 files changed, 22

Re: [U-Boot] [PATCH] ppc4xx: Remove 4xx NAND booting support

2014-03-05 Thread Matthias Fuchs
, non NAND-booting ppc4xx platforms that are currently supported. Signed-off-by: Stefan Roese s...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Tirumala Marri tma...@apm.com Cc: Matthias Fuchs matthias.fu...@esd.eu Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Rini tr...@ti.com I used

Re: [U-Boot] [PATCH] board: delete unused header files

2014-01-08 Thread Matthias Fuchs
Thanks. Acked-by: Matthias Fuchs matthias.fu...@esd.eu On 08.01.2014 12:11, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- board/cogent/kbm.h | 79 - board/cray/L1/L1.h | 28 -- board

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-10-31 Thread Matthias Fuchs
Hi Pekon, should I consider the U-Boot and Linux am335x NAND implementation to be compatible? So are the ECC schemes in a way identical that I can nandwrite a kernel image from Linux and nand read it from U-Boot? I tested with the 3.8.13 beaglebone kernel (which is of course not very

[U-Boot] [PATCH] ppc4xx: Remove support for PPC405CR CPUs

2013-08-07 Thread Matthias Fuchs
This patch removes support for the APM 405CR CPU. This CPU is EOL and no board uses this chip. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/powerpc/cpu/ppc4xx/4xx_uart.c| 10 ++-- arch/powerpc/cpu/ppc4xx/cpu.c | 18 +-- arch/powerpc/cpu/ppc4xx/cpu_init.c

Re: [U-Boot] U-Boot: am335x video support

2013-06-26 Thread Matthias Fuchs
Hi Heiko, perhaps you should take a look at the DA8XX driver. At least under Linux this driver also handles the AM335x. Splash screen support (meaning support of the splashimage variable) might be a problem because it expects a direct mapped physical address where the splash image is stored -

Re: [U-Boot] [PATCH v4 0/4] am335x_evm: Enable UART{1,2,3,4,5}

2012-11-02 Thread Matthias Fuchs
|7 +++- drivers/serial/serial_ns16550.c | 36 +++-- include/configs/am335x_evm.h | 12 +++--- 7 files changed, 158 insertions(+), 10 deletions(-) -- Dipl.-Ing. Matthias

[U-Boot] [PATCH] 4xx: Fix PCI memory mapping on CPCI405 boards

2012-11-02 Thread Matthias Fuchs
This patch fixes an issue with overlapping PCI regions on boards with more than 64MB RAM. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/configs/CPCI405.h |2 +- include/configs/CPCI4052.h |2 +- include/configs/CPCI405AB.h |2 +- include/configs/CPCI405DT.h

[U-Boot] [PATCH v2] am335x: add initial AM335x IDK board support

2012-11-02 Thread Matthias Fuchs
or for the am335x_evm_uart3 board configuration as introduced by Andrew Bradfords recent patch series am33xx: Enable UART {1,2,3,4,5} When using the IDK with console on UART0, those patches are not required. In this case the board slightly needs to be modified. Signed-off-by: Matthias Fuchs matthias.fu

Re: [U-Boot] [PATCH v4 0/4] am335x_evm: Enable UART{1,2,3,4,5}

2012-10-29 Thread Matthias Fuchs
Tested-by: Matthias Fuchs matthias.fu...@esd.eu ... on AM335x IDK board with console on UART3. Matthias On 25.10.2012 14:21, Andrew Bradford wrote: To support serial ports other than UART0 on am335x based systems like the Beaglebone with the RS232 cape and am335x_evm with daughterboard

[U-Boot] [PATCH] am335x: add initial AM335x IDK board support

2012-10-29 Thread Matthias Fuchs
or for the am335x_evm_uart3 board configuration as introduced by Andrew Bradfords recent patch series am33xx: Enable UART {1,2,3,4,5}... Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/arm/cpu/armv7/am33xx/board.c |9 +++-- board/ti/am335x/mux.c | 20 2

Re: [U-Boot] [PATCH] pmc405de and zeus: remove the env_ptr externs

2012-10-02 Thread Matthias Fuchs
Hi Igor, you are right. Thanks. You can add my Acked-by: Matthias Fuchs matthias.fu...@esd.eu Matthias On 09/28/2012 12:04 PM, Igor Grinberg wrote: The env_ptr is already declared in environment.h, so there is no need to redeclare in board files (especially after including the environment.h

Re: [U-Boot] [PATCH] ppc4xx: Remove IOP480 support

2012-09-19 Thread Matthias Fuchs
for this outstanding cleanup. Matthias Acked-by: Matthias Fuchs matthias.fu...@esd.eu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] environment access before relocation does not work on (some) arm

2012-07-03 Thread Matthias Fuchs
Hi, On 29.06.2012 13:26, Wolfgang Denk wrote: Dear Matthias Fuchs, In message 4fed7877.2020...@esd.eu you wrote: I just noticed that using getenv (and friends) does not work on ARM (namely i.MX28) from board_init_f() after running through the init_sequence. This is normal

Re: [U-Boot] [PATCH] Move bootstage timer out of lib/time.c

2012-04-10 Thread Matthias Fuchs
. Signed-off-by: Simon Glass s...@chromium.org This fixes as expected the currently broken PMC440 board support. Acked-off-by: Matthias Fuchs matthias.fu...@esd.eu Matthias ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH 0/2] i.mx28: Elimintated magic numbers for scratch register addresses

2012-02-20 Thread Matthias Fuchs
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot -- Dipl.-Ing. Matthias Fuchs Head of System Design esd electronic system design gmbh Vahrenwalder Str

Re: [U-Boot] [PATCH 0/2] i.mx28: Elimintated magic numbers for scratch register addresses

2012-02-19 Thread Matthias Fuchs
Marek, Stefano, what kept you from accepting these patches? There was no objection on these. Matthias On 07.02.2012 15:08, rob...@delien.nl wrote: From: Robert Delien rob...@delien.nl This patch eliminates the use of magic numbers for the scratch register addresses. The registers in the

Re: [U-Boot] [PATCH 4/4] Added NAND flash pin configuration

2012-02-10 Thread Matthias Fuchs
Do you plan to post a patch to enable NAND on the EVK as well? That shouldn't be a big deal. Matthias On 07.02.2012 17:52, rob...@delien.nl wrote: From: Robert Delien rob...@delien.nl Signed-off-by: Robert Delien rob...@delien.nl --- board/freescale/mx28evk/iomux.c | 24

Re: [U-Boot] [PATCH 4/4] Added NAND flash pin configuration

2012-02-10 Thread Matthias Fuchs
On 10.02.2012 13:42, Robert Deliën wrote: Do you plan to post a patch to enable NAND on the EVK as well? Yes, I do. It's all tested and working in my workspace. But the first samples of our own board have arrived a couple of days ago and I'm currently in the process of bringing it up and

Re: [U-Boot] [PATCH V2] mx28: fix SPL code to make USB booting work

2012-02-07 Thread Matthias Fuchs
interrupts work again. The SPL code needs to change this option for the ram size probing. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- changes in v2: - store old SPSR on stack instead of jiggling around with some bits - remove #ifndef CONFIG_SKIP_LOWLEVEL_INIT arch/arm/cpu/arm926ejs

[U-Boot] [PATCH V3] mx28: fix SPL code to make USB booting work

2012-02-07 Thread Matthias Fuchs
work again. The SPL code needs to change this option for the ram size probing. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- changes in v2: - store old SPSR on stack instead of jiggling around with some bits - remove #ifndef CONFIG_SKIP_LOWLEVEL_INIT changes in v3: - also store C1

[U-Boot] [PATCH V2] mx28: fix SPL code to make USB booting work

2012-02-06 Thread Matthias Fuchs
this option for the ram size probing. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- changes in v2: - store old SPSR on stack instead of jiggling around with some bits - remove #ifndef CONFIG_SKIP_LOWLEVEL_INIT arch/arm/cpu/arm926ejs/mx28/start.S | 15 +++ 1 files changed, 15

Re: [U-Boot] mx28: booting u-boot via USB

2012-02-03 Thread Matthias Fuchs
On 31.01.2012 15:03, Matthias Fuchs wrote: Hi, I have a problem booting the current u-boot-imx version on a MX28EVK via USB. The i.MX28 CPU supports a special boot mode where the image (sb boot stream) is downloaded via USB device (all DIP switches in position 'off' on the EVK). The CPU's

Re: [U-Boot] mx28: booting u-boot via USB

2012-02-03 Thread Matthias Fuchs
Fixed! Patch follows. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Matthias Fuchs
to change this option for the ram size probing. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/arm/cpu/arm926ejs/mx28/start.S | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx28/start.S b/arch/arm/cpu/arm926ejs/mx28

Re: [U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Matthias Fuchs
the USB interrupts work again. The SPL code needs to change this option for the ram size probing. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/arm/cpu/arm926ejs/mx28/start.S | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Matthias Fuchs
...@gmail.com Cc: Matthias Fuchs matthias.fu...@esd.eu --- arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) Note: Guys, please give this a testrun. I think it might fix the issue Robert was observing. I dug into the imx

Re: [U-Boot] [PATCH 1/2] sf command: allow default bus and chip selects

2012-01-31 Thread Matthias Fuchs
Works fine. Matthias Tested-by: Matthias Fuchs matthias.fu...@esd.eu On 30.01.2012 21:02, Eric Nelson wrote: This patch allows a board configuration file to provide default bus and chip-selects for SPI flash so that first argument to the 'sf' command is optional. On boards that use

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Matthias Fuchs
On 31.01.2012 12:38, Marek Vasut wrote: I tested both patch on my mx28evk. At least I cannot notice any missbehavior :-) Downloading the patched u-boot via USB recovery download still does not work. Good, any improvements though? No. It works as before. Whatever that means :-) I will respond

[U-Boot] mx28: booting u-boot via USB

2012-01-31 Thread Matthias Fuchs
Hi, I have a problem booting the current u-boot-imx version on a MX28EVK via USB. The i.MX28 CPU supports a special boot mode where the image (sb boot stream) is downloaded via USB device (all DIP switches in position 'off' on the EVK). The CPU's internal bootrom implements a HID device in this

Re: [U-Boot] mx28: booting u-boot via USB

2012-01-31 Thread Matthias Fuchs
On 31.01.2012 15:25, Sergey Lapin wrote: On Tue, Jan 31, 2012 at 03:03:55PM +0100, Matthias Fuchs wrote: Hi, I have a problem booting the current u-boot-imx version on a MX28EVK via USB. The i.MX28 CPU supports a special boot mode where the image (sb boot stream) is downloaded via USB device

Re: [U-Boot] mx28: booting u-boot via USB

2012-01-31 Thread Matthias Fuchs
Hi Fabio, On 31.01.2012 15:53, Fabio Estevam wrote: On 1/31/12, Matthias Fuchs matthias.fu...@esd.eu wrote: The USB boot mechanism is not documented that detailed. Is it possible that the SPL code overwrites the bootroms ivt and in consequence crashes the bootrom's USB code? Any further

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-25 Thread Matthias Fuchs
On 24.01.2012 17:23, Fabio Estevam wrote: When running Linux on a mx28evk and issuing a 'reboot'command the following behaviour is observed: root@freescale /$ reboot starting pid 329, tty '': '/etc/rc.d/rcS stop'

Re: [U-Boot] [PATCH V3 4/6] sf command: allow default chip select through CONFIG_SPI_FLASH_CS

2012-01-25 Thread Matthias Fuchs
Hi Eric, please see my comments below. On 24.01.2012 17:18, Eric Nelson wrote: This patch allows a board configuration file to provide a default chip-select for serial flash so that first argument to the 'sf' command is optional. On boards that use the mxc_spi driver and a GPIO for chip

Re: [U-Boot] [PATCH/RFC] mx28: print bootmode with cpuinfo

2012-01-24 Thread Matthias Fuchs
On 23.01.2012 21:33, Fabio Estevam wrote: Hi Matthias, On 1/18/12, Matthias Fuchs matthias.fu...@esd.eu wrote: Hi, while playing around with the mx28evk and differnet bootmedia I found it helpful to see the current bootmode without running to the board and checking it's switches. Also

[U-Boot] [PATCH 3/3] mx28evk: add SPI support

2012-01-18 Thread Matthias Fuchs
SPI flash. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/freescale/mx28evk/iomux.c |8 +++ include/configs/mx28evk.h | 44 -- 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/board/freescale/mx28evk/iomux.c b/board

[U-Boot] [PATCH 2/3] mx28evk: add USB support

2012-01-18 Thread Matthias Fuchs
This patch enables USB host support on the MX28EVK board. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/freescale/mx28evk/mx28evk.c |7 +++ include/configs/mx28evk.h | 12 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/board

[U-Boot] [PATCH 1/3] mx28evk: add RTC support

2012-01-18 Thread Matthias Fuchs
This patch adds support for the MX28 internal RTC and enables u-boot's date command. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/configs/mx28evk.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/mx28evk.h b/include/configs

[U-Boot] [PATCH/RFC] mx28: print bootmode with cpuinfo

2012-01-18 Thread Matthias Fuchs
). Reading the pins is done from SPL stage and the information is passed in the SCRATCH1+2 registers together with the memory size. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 43 +-- arch/arm/cpu/arm926ejs/mx28

[U-Boot] [PATCH/RFC] mx28: print bootmode with cpuinfo

2012-01-18 Thread Matthias Fuchs
). Reading the pins is done from SPL stage and the information is passed in the SCRATCH1+2 registers together with the memory size. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 43 +-- arch/arm/cpu/arm926ejs/mx28

Re: [U-Boot] [PATCH 3/3] mx28evk: add SPI support

2012-01-18 Thread Matthias Fuchs
on a MX28EVK Rev. D with an installed SST25VF032B 32Mbit SPI flash. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/freescale/mx28evk/iomux.c |8 +++ include/configs/mx28evk.h | 44 -- 2 files changed, 49 insertions(+), 3 deletions

Re: [U-Boot] SPI Test

2012-01-16 Thread Matthias Fuchs
On 16.01.2012 12:23, Marek Vasut wrote: Hmm, can you tell me what type of SPI flash you have installed? Typically the read-status-register operation requires a low to high transition to get terminated. This is from my flash' datasheet: Read-Status-Register (RDSR) The Read-Status-Register

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-15 Thread Matthias Fuchs
On 01/14/2012 09:14 PM, Fabio Estevam wrote: On Sat, Jan 14, 2012 at 6:09 PM, Matthias Fuchs matthias.fu...@esd.eu wrote: This cannot work. I do not understand what you are trying to achieve with this. I would like to avoid the extra dummy read that your patch proposes. That's what I also

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-15 Thread Matthias Fuchs
On 01/15/2012 04:28 PM, Fabio Estevam wrote: On Sun, Jan 15, 2012 at 10:10 AM, Matthias Fuchs matthias.fu...@esd.eu wrote: That's what I also tried. But from the ref manual I got no idea. When we do not find a hy to deassert the chip select manually, we cannot avoid this read. I

[U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-14 Thread Matthias Fuchs
. This results in an extra read with the chip select being deasserted afterwards. There seems to be no way to deassert the signal by hand. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- drivers/spi/mxs_spi.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-14 Thread Matthias Fuchs
Alexander Keller on the u-boot list from 12/13/2011. Perhaps the can check if this patch fixes his problems also. Matthias Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- drivers/spi/mxs_spi.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-14 Thread Matthias Fuchs
This cannot work. I do not understand what you are trying to achieve with this. Matthias On 01/14/2012 07:54 PM, Fabio Estevam wrote: On Sat, Jan 14, 2012 at 4:53 PM, Fabio Estevam feste...@gmail.com wrote: Actually I meant this: One more time ;-) --- a/drivers/spi/mxs_spi.c +++

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-13 Thread Matthias Fuchs
Robert, On 13.01.2012 11:33, Robert Deliën wrote: Hi Matthias, I a patch would be welcome. I only need USB and SPI flash for my application. And USB was easy to setup. Currently I am also jiggling around the SPI / SPI flash support. For USB, all you need to do is to configure it in and

[U-Boot] mx28: bug in mxs_spi driver

2012-01-13 Thread Matthias Fuchs
Hi, I ran into trouble when trying to extend MX28EVK board support for a SPI flash (SST24VF032B). Some code finally runs into spi_flash_cmd_poll_bit() (spi_flash.c). This function is then used to poll the flash's status register: int spi_flash_cmd_poll_bit(struct spi_flash *flash, unsigned long

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
2009.08 u-boot for this CPU. Matthias On 11.01.2012 16:12, Fabio Estevam wrote: Hi Matthias, On Wed, Jan 11, 2012 at 12:41 PM, Matthias Fuchs matthias.fu...@esd.eu wrote: Hi Fabio, can you confirm that the current u-boot-imx tree runs fine on the MX28EVK? I tried it but the debug

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
On 12.01.2012 11:15, Fabio Estevam wrote: Hi Matthias, On Thu, Jan 12, 2012 at 8:07 AM, Matthias Fuchs matthias.fu...@esd.eu wrote: Hi Fabio, thanks for your details. Some of the discrete switches where messed up. Boot Mode was fine. So now it's working fine. Even the power button

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot -- Dipl.-Ing. Matthias Fuchs Head of System Design esd electronic system design gmbh Vahrenwalder Str. 207 - 30165 Hannover - GERMANY Phone: +49

[U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-11 Thread Matthias Fuchs
Hi Fabio, can you confirm that the current u-boot-imx tree runs fine on the MX28EVK? I tried it but the debug console stays dead. This is what I did: 1) make mx28evk 2) make u-boot.sb 3) ./tools/mxsboot sd u-boot.sb u-boot-sd.sb 4) prepare an SD card as described in doc/README.m28 (only one

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Matthias Fuchs
Hi Marek, thanks for that work. The patches against the esd files are Acked-by: Matthias Fuchs matthias.fu...@esd.eu Matthias On 15.12.2011 14:26, Marek Vasut wrote: First of the CHECKPATCH series of patches with per-file checkpatch fixes. This series fixes all files fpgadata.c, which

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Matthias Fuchs
Hi Marek, On 15.12.2011 16:17, Marek Vasut wrote: Hi Marek, On Thu, 15 Dec 2011 14:26:41 +0100 Marek Vasut marek.va...@gmail.com wrote: ... 18 files changed, 63874 insertions(+), 31942 deletions(-) V2: Align to 8 bytes per line. Cc: Anatolij Gustschin ag...@denx.de Cc: Stefano Babic

Re: [U-Boot] [PATCH] board/esd/cpci405/cpci405.c: Fix GCC 4.6 warning

2011-11-25 Thread Matthias Fuchs
On 11/24/2011 06:40 PM, Mike Frysinger wrote: On Thursday 24 November 2011 10:39:21 Matthias Fuchs wrote: -sprintf(str, %08X%04X, -*(unsigned int *)ow_id[0], -*(unsigned short *)ow_id[4]); +sprintf(str, %02X%02X%02X%02X%02X%02X, +ow_id[0], ow_id[1

[U-Boot] [PATCH] board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning

2011-11-24 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/dasa_sim/flash.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/board/esd/dasa_sim/flash.c b/board/esd/dasa_sim/flash.c index d6a7737..e2f2aac 100644 --- a/board/esd/dasa_sim/flash.c +++ b/board/esd

[U-Boot] [PATCH] board/esd/cpci405/cpci405.c: Fix GCC 4.6 warning

2011-11-24 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/cpci405/cpci405.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/board/esd/cpci405/cpci405.c b/board/esd/cpci405/cpci405.c index 98a8584..41b5ba0 100644 --- a/board/esd/cpci405/cpci405.c +++ b/board

[U-Boot] [PATCH V2] ppc4xx: fix PMC440 painit command

2011-11-24 Thread Matthias Fuchs
This patch fixes the PMC440 BSP command painit. The implementation was broken since the step to the new environment handling. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- V2: rebased board/esd/pmc440/cmd_pmc440.c | 17 +++-- 1 files changed, 15 insertions(+), 2

[U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning

2011-11-24 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/common/xilinx_jtag/micro.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/board/esd/common/xilinx_jtag/micro.c b/board/esd/common/xilinx_jtag/micro.c index 9823e5e..cba33b8 100644 --- a/board/esd/common

Re: [U-Boot] PPC4xx: usbdev.c used at all?

2011-11-17 Thread Matthias Fuchs
We do not use it or plan to use it. Matthias On 17.11.2011 15:04, Stefan Roese wrote: Hi Marri, I just touched the file arch/powerpc/cpu/ppc4xx/usbdev.c again to remove some GCC 4.6 compiler warnings. While doing this I wondered (again) if anybody is using this driver at all. I

Re: [U-Boot] [PATCH v2 1/1] pci: move pcidelay code to new location just before PCI bus scan

2011-10-13 Thread Matthias Fuchs
call and to ignore pcidelay for any further call (as pointed out by Matthias). Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Matthias Fuchs matthias.fu...@esd.eu --- Changes since first version: - extend to wait only during initial pci_hose_scan() call as pointed out by Matthias

[U-Boot] [PATCH 3/3] ppc4xx: fix PMC440 painit command

2011-10-13 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu This patch fixes the PMC440 BSP command painit. The implementation was broken since the step to the new environment handling. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/pmc440/cmd_pmc440.c | 17 +++-- 1 files

[U-Boot] [PATCH 2/3] ppc4xx: remove invalid access to PCI_BRDGOPT2 register

2011-10-13 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu This patch removes an invalid call to pci_write_config_dword to PCI_BRDGOPT2 register. This function must not be used from pci_target_init and is also at the wrong place. The correct call is done later in pci_target_init via pci_hose_write_config_dword

Re: [U-Boot] [PATCH v2 1/1] pci: move pcidelay code to new location just before PCI bus scan

2011-10-13 Thread Matthias Fuchs
On 13.10.2011 15:03, Stefan Roese wrote: Tested on PMC440. Works fine. Acked-by: Matthias Fuchs matthias.fu...@esd.eu Thanks. In this case a: Tested-by: ... would be even better. :) Even both if you like :-) Matthias ___ U-Boot mailing

[U-Boot] [PATCH 1/3] ppc4xx: use CONFIG_PCI_BOOTDELAY instead of private implementation

2011-10-13 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu This patch switches PMC440 board code to the CONFIG_PCI_BOOTDELAY option instead of using a private implemention. This relies on Anatolji's patch that moves the pcidelay handling behind pci_target_init. Signed-off-by: Matthias Fuchs matthias.fu

Re: [U-Boot] [PATCH 1/1] pci: move pcidelay code to new location just before PCI bus scan

2011-10-12 Thread Matthias Fuchs
()... */ -- Dipl.-Ing. Matthias Fuchs Head of System Design esd electronic system design gmbh Vahrenwalder Str. 207 - 30165 Hannover - GERMANY Phone: +49-511-37298-0 - Fax: +49-511-37298-68 Please visit our homepage http://www.esd.eu

Re: [U-Boot] [STATUS] AT91: boards still broken on 02.Aug.2011

2011-08-04 Thread Matthias Fuchs
Regards, Reinhard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot -- Dipl.-Ing. Matthias Fuchs Head of System Design esd

[U-Boot] [PATCH] at91: reworked support for meesc board

2011-07-19 Thread Matthias Fuchs
The meesc board support was broken. Within this opportunity, I completely reworked the board files. Signed-off-by: Daniel Gorsulowski daniel.gorsulow...@esd.eu Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- V3: -fix white space issues and don't patch boards.cfg V2: -fixed commit

Re: [U-Boot] [PATCH 41/52] ARM: remove broken meesc board

2011-07-19 Thread Matthias Fuchs
Hi Wolfgang, Daniel sent a patch to fix this issue in April http://lists.denx.de/pipermail/u-boot/2011-April/090794.html. Then Reinhard fixed some whitespace issues and applied it to u-boot-atmel/next. But as we noticed just a minute ago, patching failed somehow and most of the changes got

  1   2   3   >