[U-Boot] [PATCH] bootz/booti: relocate ramdisk if CONFIG_SYS_BOOT_RAMDISK_HIGH set

2017-01-23 Thread Cédric Schieli
In commit c2e7e72, the ramdisk relocation code was moved from image_setup_linux to do_bootm, leaving the bootz and booti cases broken. This patch fixes both by adding the BOOTM_STATE_RAMDISK state in their call to do_bootm_states if CONFIG_SYS_BOOT_RAMDISK_HIGH is set. Signed-off-by: Cédric

Re: [U-Boot] Linux fails to boot since commit c2e7e72

2017-01-23 Thread Cédric Schieli
Hi, 2017-01-23 9:08 GMT+01:00 Masahiro Yamada : > Hi. > > Today, I noticed Linux fails to mount initramdisk > on my boards. > > I found I could solve the issue by reverting the following commit: > > commit c2e7e72bb9f0cb47d024997b381cb64786eb5402 > Author: Rick

[U-Boot] [PATCH v3] rpi: passthrough of the firmware provided FDT blob

2016-11-08 Thread Cédric Schieli
on sysboot/pxe can simply omit any FDT statement in their extlinux.conf file, U-Boot will automagically pick ${fdt_addr} and pass it to the kernel. [1] https://www.raspberrypi.org/forums//viewtopic.php?f=107=134018 Signed-off-by: Cédric Schieli <cschi...@gmail.com> --- Changes in v3: - rever

Re: [U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-06 Thread Cédric Schieli
2016-11-06 3:48 GMT+01:00 Stephen Warren <swar...@wwwdotorg.org>: > On 11/02/2016 12:06 PM, Cédric Schieli wrote: > >> At U-Boot entry point, the r2 register holds the address of the >> firmware provided boot param. Let's save it for further processing. >> > >

Re: [U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-06 Thread Cédric Schieli
2016-11-06 1:36 GMT+01:00 Jonathan Liu : > I did a similar patch without noticing you already submitted this series. > The save_boot_params function can be written in C instead of assembly > and placed in rpi.c. > See https://lists.yoctoproject.org/pipermail/yocto/2016- >

Re: [U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-04 Thread Cédric Schieli
2016-11-04 19:04 GMT+01:00 Tom Rini <tr...@konsulko.com>: > > At U-Boot entry point, the r2 register holds the address of the > > firmware provided boot param. Let's save it for further processing. > > > > Signed-off-by: Cédric Schieli <cschi...@gmail.com&g

[U-Boot] [PATCH v2] rpi: passthrough of the firmware provided FDT blob

2016-11-07 Thread Cédric Schieli
in the Rasperry Fundation's kernel tree: /scripts/mkknlimg --dtok /u-boot.bin /boot/u-boot.bin [1] https://www.raspberrypi.org/forums//viewtopic.php?f=107=134018 Signed-off-by: Cédric Schieli <cschi...@gmail.com> --- Changes in v2: - merge the series in a single patch - convert the save_boot_

Re: [U-Boot] [PATCH v2] rpi: passthrough of the firmware provided FDT blob

2016-11-08 Thread Cédric Schieli
2016-11-08 4:14 GMT+01:00 Stephen Warren : > Please note that for this to work the U-Boot binary must be tagged >> with a recent version of the mkknlimg script found in the Rasperry >> Fundation's kernel tree: >> >> /scripts/mkknlimg --dtok /u-boot.bin /boot/u-boot.bin >>

[U-Boot] [PATCH v4 2/2] rpi: passthrough of the firmware provided FDT blob

2016-11-11 Thread Cédric Schieli
on sysboot/pxe can simply omit any FDT statement in their extlinux.conf file, U-Boot will automagically pick ${fdt_addr} and pass it to the kernel. [1] https://www.raspberrypi.org/forums//viewtopic.php?f=107=134018 Signed-off-by: Cédric Schieli <cschi...@gmail.com> --- Changes in v4: None Changes

[U-Boot] [PATCH v4 1/2] arm: add save_boot_params for ARM1176

2016-11-11 Thread Cédric Schieli
Implement a hook to allow boards to save boot-time CPU state for later use. When U-Boot is chain-loaded by another bootloader, CPU registers may contain useful information such as system configuration information. This feature mirrors the equivalent ARMv7 feature. Signed-off-by: Cédric Schieli

[U-Boot] [PATCH v4 0/2] rpi: passthrough of the firmware provided FDT blob

2016-11-11 Thread Cédric Schieli
) extern declaration from include/configs/rpi.h - rename the global variable to fw_dtb_pointer - rename the environment variable to ${fdt_addr} - fix 64-bits compatibility issues - document possible uses of ${fdt_addr} Cédric Schieli (2): arm: add save_boot_params for ARM1176 rpi: passthrough

[U-Boot] [PATCH 0/2] rpi: enable passthrough of FDT blob provided by the firmware

2016-11-03 Thread Cédric Schieli
passed to U-Boot in the entry point and expose it in a environment variable for further processing. [1] https://www.raspberrypi.org/forums//viewtopic.php?f=107=134018 Cédric Schieli (2): rpi: save firmware provided boot param for later use rpi: expose the firmware provided FDT blob

[U-Boot] [PATCH 2/2] rpi: expose the firmware provided FDT blob in ${fw_fdt_addr}

2016-11-03 Thread Cédric Schieli
If the fw_boot_param saved at an early stage points to a valid FDT blob, let's expose it in ${fw_fdt_addr}. Signed-off-by: Cédric Schieli <cschi...@gmail.com> --- board/raspberrypi/rpi/rpi.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/raspberrypi/rpi/r

[U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-03 Thread Cédric Schieli
At U-Boot entry point, the r2 register holds the address of the firmware provided boot param. Let's save it for further processing. Signed-off-by: Cédric Schieli <cschi...@gmail.com> --- board/raspberrypi/rpi/Makefile| 1 + board/raspberrypi/rpi/lowlevel_init.