mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: i.MX6Q SABRESD board and barebox
Date: Fri, 13 Jun 2014 11:43:52 -0700	[thread overview]
Message-ID: <CAHQ1cqFUQNropsFM59FXo1dPx3WGbBnVB5X4EH9kCG4g8x_P2w@mail.gmail.com> (raw)
In-Reply-To: <20140612054226.GC15686@pengutronix.de>

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

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

  reply	other threads:[~2014-06-13 18:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 21:59 Andrey Smirnov
2014-06-12  5:42 ` Sascha Hauer
2014-06-13 18:43   ` Andrey Smirnov [this message]
2014-06-13 19:36     ` Holger Schurig
2014-06-13 19:42       ` Andrey Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHQ1cqFUQNropsFM59FXo1dPx3WGbBnVB5X4EH9kCG4g8x_P2w@mail.gmail.com \
    --to=andrew.smirnov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox