From owner-freebsd-arm@freebsd.org Sun Aug 2 11:34:57 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42CA29B187C for ; Sun, 2 Aug 2015 11:34:57 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yk0-x234.google.com (mail-yk0-x234.google.com [IPv6:2607:f8b0:4002:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01EED1B9E for ; Sun, 2 Aug 2015 11:34:57 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykax123 with SMTP id x123so91130152yka.1 for ; Sun, 02 Aug 2015 04:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MVhPZHjoANB2SSHMsgTogKXw4VzzNg67gDTSG7kIqXs=; b=wX1q4d9lKyuMi3UPAgA9QGkZY0NFgVUMKGKHPRMloCZRz0a/zwWVUtThrgVjdt2/JE DRlQ4YCAXq1zaBp64GV2sQ8TMcozMZuEMRXwmnLc1UUIn5K1dszV6JIbxLhcL7E1m3TB jmZmsZAy4acSu29zBxrpvK30EBpCUES/yS/ZHiXd//yitydf6KQ8uCDwIG2WkTx12d11 Botlr1YwZMbIhhi25LfrHG37clm4ASQvoU2cqVUbby/ISPc7G63cIWpkTIjP/gL5ueTJ pRC3b1lCxGyV6isBRReM6W53xbPxzch+EV3rt37v6MCnJBRB1NgsJUpfxZ1YyaTjegCy GRjA== MIME-Version: 1.0 X-Received: by 10.129.110.133 with SMTP id j127mr14108926ywc.86.1438515296164; Sun, 02 Aug 2015 04:34:56 -0700 (PDT) Received: by 10.37.203.141 with HTTP; Sun, 2 Aug 2015 04:34:56 -0700 (PDT) In-Reply-To: References: <20150728173831.229400355e485fa511ca388b@ulrich-grey.de> <20150801182519.4886608.58781.1809@gmail.com> Date: Sun, 2 Aug 2015 13:34:56 +0200 Message-ID: Subject: Re: Hummingboard u-boot not loading? From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= To: Russell Haley Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 11:34:57 -0000 2015-08-02 5:57 GMT+02:00 Russell Haley : > Thanks Mikael, > > I was able to build using the patches you provided and the binary > u-boot.imx is the exact same size as the one from pkgng. However, > nothing happens when I boot it: I've tried it on my cubox, the u-boot binary is broken: U-Boot 2013.10-rc4 (Aug 02 2015 - 11:08:43) CPU: Freescale i.MX6Q rev1.5 at 792 MHz Reset cause: WDOG Board: MX6-CuBox-i DRAM: 2 GiB MMC: FSL_SDHC: 0 data abort MAYBE you should read doc/README.arm-unaligned-accesses pc : [<8ff785ea>] lr : [<8ff78217>] sp : 8f76ce10 ip : 00000000 fp : 8f773160 r10: 00001fe0 r9 : 8f76ef38 r8 : 8f76f180 r7 : 8f76f188 r6 : 8f773160 r5 : 8f773164 r4 : 8f773a50 r3 : 00000000 r2 : 00000001 r1 : 80000000 r0 : 00000000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... > 2) The build from pkgng > root@Jailbird:/usr/local/share/u-boot/u-boot-cubox-hummingboard# ll > total 201 > -rw-r--r-- 1 root wheel 900 Jul 23 16:47 README > -rw-r--r-- 1 root wheel 271360 Jul 23 16:47 u-boot.imx > root@Jailbird:/usr/local/share/u-boot/u-boot-cubox-hummingboard# dd > if=u-boot.imx of=/dev/da2 bs=1k oseek=1 conv=sync > 265+0 records in > 265+0 records out > 271360 bytes transferred in 0.625492 secs (433834 bytes/sec) > > BOOT RESPONSE: Screen Starts, Solid Run Logo - no console. Do you have a serial console? See this thread if you need the hdmi output: https://lists.freebsd.org/pipermail/freebsd-arm/2015-July/011912.html