From owner-freebsd-arm@freebsd.org Thu Jul 2 14:09:06 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 281459939DF for ; Thu, 2 Jul 2015 14:09:06 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::229]) (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 DB2FF10DE for ; Thu, 2 Jul 2015 14:09:05 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykdr198 with SMTP id r198so68832761ykd.3 for ; Thu, 02 Jul 2015 07:09:05 -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=zh4Kav2b6sYX9Vq/s6t23KTCsiy0YBXxmJiWGPqKIUU=; b=doKJBLkaLkNFJqQp5UvWJZah1oRfIFKiy9zqQNKpZx6VgsVDFFQvMKDF0Z7QjDCpeN G8FRCQiQ4As5+UWCF3pFRqa9ziJJUA1OqgN52YveZJwIQVqqXxjPvRJGsLnT1c+CDvUd AYazd5mZJQfb5OUhb6H5Ya7//I67V1kQL+gQLi5m4zj7GtmCn95FOsbeqsCZIWg+iM7w hRkKoRxVAdTfyiGEXEK92M9cElXepS8nO9N+R12jRx/YtUp12UjlloxGl8t0bfDEPBdl IIy3mDK8WRBQFCpWHavngbu9WbK+Cp7ITlbmwZEsKVgrPrB83q7RKhc/iH9spdbjtRPl WHfQ== MIME-Version: 1.0 X-Received: by 10.129.85.69 with SMTP id j66mr39702356ywb.40.1435846145034; Thu, 02 Jul 2015 07:09:05 -0700 (PDT) Received: by 10.37.10.65 with HTTP; Thu, 2 Jul 2015 07:09:04 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Jul 2015 16:09:04 +0200 Message-ID: Subject: Re: No valid device tree blob found! with hummingboard FreeBSD-current From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= To: Yoshiro MIHIRA Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/mixed; boundary=001a113f27986d7b320519e4fb1d 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: Thu, 02 Jul 2015 14:09:06 -0000 --001a113f27986d7b320519e4fb1d Content-Type: text/plain; charset=UTF-8 2015-07-02 15:06 GMT+02:00 Yoshiro MIHIRA : > Hi all, > > I tried to use hummingboard-i2 and FreeBSD-11-current as below image > > FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150625-r284814.img > > However I could not boot FreeBSD with below message. > Please let me know how to boot hummingboard-i2. > > U-Boot SPL 2013.10-rc4 (Jun 25 2015 - 21:13:52) > Boot Device: UNKNOWN.. > spl: error reading image u-boot.img, err - -1 > Load image from RAW... > > > U-Boot 2013.10-rc4 (Jun 25 2015 - 21:13:52) > > CPU: Freescale i.MX6DL rev1.1 at 792 MHz > Reset cause: POR > Board: MX6-HummingBoard > DRAM: 1 GiB > MMC: FSL_SDHC: 0 > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Net: FEC [PRIME] > ** Unable to read file uEnv.txt ** > Hit any key to stop autoboot: 0 > Booting from: mmc 0 ubldr > 260690 bytes read in 26 ms (9.6 MiB/s) > ## Starting application at 0x12000094 ... > Consoles: U-Boot console > Compatible U-Boot API signature found @4f7708a8 > > FreeBSD/armv6 U-Boot loader, Revision 1.2 > (root@releng2.nyi.freebsd.org, Thu Jun 25 21:33:03 UTC 2015) > > DRAM: 1024MB > Number of U-Boot devices: 2 > U-Boot env: loaderdev='mmc 0' > Found U-Boot device: disk > Checking unit=0 slice= partition=... good. > / > /boot/kernel/kernel data=0x5aa2dc+0x3dd24 syms=[0x4+0x5c970+0x4+0x586b1] > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > No valid device tree blob found! > > Type '?' for a list of commands, 'help' for more detailed help. > loader> fdt ls > No device tree blob found! > > loader> Hi, Can you try the attached patch (against sysutils/u-boot-cubox-hummingboard), you'll have to rewrite uboot to the sdcard (see /usr/local/share/u-boot/u-boot-cubox-hummingboard/README). Also available here: http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-hummingboard.patch --001a113f27986d7b320519e4fb1d Content-Type: text/x-patch; charset=US-ASCII; name="sysutils_u-boot-cubox-hummingboard.patch" Content-Disposition: attachment; filename="sysutils_u-boot-cubox-hummingboard.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ibm9pokg0 LS0tIGZpbGVzL3BhdGNoLWJvYXJkX3NvbGlkcnVuX214Nl9fY3Vib3gtaV9teDZfX2N1Ym94LWku YwkocmV2aXNpb24gMzkxMTQ2KQorKysgZmlsZXMvcGF0Y2gtYm9hcmRfc29saWRydW5fbXg2X19j dWJveC1pX214Nl9fY3Vib3gtaS5jCSh3b3JraW5nIGNvcHkpCkBAIC0xMiw3ICsxMiw3IEBACiAg fQogIAogIHN0YXRpYyBjaGFyIGNvbnN0ICpib2FyZF90eXBlID0gInVuaW5pdGlhbGl6ZWQiOwot K3N0YXRpYyBjaGFyIGNvbnN0ICpmZHRfYm9hcmQ7Cisrc3RhdGljIGNoYXIgY29uc3QgKmZkdF9i b2FyZCA9ICJ1bmluaXRpYWxpemVkIjsKICAKICBpbnQgY2hlY2tib2FyZCh2b2lkKQogIHsK --001a113f27986d7b320519e4fb1d--