Skip to contentSkip to conversation

Load PBL into SRAM

PATCH In review David Vincent 3 participants 14 messages Jan 31, 2014 – Feb 20, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Load PBL into SRAM

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +2 -2
index 0954c89..34c0cb3 100644
@@ -50,11 +50,11 @@ SECTIONS
 		*(.text*)
 	}
 
+	BAREBOX_PBL_SIZE
+
 	/* Discard unwind if enable in barebox */
 	/DISCARD/ : { *(.ARM.ex*) }
 
-	BAREBOX_BARE_INIT_SIZE
-
 	. = ALIGN(4);
 	.rodata : { *(.rodata*) }
 
common/Kconfig +14 -2
index 8af7ec1..e067127 100644
@@ -145,13 +145,25 @@ config BAREBOX_MAX_IMAGE_SIZE
 	help
 	  Define the maximum size of barebox
 
+config BAREBOX_MAX_PBL_SIZE
+	depends on PBL_IMAGE && LOAD_PBL_SRAM
+	prompt "Maximum pre-bootloader size"
+	hex
+	default 0xffffffff
+	help
+	  Define the maximum size of pbl
+	  this will allow your pbl to fit in SRAM as example
+	  ARCH can overwrite it via ARCH_BAREBOX_MAX_PBL_SIZE
+
 config BAREBOX_MAX_BARE_INIT_SIZE
-	prompt "Maximum bare_init size"
+	prompt "Maximum bare_init size" if !LOAD_PBL_SRAM
 	hex
+	range 0x0 BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
+	default BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
 	default 0xffffffff
 	help
 	  Define the maximum size of bare_init
-	  this will allow your bare_init will fit in SRAM as example
+	  this will allow your bare_init to fit in SRAM as example
 	  ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE
 
 config HAVE_CONFIGURABLE_MEMORY_LAYOUT
include/asm-generic/barebox.lds.h +13 -1
index 6d3a69e..10b0885 100644
@@ -60,10 +60,22 @@ CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE < CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #define MAX_BARE_INIT_SIZE CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #endif
 
+#if defined(CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE) && \
+CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE < CONFIG_BAREBOX_MAX_PBL_SIZE
+#define MAX_PBL_SIZE CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE
+#else
+#define MAX_PBL_SIZE CONFIG_BAREBOX_MAX_PBL_SIZE
+#endif
+
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE					\
 	_barebox_bare_init_size = __bare_init_end - _text;	\
 	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
-	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))
 
+#define BAREBOX_PBL_SIZE					\
+	_barebox_pbl_size = __bss_start - _text;		\
+	ASSERT(MAX_BARE_INIT_SIZE <= MAX_PBL_SIZE, "bare_init cannot be bigger than pbl") \
+	ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, "Barebox pbl size > ") \
+	ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, __stringify(MAX_PBL_SIZE))
pbl/Kconfig +7 -0
index dc31357..1edc2d1 100644
@@ -34,6 +34,13 @@ config PBL_FORCE_PIGGYDATA_COPY
 
 if PBL_IMAGE
 
+config LOAD_PBL_SRAM
+	bool "Load pbl in SRAM"
+	help
+	  Load the whole content of the pbl binary into SRAM. This is useful if you
+	  use the pbl as a first stage bootloader but cannot load the whole binary
+	  at the same time.
+
 config PBL_RELOCATABLE
 	depends on ARM
 	bool "relocatable pbl image"
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 4 lines · David Vincent

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

Just to make sure I understand this correctly: The patch does not make a code change, all it does is to check that the binary does not get too big, right?

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 156

Quoted 9 lines
common/Kconfig +9 -0
+config BAREBOX_MAX_PBL_SIZE
+	depends on PBL_IMAGE && LOAD_PBL_SRAM
+	prompt "Maximum pre-bootloader size"
+	hex
+	default 0xffffffff
+	help
+	  Define the maximum size of pbl
+	  this will allow your pbl to fit in SRAM as example
+	  ARCH can overwrite it via ARCH_BAREBOX_MAX_PBL_SIZE

I stumble upon this 'allow', maybe better something like:

On some hardware the ROM code can load the pbl into SRAM, but not the whole image. This option specifies how big the pbl may get.

What do you think?

Sascha

Quoted 71 lines
common/Kconfig +6 -2
+
+
 config BAREBOX_MAX_BARE_INIT_SIZE
-	prompt "Maximum bare_init size"
+	prompt "Maximum bare_init size" if !LOAD_PBL_SRAM
 	hex
+	range 0x0 BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
+	default BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
 	default 0xffffffff
 	help
 	  Define the maximum size of bare_init
-	  this will allow your bare_init will fit in SRAM as example
+	  this will allow your bare_init to fit in SRAM as example
 	  ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE
 
 config HAVE_CONFIGURABLE_MEMORY_LAYOUT
include/asm-generic/barebox.lds.h +13 -1
index 6d3a69e..10b0885 100644
@@ -60,10 +60,22 @@ CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE < CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #define MAX_BARE_INIT_SIZE CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #endif
 
+#if defined(CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE) && \
+CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE < CONFIG_BAREBOX_MAX_PBL_SIZE
+#define MAX_PBL_SIZE CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE
+#else
+#define MAX_PBL_SIZE CONFIG_BAREBOX_MAX_PBL_SIZE
+#endif
+
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE					\
 	_barebox_bare_init_size = __bare_init_end - _text;	\
 	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
-	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))
 
+#define BAREBOX_PBL_SIZE					\
+	_barebox_pbl_size = __bss_start - _text;		\
+	ASSERT(MAX_BARE_INIT_SIZE <= MAX_PBL_SIZE, "bare_init cannot be bigger than pbl") \
+	ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, "Barebox pbl size > ") \
+	ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, __stringify(MAX_PBL_SIZE))
pbl/Kconfig +7 -0
index dc31357..1edc2d1 100644
@@ -34,6 +34,13 @@ config PBL_FORCE_PIGGYDATA_COPY
 
 if PBL_IMAGE
 
+config LOAD_PBL_SRAM
+	bool "Load pbl in SRAM"
+	help
+	  Load the whole content of the pbl binary into SRAM. This is useful if you
+	  use the pbl as a first stage bootloader but cannot load the whole binary
+	  at the same time.
+
 config PBL_RELOCATABLE
 	depends on ARM
 	bool "relocatable pbl image"
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw

PATCH 1/1 Load PBL into SRAM

In reply to a message not in the archive

2014-02-03 Sascha Hauer <[email protected]>:

Quoted 9 lines · David Vincent
Quoted 4 lines

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

Just to make sure I understand this correctly: The patch does not make a code change, all it does is to check that the binary does not get too big, right?

Exactly, just like BAREBOX_MAX_BARE_INIT_SIZE but for the whole prebootlader code (lowlevel + uncompressor + caches (?) + etc...) not just functions marked as __bare_init.

Quoted 11 lines

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 156

Quoted 10 lines
common/Kconfig +9 -0
+config BAREBOX_MAX_PBL_SIZE
+     depends on PBL_IMAGE && LOAD_PBL_SRAM
+     prompt "Maximum pre-bootloader size"
+     hex
+     default 0xffffffff
+     help
+       Define the maximum size of pbl
+       this will allow your pbl to fit in SRAM as example
+       ARCH can overwrite it via ARCH_BAREBOX_MAX_PBL_SIZE
Quoted 4 lines

I stumble upon this 'allow', maybe better something like:

On some hardware the ROM code can load the pbl into SRAM, but not the whole image. This option specifies how big the pbl may get.

I copied the definition from BAREBOX_MAX_BARE_INIT_SIZE as it shares the same goal, but if you find it clearer that way, I can resubmit the patch with that definition, it is up to you !

Quoted 5 lines

What do you think?

Sascha

David

Quoted 75 lines
Quoted 68 lines
common/Kconfig +6 -2
+
+
 config BAREBOX_MAX_BARE_INIT_SIZE
-     prompt "Maximum bare_init size"
+     prompt "Maximum bare_init size" if !LOAD_PBL_SRAM
      hex
+     range 0x0 BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
+     default BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
      default 0xffffffff
      help
        Define the maximum size of bare_init
-       this will allow your bare_init will fit in SRAM as example
+       this will allow your bare_init to fit in SRAM as example
        ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE
 
 config HAVE_CONFIGURABLE_MEMORY_LAYOUT
include/asm-generic/barebox.lds.h +13 -1
index 6d3a69e..10b0885 100644
@@ -60,10 +60,22 @@ CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE < CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #define MAX_BARE_INIT_SIZE CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #endif
 
+#if defined(CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE) && \
+CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE < CONFIG_BAREBOX_MAX_PBL_SIZE
+#define MAX_PBL_SIZE CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE
+#else
+#define MAX_PBL_SIZE CONFIG_BAREBOX_MAX_PBL_SIZE
+#endif
+
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE                                       \
      _barebox_bare_init_size = __bare_init_end - _text;      \
      ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
-     ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+     ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))
 
+#define BAREBOX_PBL_SIZE                                     \
+     _barebox_pbl_size = __bss_start - _text;                \
+     ASSERT(MAX_BARE_INIT_SIZE <= MAX_PBL_SIZE, "bare_init cannot be bigger than pbl") \
+     ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, "Barebox pbl size > ") \
+     ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, __stringify(MAX_PBL_SIZE))
pbl/Kconfig +7 -1
index dc31357..1edc2d1 100644
@@ -34,6 +34,13 @@ config PBL_FORCE_PIGGYDATA_COPY
 
 if PBL_IMAGE
 
+config LOAD_PBL_SRAM
+     bool "Load pbl in SRAM"
+     help
+       Load the whole content of the pbl binary into SRAM. This is useful if you
+       use the pbl as a first stage bootloader but cannot load the whole binary
+       at the same time.
+
 config PBL_RELOCATABLE
      depends on ARM
      bool "relocatable pbl image"
--

1.7.10.4

Quoted 5 lines

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

--

Quoted 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#6 lore raw
In reply to David Vincent
Quoted 18 lines · David Vincent

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +0 -0
index 0954c89..34c0cb3 100644

arch/arm/lib/pbl.lds.S SECTIONS · line 57

Quoted 10 lines
arch/arm/lib/pbl.lds.S +2 -2
@@ -50,11 +50,11 @@ SECTIONS
 		*(.text*)
 	}
 
+	BAREBOX_PBL_SIZE
+
 	/* Discard unwind if enable in barebox */
 	/DISCARD/ : { *(.ARM.ex*) }
 
-	BAREBOX_BARE_INIT_SIZE
-

nack you change the binary format you can add an information but can not change the format

Quoted 14 lines
arch/arm/lib/pbl.lds.S +0 -0
 	. = ALIGN(4);
 	.rodata : { *(.rodata*) }
 
common/Kconfig +3 -0
index 8af7ec1..e067127 100644
@@ -145,13 +145,25 @@ config BAREBOX_MAX_IMAGE_SIZE
 	help
 	  Define the maximum size of barebox
 
+config BAREBOX_MAX_PBL_SIZE
+	depends on PBL_IMAGE && LOAD_PBL_SRAM
+	prompt "Maximum pre-bootloader size"

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 159

Quoted 10 lines
common/Kconfig +8 -1
+	hex
+	default 0xffffffff
+	help
+	  Define the maximum size of pbl
+	  this will allow your pbl to fit in SRAM as example
+	  ARCH can overwrite it via ARCH_BAREBOX_MAX_PBL_SIZE
+
 config BAREBOX_MAX_BARE_INIT_SIZE
-	prompt "Maximum bare_init size"
+	prompt "Maximum bare_init size" if !LOAD_PBL_SRAM

you can set it in all case

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 166

Quoted 8 lines
common/Kconfig +3 -1
 	hex
+	range 0x0 BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
+	default BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
 	default 0xffffffff
 	help
 	  Define the maximum size of bare_init
-	  this will allow your bare_init will fit in SRAM as example
+	  this will allow your bare_init to fit in SRAM as example

different patch

Quoted 15 lines
common/Kconfig +0 -0
 	  ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE
 
 config HAVE_CONFIGURABLE_MEMORY_LAYOUT
include/asm-generic/barebox.lds.h +4 -0
index 6d3a69e..10b0885 100644
@@ -60,10 +60,22 @@ CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE < CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #define MAX_BARE_INIT_SIZE CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #endif
 
+#if defined(CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE) && \
+CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE < CONFIG_BAREBOX_MAX_PBL_SIZE
+#define MAX_PBL_SIZE CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE
+#else

include/asm-generic/barebox.lds.h CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE < CONFIG_BAREBOX_MAX_BARE_INIT_SIZE · line 75

Quoted 10 lines
include/asm-generic/barebox.lds.h +4 -1
+#define MAX_PBL_SIZE CONFIG_BAREBOX_MAX_PBL_SIZE
+#endif
+
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE					\
 	_barebox_bare_init_size = __bare_init_end - _text;	\
 	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
-	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))

different patch

Quoted 32 lines
include/asm-generic/barebox.lds.h +5 -0
+#define BAREBOX_PBL_SIZE					\
+	_barebox_pbl_size = __bss_start - _text;		\
+	ASSERT(MAX_BARE_INIT_SIZE <= MAX_PBL_SIZE, "bare_init cannot be bigger than pbl") \
+	ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, "Barebox pbl size > ") \
+	ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, __stringify(MAX_PBL_SIZE))
pbl/Kconfig +7 -0
index dc31357..1edc2d1 100644
@@ -34,6 +34,13 @@ config PBL_FORCE_PIGGYDATA_COPY
 
 if PBL_IMAGE
 
+config LOAD_PBL_SRAM
+	bool "Load pbl in SRAM"
+	help
+	  Load the whole content of the pbl binary into SRAM. This is useful if you
+	  use the pbl as a first stage bootloader but cannot load the whole binary
+	  at the same time.
+
 config PBL_RELOCATABLE
 	depends on ARM
 	bool "relocatable pbl image"
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#7 lore raw
Quoted 27 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 26 lines · David Vincent

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +2 -0
index 0954c89..34c0cb3 100644
@@ -50,11 +50,11 @@ SECTIONS
 		*(.text*)
 	}
 
+	BAREBOX_PBL_SIZE
+
 	/* Discard unwind if enable in barebox */
 	/DISCARD/ : { *(.ARM.ex*) }
 
Quoted 5 lines

arch/arm/lib/pbl.lds.S SECTIONS · line 57

Quoted 2 lines
arch/arm/lib/pbl.lds.S +0 -2
-	BAREBOX_BARE_INIT_SIZE
-

nack you change the binary format you can add an information but can not change the format

I don't think the format is changed here. It shouldn't matter where the /DISCARD/ is, right? Nevertheless the patch looks more obvious if just the line is changed, not its position.

Quoted 8 lines

arch/arm/lib/pbl.lds.S

Quoted 7 lines
arch/arm/lib/pbl.lds.S +0 -0
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE					\
arch/arm/lib/pbl.lds.S +1 -1
 	_barebox_bare_init_size = __bare_init_end - _text;	\
 	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
-	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+	ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))

different patch

This just removes the trailing '\' which is necessary here.

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#8 lore raw
Quoted 34 lines · Sascha Hauer
Quoted 27 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 26 lines · David Vincent

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +2 -0
index 0954c89..34c0cb3 100644
@@ -50,11 +50,11 @@ SECTIONS
 		*(.text*)
 	}
 
+	BAREBOX_PBL_SIZE
+
 	/* Discard unwind if enable in barebox */
 	/DISCARD/ : { *(.ARM.ex*) }
 
Quoted 5 lines

arch/arm/lib/pbl.lds.S SECTIONS · line 57

Quoted 2 lines
arch/arm/lib/pbl.lds.S +0 -2
-	BAREBOX_BARE_INIT_SIZE
-

nack you change the binary format you can add an information but can not change the format

Quoted 3 lines

I don't think the format is changed here. It shouldn't matter where the /DISCARD/ is, right? Nevertheless the patch looks more obvious if just the line is changed, not its position.

Sorry, I misread the patch. My thought was that BAREBOX_PBL_SIZE replaces (and includes) BAREBOX_BARE_INIT_SIZE, but this is not the case. So you are right, BAREBOX_BARE_INIT_SIZE should not be removed here.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#4 lore raw
In reply to David Vincent
Quoted 30 lines · David Vincent

2014-02-03 Sascha Hauer <[email protected]>:

Quoted 9 lines · David Vincent
Quoted 4 lines

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

Just to make sure I understand this correctly: The patch does not make a code change, all it does is to check that the binary does not get too big, right?

Exactly, just like BAREBOX_MAX_BARE_INIT_SIZE but for the whole prebootlader code (lowlevel + uncompressor + caches (?) + etc...) not just functions marked as __bare_init.

Quoted 13 lines

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 156

Quoted 10 lines
common/Kconfig +9 -0
+config BAREBOX_MAX_PBL_SIZE
+     depends on PBL_IMAGE && LOAD_PBL_SRAM
+     prompt "Maximum pre-bootloader size"
+     hex
+     default 0xffffffff
+     help
+       Define the maximum size of pbl
+       this will allow your pbl to fit in SRAM as example
+       ARCH can overwrite it via ARCH_BAREBOX_MAX_PBL_SIZE

I stumble upon this 'allow', maybe better something like:

Quoted 7 lines
Quoted 2 lines

On some hardware the ROM code can load the pbl into SRAM, but not the whole image. This option specifies how big the pbl may get.

I copied the definition from BAREBOX_MAX_BARE_INIT_SIZE as it shares the same goal, but if you find it clearer that way, I can resubmit the patch with that definition, it is up to you !

Yes, I think it's clearer and we should use the definition.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#9 lore raw
In reply to Sascha Hauer

2014-02-04 Sascha Hauer <[email protected]>:

Quoted 45 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 27 lines · David Vincent
Quoted 26 lines

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +2 -0
index 0954c89..34c0cb3 100644
@@ -50,11 +50,11 @@ SECTIONS
            *(.text*)
    }
 
+   BAREBOX_PBL_SIZE
+
    /* Discard unwind if enable in barebox */
    /DISCARD/ : { *(.ARM.ex*) }
 
Quoted 5 lines

arch/arm/lib/pbl.lds.S SECTIONS · line 57

Quoted 2 lines
arch/arm/lib/pbl.lds.S +0 -2
-   BAREBOX_BARE_INIT_SIZE
-

nack you change the binary format you can add an information but can not change the format

I don't think the format is changed here. It shouldn't matter where the /DISCARD/ is, right? Nevertheless the patch looks more obvious if just the line is changed, not its position.

Quoted 7 lines
Quoted 7 lines
arch/arm/lib/pbl.lds.S +0 -0
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE                                     \
    _barebox_bare_init_size = __bare_init_end - _text;      \
    ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
arch/arm/lib/pbl.lds.S +1 -1
-   ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+   ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))
Quoted 3 lines
Quoted 1 line

different patch

This just removes the trailing '\' which is necessary here.

It isn't obvious for me why the trailing '\' is necessary but you know better than me so I will put it back and add one on the next definition.

Quoted 6 lines

--

Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#5 lore raw
In reply to Sascha Hauer

2014-02-04 Sascha Hauer <[email protected]>:

Quoted 35 lines · David Vincent
Quoted 34 lines

2014-02-03 Sascha Hauer <[email protected]>:

Quoted 9 lines · David Vincent
Quoted 4 lines

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

Just to make sure I understand this correctly: The patch does not make a code change, all it does is to check that the binary does not get too big, right?

Exactly, just like BAREBOX_MAX_BARE_INIT_SIZE but for the whole prebootlader code (lowlevel + uncompressor + caches (?) + etc...) not just functions marked as __bare_init.

Quoted 15 lines

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 156

Quoted 10 lines
common/Kconfig +9 -0
+config BAREBOX_MAX_PBL_SIZE
+     depends on PBL_IMAGE && LOAD_PBL_SRAM
+     prompt "Maximum pre-bootloader size"
+     hex
+     default 0xffffffff
+     help
+       Define the maximum size of pbl
+       this will allow your pbl to fit in SRAM as example
+       ARCH can overwrite it via ARCH_BAREBOX_MAX_PBL_SIZE

I stumble upon this 'allow', maybe better something like:

On some hardware the ROM code can load the pbl into SRAM, but not the whole image. This option specifies how big the pbl may get.

Quoted 5 lines
Quoted 3 lines

I copied the definition from BAREBOX_MAX_BARE_INIT_SIZE as it shares the same goal, but if you find it clearer that way, I can resubmit the patch with that definition, it is up to you !

Yes, I think it's clearer and we should use the definition.

Done

Quoted 9 lines

Sascha

--

Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#14 lore raw
In reply to Jean-Christophe PLAGNIOL-VILLARD

2014-02-04 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>:

Quoted 27 lines · David Vincent
Quoted 26 lines

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +2 -0
index 0954c89..34c0cb3 100644
@@ -50,11 +50,11 @@ SECTIONS
              *(.text*)
      }
 
+     BAREBOX_PBL_SIZE
+
      /* Discard unwind if enable in barebox */
      /DISCARD/ : { *(.ARM.ex*) }
 
Quoted 5 lines

arch/arm/lib/pbl.lds.S SECTIONS · line 57

Quoted 2 lines
arch/arm/lib/pbl.lds.S +0 -2
-     BAREBOX_BARE_INIT_SIZE
-

nack you change the binary format you can add an information but can not change the format

My mistake for the /DISCARD/, I will change it in the next submit and put back the information about BARE_INIT_SIZE

Quoted 11 lines
Quoted 11 lines
arch/arm/lib/pbl.lds.S +0 -0
      . = ALIGN(4);
      .rodata : { *(.rodata*) }
 
common/Kconfig +0 -0
index 8af7ec1..e067127 100644
@@ -145,13 +145,25 @@ config BAREBOX_MAX_IMAGE_SIZE
      help
        Define the maximum size of barebox
 
Quoted 14 lines

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 159

Quoted 13 lines
common/Kconfig +11 -1
+config BAREBOX_MAX_PBL_SIZE
+     depends on PBL_IMAGE && LOAD_PBL_SRAM
+     prompt "Maximum pre-bootloader size"
+     hex
+     default 0xffffffff
+     help
+       Define the maximum size of pbl
+       this will allow your pbl to fit in SRAM as example
+       ARCH can overwrite it via ARCH_BAREBOX_MAX_PBL_SIZE
+
 config BAREBOX_MAX_BARE_INIT_SIZE
-     prompt "Maximum bare_init size"
+     prompt "Maximum bare_init size" if !LOAD_PBL_SRAM

you can set it in all case

BARE_INIT is included in PBL, but, alright, removing the condition doesn't hurt.

Quoted 9 lines

common/Kconfig config BAREBOX_MAX_IMAGE_SIZE · line 166

Quoted 8 lines
common/Kconfig +3 -1
      hex
+     range 0x0 BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
+     default BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
      default 0xffffffff
      help
        Define the maximum size of bare_init
-       this will allow your bare_init will fit in SRAM as example
+       this will allow your bare_init to fit in SRAM as example

different patch

Yes, my first submission was wrong.

Quoted 54 lines
Quoted 15 lines
common/Kconfig +0 -0
        ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE
 
 config HAVE_CONFIGURABLE_MEMORY_LAYOUT
include/asm-generic/barebox.lds.h +4 -0
index 6d3a69e..10b0885 100644
@@ -60,10 +60,22 @@ CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE < CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #define MAX_BARE_INIT_SIZE CONFIG_BAREBOX_MAX_BARE_INIT_SIZE
 #endif
 
+#if defined(CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE) && \
+CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE < CONFIG_BAREBOX_MAX_PBL_SIZE
+#define MAX_PBL_SIZE CONFIG_ARCH_BAREBOX_MAX_PBL_SIZE
+#else

include/asm-generic/barebox.lds.h CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE < CONFIG_BAREBOX_MAX_BARE_INIT_SIZE · line 75

Quoted 10 lines
include/asm-generic/barebox.lds.h +4 -1
+#define MAX_PBL_SIZE CONFIG_BAREBOX_MAX_PBL_SIZE
+#endif
+
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE                                       \
      _barebox_bare_init_size = __bare_init_end - _text;      \
      ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
-     ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+     ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))

different patch

Quoted 28 lines
include/asm-generic/barebox.lds.h +5 -0
+#define BAREBOX_PBL_SIZE                                     \
+     _barebox_pbl_size = __bss_start - _text;                \
+     ASSERT(MAX_BARE_INIT_SIZE <= MAX_PBL_SIZE, "bare_init cannot be bigger than pbl") \
+     ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, "Barebox pbl size > ") \
+     ASSERT(_barebox_pbl_size < MAX_PBL_SIZE, __stringify(MAX_PBL_SIZE))
pbl/Kconfig +7 -1
index dc31357..1edc2d1 100644
@@ -34,6 +34,13 @@ config PBL_FORCE_PIGGYDATA_COPY
 
 if PBL_IMAGE
 
+config LOAD_PBL_SRAM
+     bool "Load pbl in SRAM"
+     help
+       Load the whole content of the pbl binary into SRAM. This is useful if you
+       use the pbl as a first stage bootloader but cannot load the whole binary
+       at the same time.
+
 config PBL_RELOCATABLE
      depends on ARM
      bool "relocatable pbl image"
--

1.7.10.4

Quoted 4 lines
Quoted 4 lines

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#10 lore raw
In reply to David Vincent
Quoted 46 lines · David Vincent

2014-02-04 Sascha Hauer <[email protected]>:

Quoted 45 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 27 lines · David Vincent
Quoted 26 lines

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +2 -0
index 0954c89..34c0cb3 100644
@@ -50,11 +50,11 @@ SECTIONS
            *(.text*)
    }
 
+   BAREBOX_PBL_SIZE
+
    /* Discard unwind if enable in barebox */
    /DISCARD/ : { *(.ARM.ex*) }
 
Quoted 5 lines

arch/arm/lib/pbl.lds.S SECTIONS · line 57

Quoted 2 lines
arch/arm/lib/pbl.lds.S +0 -2
-   BAREBOX_BARE_INIT_SIZE
-

nack you change the binary format you can add an information but can not change the format

I don't think the format is changed here. It shouldn't matter where the /DISCARD/ is, right? Nevertheless the patch looks more obvious if just the line is changed, not its position.

Quoted 7 lines
Quoted 7 lines
arch/arm/lib/pbl.lds.S +0 -0
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE                                     \
    _barebox_bare_init_size = __bare_init_end - _text;      \
    ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
arch/arm/lib/pbl.lds.S +1 -1
-   ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+   ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

different patch

This just removes the trailing '\' which is necessary here.

It isn't obvious for me why the trailing '\' is necessary but you know better than me so I will put it back and add one on the next definition.

I wasn't clear. What I meant is that it's necessary to remove the whitespace. But as said, I misread the patch anyway.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#11 lore raw

Due to the flow of answers, I'm a little lost... What is the status of this submission, should I resend it, put more work into it or lose it ?

Thanks in advance,
David

2014-02-05 Sascha Hauer <[email protected]>:

Quoted 58 lines · David Vincent
Quoted 46 lines

2014-02-04 Sascha Hauer <[email protected]>:

Quoted 45 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 27 lines · David Vincent
Quoted 26 lines

This allows to load all the lowlevel init code, including the uncompressor, inside SRAM and not just the bare init part. This is useful when pbl is used as a first-stage bootloader but is loaded by an external firmware.

---
 arch/arm/lib/pbl.lds.S            |    4 ++--
 common/Kconfig                    |   16 ++++++++++++++--
 include/asm-generic/barebox.lds.h |   14 +++++++++++++-
 pbl/Kconfig                       |    7 +++++++
 4 files changed, 36 insertions(+), 5 deletions(-)
arch/arm/lib/pbl.lds.S +2 -0
index 0954c89..34c0cb3 100644
@@ -50,11 +50,11 @@ SECTIONS
            *(.text*)
    }
 
+   BAREBOX_PBL_SIZE
+
    /* Discard unwind if enable in barebox */
    /DISCARD/ : { *(.ARM.ex*) }
 
Quoted 5 lines

arch/arm/lib/pbl.lds.S SECTIONS · line 57

Quoted 2 lines
arch/arm/lib/pbl.lds.S +0 -2
-   BAREBOX_BARE_INIT_SIZE
-

nack you change the binary format you can add an information but can not change the format

I don't think the format is changed here. It shouldn't matter where the /DISCARD/ is, right? Nevertheless the patch looks more obvious if just the line is changed, not its position.

Quoted 7 lines
Quoted 7 lines
arch/arm/lib/pbl.lds.S +0 -0
 #include <linux/stringify.h>
 /* use 2 ASSERT because ld can not accept '"size" "10"' format */
 #define BAREBOX_BARE_INIT_SIZE                                     \
    _barebox_bare_init_size = __bare_init_end - _text;      \
    ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, "Barebox bare_init size > ") \
arch/arm/lib/pbl.lds.S +1 -1
-   ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE)) \
+   ASSERT(_barebox_bare_init_size < MAX_BARE_INIT_SIZE, __stringify(MAX_BARE_INIT_SIZE))
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

different patch

This just removes the trailing '\' which is necessary here.

It isn't obvious for me why the trailing '\' is necessary but you know better than me so I will put it back and add one on the next definition.

I wasn't clear. What I meant is that it's necessary to remove the whitespace. But as said, I misread the patch anyway.

Quoted 7 lines

Sascha

--

Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#12 lore raw
Quoted 3 lines · David Vincent

Due to the flow of answers, I'm a little lost... What is the status of this submission, should I resend it, put more work into it or lose it ?

The latest version looks fine. I applied it now.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#13 lore raw

Sorry to come back on this subject, but I just synced with the mainline and I noticed that the patch was not fully applied. It was missing the part

pbl/Kconfig +4 -0
index dc31357..1edc2d1 100644
@@ -34,6 +34,13 @@ config PBL_FORCE_PIGGYDATA_COPY
 
 if PBL_IMAGE
 
+config LOAD_PBL_SRAM
+       bool "Load pbl in SRAM"
+       help
+         Load the whole content of the pbl binary into SRAM. This is

useful if you
+ use the pbl as a first stage bootloader but cannot load the
whole binary
+ at the same time.
+
config PBL_RELOCATABLE
depends on ARM
bool "relocatable pbl image"

which is needed to make everything work. So should I provide a new patch containing only this correction on the mainline ?

Best regards,
David

2014-02-05 16:45 GMT+01:00 Sascha Hauer <[email protected]>:

Quoted 7 lines · David Vincent
Quoted 3 lines

Due to the flow of answers, I'm a little lost... What is the status of this submission, should I resend it, put more work into it or lose it ?

The latest version looks fine. I applied it now.

Quoted 7 lines

Sascha

--

Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox