All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork
@ 2015-09-24 17:03 Otavio Salvador
  2015-09-24 17:03 ` [meta-fsl-arm PATCH 2/3] imx6ulevk: Use U-Boot FSLC by default Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Otavio Salvador @ 2015-09-24 17:03 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

This updates the fork based on upcoming 2015.10 release. This is
currently based on 2015.10-rc3 tag and offers a very solid release for
start the tests for Yocto Project 2.0 release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 ...-boot-fslc-mxsboot_2015.07.bb => u-boot-fslc-mxsboot_2015.10.bb} | 6 +++---
 recipes-bsp/u-boot/u-boot-fslc.inc                                  | 2 +-
 recipes-bsp/u-boot/u-boot-fslc_2015.07.bb                           | 6 ------
 recipes-bsp/u-boot/u-boot-fslc_2015.10.bb                           | 6 ++++++
 4 files changed, 10 insertions(+), 10 deletions(-)
 rename recipes-bsp/u-boot/{u-boot-fslc-mxsboot_2015.07.bb => u-boot-fslc-mxsboot_2015.10.bb} (87%)
 delete mode 100644 recipes-bsp/u-boot/u-boot-fslc_2015.07.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc_2015.10.bb

diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.07.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.10.bb
similarity index 87%
rename from recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.07.bb
rename to recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.10.bb
index 134d0f9..4a42f20 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.07.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.10.bb
@@ -5,10 +5,10 @@ SECTION = "bootloader"
 DEPENDS = "openssl"
 PROVIDES = "u-boot-mxsboot"
 
-PV = "v2015.07+git${SRCPV}"
+PV = "v2015.10+git${SRCPV}"
 
-SRCREV = "3f0c5353f93b5e9c4d57c9f3886ad4cd78c38a81"
-SRCBRANCH = "2015.07+fslc"
+SRCREV = "f4cd146a7a056eed26d2e35d546d874dadaa5a09"
+SRCBRANCH = "2015.10+fslc"
 
 SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
 
diff --git a/recipes-bsp/u-boot/u-boot-fslc.inc b/recipes-bsp/u-boot/u-boot-fslc.inc
index 5f297b9..df67469 100644
--- a/recipes-bsp/u-boot/u-boot-fslc.inc
+++ b/recipes-bsp/u-boot/u-boot-fslc.inc
@@ -11,7 +11,7 @@ was submitted for revision and it takes some time to become part of a stable \
 version, or because it is not applicable for upstreaming."
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
-COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf)"
+COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx6ul|mx7|vf)"
 
 DEPENDS_mxs += "elftosb-native openssl-native"
 
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2015.07.bb b/recipes-bsp/u-boot/u-boot-fslc_2015.07.bb
deleted file mode 100644
index fbe3eb1..0000000
--- a/recipes-bsp/u-boot/u-boot-fslc_2015.07.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-include u-boot-fslc.inc
-
-PV = "v2015.07+git${SRCPV}"
-
-SRCREV = "3f0c5353f93b5e9c4d57c9f3886ad4cd78c38a81"
-SRCBRANCH = "2015.07+fslc"
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2015.10.bb b/recipes-bsp/u-boot/u-boot-fslc_2015.10.bb
new file mode 100644
index 0000000..bc86ae9
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-fslc_2015.10.bb
@@ -0,0 +1,6 @@
+include u-boot-fslc.inc
+
+PV = "v2015.10+git${SRCPV}"
+
+SRCREV = "f4cd146a7a056eed26d2e35d546d874dadaa5a09"
+SRCBRANCH = "2015.10+fslc"
-- 
2.5.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-fsl-arm PATCH 2/3] imx6ulevk: Use U-Boot FSLC by default
  2015-09-24 17:03 [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Otavio Salvador
@ 2015-09-24 17:03 ` Otavio Salvador
  2015-09-24 17:03 ` [meta-fsl-arm PATCH 3/3] imx7dsabresd: " Otavio Salvador
  2015-09-24 17:36 ` [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Bob Cochran
  2 siblings, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2015-09-24 17:03 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

The U-Boot 2015.10 adds support for the i.MX6 UltraLite so we can use
it instead of Freescale fork, preferring the mainline code.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6ulevk.conf | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/conf/machine/imx6ulevk.conf b/conf/machine/imx6ulevk.conf
index 00423cb..6a26768 100644
--- a/conf/machine/imx6ulevk.conf
+++ b/conf/machine/imx6ulevk.conf
@@ -13,9 +13,6 @@ SOC_FAMILY = "mx6ul"
 
 KERNEL_DEVICETREE = "imx6ul-14x14-evk.dtb imx6ul-14x14-evk-csi.dtb"
 
-PREFERRED_PROVIDER_u-boot = "u-boot-imx"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
-
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "mx6ul_14x14_evk_config,sdcard"
 UBOOT_CONFIG[qspi1] = "mx6ul_14x14_evk_qspi1_config"
-- 
2.5.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-fsl-arm PATCH 3/3] imx7dsabresd: Use U-Boot FSLC by default
  2015-09-24 17:03 [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Otavio Salvador
  2015-09-24 17:03 ` [meta-fsl-arm PATCH 2/3] imx6ulevk: Use U-Boot FSLC by default Otavio Salvador
@ 2015-09-24 17:03 ` Otavio Salvador
  2015-09-24 17:36 ` [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Bob Cochran
  2 siblings, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2015-09-24 17:03 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

The U-Boot 2015.10 adds support for the i.MX7 so we can use it instead
of Freescale fork, preferring the mainline code.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx7dsabresd.conf | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/conf/machine/imx7dsabresd.conf b/conf/machine/imx7dsabresd.conf
index 9ee9ea3..f59a595 100644
--- a/conf/machine/imx7dsabresd.conf
+++ b/conf/machine/imx7dsabresd.conf
@@ -16,9 +16,6 @@ KERNEL_DEVICETREE = "imx7d-sdb.dtb imx7d-sdb-enet.dtb imx7d-sdb-epdc.dtb \
                      imx7d-sdb-qspi.dtb imx7d-sdb-wm8960.dtb imx7d-sdb-sim.dtb \
                      imx7d-sdb-touch.dtb"
 
-PREFERRED_PROVIDER_u-boot = "u-boot-imx"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
-
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "mx7dsabresd_config,sdcard"
 UBOOT_CONFIG[qspi1] = "mx7dsabresd_qspi1_config"
-- 
2.5.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork
  2015-09-24 17:03 [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Otavio Salvador
  2015-09-24 17:03 ` [meta-fsl-arm PATCH 2/3] imx6ulevk: Use U-Boot FSLC by default Otavio Salvador
  2015-09-24 17:03 ` [meta-fsl-arm PATCH 3/3] imx7dsabresd: " Otavio Salvador
@ 2015-09-24 17:36 ` Bob Cochran
  2015-09-24 17:39   ` Otavio Salvador
  2 siblings, 1 reply; 6+ messages in thread
From: Bob Cochran @ 2015-09-24 17:36 UTC (permalink / raw)
  To: Otavio Salvador, meta-freescale Mailing List

On 09/24/2015 01:03 PM, Otavio Salvador wrote:
> This updates the fork based on upcoming 2015.10 release. This is
> currently based on 2015.10-rc3 tag and offers a very solid release for
> start the tests for Yocto Project 2.0 release.

Is u-boot-fslc intended to support qoriq arm boards?   Are you or others 
testing with it against qoriq arm parts, or should we stick with 
u-boot_qoriq for an LS1A part?

Thanks


>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>   ...-boot-fslc-mxsboot_2015.07.bb => u-boot-fslc-mxsboot_2015.10.bb} | 6 +++---
>   recipes-bsp/u-boot/u-boot-fslc.inc                                  | 2 +-
>   recipes-bsp/u-boot/u-boot-fslc_2015.07.bb                           | 6 ------
>   recipes-bsp/u-boot/u-boot-fslc_2015.10.bb                           | 6 ++++++
>   4 files changed, 10 insertions(+), 10 deletions(-)
>   rename recipes-bsp/u-boot/{u-boot-fslc-mxsboot_2015.07.bb => u-boot-fslc-mxsboot_2015.10.bb} (87%)
>   delete mode 100644 recipes-bsp/u-boot/u-boot-fslc_2015.07.bb
>   create mode 100644 recipes-bsp/u-boot/u-boot-fslc_2015.10.bb
>
> diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.07.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.10.bb
> similarity index 87%
> rename from recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.07.bb
> rename to recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.10.bb
> index 134d0f9..4a42f20 100644
> --- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.07.bb
> +++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.10.bb
> @@ -5,10 +5,10 @@ SECTION = "bootloader"
>   DEPENDS = "openssl"
>   PROVIDES = "u-boot-mxsboot"
>
> -PV = "v2015.07+git${SRCPV}"
> +PV = "v2015.10+git${SRCPV}"
>
> -SRCREV = "3f0c5353f93b5e9c4d57c9f3886ad4cd78c38a81"
> -SRCBRANCH = "2015.07+fslc"
> +SRCREV = "f4cd146a7a056eed26d2e35d546d874dadaa5a09"
> +SRCBRANCH = "2015.10+fslc"
>
>   SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}"
>
> diff --git a/recipes-bsp/u-boot/u-boot-fslc.inc b/recipes-bsp/u-boot/u-boot-fslc.inc
> index 5f297b9..df67469 100644
> --- a/recipes-bsp/u-boot/u-boot-fslc.inc
> +++ b/recipes-bsp/u-boot/u-boot-fslc.inc
> @@ -11,7 +11,7 @@ was submitted for revision and it takes some time to become part of a stable \
>   version, or because it is not applicable for upstreaming."
>   LICENSE = "GPLv2+"
>   LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
> -COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf)"
> +COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx6ul|mx7|vf)"
>
>   DEPENDS_mxs += "elftosb-native openssl-native"
>
> diff --git a/recipes-bsp/u-boot/u-boot-fslc_2015.07.bb b/recipes-bsp/u-boot/u-boot-fslc_2015.07.bb
> deleted file mode 100644
> index fbe3eb1..0000000
> --- a/recipes-bsp/u-boot/u-boot-fslc_2015.07.bb
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -include u-boot-fslc.inc
> -
> -PV = "v2015.07+git${SRCPV}"
> -
> -SRCREV = "3f0c5353f93b5e9c4d57c9f3886ad4cd78c38a81"
> -SRCBRANCH = "2015.07+fslc"
> diff --git a/recipes-bsp/u-boot/u-boot-fslc_2015.10.bb b/recipes-bsp/u-boot/u-boot-fslc_2015.10.bb
> new file mode 100644
> index 0000000..bc86ae9
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot-fslc_2015.10.bb
> @@ -0,0 +1,6 @@
> +include u-boot-fslc.inc
> +
> +PV = "v2015.10+git${SRCPV}"
> +
> +SRCREV = "f4cd146a7a056eed26d2e35d546d874dadaa5a09"
> +SRCBRANCH = "2015.10+fslc"
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork
  2015-09-24 17:36 ` [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Bob Cochran
@ 2015-09-24 17:39   ` Otavio Salvador
  2015-09-24 21:03     ` Bob Cochran
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2015-09-24 17:39 UTC (permalink / raw)
  To: Bob Cochran; +Cc: meta-freescale Mailing List, Otavio Salvador

On Thu, Sep 24, 2015 at 2:36 PM, Bob Cochran <yocto@mindchasers.com> wrote:
> On 09/24/2015 01:03 PM, Otavio Salvador wrote:
>>
>> This updates the fork based on upcoming 2015.10 release. This is
>> currently based on 2015.10-rc3 tag and offers a very solid release for
>> start the tests for Yocto Project 2.0 release.
>
> Is u-boot-fslc intended to support qoriq arm boards?   Are you or others
> testing with it against qoriq arm parts, or should we stick with
> u-boot_qoriq for an LS1A part?

It does  support it but I never tested it. If you are willing to get
it working and send the patches I would love to get it merged ;-)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork
  2015-09-24 17:39   ` Otavio Salvador
@ 2015-09-24 21:03     ` Bob Cochran
  0 siblings, 0 replies; 6+ messages in thread
From: Bob Cochran @ 2015-09-24 21:03 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List, Otavio Salvador

On 09/24/2015 01:39 PM, Otavio Salvador wrote:
> On Thu, Sep 24, 2015 at 2:36 PM, Bob Cochran <yocto@mindchasers.com> wrote:
>> On 09/24/2015 01:03 PM, Otavio Salvador wrote:
>>>
>>> This updates the fork based on upcoming 2015.10 release. This is
>>> currently based on 2015.10-rc3 tag and offers a very solid release for
>>> start the tests for Yocto Project 2.0 release.
>>
>> Is u-boot-fslc intended to support qoriq arm boards?   Are you or others
>> testing with it against qoriq arm parts, or should we stick with
>> u-boot_qoriq for an LS1A part?
>
> It does  support it but I never tested it. If you are willing to get
> it working and send the patches I would love to get it merged ;-)
>

Thanks. I'm impressed that 2015.10 u-boot, which I built using 
u-boot-fslc_2015.10.bb, booted on the first try with my brand new Rev 
2.0 silicon TWR-LS1021A-PB.

I took your recipe patch and applied it to the meta-freescale 
github-based layer and built it using poky master.   All I had to do was 
add qoriq as a compatible machine and change the preferred provider in a 
conf file.

I wasn't as lucky with Linux.  It did hang far into the boot process 
while booting FSL's SDK kernel built using the SDK toolchain.

I started comparing the u-boot git logs for ls1021a related commits 
between the mainline repo and the fsl qoriq repo.  I wasn't surprised 
that some might be missing in the mainline, which maybe is the root 
cause of Linux hanging during boot.

You can count me in to help with this as we move along.  I'll reply 
again in a few days after I dig in further.


A screen shot is provided below of u-boot booting.  Also, a snippet of 
where Linux hangs is also provided below.  I'll appreciate any guidance 
on where to look for why it's hanging.



U-Boot 2015.10-rc3+fslc+gf4cd146 (Sep 24 2015 - 16:23:55 -0400)

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)
Clock Configuration:
        CPU0(ARMV7):1000 MHz,
        Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
        00000000: 0608000a 00000000 00000000 00000000
        00000010: 70000000 00007900 e0025a00 21046000
        00000020: 00000000 00000000 00000000 20000000
        00000030: 00080000 881b7340 00000000 00000000
Board: LS1021ATWR
CPLD:  V2.0
PCBA:  V1.0
VBank: 1
I2C:   ready
DRAM:  1 GiB
Using SERDES1 Protocol: 112 (0x70)
Not a microcode
Flash: 128 MiB
MMC:   FSL_SDHC: 0
EEPROM: NXID v16777216
PCIe1: Root Complex no link, regs @ 0x3400000
PCIe2: Root Complex no link, regs @ 0x3500000
In:    serial
Out:   serial
Err:   serial
SEC: RNG instantiated
Net:   eTSEC2 is in sgmii mode.
eTSEC1, eTSEC2, eTSEC3 [PRIME]
Hit any key to stop autoboot:  0






....
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
Key type dns_resolver registered
regulator-dummy: disabling
hub 1-1:1.0: USB hub found
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
hub 1-1:1.0: 4 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 2-1: Parent hub missing LPM exit latency info.  Power management 
will be impacted.
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
libphy: mdio@2d24000:01 - Link is Up - 1000/Full
IP-Config: Gateway not on directly connected network
ALSA device list:
   #0: FSL-VF610-TWR-BOARD





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-24 21:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 17:03 [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Otavio Salvador
2015-09-24 17:03 ` [meta-fsl-arm PATCH 2/3] imx6ulevk: Use U-Boot FSLC by default Otavio Salvador
2015-09-24 17:03 ` [meta-fsl-arm PATCH 3/3] imx7dsabresd: " Otavio Salvador
2015-09-24 17:36 ` [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork Bob Cochran
2015-09-24 17:39   ` Otavio Salvador
2015-09-24 21:03     ` Bob Cochran

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.