From owner-freebsd-arm@freebsd.org Sat Jul 25 23:59:25 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 647869AADF3 for ; Sat, 25 Jul 2015 23:59:25 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (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 DC83182D for ; Sat, 25 Jul 2015 23:59:24 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by lbbqi7 with SMTP id qi7so33718911lbb.3 for ; Sat, 25 Jul 2015 16:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wTioei3VrPcuCJ3Ctjesd/+wjTDdd/17tNAQG0W1MVk=; b=rQ3z53nNZUAbb2GEAW5aE1uqywGUwbyymMojhdmPE8wJWLo7Zq1MFoPniykf0KMQtl JU6HJkljNdP38p1133SHYmWH6e4pIjxhKDsx7saIHYueVVNQM/l8w9DpS7VSrZ+Ipuql +W2tbhVV86BDrlX02jX9WAEI0SqFVJrJwLm3MCPkR+ECNtKa+VxKyp03AOhzJPrKXsXD A8YAQncSun/sOwWoEv5rGeGCd8ZjVsRM73nuXfXFFYnhIbhv/AhTb+gWoT794dC12/N3 aSa1SGNHCMy06frHJmwSxVg3XAo5SV3hkDCBL80oZDUk74b5pUGjgfKrEL6juBhylTPb heHg== MIME-Version: 1.0 X-Received: by 10.112.24.71 with SMTP id s7mr19709014lbf.37.1437868762849; Sat, 25 Jul 2015 16:59:22 -0700 (PDT) Received: by 10.152.180.166 with HTTP; Sat, 25 Jul 2015 16:59:22 -0700 (PDT) Date: Sat, 25 Jul 2015 16:59:22 -0700 Message-ID: Subject: HummingBoard Boot From: Russell Haley To: 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: Sat, 25 Jul 2015 23:59:25 -0000 Hi there, Ian, thanks for all your great updates on the arm iMX6 pages. I went out and picked up a hummingboard and I'm trying to put this all together. I was able to find and flash the u-boot image for the cubox-hummingboard. Ian, thank you again for your efforts there. However, there are two things that are not clear to me from the iMX6 page: 1) where does the u-boot environment variable file go? 2) where do I put ubldr on the SD? I am thinking within the first 1 MB? 2b) I noticed in a Linux image the boot loader had an SDL file and a u-boot.imx file. Your instruction on the iMx6 page verified that is the process. However, the files installed from the pkgng system is only a u-boot.imx file. Am I missing anopther piece? Finally, I will go back and get my head in crochet again soon, but I was wondering if it's possible for me to just use the current snapshot release from the website? ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150722-r285794.img.xz I opened it up and it seemed to be a fat filesystem and a ufs filesystem (I didn't go any further than this. Is this ubldr and rootfs with kernel in /sys/?). I'm hoping I can just do this: sudo pkg install u-boot-cubox-hummingboard cd /usr/local/share/u-boot/u-boot-cubox-hummingboard dd if=u-boot.imx of=/dev/da2 bs=1k oseek=1 conv=sync cd /usr/snapshot/current wget ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150722-r285794.img.xz dd if=FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150722-r285794.img.xz of=/dev/da2 bs=1k seek=1024 boot! Thanks Russ p.s. I bought the freeBSD driver book. I am trying to obsorb it as fast as I can. Is there a particular driver that I could/should dig in on from the list on the iMX6 page? Is there something I can help debug or document?