[PATCH 1/2] docs: mvebu can do 2nd stage booting

2017-06-02 Thread Uwe Kleine-König
Since commit 823d08e3e261 ("kwbimage_v1: add support to boot a mvebu image") barebox can use bootm to load a 2nd barebox image. Update the documentation accordingly. Signed-off-by: Uwe Kleine-König --- Documentation/boards/mvebu.rst | 4 ++-- 1 file

[PATCH 2/2] docs: move kwboot description to generic mvebu section

2017-06-02 Thread Uwe Kleine-König
Expand the generic part about kwboot to the mvebu page and advertise the parameter -n to make it simpler to boot some machines. Signed-off-by: Uwe Kleine-König --- Documentation/boards/mvebu.rst | 5 -

[PATCH] ratp: avoid using already freed memory

2017-06-02 Thread Aleksander Morgado
If ratp_establish() fails we would be accessing the ratp_internal struct after having disposed it. Signed-off-by: Aleksander Morgado --- lib/ratp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ratp.c b/lib/ratp.c index

[PATCH v2 3/3] ARM: i.MX6: add Technexion Pico Hobbit support

2017-06-02 Thread Michael Grzeschik
This adds support support for the i.MX6UL Technexion Pico Hobbit. The board comes with different amounts of RAM. We create one image for the 256MB and one for the 512MB variant. Signed-off-by: Michael Grzeschik --- v1 -> v2: - removed already prepared clock setup

[PATCH v2 1/3] ARM: i.MX: setup ENET_TX_CLK_DIR in imx6_init for every imx6ul

2017-06-02 Thread Michael Grzeschik
We generically enable the output of ENET_TX_CLK. It will be output if ENET_REF_CLK is selected. Signed-off-by: Michael Grzeschik --- arch/arm/mach-imx/imx6.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-imx/imx6.c

[PATCH v2 0/3] imx6ul: add Technexion Pico Hobbit support

2017-06-02 Thread Michael Grzeschik
This series adds support for the Technexion Pico Hobbit. It also prepares the TX_CLK_DIR pins for imx6ul platforms. This way it will not be needed in every imx6ul based board files. Michael Grzeschik (3): ARM: i.MX: setup ENET_TX_CLK_DIR in imx6_init for every imx6ul ARM: phytec-som-imx6:

[PATCH v2 2/3] ARM: phytec-som-imx6: remove needles enet refclk setup

2017-06-02 Thread Michael Grzeschik
All REF_CLK output setup now is generically prepared for imx6ul. The handling of the ENET_CLK_SEL (gpr[13]|gpr[14]) bits is not necessary, as 0 is their reset value. Signed-off-by: Michael Grzeschik --- arch/arm/boards/phytec-som-imx6/board.c | 23

[PATCH] sandbox: new --stdinout option to enable a bidirectional console

2017-06-02 Thread Aleksander Morgado
In addition to allowing read-only and write-only consoles with --stdin and --stdout, we now allow bidirectional read/write consoles with FIFO files. This is e.g. to allow doing RATP over the FIFO based consoles. Signed-off-by: Aleksander Morgado ---

[PATCH] fs: Makefile: Add parseopt to all builds

2017-06-02 Thread Daniel Schultz
parseopt.h was included to fs.c with commit 9248b, but parseopt.o has a dependency to CONFIG_FS_NFS. Moved parseopt.o to the default build to eliminate build failures. Signed-off-by: Daniel Schultz --- fs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH v3 2/4] arm: boards: phytec-som-am335x: Add automount script

2017-06-02 Thread Daniel Schultz
Hi, Am 17.05.2017 um 08:26 schrieb Sascha Hauer: On Fri, May 12, 2017 at 01:07:17PM +0200, Daniel Schultz wrote: Each MMC boot source is mounted to /mnt/mmcN.0. To make the not-mounted boot source available in Barebox, an automount script mounts this device also to /mnt/, if the directory will