mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jason Cobham <cobham.jason@gmail.com>
To: barebox@lists.infradead.org
Subject: imx53 memory detection
Date: Tue, 12 Apr 2016 22:08:01 -0700	[thread overview]
Message-ID: <CAKu_b=KWS1Jce4gW+eSNzHX4SceEDPFKOfM4pxyTxBy1ZD8g7w@mail.gmail.com> (raw)

Support for Barebox on the Digi connectcore imx53 board stopped
working recently. I believe the memory detection never worked properly
to begin with. I've re-factored lowlevel.c to match similar mx53
boards, however the ram size is always detected incorrectly. I have a
reliable way of detecting the board memory size in device_initcall.

I've tried adding mem_initcall/arm_add_mem_device() however mmu
support causes a panic when enabled. without mmu support enabled, the
board boots with the correct memory size however I get an error,
"Cannot request SDRAM region for stack".

I've tried to use the freescale loco/qsb as a template since the digi
board is similar, but I don't see where it's memory size is defined. I
assume it's automatically detected.

If my board can't be automatically detected, what's a typical way to
setup memory on this type of board?

Thanks,
Jason

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

             reply	other threads:[~2016-04-13  5:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13  5:08 Jason Cobham [this message]
2016-04-13  6:36 ` Sascha Hauer
2016-04-14  4:38   ` Jason Cobham
2016-04-14  6:54     ` Sascha Hauer

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='CAKu_b=KWS1Jce4gW+eSNzHX4SceEDPFKOfM4pxyTxBy1ZD8g7w@mail.gmail.com' \
    --to=cobham.jason@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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