Skip to contentSkip to conversation

What is TEXT_BASE?

DISCUSSION Norbert Roos 2 participants 4 messages Aug 28, 2012 – Aug 29, 2012

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi Norbert,

Quoted 10 lines · Norbert Roos

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

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Hello,

Quoted 4 lines · Sascha Hauer

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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 9 lines · Norbert Roos

Hello,

Quoted 4 lines · Sascha Hauer

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.

Quoted 7 lines

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

Quoted 5 lines

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

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox