[PATCH 1/2] ramoops: allow to build without OFTREE support

2016-02-11 Thread Lucas Stach
Ramoops may be useful even without oftree support, as kernels booted without a DT may have other means to reserve the ramoops memory. Fixes: In function `ramoops_probe': undefined reference to `of_add_reserve_entry' Signed-off-by: Lucas Stach --- fs/pstore/ram.c | 3 ++-

[PATCH 2/2] ratp-console: select CRC16 and POLLER, depend on CONSOLE_FULL

2016-02-11 Thread Lucas Stach
RATP console selects RATP, which in turn selects CRC16, but those chains don't work in Kconfig, so select CRC16 also from the console option. Also fix build errors by depending on CONSOLE_FULL and selecting POLLER. Signed-off-by: Lucas Stach --- common/Kconfig | 3 +++

Re: [RFC] fs: add support for SquashFS

2016-02-11 Thread Sascha Hauer
Hi Yegor, This doesn't look too bad. Some things I noticed while looking at it and trying to compile it. On Thu, Feb 11, 2016 at 03:56:15PM +0100, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Signed-off-by: Yegor Yefremov

Re: [PATCH 1/2] linux/types.h: add sector_t and blkcnt_t types

2016-02-11 Thread Sascha Hauer
Hi Yegor, On Thu, Feb 11, 2016 at 03:53:03PM +0100, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Signed-off-by: Yegor Yefremov > --- > include/linux/types.h | 16 > 1 file changed, 16 insertions(+)

Re: [RFC] fs: add support for SquashFS

2016-02-11 Thread Sascha Hauer
On Fri, Feb 12, 2016 at 08:37:44AM +0100, Sascha Hauer wrote: > Hi Yegor, > > This doesn't look too bad. Some things I noticed while looking at it and > trying to compile it. And BTW an entry in Documentation/filesystems would be nice. Sascha -- Pengutronix e.K. |

[PATCH] scripts: make __init__.py nonempty

2016-02-11 Thread Sascha Hauer
Otherwise they get removed by make distclean. Signed-off-by: Sascha Hauer --- scripts/remote/__init__.py| 1 + scripts/serial/tools/__init__.py | 1 + scripts/serial/urlhandler/__init__.py | 1 + 3 files changed, 3 insertions(+) diff --git

[PATCH 1/2] linux/types.h: add sector_t and blkcnt_t types

2016-02-11 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- include/linux/types.h | 16 1 file changed, 16 insertions(+) diff --git a/include/linux/types.h b/include/linux/types.h index 9f8eb67..f64ec4a 100644 ---

[PATCH 2/2] linux/fs.h: add types and routines needed for SquashFS

2016-02-11 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- include/linux/fs.h | 27 +++ 1 file changed, 27 insertions(+) diff --git a/include/linux/fs.h b/include/linux/fs.h index 7e9886a..e11a602 100644 ---

[RFC] fs: add support for SquashFS

2016-02-11 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- fs/Kconfig| 1 + fs/Makefile | 1 + fs/squashfs/Kconfig | 31 +++ fs/squashfs/Makefile | 14 ++

[PATCH 1/2] blspec: Do not crash on config files without newline on last line

2016-02-11 Thread Sascha Hauer
When the last line in a config file has no newline then 'next' is NULL on the the loop iteration. Check that before derefencing 'next'. Signed-off-by: Sascha Hauer --- common/blspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/blspec.c

[PATCH 2/2] blspec: ignore lines beginning with '#'

2016-02-11 Thread Sascha Hauer
According to the bootloader spec these should be treated as comments. Signed-off-by: Sascha Hauer --- common/blspec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/blspec.c b/common/blspec.c index 0f806ca..1800556 100644 --- a/common/blspec.c +++

Re: [PATCH v4] Terasic DE0-Nano-SoC: add support

2016-02-11 Thread Tim Sander
Hi Am Montag, 1. Februar 2016, 11:08:10 schrieb Andrey Smirnov: ... > > diff --git a/arch/arm/boards/terasic-de0-nano-soc/board.c > > b/arch/arm/boards/terasic-de0-nano-soc/board.c new file mode 100644 > > index 000..22f8291 > > --- /dev/null > > +++

Re: [RFC] fs: add support for SquashFS

2016-02-11 Thread Yegor Yefremov
On Thu, Feb 11, 2016 at 3:56 PM, wrote: > From: Yegor Yefremov > > Signed-off-by: Yegor Yefremov This is a first attempt to add SqaushFS to Barebox. The port is still not fully functional, but it is possible

[PATCH 2/2] mtd: spi-nor: Add support for s25fl116k

2016-02-11 Thread Sascha Hauer
The Spansion s25fl116k is a 16MBit flash memory. Add the flash info entry for it. Signed-off-by: Sascha Hauer --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index

[PATCH 1/2] mtd: spi-nor: Match jedec,spi-nor

2016-02-11 Thread Sascha Hauer
It is recommended to use jedec,spi-nor instead of specifying the exact flash type (which is autodetected via Jedec ID anyway), so add the compatible entry to the driver. Signed-off-by: Sascha Hauer --- drivers/mtd/devices/m25p80.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH] bootm: Fix resource_size_t format specifier

2016-02-11 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- common/bootm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/bootm.c b/common/bootm.c index 79833e0..2306783 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -247,8 +247,8 @@ done: printf("\n");

Re: [PATCH 4/4] Documentation: networking: improve docs

2016-02-11 Thread Sascha Hauer
On Wed, Feb 10, 2016 at 11:15:06AM +0100, Steffen Trumtrar wrote: > On Wed, Feb 10, 2016 at 11:07:37AM +0100, Robert Schwebel wrote: > > Add the following improvements: > > > > - clarify commands vs. filesystems for network file transport protocols > > - Beautify links with prosa text instead of

Re: [PATCH 1/2] ramoops: allow to build without OFTREE support

2016-02-11 Thread Sascha Hauer
On Thu, Feb 11, 2016 at 10:33:55AM +0100, Lucas Stach wrote: > Ramoops may be useful even without oftree support, as kernels > booted without a DT may have other means to reserve the > ramoops memory. > > Fixes: > In function `ramoops_probe': > undefined reference to `of_add_reserve_entry' > >