mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Yunus Bas <y.bas@phytec.de>
To: barebox@lists.infradead.org
Subject: Re: [PATCH v2] ARM: dts: imx6ul: phycore: Add phyCORE i.MX6 UL with eMMC
Date: Wed, 7 Oct 2020 14:29:07 +0200	[thread overview]
Message-ID: <00fe1343-a0f1-ab84-408b-7e683a3afe46@phytec.de> (raw)
In-Reply-To: <20201002071849.GB12463@pengutronix.de>

Hi Sascha,

Am 02.10.20 um 09:18 schrieb Sascha Hauer:
> On Thu, Oct 01, 2020 at 11:49:15AM +0200, Yunus Bas wrote:
>> Add a phyCORE-i.MX 6UL with eMMC. It has following features:
>>          - i.MX 6UL
>>          - 512 MB RAM
>>          - eMMC
>>          - 10/100 MBits Ethernet
>>          - USB OTG
>>          - USB Host
>>
>> Signed-off-by: Yunus Bas <y.bas@phytec.de>
>> ---
>> Changes in v2:
>>   - Added missing include for the FIT-Image verification
>> ---
>>   arch/arm/boards/phytec-som-imx6/lowlevel.c    |  1 +
>>   arch/arm/dts/Makefile                         |  1 +
>>   .../dts/imx6ul-phytec-phycore-som-emmc.dts    | 45 +++++++++++++++++++
>>   images/Makefile.imx                           |  2 +
>>   4 files changed, 49 insertions(+)
>>   create mode 100644 arch/arm/dts/imx6ul-phytec-phycore-som-emmc.dts
>>
>> diff --git a/arch/arm/boards/phytec-som-imx6/lowlevel.c b/arch/arm/boards/phytec-som-imx6/lowlevel.c
>> index 407115c2a..62a1c8de7 100644
>> --- a/arch/arm/boards/phytec-som-imx6/lowlevel.c
>> +++ b/arch/arm/boards/phytec-som-imx6/lowlevel.c
>> @@ -110,6 +110,7 @@ PHYTEC_ENTRY(start_phytec_phycore_imx6qp_som_nand_1gib, imx6qp_phytec_phycore_so
>>   PHYTEC_ENTRY(start_phytec_phycore_imx6q_som_emmc_1gib, imx6q_phytec_phycore_som_emmc, SZ_1G, true);
>>   PHYTEC_ENTRY(start_phytec_phycore_imx6q_som_emmc_2gib, imx6q_phytec_phycore_som_emmc, SZ_2G, true);
>>   
>> +PHYTEC_ENTRY(start_phytec_phycore_imx6ul_som_emmc_512mb, imx6ul_phytec_phycore_som_emmc, SZ_512M, false);
>>   PHYTEC_ENTRY(start_phytec_phycore_imx6ul_som_nand_512mb, imx6ul_phytec_phycore_som_nand, SZ_512M, false);
>>   PHYTEC_ENTRY(start_phytec_phycore_imx6ull_som_lc_nand_256mb, imx6ull_phytec_phycore_som_lc_nand, SZ_256M, false);
>>   PHYTEC_ENTRY(start_phytec_phycore_imx6ull_som_nand_512mb, imx6ull_phytec_phycore_som_nand, SZ_512M, false);
>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
>> index af061bd29..37e0f07b9 100644
>> --- a/arch/arm/dts/Makefile
>> +++ b/arch/arm/dts/Makefile
>> @@ -67,6 +67,7 @@ lwl-$(CONFIG_MACH_PHYTEC_SOM_IMX6) += imx6q-phytec-phycard.dtb.o \
>>   				imx6dl-phytec-phycore-som-emmc.dtb.o \
>>   				imx6dl-phytec-phycore-som-lc-emmc.dtb.o \
>>   				imx6ul-phytec-phycore-som-nand.dtb.o \
>> +				imx6ul-phytec-phycore-som-emmc.dtb.o \
>>   				imx6ull-phytec-phycore-som-lc-nand.dtb.o \
>>   				imx6ull-phytec-phycore-som-nand.dtb.o \
>>   				imx6ull-phytec-phycore-som-emmc.dtb.o
>> diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som-emmc.dts b/arch/arm/dts/imx6ul-phytec-phycore-som-emmc.dts
>> new file mode 100644
>> index 000000000..7d29c329a
>> --- /dev/null
>> +++ b/arch/arm/dts/imx6ul-phytec-phycore-som-emmc.dts
>> @@ -0,0 +1,45 @@
>> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
>> +/*
>> + * Copyright (C) 2020 PHYTEC Messtechnik GmbH
>> + * Author: Yunus Bas <y.bas@phytec.de>
>> + */
>> +
>> +/dts-v1/;
>> +#ifdef CONFIG_BOOTM_FITIMAGE_PUBKEY
>> +#include CONFIG_BOOTM_FITIMAGE_PUBKEY
>> +#endif
>> +#include <arm/imx6ul.dtsi>
>> +#include "imx6ul-phytec-phycore-som.dtsi"
>> +
>> +/ {
>> +	model = "PHYTEC phyCORE-i.MX6 Ultra Light SOM with eMMC";
>> +	compatible = "phytec,imx6ul-pcl063-emmc", "fsl,imx6ul";
>> +};
>> +
>> +&fec1 {
>> +	status = "okay";
>> +};
>> +
>> +&i2c1 {
>> +	status = "okay";
>> +};
>> +
>> +&uart1 {
>> +	status = "okay";
>> +};
>> +
>> +&usdhc1 {
>> +	status = "okay";
>> +};
>> +
>> +&usdhc2 {
>> +	status = "okay";
>> +};
>> +
>> +&usbotg1 {
>> +	status = "okay";
>> +};
>> +
>> +&usbotg2 {
>> +	status = "okay";
>> +};
>> diff --git a/images/Makefile.imx b/images/Makefile.imx
>> index 7b24e5fee..2327b8a0b 100644
>> --- a/images/Makefile.imx
>> +++ b/images/Makefile.imx
>> @@ -346,6 +346,8 @@ $(call build_imx_habv4img, CONFIG_MACH_GRINN_LITEBOARD, start_imx6ul_liteboard_5
>>   
>>   $(call build_imx_habv4img, CONFIG_MACH_NXP_IMX6ULL_EVK, start_nxp_imx6ull_evk, nxp-imx6ull-evk/flash-header-nxp-imx6ull-evk, nxp-imx6ull-evk)
>>   
>> +$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ul_som_emmc_512mb, phytec-som-imx6/flash-header-phytec-pcl063-512mb, phytec-phycore-imx6ul-emmc-512mb)
>> +
> There is a 'ul' missing for mainline, should be:
>
> phytec-som-imx6/flash-header-phytec-pcl063ul-512mb
>
> I fixed this up here, please check -next branch if the result matches
> your expectations.
>
> Sascha

Thank you for the fix. The split-up of 
flash-header-phytec-pcl063-512mb.imxcfg was sent one day prior to my 
patch. It was my fault for not noticing.

Yunus

>
-- 
Yunus Bas
- Software Entwicklung -
Tel.: +49 6131 92 21 0
y.bas@phytec.de
<http://www.phytec.de/>


PHYTEC Messtechnik GmbH | Robert-Koch-Str. 39 | 55129 Mainz, Germany
Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber | Handelsregister Mainz HRB 4656 | Finanzamt Mainz | St.Nr. 266500608, DE 149059855
This E-Mail may contain confidential or privileged information. If you are not the intended recipient (or have received this E-Mail in error) please notify the sender immediately and destroy this E-Mail. Any unauthorized copying, disclosure or distribution of the material in this E-Mail is strictly forbidden.


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

      reply	other threads:[~2020-10-07 12:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01  9:49 Yunus Bas
2020-10-02  4:37 ` Sascha Hauer
2020-10-02  7:18 ` Sascha Hauer
2020-10-07 12:29   ` Yunus Bas [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=00fe1343-a0f1-ab84-408b-7e683a3afe46@phytec.de \
    --to=y.bas@phytec.de \
    --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