This fixes a regression, where boards specifying the environment
path using the form device-path = &phandle, "partname:part" would
be unable to find their env.
This is due to of_find_path() switching to cdev_by_device_node()
internally, which expects the device_node member of the main
area cdev to
Make sure to not run this board specific initcall on any
other board.
Signed-off-by: Lucas Stach
---
arch/arm/boards/ccxmx53/board.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boards/ccxmx53/board.c b/arch/arm/boards/ccxmx53/board.c
index 0031aed772e4..9d81cd80a373 100644
--
Hi Sascha,
I've just stumbled across a messed up commit that landed in barebox
master. It seems you squashed other unrelated commits into commit
e7a8519963fcb235a123dfe5e7dd59d6fb2eaf9e (ARM: mx6sx-sabresdb: set
proper hostname).
I know its against the master stability rules, but I think it would
On Mon, 7 Dec 2015 11:27:44 +0100
Sascha Hauer wrote:
> On Sun, Dec 06, 2015 at 05:50:51PM +0300, Antony Pavlov wrote:
> > On Fri, 4 Sep 2015 08:20:48 +0200
> > Sascha Hauer wrote:
> >
> > > On Fri, Aug 28, 2015 at 06:46:14PM +0300, Antony Pavlov wrote:
> > > > On Fri, 28 Aug 2015 08:34:32 +020
Hi,
On Tuesday 08 December 2015 13:35:52 Antony Pavlov wrote:
> On Tue, 8 Dec 2015 10:39:32 +0100
> Markus Pargmann wrote:
>
> > pstore is a persistent storage filesystem used for RAMOOPS. It is used
> > to store console logs, panics, ftrace and other information in case of a
> > crash/panic/oo
On Tue, 8 Dec 2015 10:39:32 +0100
Markus Pargmann wrote:
> pstore is a persistent storage filesystem used for RAMOOPS. It is used
> to store console logs, panics, ftrace and other information in case of a
> crash/panic/oops/reboot.
>
> pstore is implemented for barebox as a read-only filesystem
pstore is a persistent storage filesystem used for RAMOOPS. It is used
to store console logs, panics, ftrace and other information in case of a
crash/panic/oops/reboot.
pstore is implemented for barebox as a read-only filesystem at the
moment. It may be extended later on. The idea is to provide a
Signed-off-by: Markus Pargmann
---
include/stdio.h | 1 +
lib/vsprintf.c | 24
2 files changed, 25 insertions(+)
diff --git a/include/stdio.h b/include/stdio.h
index f1909117621d..d0817bd0715a 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -13,6 +13,7 @@ void s
There are functions or structs used that do need these.
Signed-off-by: Markus Pargmann
---
include/printk.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/printk.h b/include/printk.h
index a27ad514cfe1..822f64c61f7d 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -1,6 +1,
DIV_ROUND_UP is defined in include/linux/kernel.h. Use that instead.
Signed-off-by: Markus Pargmann
---
arch/arm/boards/karo-tx6x/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/karo-tx6x/board.c
b/arch/arm/boards/karo-tx6x/board.c
index 6d9dd9a505f0.
Signed-off-by: Markus Pargmann
---
include/linux/log2.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/include/linux/log2.h b/include/linux/log2.h
index d9913f06bd09..36519e3aa38b 100644
--- a/include/linux/log2.h
+++ b/include/linux/log2.h
@@ -63,6 +63,15 @@ unsigned long __roundup
reed solomon code is used by RAMOOPS to check and fix data stored in
volatile memory.
Signed-off-by: Markus Pargmann
---
Notes:
Changes in v2:
- Removed fine control over parts of the code. Reduced to one config symbol.
include/linux/rslib.h | 103 +++
lib/Kconfig
This helps to understand and find problems with the memory layout of
barebox. It adds another entry for the board data that barebox
allocated.
Signed-off-by: Markus Pargmann
---
arch/arm/cpu/start.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm/
The memory calculations used are all hardcoded into three different
files, start-pbl.c, uncompress.c and start.c. To make this more readable
and reliable, this patch gathers these information in barebox-arm.h with
static inline functions for the calculation of the memory offsets.
This patch also a
Hi,
This is v2 with some smaller fixes. Changes are described at the individual
patches.
Best Regards,
Markus
Markus Pargmann (9):
arm: boards: karo-tx6x remove definition of DIV_ROUND_UP
log2: Add missing __rounddown_pow_of_two()
printk: Add missing include/declaration
vsprintf: Add s
RAMOOPS is a driver that uses a reserved static memory region to store
the data from the last panic or boot. This helps to debug crashes at the
next boot while preserving the boot messages.
To guarantee a memory area that is not altered by barebox or the kernel,
this area is located at the end of
Signed-off-by: Sascha Hauer
---
drivers/misc/Kconfig | 5 ++
drivers/misc/Makefile | 1 +
drivers/misc/pt100.c | 145 ++
3 files changed, 151 insertions(+)
create mode 100644 drivers/misc/pt100.c
diff --git a/drivers/misc/Kconfig b/drivers/m
Signed-off-by: Sascha Hauer
---
drivers/misc/Kconfig | 5 +
drivers/misc/Makefile | 1 +
drivers/misc/lm75.c | 262 ++
3 files changed, 268 insertions(+)
create mode 100644 drivers/misc/lm75.c
diff --git a/drivers/misc/Kconfig b/drivers/mis
Signed-off-by: Sascha Hauer
---
drivers/misc/Kconfig | 5 +
drivers/misc/Makefile | 2 +
drivers/misc/mcp342x.c | 259 +
3 files changed, 266 insertions(+)
create mode 100644 drivers/misc/mcp342x.c
diff --git a/drivers/misc/Kconfig b/driver
This adds a poor copy of the Linux IIO framework.
Signed-off-by: Sascha Hauer
---
drivers/misc/Kconfig| 3 ++
drivers/misc/Makefile | 1 +
drivers/misc/iodevice.c | 109
include/iodevice.h | 33 +++
4 files changed, 146
The following is something like a mixture of Linux IIO and hwmon support
for the poor. I called it iodevice, but better names are appreciated.
A iodevice has multiple channels, each providing a value like for
example a temperature or a voltage. For each iodevice we provide device
parameters to acce
On Mon, 7 Dec 2015 11:27:44 +0100
Sascha Hauer wrote:
> On Sun, Dec 06, 2015 at 05:50:51PM +0300, Antony Pavlov wrote:
> > On Fri, 4 Sep 2015 08:20:48 +0200
> > Sascha Hauer wrote:
> >
> > > On Fri, Aug 28, 2015 at 06:46:14PM +0300, Antony Pavlov wrote:
> > > > On Fri, 28 Aug 2015 08:34:32 +020
22 matches
Mail list logo