[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 find

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 >>

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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| 85 --- board

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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/strataflash.c | 774

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

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

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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 @@ #define

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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 @@ -12,6 +12,8 @@ #define

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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/flash.c | 140

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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 @@ #define

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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/esd/cms700/flash.c

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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 +20,8 @@ #define

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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/hub405.c | 208

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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 | 28 - board

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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/PMC405_defconfig

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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 | 882

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

2015-01-12 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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/dp405/flash.c

[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

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 > Cc: Matthias Fuchs &

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 wrote: > ... >> diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h >> index c5e2f16..dc2c976 100644 >> --- a/

[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 --- 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 |4 2

[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 --- 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/board/esd/pmc440

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 PMC

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 PMC

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 >&

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

2014-10-14 Thread Matthias Fuchs
SYS_I2C > - i2c_init_all(); > -#else > - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); > -#endif > +#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT) > + i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); > #endif > } > > -- --

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

2014-03-31 Thread Matthias Fuchs
; Cc: Stefan Roese thanks. Acked-by: Matthias Fuchs 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 --- board/esd/pmc440

[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 --- board/esd/pmc440/pmc440.c | 45 ++--- 1 files changed, 22 insertions(+), 23 deletions

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: 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 --- board/esd/pmc440/pmc440.c | 83 + 1 file

[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 --- common/cmd_eeprom.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/common/cmd_eeprom.c b/common

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

2014-03-05 Thread Matthias Fuchs
not affect the "normal", non NAND-booting ppc4xx platforms > that are currently supported. > > Signed-off-by: Stefan Roese > Cc: Wolfgang Denk > Cc: Tirumala Marri > Cc: Matthias Fuchs > Cc: Masahiro Yamada > Cc: Tom Rini I used this chance to test today'

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

2014-01-08 Thread Matthias Fuchs
Thanks. Acked-by: Matthias Fuchs On 08.01.2014 12:11, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > board/cogent/kbm.h | 79 - > board/cray/L1/L1.h | 28 -- > board/esd/common/s1d13806_64

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 represe

[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 --- arch/powerpc/cpu/ppc4xx/4xx_uart.c| 10 ++-- arch/powerpc/cpu/ppc4xx/cpu.c | 18 +-- arch/powerpc/cpu/ppc4xx/cpu_init.c|2 +- arch/powerpc

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 - typ

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

2012-11-02 Thread Matthias Fuchs
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 -

[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 --- include/configs/CPCI405.h |2 +- include/configs/CPCI4052.h |2 +- include/configs/CPCI405AB.h |2 +- include/configs/CPCI405DT.h |2 +- 4 files changed

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

2012-11-02 Thread Matthias Fuchs
35x_evm.h | 12 +++--- > 7 files changed, 158 insertions(+), 10 deletions(-) > -- ---- 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 ou

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

2012-10-29 Thread Matthias Fuchs
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 --- arch/arm/cpu/armv7/am33xx/board.c |9 +++-- board/ti/am335x/mux.c | 20 2 files c

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 ... 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. > > Cha

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 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) > Rem

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

2012-09-19 Thread Matthias Fuchs
Thanks for this outstanding cleanup. Matthias Acked-by: Matthias Fuchs ___ 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

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

2012-06-29 Thread Matthias Fuchs
Hi, 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. So getenv_ulong() always returns the given default. So the baudrate on affected boards is always set by CONFIG_BAUDRATE and cannot be adjusted by th

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

2012-04-10 Thread Matthias Fuchs
ne example on some boards. > > Signed-off-by: Simon Glass This fixes as expected the currently broken PMC440 board support. Acked-off-by: Matthias Fuchs Matthias ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2012-02-20 Thread Matthias Fuchs
/include/asm/arch-mx28/imx-regs.h|1 + >>> arch/arm/include/asm/arch-mx28/regs-digctl.h | 155 >>> ++ 4 files changed, 164 insertions(+), 8 >>> deletions(-) >>> create mode 100644 arch/arm/include/asm/arch-mx28/regs-digctl.h >&

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 > > This patch eliminates the use of magic numbers for the scratch register > addresses. The registers in the DIGCTL sections

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 an

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 > > > Signed-off-by: Robert Delien > --- > board/freescale/mx28evk/iomux.c | 24 > 1 files chang

[U-Boot] [PATCH V3] 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 --- 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 register on st

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

2012-02-07 Thread Matthias Fuchs
. So save and restore the CPSR register. >> >> 2) The exception vector location is set back to bootrom space to >> make the USB interrupts work again. The SPL code needs to change this >> option for the ram size probing. >> >> Signed-off-by: Matthias Fuchs >> ---

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

2012-02-06 Thread Matthias Fuchs
hange this option for the ram size probing. Signed-off-by: Matthias Fuchs --- 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 insert

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

2012-02-03 Thread Matthias Fuchs
is the default state when called by the bootrom. >> >> 2) The exception vector location is set back to bootrom space to >> make the USB interrupts work again. The SPL code needs to change this >> option for the ram size probing. >> >> Signed-off-by: Matthias

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

2012-02-03 Thread Matthias Fuchs
e needs to change this option for the ram size probing. Signed-off-by: Matthias Fuchs --- 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/start.S ind

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

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 

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 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'

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 (

[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 mo

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

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 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 u

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

2012-01-31 Thread Matthias Fuchs
01:00, Marek Vasut wrote: > The DC power STS shouldn't be checked if booting off 5V supply. > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Detlev Zundel > Cc: Stefano Babic > Cc: Robert Deliën > Cc: Fabio Estevam > Cc: Matthias Fuchs >

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 ch

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/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 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 a

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

2012-01-18 Thread Matthias Fuchs
>> This patch has been tested on a MX28EVK Rev. D with an installed >> SST25VF032B 32Mbit SPI flash. >> >> Signed-off-by: Matthias Fuchs >> --- >> board/freescale/mx28evk/iomux.c |8 +++ >> include/configs/mx28evk.h | 44 >>

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

2012-01-18 Thread Matthias Fuchs
controller). 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 --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 43 +-- arch/arm/cpu/arm926ejs/mx28/spl_boot.c

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

2012-01-18 Thread Matthias Fuchs
controller). 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 --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 43 +-- arch/arm/cpu/arm926ejs/mx28/spl_boot.c

[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 --- include/configs/mx28evk.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index be

[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 --- board/freescale/mx28evk/mx28evk.c |7 +++ include/configs/mx28evk.h | 12 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx28evk/mx28evk.c

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

2012-01-18 Thread Matthias Fuchs
SPI flash. Signed-off-by: Matthias Fuchs --- 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/freescale/mx28evk

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-St

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 > 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 thi

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 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 w

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 wrote: > >> Actually I meant this: > > One more time ;-) > > --- a/drivers/spi/mxs_spi.c > +++ b/drivers/spi/m

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

2012-01-14 Thread Matthias Fuchs
s on the M28EVK (Denx) also. You might want to turn SPI + spi_flash debugging to see it. Also I found a posting from 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

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

2012-01-14 Thread Matthias Fuchs
D flag set. 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 --- drivers/spi/mxs_spi.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/d

[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-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

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

2012-01-12 Thread Matthias Fuchs
MMC driver. This bug prevents you from loading files from a file system on an > SD-Card. > > Robert. > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > -- ---

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 wrote: >> Hi Fabio, >> >> thanks for your details. Some of the discrete switches where messed up. >> Boot Mode was fine. So now it's working fi

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

2012-01-12 Thread Matthias Fuchs
;S initial 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 > wrote: >> Hi Fabio, >> >> can you confirm that the current u-boot-imx tree runs fine >> on the M

[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 part

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 wrote: >>> ... >>> 18 files changed, 63874 insertions(+), 31942 deletions(-) V2: Align to 8 bytes per line. Cc: Anatolij Gustschin Cc: Stefano Babi

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 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 contains

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]); >>

[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 --- 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/xilinx_jtag/micro.c

[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 --- V2: rebased board/esd/pmc440/cmd_pmc440.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a

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

2011-11-24 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- 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/esd/cpci405/cpci405

[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 --- 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/dasa_sim/flash.c @@ -44,7

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

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

2011-10-13 Thread matthias . fuchs
From: Matthias Fuchs 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 --- board/esd/pmc440/pmc440.c |

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 > > Thanks. In this case a: > > Tested-by: ... > > would be even better. :) > Even both if you like :-) Matthias

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

2011-10-13 Thread matthias . fuchs
From: Matthias Fuchs 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. Signed-off-by

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

2011-10-13 Thread matthias . fuchs
From: 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 --- board/esd/pmc440/cmd_pmc440.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff

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
ple times, restrict > the function to wait only during its first call and to ignore > pcidelay for any further call (as pointed out by Matthias). > > Signed-off-by: Anatolij Gustschin > Cc: Matthias Fuchs > --- > Changes since first version: > - extend to wait only during

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

2011-10-12 Thread Matthias Fuchs
gt; - if (s) { > - int val = simple_strtoul (s, NULL, 10); > - for (i=0; i - udelay (1000); > - } > -#endif /* CONFIG_PCI_BOOTDELAY */ > - > hose_head = NULL; > > /* now call board specific pci_init()... */ -- -

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

2011-08-04 Thread Matthias Fuchs
x27;: No such file > > Configuring for TNY_A9G20 board... > In file included > from /home/reinhard/embedded/u-boot-atmel/include/asm/arch/gpio.h:18:0, > from at91sam9260_devices.c:29: > /home/reinhard/embedded/u-boot-atmel/include/asm/arch/at91_pio.h:91:19: >

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 lost.

  1   2   3   >