From: horms@verge.net.au (Simon Horman) Date: Thu, 23 Dec 2010 08:04:51 +0900 Subject: [PATCH] rfc v3: ARM: mach-shmobile: mackerel: Add zboot support In-Reply-To: <20101222224901.GA16187@verge.net.au> References: <1291855635-30882-1-git-send-email-horms@verge.net.au> <20101222224901.GA16187@verge.net.au> Message-ID: <20101222230450.GA21134@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > > Cc: Kuninori Morimoto > > --- > > .../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 >