Re: [PATCH] of: fix typos

2016-10-17 Thread Sascha Hauer
On Mon, Oct 17, 2016 at 02:57:58PM +0300, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > drivers/of/base.c | 2 +- > drivers/of/fdt.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks Sascha -- Pengutronix e.K.

Re: [PATCH v3 1/3] reset: import socfpga-reset driver from linux

2016-10-17 Thread Sascha Hauer
On Mon, Oct 17, 2016 at 09:50:50AM +0200, Steffen Trumtrar wrote: > Port the linux v4.8-rc1 reset-socfpga driver to barebox. > > Signed-off-by: Steffen Trumtrar > --- > drivers/reset/Makefile| 1 + > drivers/reset/reset-socfpga.c | 124 >

Re: Loading kernel issues

2016-10-17 Thread Sascha Hauer
Hi Javier, On Sun, Oct 16, 2016 at 11:06:15PM +0200, Javier Fileiv wrote: > Hi everyone, I've just flashed barebox on my Mini2440. I have 2 > questions/issues now > > 1) When trying to load the kernel from TFTP, everything is ok but when > it's trying to mount the rootfs something is not

[PATCH 2/4] cmdlinepart: add option to set DEVFS_PARTITION_IN_PT flag

2016-10-17 Thread Michael Grzeschik
With this option it is possible to flag cdev partitions, which will also be written to the partition table of its backing device. Signed-off-by: Michael Grzeschik --- include/cmdlinepart.h | 1 + lib/cmdlinepart.c | 3 +++ 2 files changed, 4 insertions(+) diff

[PATCH 0/4] Add support to modify mbr partition layout

2016-10-17 Thread Michael Grzeschik
This patchset adds the param dos_partitions to the mci device node. By setting this param with the standard cmdlinepart notation, it is possible to rewrite the MBR partition layout on runtime. Michael Grzeschik (4): partitions: add DEVFS_PARTITION_IN_PT flag cmdlinepart: add option to set

[PATCH 4/4] mci: add MBR write and read function to block devices

2016-10-17 Thread Michael Grzeschik
With this patch it is possible to write an mbr partition table to the mci block device. By setting the device property "dos_partitions" of the mmc device node, it is possible to write back the new partition layout in the common cmdlinepart notation. The property can also be read back.

[PATCH 1/4] partitions: add DEVFS_PARTITION_IN_PT flag

2016-10-17 Thread Michael Grzeschik
This flag is used to represent the current status of the partition. When it is set, the current partition layout is also available in the partition table of the device. We use it after the partition table was parsed. Signed-off-by: Michael Grzeschik ---

[PATCH 3/4] partitions/dos: add function to write partition table

2016-10-17 Thread Michael Grzeschik
The function can be used to write an partition layout to the block device based on its cdev layout. Only cdevs with flag DEVFS_PARTITION_IN_PT set get written. The function also adds an static offset of 0x20 to ensure the mbr and bootloader will not be overwritten. Signed-off-by: Michael

[PATCH] of: fix typos

2016-10-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/of/base.c | 2 +- drivers/of/fdt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 1e6c33d..767d4e1 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@

[PATCH v3 2/3] watchdog: add designware driver

2016-10-17 Thread Steffen Trumtrar
Port the linux v4.8-rc1 Synopsys DesignWare watchdog driver to barebox. Signed-off-by: Steffen Trumtrar --- drivers/watchdog/Kconfig | 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/dw_wdt.c | 193 ++ 3 files

[PATCH v3 3/3] ARM: socfpga: dtsi: add dw-wdt reset lines

2016-10-17 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- arch/arm/dts/socfpga.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi index d16758fdab46..66d7f21dc6a3 100644 --- a/arch/arm/dts/socfpga.dtsi +++

[PATCH v3 1/3] reset: import socfpga-reset driver from linux

2016-10-17 Thread Steffen Trumtrar
Port the linux v4.8-rc1 reset-socfpga driver to barebox. Signed-off-by: Steffen Trumtrar --- drivers/reset/Makefile| 1 + drivers/reset/reset-socfpga.c | 124 ++ 2 files changed, 125 insertions(+) create mode 100644

Re: [PATCH v2 2/3] watchdog: add designware driver

2016-10-17 Thread Steffen Trumtrar
On Fri, Oct 14, 2016 at 11:27:14AM +0200, Steffen Trumtrar wrote: > Port the linux v4.8-rc1 Synopsys DesignWare watchdog driver to barebox. > > Signed-off-by: Steffen Trumtrar > --- > Changes since v1: > - change usages of pr_warn in favor of dev_warn > >

[PATCH] ARM: i.MX Freescale Sabrelite: Use correct device tree for dl variant

2016-10-17 Thread Sascha Hauer
The i.MX6dl variant also uses the i.MX6q device tree which is wrong. Use the correct one. Signed-off-by: Sascha Hauer --- arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git