All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Boibessot <julien.boibessot@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] board: add support for Freescale i.MX6UL Evaluation Kit
Date: Thu, 21 Jan 2016 15:02:50 +0100	[thread overview]
Message-ID: <56A0E50A.2060002@free.fr> (raw)
In-Reply-To: <20160121133257.38d9a56a@free-electrons.com>

Thomas,

On 21/01/2016 13:32, Thomas Petazzoni wrote:
> 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.

cool ! Is that new ?
I will adapt my patch accordingly.

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

Well I was relying on Freescale/NXP fact sheets at:
   
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.mx-6-processors/i.mx6qp/i.mx-6ultralite-processor-low-power-secure-arm-cortex-a7-core:i.MX6UL

and didn't dig more than that. My fault !

> 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 :-)

No problemo ! Can you recommend a test tool to evaluate Floating point
performances inside BR ?

Thanks for your review.

Best regards,
Julien

  reply	other threads:[~2016-01-21 14:02 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
2016-01-21 14:02       ` Julien Boibessot [this message]
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=56A0E50A.2060002@free.fr \
    --to=julien.boibessot@free.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.