* [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line
@ 2007-07-17 18:56 Kim Phillips
2007-07-17 19:30 ` Jerry Van Baren
2007-07-18 0:33 ` Jerry Van Baren
0 siblings, 2 replies; 5+ messages in thread
From: Kim Phillips @ 2007-07-17 18:56 UTC (permalink / raw)
To: u-boot
The last fdt patch to bootm did board setup based on the address
specified by a prior fdt address command invocation. The bootm
code, as its call to fdt_chosen does, should use the fdt specified
by the user on the bootm command. Note this restores full
functionality for the 8360's existing default boot environment
values, e.g. 'run nfsboot' (i.e. no having to 'fdt addr $fdtaddr'
before booting a kernel).
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
---
common/cmd_bootm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index c8825b6..bf21919 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -982,7 +982,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
#endif
#ifdef CONFIG_OF_BOARD_SETUP
/* Call the board-specific fixup routine */
- ft_board_setup(fdt, gd->bd);
+ ft_board_setup(of_flat_tree, gd->bd);
#endif
#endif /* CONFIG_OF_LIBFDT */
#if defined(CONFIG_OF_FLAT_TREE)
--
1.5.2.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line
2007-07-17 18:56 [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line Kim Phillips
@ 2007-07-17 19:30 ` Jerry Van Baren
2007-07-18 0:33 ` Jerry Van Baren
1 sibling, 0 replies; 5+ messages in thread
From: Jerry Van Baren @ 2007-07-17 19:30 UTC (permalink / raw)
To: u-boot
Kim Phillips wrote:
> The last fdt patch to bootm did board setup based on the address
> specified by a prior fdt address command invocation. The bootm
> code, as its call to fdt_chosen does, should use the fdt specified
> by the user on the bootm command. Note this restores full
> functionality for the 8360's existing default boot environment
> values, e.g. 'run nfsboot' (i.e. no having to 'fdt addr $fdtaddr'
> before booting a kernel).
>
> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
> ---
> common/cmd_bootm.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
> index c8825b6..bf21919 100644
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
> @@ -982,7 +982,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
> #endif
> #ifdef CONFIG_OF_BOARD_SETUP
> /* Call the board-specific fixup routine */
> - ft_board_setup(fdt, gd->bd);
> + ft_board_setup(of_flat_tree, gd->bd);
> #endif
> #endif /* CONFIG_OF_LIBFDT */
> #if defined(CONFIG_OF_FLAT_TREE)
Hi Kim,
Good catch, thanks. I'll apply the patches tonight.
gvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line
2007-07-17 18:56 [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line Kim Phillips
2007-07-17 19:30 ` Jerry Van Baren
@ 2007-07-18 0:33 ` Jerry Van Baren
2007-07-18 14:37 ` Jon Loeliger
1 sibling, 1 reply; 5+ messages in thread
From: Jerry Van Baren @ 2007-07-18 0:33 UTC (permalink / raw)
To: u-boot
Hi Kim & Co,
I've applied your patches and rebased against the master u-boot repo
(had a minor merge conflict with common/cmd_bootm.c with the
show_boot_progress() changes - NBD).
Thanks again,
gvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line
2007-07-18 0:33 ` Jerry Van Baren
@ 2007-07-18 14:37 ` Jon Loeliger
2007-07-18 14:49 ` Jerry Van Baren
0 siblings, 1 reply; 5+ messages in thread
From: Jon Loeliger @ 2007-07-18 14:37 UTC (permalink / raw)
To: u-boot
On Tue, 2007-07-17 at 19:33, Jerry Van Baren wrote:
> Hi Kim & Co,
>
> I've applied your patches and rebased against the master u-boot repo
> (had a minor merge conflict with common/cmd_bootm.c...
Say it isn't so!
Oh, alright. That's the upcoming fate, I'm afraid... :-)
jdl
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line
2007-07-18 14:37 ` Jon Loeliger
@ 2007-07-18 14:49 ` Jerry Van Baren
0 siblings, 0 replies; 5+ messages in thread
From: Jerry Van Baren @ 2007-07-18 14:49 UTC (permalink / raw)
To: u-boot
Jon Loeliger wrote:
> On Tue, 2007-07-17 at 19:33, Jerry Van Baren wrote:
>> Hi Kim & Co,
>>
>> I've applied your patches and rebased against the master u-boot repo
>> (had a minor merge conflict with common/cmd_bootm.c...
>
> Say it isn't so!
>
> Oh, alright. That's the upcoming fate, I'm afraid... :-)
>
> jdl
The conflict was with Heiko Schocher's patch "make show_boot_progress ()
weak." I moved one of the SHOW_BOOT_PROGRESS calls as part of the
cmd_bootm.c reordering and that confused patch, it was unable to make
the leap. :-) NBD.
gvb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-07-18 14:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17 18:56 [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line Kim Phillips
2007-07-17 19:30 ` Jerry Van Baren
2007-07-18 0:33 ` Jerry Van Baren
2007-07-18 14:37 ` Jon Loeliger
2007-07-18 14:49 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox