[PATCH] omap3 towards thumb2 support
s.hauer at pengutronix.de
Mon Jan 16 10:46:26 EST 2012
On Mon, Jan 16, 2012 at 12:42:36PM +0000, Premi, Sanjeev wrote:
> > -----Original Message-----
> > From: barebox-bounces at lists.infradead.org
> > [mailto:barebox-bounces at lists.infradead.org] On Behalf Of
> > Premi, Sanjeev
> > Sent: Monday, January 16, 2012 5:32 PM
> > To: Sascha Hauer
> > Cc: barebox at lists.infradead.org
> > Subject: RE: [PATCH] omap3 towards thumb2 support
> > > >
> > > > I was able to pull in your branch and encountered a minor
> > > > issue - fixed by the patch at end of this mail.
> > > >
> > > > How can I enable thumb2? Didn't find aything obvious in
> > > > omap3530_beagle_xload_defconfig.
> > >
> > > Did you merge the work/thumb2 branch into your branch? Then
> > you should
> > > find THUMB2_BAREBOX in menuconfig.
> > Found it. I was searching in a "cached" version of the file already
> > in my editor. Will try immediately.
> I discarded the patches that I had manually merged last week and
> pulled work/thumb2 instead.
> The size of MLO dropped from 47604 to 35052 bytes. However, it didn't
> boot successfully on the board. The MLO generated after removing
> CONFIG_THUMB2_BAREBOX came up fine.
Please check that CONFIG_STACK_BASE really is 0x4020F000. It may be set
differently if you started from an older config.
Also, the resulting binary should also be startable as a second stage
loader in which case you might get some stack trace if you have enabled
this in the first stage.
> BTW, I while merging this patch, I saw a warning that could be fixed
> before merging the patch into master.
> 8917ac1 : Applying: ARM: move exception vectors away from start of binary
> /home/premi/barebox/.git/rebase-apply/patch:236: new blank line at EOF.
> warning: 1 line adds whitespace errors.
Ok, will fix.
I attached my binary MLO file. Could you check if it works for you? I
just checked this binary and it comes up with:
barebox 2012.01.0-00204-g319f3a9 (Jan 16 2012 - 16:41:49)
Board: Texas Instrument's Beagle
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba ( )
Malloc space: 0x87bfff10 -> 0x87ffff0f (size 4 MB)
Stack space : 0x4020f000 -> 0x4020fc00 (size 3 kB)
booting from MMC1
could not read barebox.bin from sd card
(I have no barebox.bin on my SD card, so 'booting failed' is ok)
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 35244 bytes
Desc: not available
More information about the barebox