* [U-Boot] [PATCH V2 0/2] bootstage: fix fdt stashing and reporting
@ 2014-02-19 15:16 Rommel G Custodio
2014-02-19 15:16 ` [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code Rommel G Custodio
2014-02-19 15:16 ` [U-Boot] [PATCH V2 2/2] bootstage: powerpc: support fdt stash and reporting Rommel G Custodio
0 siblings, 2 replies; 5+ messages in thread
From: Rommel G Custodio @ 2014-02-19 15:16 UTC (permalink / raw)
To: u-boot
In arm, it seems there is a discrepancy in the code. The fdt stashing code
uses an undefined variable.
In powerpc, implement fdt stashing and pre-boot reporting of bootstage
timing data.
Fixed a typo in the commit log.
Rommel G Custodio (2):
bootstage: arm: fix fdt stashing code
bootstage: powerpc: support fdt stash and reporting
arch/arm/lib/bootm.c | 3 +--
arch/powerpc/lib/bootm.c | 7 +++++++
2 files changed, 8 insertions(+), 2 deletions(-)
--
1.9.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code
2014-02-19 15:16 [U-Boot] [PATCH V2 0/2] bootstage: fix fdt stashing and reporting Rommel G Custodio
@ 2014-02-19 15:16 ` Rommel G Custodio
2014-04-07 22:00 ` Albert ARIBAUD
2014-02-19 15:16 ` [U-Boot] [PATCH V2 2/2] bootstage: powerpc: support fdt stash and reporting Rommel G Custodio
1 sibling, 1 reply; 5+ messages in thread
From: Rommel G Custodio @ 2014-02-19 15:16 UTC (permalink / raw)
To: u-boot
The conditional is using a variable that is not defined.
Signed-off-by: Rommel G Custodio <sessyargc+u-boot@gmail.com>
---
arch/arm/lib/bootm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index a8295bf..7f1b2e0 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -71,8 +71,7 @@ static void announce_and_cleanup(int fake)
"(fake run for tracing)" : "");
bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
#ifdef CONFIG_BOOTSTAGE_FDT
- if (flag == BOOTM_STATE_OS_FAKE_GO)
- bootstage_fdt_add_report();
+ bootstage_fdt_add_report();
#endif
#ifdef CONFIG_BOOTSTAGE_REPORT
bootstage_report();
--
1.9.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH V2 2/2] bootstage: powerpc: support fdt stash and reporting
2014-02-19 15:16 [U-Boot] [PATCH V2 0/2] bootstage: fix fdt stashing and reporting Rommel G Custodio
2014-02-19 15:16 ` [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code Rommel G Custodio
@ 2014-02-19 15:16 ` Rommel G Custodio
2014-03-07 23:03 ` York Sun
1 sibling, 1 reply; 5+ messages in thread
From: Rommel G Custodio @ 2014-02-19 15:16 UTC (permalink / raw)
To: u-boot
This implements stashing of bootstage timing data to FDT and automatic
timing reporting. To enable define CONFIG_BOOTSTAGE_FDT and
CONFIG_BOOTSTAGE_REPORT respectively.
Signed-off-by: Rommel G Custodio <sessyargc+u-boot@gmail.com>
---
arch/powerpc/lib/bootm.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c
index 41fc8f7..1e36bec 100644
--- a/arch/powerpc/lib/bootm.c
+++ b/arch/powerpc/lib/bootm.c
@@ -54,6 +54,13 @@ static void boot_jump_linux(bootm_headers_t *images)
bootstage_mark(BOOTSTAGE_ID_RUN_OS);
+#ifdef CONFIG_BOOTSTAGE_FDT
+ bootstage_fdt_add_report();
+#endif
+#ifdef CONFIG_BOOTSTAGE_REPORT
+ bootstage_report();
+#endif
+
#if defined(CONFIG_SYS_INIT_RAM_LOCK) && !defined(CONFIG_E500)
unlock_ram_in_cache();
#endif
--
1.9.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH V2 2/2] bootstage: powerpc: support fdt stash and reporting
2014-02-19 15:16 ` [U-Boot] [PATCH V2 2/2] bootstage: powerpc: support fdt stash and reporting Rommel G Custodio
@ 2014-03-07 23:03 ` York Sun
0 siblings, 0 replies; 5+ messages in thread
From: York Sun @ 2014-03-07 23:03 UTC (permalink / raw)
To: u-boot
On 02/19/2014 07:16 AM, Rommel G Custodio wrote:
> This implements stashing of bootstage timing data to FDT and automatic
> timing reporting. To enable define CONFIG_BOOTSTAGE_FDT and
> CONFIG_BOOTSTAGE_REPORT respectively.
>
> Signed-off-by: Rommel G Custodio <sessyargc+u-boot@gmail.com>
> ---
Applied to u-boot-mpc85xx/master. Thanks.
York
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code
2014-02-19 15:16 ` [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code Rommel G Custodio
@ 2014-04-07 22:00 ` Albert ARIBAUD
0 siblings, 0 replies; 5+ messages in thread
From: Albert ARIBAUD @ 2014-04-07 22:00 UTC (permalink / raw)
To: u-boot
Hi Rommel,
On Thu, 20 Feb 2014 00:16:56 +0900, Rommel G Custodio
<sessyargc@gmail.com> wrote:
> The conditional is using a variable that is not defined.
>
> Signed-off-by: Rommel G Custodio <sessyargc+u-boot@gmail.com>
> ---
> arch/arm/lib/bootm.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
> index a8295bf..7f1b2e0 100644
> --- a/arch/arm/lib/bootm.c
> +++ b/arch/arm/lib/bootm.c
> @@ -71,8 +71,7 @@ static void announce_and_cleanup(int fake)
> "(fake run for tracing)" : "");
> bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
> #ifdef CONFIG_BOOTSTAGE_FDT
> - if (flag == BOOTM_STATE_OS_FAKE_GO)
> - bootstage_fdt_add_report();
> + bootstage_fdt_add_report();
> #endif
> #ifdef CONFIG_BOOTSTAGE_REPORT
> bootstage_report();
Applied to u-boot-arm/master, thanks!
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-04-07 22:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19 15:16 [U-Boot] [PATCH V2 0/2] bootstage: fix fdt stashing and reporting Rommel G Custodio
2014-02-19 15:16 ` [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code Rommel G Custodio
2014-04-07 22:00 ` Albert ARIBAUD
2014-02-19 15:16 ` [U-Boot] [PATCH V2 2/2] bootstage: powerpc: support fdt stash and reporting Rommel G Custodio
2014-03-07 23:03 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox