[RFC TESTING] uncompress: update to lzo-2013 and add lz4

2013-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, For people intresting in testing the new lzo-2013 and lz4 on barebox pbl included please take a look here have fun The following changes since commit 8c3d39e624f2c3f513f1d63b8a6c5546414c3062: Merge branch 'for-next/vexpress' into next (2013-02-26 11:08:09

[PATCH] net: dhcp: fix typo

2013-02-27 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- net/dhcp.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dhcp.c b/net/dhcp.c index 768255e..8233ec3 100644 --- a/net/dhcp.c +++ b/net/dhcp.c @@ -829,8 +829,8 @@ BAREBOX_MAGICVAR_NAMED(global_hostname, global.hostname, "hostname to

Re: [PATCH 13/29] of: make flatten independent of libfdt

2013-02-27 Thread Alexander Aring
Hi Sascha, On Wed, Feb 27, 2013 at 09:40:16AM +0100, Sascha Hauer wrote: > On Tue, Feb 26, 2013 at 10:05:20PM +0100, Alexander Aring wrote: > > Hi Sascha, > > > > On Tue, Feb 26, 2013 at 09:18:40PM +0100, Sascha Hauer wrote: > > > Signed-off-by: Sascha Hauer > > > --- > > > common/oftree.c |

[PATCH] ARM: cfa10036: Remove the boot partition and boot from ext

2013-02-27 Thread Maxime Ripard
Support for ext filesystems has been introduced recently. We can now boot directly from our rootfs, loading the kernel and device tree images from /boot. Signed-off-by: Maxime Ripard --- arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 |6 +++--- arch/arm/configs/cfa10036_defconfig

[PATCH] mtd: always write page when oob is given

2013-02-27 Thread Sascha Hauer
Since recently we check for the page being written for not being empty and do not actually write it when it is. This fails for a freshly created flash bad block table when all blocks are good. In this case the bbt code will try to write an empty page, but with the BBT marker in OOB. This page never

Re: [PATCH 13/29] of: make flatten independent of libfdt

2013-02-27 Thread Sascha Hauer
On Tue, Feb 26, 2013 at 10:05:20PM +0100, Alexander Aring wrote: > Hi Sascha, > > On Tue, Feb 26, 2013 at 09:18:40PM +0100, Sascha Hauer wrote: > > Signed-off-by: Sascha Hauer > > --- > > common/oftree.c |8 ++- > > drivers/of/base.c | 180 > >

Re: [PATCHv2 0/2] cfa10036: Retrieve RAM size at runtime

2013-02-27 Thread Sascha Hauer
On Tue, Feb 26, 2013 at 05:55:40PM +0100, Maxime Ripard wrote: > Hi, > > This patch series makes the cfa10036 retrieve its ram size at runtime. > Since the get_ram_size function was not safe to use when running from RAM, > we had to introduce a first patch that makes the execution of this function

Re: [PATCH] log2: Fix declaration of __roundup_pow_of_two

2013-02-27 Thread Sascha Hauer
On Tue, Feb 26, 2013 at 05:51:13PM +0100, Maxime Ripard wrote: > The roundup_pow_of_two function is making use of __roundup_pow_of_two > when the call to __builtin_constant_p fails, which is not implemented in > barebox. > > Copied the code from Linux log2.h header. > > Signed-off-by: Maxime Ripa

Re: [PATCHv2 0/2] ARM: cfa10036: Store the barebox environment on the MMC

2013-02-27 Thread Sascha Hauer
On Tue, Feb 26, 2013 at 05:50:19PM +0100, Maxime Ripard wrote: > Hi, > > The cfa-10036 comes only with a SD slot, so there was previously no way to > store in a persistent way the environment we could have modified other than > by modifying the code source itself. > > These two patches register a