* [patch 0/2] ARM: mach-shmobile: Add zboot support for SuperH Mobile ARM
@ 2010-10-08 7:57 Simon Horman
2010-10-08 7:57 ` [patch 1/2] ARM: " Simon Horman
2010-10-08 7:57 ` [patch 2/2] ARM: mach-shmobile: " Simon Horman
0 siblings, 2 replies; 5+ messages in thread
From: Simon Horman @ 2010-10-08 7:57 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
this short patch series by Kuninori Morimoto adds
zboot support to mach-shmobile.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [patch 1/2] ARM: Add zboot support for SuperH Mobile ARM
2010-10-08 7:57 [patch 0/2] ARM: mach-shmobile: Add zboot support for SuperH Mobile ARM Simon Horman
@ 2010-10-08 7:57 ` Simon Horman
2010-10-08 7:57 ` [patch 2/2] ARM: mach-shmobile: " Simon Horman
1 sibling, 0 replies; 5+ messages in thread
From: Simon Horman @ 2010-10-08 7:57 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-mach-shmbobile-Add-zboot-support-for-SuperH-Mobile-ARM-framework.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101008/ab062c81/attachment.ksh>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [patch 2/2] ARM: mach-shmobile: Add zboot support for SuperH Mobile ARM
2010-10-08 7:57 [patch 0/2] ARM: mach-shmobile: Add zboot support for SuperH Mobile ARM Simon Horman
2010-10-08 7:57 ` [patch 1/2] ARM: " Simon Horman
@ 2010-10-08 7:57 ` Simon Horman
2010-10-12 3:49 ` Magnus Damm
1 sibling, 1 reply; 5+ messages in thread
From: Simon Horman @ 2010-10-08 7:57 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-mach-shmbobile-Add-zboot-support-for-SuperH-Mobile-ARM-board.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101008/3aea7557/attachment.ksh>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [patch 2/2] ARM: mach-shmobile: Add zboot support for SuperH Mobile ARM
2010-10-08 7:57 ` [patch 2/2] ARM: mach-shmobile: " Simon Horman
@ 2010-10-12 3:49 ` Magnus Damm
2010-10-12 8:24 ` Simon Horman
0 siblings, 1 reply; 5+ messages in thread
From: Magnus Damm @ 2010-10-12 3:49 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Oct 8, 2010 at 4:57 PM, Simon Horman <horms@verge.net.au> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> When COFNIG_ZBOOT_ROM is selected, the resulting zImage file will be small
> boot loader and may be burned to rom or flash.
>
> This is the board-specific portion of this patch-set.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Signed-off-by: Simon Horman <horms@verge.net.au>
Hey Simon,
Thanks for your work on this!
> +static void __init
> +fixup_ap4evb(struct machine_desc *desc, struct tag *tag,
> + ? ? ? ? ? ?char **cmdline, struct meminfo *mi)
> +{
> +#ifdef CONFIG_ZBOOT_ROM
> + ? ? ? /*
> + ? ? ? ?* below settings are needed when zboot
> + ? ? ? ?*/
> + ? ? ? tag->hdr.tag ? ? ? ? ? ?= ATAG_CORE;
> + ? ? ? tag->hdr.size ? ? ? ? ? = tag_size(tag_core);
> + ? ? ? tag->u.core.flags ? ? ? = 0;
> + ? ? ? tag->u.core.pagesize ? ?= 0;
> + ? ? ? tag->u.core.rootdev ? ? = 0;
> +
> + ? ? ? tag ? ? ? ? ? ? ? ? ? ? = tag_next(tag);
> + ? ? ? tag->hdr.tag ? ? ? ? ? ?= ATAG_MEM;
> + ? ? ? tag->hdr.size ? ? ? ? ? = tag_size(tag_mem32);
> + ? ? ? tag->u.mem.size ? ? ? ? = CONFIG_MEMORY_SIZE;
> + ? ? ? tag->u.mem.start ? ? ? ?= CONFIG_MEMORY_START;
> +
> + ? ? ? tag ? ? ? ? ? ? ? ? ? ? = tag_next(tag);
> + ? ? ? tag->hdr.tag ? ? ? ? ? ?= ATAG_NONE;
> + ? ? ? tag->hdr.size ? ? ? ? ? = 0;
> +#endif
Hm, I wonder if this part can be rearranged. Perhaps I'm
misunderstanding, but I would really really prefer if the memory
information could be passed from the romImage header instead of adding
fixups in the board specific code. This code looks like a workaround
for not passing information properly. We probably want to pass other
parameters anyway, so it shouldn't be any big issue.
Cheers,
/ magnus
^ permalink raw reply [flat|nested] 5+ messages in thread
* [patch 2/2] ARM: mach-shmobile: Add zboot support for SuperH Mobile ARM
2010-10-12 3:49 ` Magnus Damm
@ 2010-10-12 8:24 ` Simon Horman
0 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2010-10-12 8:24 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Oct 12, 2010 at 12:49:32PM +0900, Magnus Damm wrote:
> On Fri, Oct 8, 2010 at 4:57 PM, Simon Horman <horms@verge.net.au> wrote:
> > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >
> > When COFNIG_ZBOOT_ROM is selected, the resulting zImage file will be small
> > boot loader and may be burned to rom or flash.
> >
> > This is the board-specific portion of this patch-set.
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > Signed-off-by: Simon Horman <horms@verge.net.au>
>
> Hey Simon,
>
> Thanks for your work on this!
>
> > +static void __init
> > +fixup_ap4evb(struct machine_desc *desc, struct tag *tag,
> > + ? ? ? ? ? ?char **cmdline, struct meminfo *mi)
> > +{
> > +#ifdef CONFIG_ZBOOT_ROM
> > + ? ? ? /*
> > + ? ? ? ?* below settings are needed when zboot
> > + ? ? ? ?*/
> > + ? ? ? tag->hdr.tag ? ? ? ? ? ?= ATAG_CORE;
> > + ? ? ? tag->hdr.size ? ? ? ? ? = tag_size(tag_core);
> > + ? ? ? tag->u.core.flags ? ? ? = 0;
> > + ? ? ? tag->u.core.pagesize ? ?= 0;
> > + ? ? ? tag->u.core.rootdev ? ? = 0;
> > +
> > + ? ? ? tag ? ? ? ? ? ? ? ? ? ? = tag_next(tag);
> > + ? ? ? tag->hdr.tag ? ? ? ? ? ?= ATAG_MEM;
> > + ? ? ? tag->hdr.size ? ? ? ? ? = tag_size(tag_mem32);
> > + ? ? ? tag->u.mem.size ? ? ? ? = CONFIG_MEMORY_SIZE;
> > + ? ? ? tag->u.mem.start ? ? ? ?= CONFIG_MEMORY_START;
> > +
> > + ? ? ? tag ? ? ? ? ? ? ? ? ? ? = tag_next(tag);
> > + ? ? ? tag->hdr.tag ? ? ? ? ? ?= ATAG_NONE;
> > + ? ? ? tag->hdr.size ? ? ? ? ? = 0;
> > +#endif
>
> Hm, I wonder if this part can be rearranged. Perhaps I'm
> misunderstanding, but I would really really prefer if the memory
> information could be passed from the romImage header instead of adding
> fixups in the board specific code. This code looks like a workaround
> for not passing information properly. We probably want to pass other
> parameters anyway, so it shouldn't be any big issue.
Hi Magnus,
thanks for the suggestion. I will look into it and get back to you.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-12 8:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-08 7:57 [patch 0/2] ARM: mach-shmobile: Add zboot support for SuperH Mobile ARM Simon Horman
2010-10-08 7:57 ` [patch 1/2] ARM: " Simon Horman
2010-10-08 7:57 ` [patch 2/2] ARM: mach-shmobile: " Simon Horman
2010-10-12 3:49 ` Magnus Damm
2010-10-12 8:24 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.