From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] MKIMAGE u-boot.imx build error
Date: Wed, 29 Oct 2014 18:02:45 +0100 [thread overview]
Message-ID: <54511DB5.4040605@denx.de> (raw)
In-Reply-To: <1414590746597-193874.post@n7.nabble.com>
Hi Dave,
On 29/10/2014 14:52, DaveKucharczyk wrote:
> I was able to build using V=1 and noticed the entry point,
> CONFIG_SYS_TEXT_BASE, wasn't defined in include/configs/mx53_xxx.h file. We
> previously had it defined in /board/freescale/mx53_xxx/config.mk. Now
> everything builds without error.
>
> But?I do not get serial output. I really need a small victory and see some
> life out of the board.
>
> Here?s what I think is necessary to get serial output to console?
>
> 1. At minimum the uart setup in /board/freescale/mx53_xxx/mx53_xxx.c
> 2. Version, boot device and DCD setup in
> /board/freescale/mx53_xxx/imximage.cfg
> 3. Minor changes to build successfully in /include/configs/mx53_xxx.h
Well, you made a lot of changes. I think you use 2009.08 from Freescale
tree, and there are a lot of differences with mainline tree.
Maybe it is worth if you check your code with the boars already
supported by U-Boot mainline having the i.MX53 SOC (Freescale's
mx53-loco, -ard, and -smd for example).
>
> I?ve ported flash_header.S to imximage.cfg.
> I?ve moved our old /board/freescale/mx53_xxx/mx53_xxx.c to the new u-boot
> directory, setup the pads using the new nomenclature and modified the
> library includes to use the new ones.
> I?ve moved include/configs/mx53_xxx.h file to the new u-boot directory and
> made the necessary edits to build successfully.
>
> I?ve triple checked the pads and flash header. I dd the resulting,
> non-padded, u-boot.imx image to sd card by ?dd if=u-boot.imx of=/dev/sdd
> seek=2 && sync?, but I get no life.
>
Try to add a #define DEBUG in the code, for example to understand if
something is alive before the relocation.
> I?m stuck at the moment and hoping someone has some advice as to what I may
> be missing or doing wrong.
I am afraid that it is too difficult, because it depends on your custom
hardware. Next step should be to attach a JTAG debugger to see what is
happening.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
prev parent reply other threads:[~2014-10-29 17:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 18:18 [U-Boot] MKIMAGE u-boot.imx build error Kucharczyk, David
2014-10-28 1:04 ` Simon Glass
2014-10-29 13:52 ` DaveKucharczyk
2014-10-29 14:18 ` Fabio Estevam
2014-10-29 14:34 ` DaveKucharczyk
2014-10-29 21:44 ` Fabio Estevam
2014-10-29 17:02 ` Stefano Babic [this message]
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=54511DB5.4040605@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.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