[PATCH] rfc v3: ARM: mach-shmobile: mackerel: Add zboot support

Simon Horman horms at verge.net.au
Wed Dec 22 18:04:51 EST 2010


On Thu, Dec 23, 2010 at 07:49:01AM +0900, Simon Horman wrote:
> On Thu, Dec 09, 2010 at 09:47:15AM +0900, Simon Horman wrote:
> > When CONFIG_ZBOOT_ROM is selected, the resulting zImage file will be small
> > boot loader and may be burned to rom or flash.
> > 
> > Compile tested only.
> 
> I now have access to a Mackerel board and have verified that
> this patch works.
> 
> My verification method was to usa a hack; I removed the
> SDRAM initialisation portion of head-mackerel.txt and
> then booting the resulting zImage from uboot using:
> 
> => bootp
> => go 0x42000000
> 
> This is the same method that I used to test the AP4 variant of this change.
> 
> Morimoto-san, could you test this by burning an image (without the above
> hack) to Flash? I can provide an image or tree if that helps.

I have now verified the .txt file by booting from the MMCIF
hardware block using "[PATCH] rfc v1: ARM: mach-shmobile: mackerel: Add
zboot MMCIF support".

Paul, I think that it should be pretty safe to merge both this patch and
the "... MMCIF support" patch into your tree from a feature point of view.
I'm unsure what you want to do about dependencies.

> > This patch assumes that head-mackerel.txt will be the same as head-ap4evb.txt.
> > I am waiting for verification of this.
> > 
> > This patch depends on
> > * ARM: 6515/1: Add zboot support for SuperH Mobile ARM
> >   (merged into the devel branch of Russel King's linux-2.6-arm tree)
> > * ARM: 6514/1: mach-shmobile: Add zboot support for SuperH Mobile ARM
> >   (merged into the devel branch of Russel King's linux-2.6-arm tree)
> > * MACH_MACKEREL (3211) being present in arch/arm/tools/mach-types
> > 
> > v2:
> > * Use head-mackerel.txt for Mackerel.
> >   head-ap4evb.txt was used by mistake.
> > 
> > v3:
> > * Actually make the change to use head-mackerel.txt
> > 
> > Cc: Magnus Damm <magnus.damm at gmail.com>
> > Cc: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> > ---
> >  .../mach-shmobile/include/mach/head-mackerel.txt   |   87 ++++++++++++++++++++
> >  arch/arm/mach-shmobile/include/mach/zboot.h        |    3 +
> >  2 files changed, 90 insertions(+), 0 deletions(-)
> >  create mode 100644 arch/arm/mach-shmobile/include/mach/head-mackerel.txt
> > 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



More information about the linux-arm-kernel mailing list