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
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
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
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.
>>
>
>
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-
>
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
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_
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
>>
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
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
) 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
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
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
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.
14 matches
Mail list logo