i.MX6Q SABRESD board and barebox

Andrey Smirnov andrew.smirnov at gmail.com
Fri Jun 13 11:43:52 PDT 2014


Hi Sascha,

Thanks for the quick response! I tried imx_v7_defconfig but it seemed
to be as ill-suited for what I am trying to do as
freescale-mx6-sabresd_defconfig.
What I am trying to get is an ELF file that I would be able to use
with DS-5 debugger by uploading it directly into RAM and also an image
that I would be able to supply to the build-in ROM bootloader.
Imx_v7_defconfig specifies TEXT_BASE as 0x0 which isn't much better
for the purpose of using DS-5 since that memory is mapped to boot ROM.

For now I just ended up setting it up manually to 0x10000000 in menuconfig.

Thanks,
Andrey


On Wed, Jun 11, 2014 at 10:42 PM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> Hi Andrey,
>
> On Wed, Jun 11, 2014 at 02:59:53PM -0700, Andrey Smirnov wrote:
>> Hello everyone,
>>
>> I am trying to use barebox on a SabreSD board with i.MX6Q processor
>> and seem to be running into problems. One odd thing that I noticed was
>> that default configuration, freescale-mx6-sabresd_defconfig, specifies
>> TEXT_BASE as 0x08f80000, which is the address mapped to external
>> interface module(EIM). At the same time load address specified in
>> arch/arm/boards/freescale-mx6-sabresd/lash-header-mx6-sabresd.imxcfg
>> is 0x10000000, which is the start of DRAM. Is there some MMU setup
>> that accounts for that, that I am missing?
>
> 0x08f80000 is plain wrong for TEXT_BASE. Probably noone noticed because
> the sabresd can be built with imx_v7_defconfig. Please use this config
> instead. The individual board configs will be removed soon for boards
> which can be built with the imx_v7_defconfig.
>
> 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