Premi, Sanjeev premi at ti.com
Thu Jan 12 10:51:49 EST 2012

> -----Original Message-----
> From: Sascha Hauer [mailto:s.hauer at pengutronix.de] 
> Sent: Thursday, January 12, 2012 2:59 PM
> To: Premi, Sanjeev
> Cc: barebox at lists.infradead.org; Jean-Christophe PLAGNIOL-VILLARD
> Subject: Re: [RFC 2/2] ARM omap: Add CONFIG_SILENT


> BTW you seem to be very concerned about the codesize in the xloader
> environments, which I can understand. How about giving my 
> thumb2 patches
> a try?

I tried pulling these patches on the latest master, but git am failed.
Manual patching reports previously applied patches. (I was able to find
few patches in the series already in master)

Some hunks don't apply cleanly. For example:

diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c
index bd9b72a..3fafb4b 100644
--- a/arch/arm/lib/armlinux.c
+++ b/arch/arm/lib/armlinux.c
@@ -253,6 +253,8 @@ void start_linux(void *adr, int swap, struct image_data *data)
 	void (*kernel)(int zero, int arch, void *params) = adr;
 	void *params = NULL;
+	int architecture = armlinux_get_architecture();
 	params = of_get_fixed_tree();
 	if (params)

I did quick fix-ups at few places to make compiler happy, but got
stuck with this:

  AS      arch/arm/mach-omap/omap3_core.o
arch/arm/mach-omap/omap3_core.S: Assembler messages:
arch/arm/mach-omap/omap3_core.S:116: Error: shift must be constant -- `orr r11,r10,r9,lsl r5'
arch/arm/mach-omap/omap3_core.S:117: Error: shift must be constant -- `orr r11,r11,r7,lsl r2'
make[1]: *** [arch/arm/mach-omap/omap3_core.o] Error 1
make: *** [arch/arm/mach-omap] Error 2

Will look at this later in the week.
Do you have updated patches agaist latest master that I can try?


More information about the barebox mailing list