Re: Make Chumby work again with its SD card

2013-04-23 Thread Sascha Hauer
On Tue, Apr 23, 2013 at 12:09:10PM +0200, Juergen Beisert wrote: > Due to a missing resource size the Chumby isn't able to work with its SD card > anymore. Instead it hangs forever. By using the generic block reset routine I > was able to discover the cause. The following two patches makes the Chum

Re: [PATCH] defaultenv-2: init: display prompt after running /env/init/*

2013-04-23 Thread Sascha Hauer
On Wed, Apr 17, 2013 at 07:14:12PM +0200, Jan Luebbe wrote: > This allows init scripts to print messages to the console without messing > up the timeout prompt. > > Signed-off-by: Jan Luebbe Applied, thanks Sascha > --- > defaultenv-2/base/bin/init | 12 ++-- > 1 file changed, 6 ins

Re: [PATCHv2] commands/digest: add verify support

2013-04-23 Thread Sascha Hauer
On Tue, Apr 23, 2013 at 11:24:45AM +0200, Hubert Feurstein wrote: > Signed-off-by: Hubert Feurstein > --- > Changes: > v2: > - updated according to comments from Sascha > - add support for verify against hash-file > > commands/digest.c | 141 >

Re: [PATCH] Added sd driver for bcm2835 (Raspberry PI)

2013-04-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:41 Tue 23 Apr , wilhelm wrote: > --- > arch/arm/mach-bcm2835/core.c | 1 + > drivers/mci/Kconfig | 5 + > drivers/mci/Makefile | 1 + > drivers/mci/mci-bcm2835.c| 551 > +++ > drivers/mci/mci-bcm2835.h| 126 +

[PATCH] Added sd driver for bcm2835 (Raspberry PI)

2013-04-23 Thread wilhelm
--- arch/arm/mach-bcm2835/core.c | 1 + drivers/mci/Kconfig | 5 + drivers/mci/Makefile | 1 + drivers/mci/mci-bcm2835.c| 551 +++ drivers/mci/mci-bcm2835.h| 126 ++ 5 files changed, 684 insertions(+) create mode 10064

[PATCH 1/2] MXS/Chumby: fix MCI device registration

2013-04-23 Thread Juergen Beisert
Due to some changes in the framework a resource size of zero does not map anything at all and it does it silently. Defining the resource size for the MCI interface make it work again on the Chumby. Signed-off-by: Juergen Beisert --- arch/arm/boards/chumby_falconwing/falconwing.c | 2 +- 1 file

[PATCH 2/2] MXS/MCI: simplify reset of the MCI device block

2013-04-23 Thread Juergen Beisert
Since a generic block reset function is a available, also the MCI driver should make use of it. Signed-off-by: Juergen Beisert --- drivers/mci/mxs.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c index 3657b3e..93f5a41 10

Make Chumby work again with its SD card

2013-04-23 Thread Juergen Beisert
Due to a missing resource size the Chumby isn't able to work with its SD card anymore. Instead it hangs forever. By using the generic block reset routine I was able to discover the cause. The following two patches makes the Chumby work again. At least the resource size patch should be applied to th

[PATCHv2] commands/digest: add verify support

2013-04-23 Thread Hubert Feurstein
Signed-off-by: Hubert Feurstein --- Changes: v2: - updated according to comments from Sascha - add support for verify against hash-file commands/digest.c | 141 ++ 1 file changed, 131 insertions(+), 10 deletions(-) diff --git a/comm

[PATCH 2/4] pinctrl: switch i.MX iomux-v3 support to pinctrl

2013-04-23 Thread Sascha Hauer
This switches the iomux-v3 (found on i.MX25,35,51,53,6) to pinctrl support. The old SoC specific API is kept for compatibility. The pinctrl devicetree support is enabled automatically when OFDEVICE support is available. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/Kconfig | 5 + arch

[PATCH 4/4] pinctrl: move imx-iomux-v1 to drivers/pinctrl/

2013-04-23 Thread Sascha Hauer
For consistency reasons. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/Kconfig | 3 +++ arch/arm/mach-imx/Makefile | 6 +++--- drivers/pinctrl/Kconfig| 5 + drivers/pinctrl/Ma

[PATCH 1/4] Add initial pinctrl support

2013-04-23 Thread Sascha Hauer
This is a massively stripped down pinctrl support. The upper API consists of only of: int pinctrl_select_state(struct device_d *dev, const char *state); This is used to setup the pinmux for a device to a certain state. This function normally does not need to be called manually. The device core wi

[PATCH 3/4] pinctrl: move imx-iomux-v2 to drivers/pinctrl/

2013-04-23 Thread Sascha Hauer
For consistency reasons. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/Kconfig | 1 + arch/arm/mach-imx/Makefile | 2 +- drivers/pinctrl/Kconfig| 5 + drivers/pinctrl/Makefile

[PATCH] pinctrl support

2013-04-23 Thread Sascha Hauer
This adds some initial pinctrl support. I don't want to go the way of adding full fledged pinctrl support, but still we will need some instance which parses the devicetree for pinctrl setup. The following does not parse the pinctrl devicetree setup into internal data structures, but instead only ca