From: Dirk Behme <dirk.behme@de.bosch.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Building imximage for mx53ard board, supporting NAND and YAFFS2
Date: Tue, 6 Mar 2012 07:42:03 +0100 [thread overview]
Message-ID: <4F55B1BB.7000002@de.bosch.com> (raw)
In-Reply-To: <FD2DBC0E1365154BB0E3E348680BA0E902A1BF0B@nzc-ap-xch-03.ap.trimblecorp.net>
On 06.03.2012 04:13, Bud Miljkovic wrote:
> Hi Fabio,
>
>
>
> I understand, from the MAINTAINERS file list, that you are the
> maintainer for the mx53ard board. I took a copy of the u-boot sources
> for the Freescale SABRE Automotive Infotainment board (aka mx53ard
> board) from the Freescale site. As the result I got the u-boot-2009.08
> building tree directory along with the associated cross compiler
> gcc-4.4.4-glibc-2.11.1-multilib-1.0-1.386 tools.
>
>
>
> After some trial and error I managed to configure the mx53_ard_dd3.h for
> NAND and YAFFS2 support and successfully ran make, resulting in creation
> of the following files:
>
> * u-boot
>
> * u-boot.bin
>
> * u-boot.srec
>
> * u-boot.map
>
> * u-boot.lds
>
>
>
> However, I would want to initially boot from SD-card and I would like to
> be able to generate an imx image of the u-boot when running make. I
> looked at the Makefile from the Freescale release of u-boot-2009.08 and
> saw that it is fairly outdated - it does not support making of
> u-boot.imx image. At the same time I see that the general denx
> distribution (u-boot-2011.12) of u-boot sources does have the support
> for making u-boot.imx image in its Makefile. So I am wondering if a
> patch that can be applied to the u-boot-2009.08 Freescale u-boot source
> that will bring the make tools up to date and able to make u-boot.imx
> file does exist?
Using the Freescale 2009.08 U-Boot, you have everything you need with
the generated u-boot.bin. Or in other words: The Freescale U-Boot
u-boot.bin is from (SD) header point of view the same like the mainline
u-boot.imx. Or in other words: The Freescale U-Boot uses the
compiler/assembler to generate the header (see the file flash_header.S).
The mainline U-Boot uses the mkimage/imximage tool *after* the
u-boot.bin is generated to put the correct header in front of the
u-boot.bin resulting in u-boot.imx. I.e. the Freescale U-Boot does
everything in one step with the compiler/assembler, the mainline U-Boot
does the same in two steps with an extra tool.
Best regards
Dirk
next prev parent reply other threads:[~2012-03-06 6:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 3:13 [U-Boot] Building imximage for mx53ard board, supporting NAND and YAFFS2 Bud Miljkovic
2012-03-06 6:42 ` Dirk Behme [this message]
2012-03-06 12:53 ` Fabio Estevam
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=4F55B1BB.7000002@de.bosch.com \
--to=dirk.behme@de.bosch.com \
--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