From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 274AEE00BB6; Thu, 24 Sep 2015 14:03:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.55.86.74 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 23702E006EA for ; Thu, 24 Sep 2015 14:03:47 -0700 (PDT) Received: from [192.168.1.10] (c-73-194-208-34.hsd1.nj.comcast.net [73.194.208.34]) by smtp.webfaction.com (Postfix) with ESMTP id 73FE920790F8; Thu, 24 Sep 2015 21:03:46 +0000 (UTC) To: Otavio Salvador References: <1443114235-25405-1-git-send-email-otavio@ossystems.com.br> <56043495.7060700@mindchasers.com> From: Bob Cochran Message-ID: <56046530.7040202@mindchasers.com> Date: Thu, 24 Sep 2015 17:03:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Cc: meta-freescale Mailing List , Otavio Salvador Subject: Re: [meta-fsl-arm PATCH 1/3] u-boot-fslc: Update to 2015.10-based fork X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 21:03:50 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 09/24/2015 01:39 PM, Otavio Salvador wrote: > On Thu, Sep 24, 2015 at 2:36 PM, Bob Cochran 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