mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* What is TEXT_BASE?
@ 2012-08-28 13:36 Norbert Roos
  2012-08-29  6:29 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Roos @ 2012-08-28 13:36 UTC (permalink / raw)
  To: barebox

Hello,

I'm just trying to build barebox for the first time, for processor OMAP4 
and board Phytec phycore pcm049.

Now i have to enter something for "TEXT_BASE", what should i select?

And in general, are there some important settings beside selecting the 
processor and board, or are the default values good for the first try?

bye
Norbert

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What is TEXT_BASE?
  2012-08-28 13:36 What is TEXT_BASE? Norbert Roos
@ 2012-08-29  6:29 ` Sascha Hauer
  2012-08-29 13:13   ` Norbert Roos
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2012-08-29  6:29 UTC (permalink / raw)
  To: Norbert Roos; +Cc: barebox

Hi Norbert,

On Tue, Aug 28, 2012 at 03:36:54PM +0200, Norbert Roos wrote:
> Hello,
> 
> I'm just trying to build barebox for the first time, for processor
> OMAP4 and board Phytec phycore pcm049.
> 
> Now i have to enter something for "TEXT_BASE", what should i select?
> 
> And in general, are there some important settings beside selecting
> the processor and board, or are the default values good for the
> first try?

TEXT_BASE is the address barebox will be linked at. Normally this is
somewhere near the end of SDRAM, but could be also in some internal SRAM
in special cases. If you use the pcm049_defconfig it should be
configured correctly already.

Sascha

-- 
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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What is TEXT_BASE?
  2012-08-29  6:29 ` Sascha Hauer
@ 2012-08-29 13:13   ` Norbert Roos
  2012-08-29 13:27     ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Roos @ 2012-08-29 13:13 UTC (permalink / raw)
  To: barebox

Hello,

On 08/29/2012 08:29 AM, Sascha Hauer wrote:

> TEXT_BASE is the address barebox will be linked at. Normally this is
> somewhere near the end of SDRAM, but could be also in some internal SRAM
> in special cases. If you use the pcm049_defconfig it should be
> configured correctly already.

Ok, thanks, i didn't know there are those configs.

Now it's building and produces some files. Is there somewhere an 
explanation what the files are and what i should do with them in the 
next step? In my case with an OMAP based board? I would have expected at 
least the "MLO" file, but there are just the barebox files..

I don't intend to get personal teaching lessons here, but the whole 
documentation is somehow - suboptimal. I am writing down the steps i'm 
doing, so in return i could add a howto or tutorial or something like that.

bye
Norbert


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What is TEXT_BASE?
  2012-08-29 13:13   ` Norbert Roos
@ 2012-08-29 13:27     ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2012-08-29 13:27 UTC (permalink / raw)
  To: Norbert Roos; +Cc: barebox

On Wed, Aug 29, 2012 at 03:13:53PM +0200, Norbert Roos wrote:
> Hello,
> 
> On 08/29/2012 08:29 AM, Sascha Hauer wrote:
> 
> >TEXT_BASE is the address barebox will be linked at. Normally this is
> >somewhere near the end of SDRAM, but could be also in some internal SRAM
> >in special cases. If you use the pcm049_defconfig it should be
> >configured correctly already.
> 
> Ok, thanks, i didn't know there are those configs.
> 
> Now it's building and produces some files. Is there somewhere an
> explanation what the files are and what i should do with them in the
> next step? In my case with an OMAP based board? I would have
> expected at least the "MLO" file, but there are just the barebox
> files..

For OMAP boards there are two defconfigs, one for the MLO (or xloader)
and one regular barebox binary. See
http://wiki.barebox.org/doku.php?id=boards:omap

(I just saw it's a bit outdated, because the file generated for the
xloader is nowadays MLO, not barebox.bin.ift.

So you have to:

make pcm049_xload_defconfig
make
cp MLO /mnt/MLO
make pcm049_defconfig
cp barebox.bin /mnt/barebox.bin

> 
> I don't intend to get personal teaching lessons here, but the whole
> documentation is somehow - suboptimal. I am writing down the steps
> i'm doing, so in return i could add a howto or tutorial or something
> like that.

That would be great. I could give you an account for the wiki if you
have something to improve there.

Thanks
 Sascha

-- 
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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-29 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-28 13:36 What is TEXT_BASE? Norbert Roos
2012-08-29  6:29 ` Sascha Hauer
2012-08-29 13:13   ` Norbert Roos
2012-08-29 13:27     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox