Problems with pyhBoard-Wega-AM335x

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 7 05:00:19 PDT 2014


On Mon, Jul 07, 2014 at 01:14:35PM +0200, Frede Florian wrote:
> Hello Rolf,
> 
> thank you very much...
> after I selected the mentioned entry in the menu the problem was solved...
> but the board do not prompt any thing on the UART1... so I do not
> know if barebox is loaded

When using mainline barebox please build the am335x_mlo_defconfig for
the MLO and the am335x_defconfig for the main binary. The images
are then found under:

images/barebox-am33xx-phytec-phycore-mlo.img
images/barebox-am33xx-phytec-phycore.img

I diffed you config against the mainline config and the following
options are really crucial to let the binary work correctly:

-CONFIG_TEXT_BASE=0x0
-CONFIG_MALLOC_SIZE=0x0
-CONFIG_MALLOC_TLSF=y
-CONFIG_RELOCATABLE=y
+CONFIG_TEXT_BASE=0x402F0400
+CONFIG_STACK_SIZE=0x1600
+CONFIG_MALLOC_SIZE=0x1000000

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 |



More information about the barebox mailing list