Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] board: add support for Freescale i.MX6UL Evaluation Kit
Date: Thu, 21 Jan 2016 13:32:57 +0100	[thread overview]
Message-ID: <20160121133257.38d9a56a@free-electrons.com> (raw)
In-Reply-To: <56A0C3B7.40900@free.fr>

Julien,

On Thu, 21 Jan 2016 12:40:39 +0100, Julien Boibessot wrote:

> 
> I first started to use genimage, yes, but as I wanted to mimic Freescale
> microSD partitionning I was stucked by the fact that genimage
> (apparently) doesn't handle VFAT partitions. Indeed i.MX6UL microSD
> Freescale's format is:
> * 1MB free
> * U-Boot
> * VFAT partition starting at offset 8M to store kernel and dtbs (size 16MB)
> * EXT2 rootfs on the remaining space.
> 
> So I ended up in using i.XM28EVK way of doing
> (board/freescale/imx28evk/create-boot-sd.sh).
> Do you agree ?

genimage is perfectly capable of creating a vfat partition, see
board/raspberrypi/genimage-raspberrypi.cfg for an example.

> > Why ? Any reason to use EABI over EABIhf, which is now the default in
> > Buildroot for Cortex-A processors ?
> 
> Well i.MX6UL has no VFPU, only a NEON, so I thought it was a good idea,
> no ? :-)

What is your source for this information, because it seems to be wrong.
According to ARM
(http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0463f/index.html):

"""
The Cortex-A7 MPCore processor implements the ARMv7-A architecture with
the following architecture extensions:
[...]
 - Vector Floating-Point version 4 (VFPv4) architecture extension for
   floating-point computation that is fully compliant with the IEEE 754
   standard.
"""

So, the Cortex-A7 (which is the core used in the i.MX6UL) has a
mandatory VFPv4 unit.

Also, according to Freescale
(http://cache.nxp.com/files/32bit/doc/fact_sheet/IMX6SRSFS.pdf), in
the column for i.MX6UL:

"""
128 KB L2 cache, NEON?, VFP, TrustZone?
"""

So, please use BR2_EABIHF, and improve your systems by using hard-float
instead of soft-float :-)

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2016-01-21 12:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-20 14:30 [Buildroot] [PATCH] board: add support for Freescale i.MX6UL Evaluation Kit julien.boibessot at free.fr
2016-01-20 20:10 ` Thomas Petazzoni
2016-01-21 11:40   ` Julien Boibessot
2016-01-21 12:32     ` Thomas Petazzoni [this message]
2016-01-21 14:02       ` Julien Boibessot
2016-01-21 14:09         ` Thomas Petazzoni

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=20160121133257.38d9a56a@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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