From owner-freebsd-arm@FreeBSD.ORG Wed May 20 17:02:14 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C94446D for ; Wed, 20 May 2015 17:02:14 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (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 566C3153B for ; Wed, 20 May 2015 17:02:14 +0000 (UTC) Received: by qcir1 with SMTP id r1so26377736qci.3 for ; Wed, 20 May 2015 10:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=hUVdjODohg4SDdc2ycP0TWrSwO3uT1OIqE9XbXZcWr8=; b=dlcj4Y4/QMetI9Pj+q6KKbE1ivS3PSIHH+G1wjR3sf9IzyePdKQ/ddWaRd1oxwChZa t2COY/riu1B6J3R4aDGFeFtROEuJHA4pCjXj/pmIkvwhnbEREs6D3WT67uccpxlPH7UB 7XUWZ82zelxx6zf5f9J2OaDwEs+/ipNJ0MIjOPfwMOPHK10/Vc0zT/1s0Y4iOq+BCByc iJs5Xkp8rs5hgu018mQOcpIvE/ao+yo9c0lbAMPaFnbT0DKas3FDl+EDVo3h7Dqcrg5n 2oniktRp41cj4m4wMBRWavZbmF9LQPal2xsAzKf+FqRb1YuxGvdN1onBZfriWMGuShzm NBkQ== X-Received: by 10.140.236.73 with SMTP id h70mr46729079qhc.20.1432141333521; Wed, 20 May 2015 10:02:13 -0700 (PDT) Received: from [10.0.0.5] (96-39-105-86.static.oxfr.ma.charter.com. [96.39.105.86]) by mx.google.com with ESMTPSA id f64sm11418875qhc.37.2015.05.20.10.02.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 May 2015 10:02:13 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: [Patch v1] [BeagleBone Black] port the latest u-boot-2014-01 From: Arjan van der Velde In-Reply-To: <81FF0940-10BF-4771-B982-C1D1D3C83941@gmail.com> Date: Wed, 20 May 2015 13:02:11 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <81FF0940-10BF-4771-B982-C1D1D3C83941@gmail.com> To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.1085) 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: Wed, 20 May 2015 17:02:14 -0000 Im sorry, this was in response to an old thread. I have used the latest = beaglebone FreeBSD snapshot (of 10.1) and copied the image to eMMC of my = beaglebone black, using the copy-to-emms.sh script. However, u-boot = seems unable to find the boot device. I'm not sure as to where I should = start looking. Thanks for your help. -- Arjan My partitions are as follows: root@beaglebone:~ # gpart show mmcsd1 =3D> 63 7552961 mmcsd1 MBR (3.6G) 63 4095 1 !12 [active] (2.0M) 4158 7548849 2 freebsd (3.6G) 7553007 17 - free - (8.5K) root@beaglebone:~ # mount -t msdosfs /dev/mmcsd1s1 /mnt root@beaglebone:~ # ll /mnt total 729 -rwxr-xr-x 1 root wheel 357652 May 20 11:40 bb-uboot.img* -rwxr-xr-x 1 root wheel 19 May 20 12:35 bb-uenv.txt* -rwxr-xr-x 1 root wheel 15838 May 20 11:40 bbone.dtb* -rwxr-xr-x 1 root wheel 10051 May 20 11:40 bbone.dts* -rwxr-xr-x 1 root wheel 16284 May 20 11:40 bboneblk.dtb* -rwxr-xr-x 1 root wheel 10548 May 20 11:40 bboneblk.dts* -rwxr-xr-x 1 root wheel 251606 May 20 11:40 bbubldr* -rwxr-xr-x 1 root wheel 82136 May 20 11:40 mlo* root@beaglebone:~ # umount /mnt/ root@beaglebone:~ # mount /dev/mmcsd1s2a /mnt root@beaglebone:~ # ll /mnt total 29620 -rw-r--r-- 2 root wheel 964 Apr 28 00:57 .cshrc -rw-r--r-- 2 root wheel 252 Apr 28 00:57 .profile drwxrwxr-x 2 root operator 512 Apr 28 00:56 .snap/ -r-------- 1 root wheel 30212096 May 20 11:40 .sujournal -r--r--r-- 1 root wheel 6195 Apr 28 00:57 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Apr 28 00:56 bin/ drwxr-xr-x 9 root wheel 1024 Apr 28 00:57 boot/ dr-xr-xr-x 2 root wheel 512 May 20 11:42 dev/ etc. On May 20, 2015, at 12:44 PM, Arjan van der Velde wrote: > Hello. Have you been able to solve this problem? I'm stuck with the = same thing. I seem unable to boot the 10.1 image from emmc. >=20 > U-Boot 2014.04 (Apr 28 2015 - 04:56:05) >=20 > I2C: ready > DRAM: 512 MiB > MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 > Using default environment >=20 > Net: not set. Validating first E-fuse MAC > cpsw, usb_ether > Hit any key to stop autoboot: 0 > Card did not respond to voltage select! > mmc0(part 0) is current device > Card did not respond to voltage select! > mmc1(part 0) is current device > SD/MMC found on device 1 > reading bb-uEnv.txt > 19 bytes read in 3 ms (5.9 KiB/s) > Loaded environment from bb-uEnv.txt > Importing environment from mmc ... > reading bbubldr > 251606 bytes read in 16 ms (15 MiB/s) > reading bboneblk.dtb > 16284 bytes read in 4 ms (3.9 MiB/s) > ## Starting application at 0x88000054 ... > Consoles: U-Boot console > Compatible U-Boot API signature found @9f635510 >=20 > FreeBSD/armv6 U-Boot loader, Revision 1.2 > (root@releng1.nyi.freebsd.org, Tue Apr 28 04:56:01 UTC 2015) >=20 > DRAM: 512MB > Card did not respond to voltage select! > Card did not respond to voltage select! > Number of U-Boot devices: 1 > U-Boot env: loaderdev=3D'mmc1:2.0' > Found U-Boot device: net > No boot device found! > ## Application terminated, rc =3D 0xbadef1ce > ## Error: "nandboot" not defined > U-Boot# >=20 >=20