On Wed, Jan 20, 2016 at 08:47:22AM +0100, Uwe Kleine-König wrote:
> Currently only second stage booting from the vendor U-Boot is tested. I
> don't want to flash barebox into NAND yet because UART-booting for
> recovery doesn't work for me.
>
> Working so far are:
>
> - UART
> - networking
> -
On Thu, Jan 21, 2016 at 12:22:39PM +0100, Philipp Zabel wrote:
> Set the hostname to "utilite" or "cm-fx6".
>
> Signed-off-by: Philipp Zabel
> ---
> arch/arm/boards/cm-fx6/board.c | 8
> 1 file changed, 8 insertions(+)
Applied, thanks
Sascha
--
Pengutronix e.K.
Hi Yegor,
On Tue, Jan 19, 2016 at 09:03:17AM +0100, Yegor Yefremov wrote:
> Hi Sascha,
>
> On Tue, Jan 19, 2016 at 8:55 AM, Sascha Hauer wrote:
> > With CONFIG_BOOTM_FORCE_SIGNED_IMAGES the bootm code will refuse to boot
> > unsigned images. Since currently FIT is the only image type which
> > s
ARM do_bootm_linux is not only called with uImages but also with
raw images, so we can't use uimage_get_size() here. Introduce
bootm_get_os_size() which handles the different image types.
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c | 2 +-
common/bootm.c | 19 +++
From: Jan Luebbe
This implementation is inspired by U-Boot's FIT support. Instead of
using libfdt (which does not exist in barebox), configuration signatures
are verified by using a simplified DT parser based on barebox's own
code.
Currently, only signed configurations with hashed images are sup
We can make the dryrun option more useful by calling into the handlers.
With this we can detect more cases that can go wrong during boot.
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c | 3 +++
arch/arm/mach-omap/omap_generic.c | 5 +
arch/blackfin/lib/blackfin_linux.c |
The uImage format uses numbers for to identify the different
parts of a image, but the FIT image format uses names. To better
integrate the FIT image format into bootm always use names and
convert them to numbers when necessary.
Signed-off-by: Sascha Hauer
---
common/bootm.c | 43 +++
barebox can be called with the kernel calling convention, so
we can reuse the handler instead of creating a barebox specific
handler.
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c | 30 +-
1 file changed, 1 insertion(+), 29 deletions(-)
diff --git a/arch/arm/l
Taken from U-Boot and adopted to barebox with little changes.
Signed-off-by: Sascha Hauer
Signed-off-by: Marc Kleine-Budde
---
crypto/Kconfig | 3 +
crypto/Makefile | 1 +
crypto/rsa.c| 422
include/asm-ge
In barebox the function digest_alloc() allocates a digest based on a string.
When a subsystem already uses an integer value to identify a digest it makes no
sense to create a string and pass it to digest_alloc(), where it is parsed
again. This patch adds the possibility to get a digest by an enum.
The device tree code is distributed in several places in the bootm code.
Move it all together in bootm_load_devicetree().
Signed-off-by: Sascha Hauer
---
common/bootm.c | 193 +
1 file changed, 86 insertions(+), 107 deletions(-)
diff --git
Both the bootm and the boot code initialize the struct bootm_data
with defaults from the bootm global variables. Create a common
function for doing this.
Signed-off-by: Sascha Hauer
---
commands/boot.c | 14 ++
commands/bootm.c | 31 +--
common/bootm.c
So long struct bootm_data.verify is a bool which enables CRC checking
(hashing). Extend this to a enum and add support for signature checking
in the same option. This also adds the corresponding globalvar and a
-s option to bootm.
Signed-off-by: Sascha Hauer
---
commands/bootm.c | 12 +--
This is the fourth version of the FIT image support. Changes to last series
include:
Changes since v3:
- Add option to force booting signed images
- Add reference to U-Boot in RSA support commit message and file
- Add reference to U-Boot in FIT image support
- Write some more Kconfig doc
Changes
With CONFIG_BOOTM_FORCE_SIGNED_IMAGES the bootm code will refuse to boot
unsigned images. Since currently FIT is the only image type which
supports signing, this means with this option we enforce using FIT
images. All additionally passed in device trees and initrds will be
ignored, so that only the
The initrd code is distributed in several places in the bootm code.
Move it all together in bootm_load_initrd().
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c | 8 ++-
common/bootm.c | 151 +--
include/boot.h | 3 +
3 files c
oftree must be freed when the tree is successfully unflattened.
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index 7bb9b43..2439c36 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
uimage_close() is called on bootm cleanup, so do not close it
in the failure path in bootm_open_os_uimage().
Signed-off-by: Sascha Hauer
---
common/bootm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/common/bootm.c b/common/bootm.c
index 08125e7..affab24 100644
--- a/common/bootm.c
+++ b/
On Tue, Jan 19, 2016 at 09:30:54AM +0100, Teresa Remmet wrote:
> From: Daniel Schultz
>
> Setup the plls with Master Osc. clock speed from the SYSBOOT
> Configuration Pin.
>
> Signed-off-by: Daniel Schultz
> ---
> arch/arm/boards/afi-gf/lowlevel.c | 2 +-
> arch/arm/boards/beagle
Hi Teresa,
On Tue, Jan 19, 2016 at 09:30:53AM +0100, Teresa Remmet wrote:
> From: Daniel Schultz
>
> Move the function to read the Master OSC speed from
> the SYSBOOT Configuration Pin for reuse.
>
> Signed-off-by: Daniel Schultz
> Signed-off-by: Teresa Remmet
> ---
> arch/arm/mach-omap/am33
On Thu, 2016-01-21 at 11:13 +0100, Uwe Kleine-König wrote:
> > And having compared the version tag to 1, couldn't you then cast img
> > into a struct main_hdr_v1 *? That would avoid all the hard coded magic
> > offsets in the rest of the code. Unless img isn't aligned?
>
> ... or the build mach
Add suport for the i.MX6 CAAM RNG module.
The device is registered as a char-device under /dev/hwrng to mimic the
linux userspace interface.
Signed-off-by: Steffen Trumtrar
Signed-off-by: Marc Kleine-Budde
---
drivers/crypto/caam/Kconfig | 7 +
drivers/crypto/caam/Makefile | 1 +
drivers
Signed-off-by: Steffen Trumtrar
---
include/linux/circ_buf.h | 36
1 file changed, 36 insertions(+)
create mode 100644 include/linux/circ_buf.h
diff --git a/include/linux/circ_buf.h b/include/linux/circ_buf.h
new file mode 100644
index ..90f2471d
Hi!
This series adds basic support for the i.MX6
Cryptographic Acceleration and Assurance Module (CAAM).
- see notes in 2/3 for what changed in the caam driver.
- 3/3 was not included in v1 of the series.
Regards,
Steffen
Steffen Trumtrar (3):
include: linux: add circular buffers
crypto: ad
Set the hostname to "utilite" or "cm-fx6".
Signed-off-by: Philipp Zabel
---
arch/arm/boards/cm-fx6/board.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boards/cm-fx6/board.c b/arch/arm/boards/cm-fx6/board.c
index edef18f..f438062 100644
--- a/arch/arm/boards/cm-fx6/board.
Hello Trent,
On 01/20/2016 08:27 PM, Trent Piepho wrote:
> On Wed, 2016-01-20 at 09:15 +0100, Uwe Kleine-König wrote:
>> The images that can be sent to a Marvell CPU have a fixed format. Do
>> some sanity checks before actually sending an image for easier diagnosis
>> of broken files.
>>
>> Signed
26 matches
Mail list logo