Re: Secure barebox

2015-06-01 Thread Moritz Warning
Oh, anyway; what happens when the timeout is 0. How can you access the barebox again? On 06/01/2015 02:12 PM, Moritz Warning wrote: Thanks for the information! On 06/01/2015 02:06 PM, Sascha Hauer wrote: Hi Moritz, On Mon, Jun 01, 2015 at 11:34:23AM +0200, Moritz Warning wrote: Hi, I like

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-06-01 Thread Andrey Smirnov
How about testing only a small fragment of DRAM, say 8MB, in your lowlevel board code and calling barebox_arm_entry() with the membase/memsize you previously tested? This way you can make sure that barebox only uses tested memory without having to test all memory before calling

Re: Clocks on Barebox

2015-06-01 Thread Sascha Hauer
Hi Andreas, On Mon, Jun 01, 2015 at 10:12:55AM +0200, andreas.wil...@rafi.de wrote: Hi all i just updated from 2014 to latest Barebox and hit the following problem: of_clk_init from clk.c:451 does not find any entries. matches is set to __clk_of_table start where compatible=0 and data=0,

Re: Secure barebox

2015-06-01 Thread Moritz Warning
Thanks for the information! On 06/01/2015 02:06 PM, Sascha Hauer wrote: Hi Moritz, On Mon, Jun 01, 2015 at 11:34:23AM +0200, Moritz Warning wrote: Hi, I like to secure access to barebox using a password. passwd seems to be the right command, but setting a password does not seem to have any

[PATCH] ARM: imx6: correct Hipercam ECSPI1 pinmux

2015-06-01 Thread Lucas Stach
From: Lucas Stach l.st...@pengutronix.de Correct the pinmux configuration for the chip-select GPIOs. This fixes detection of the first SPI NOR-flash after barebox itself got loaded from there. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/dts/imx6dl-eltec-hipercam.dts | 4 ++--

Re: Secure barebox

2015-06-01 Thread Sascha Hauer
Hi Moritz, On Mon, Jun 01, 2015 at 11:34:23AM +0200, Moritz Warning wrote: Hi, I like to secure access to barebox using a password. passwd seems to be the right command, but setting a password does not seem to have any effect. After a reset, access to barebox is not limited as far as I

Re: [PATCH] gpio-davinci: gpio get should return 0 or 1

2015-06-01 Thread Sascha Hauer
On Sat, May 30, 2015 at 02:57:49PM +0200, Jan Luebbe wrote: Returning other values causes problems for client code which wants to perform calculations with the returned value. Signed-off-by: Jan Luebbe jlue...@debian.org --- drivers/gpio/gpio-davinci.c | 2 +- 1 file changed, 1

Re: [PATCH] watchdog: add davinci watchdog driver

2015-06-01 Thread Sascha Hauer
On Sat, May 30, 2015 at 03:03:41PM +0200, Jan Luebbe wrote: This driver is based on the Linux driver (v4.0). Signed-off-by: Jan Luebbe jlue...@debian.org --- drivers/watchdog/Kconfig | 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/davinci_wdt.c | 172

[PATCH] ARM: imx6: hipercam: set default hostname in boardfile

2015-06-01 Thread Lucas Stach
Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/boards/eltec-hipercam/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boards/eltec-hipercam/board.c b/arch/arm/boards/eltec-hipercam/board.c index 7486747..04ad253 100644 ---

Clocks on Barebox

2015-06-01 Thread andreas . willig
Hi all i just updated from 2014 to latest Barebox and hit the following problem: of_clk_init from clk.c:451 does not find any entries. matches is set to __clk_of_table start where compatible=0 and data=0, but from my thoughts the dt is ok on this point: { ... clocks { #address-cells = 0x1;

Secure barebox

2015-06-01 Thread Moritz Warning
Hi, I like to secure access to barebox using a password. passwd seems to be the right command, but setting a password does not seem to have any effect. After a reset, access to barebox is not limited as far as I can tell. Any ideas? regards, mwarning

Re: Clocks on Barebox

2015-06-01 Thread andreas . willig
Hi Sascha, I'm currently on the next branch, but i did not see changes at this point since master or stable release. Like issued earlier the clock table enumeration is empty. Is there a specific compatible attribute required? Mit freundlichen Grüßen aus Berg/ With kind regards i.A. Andreas