From owner-freebsd-arm@freebsd.org Mon Jul 13 17:35:54 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 183DF99B2D2 for ; Mon, 13 Jul 2015 17:35:54 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3.ore.mailhop.org (erouter6.ore.mailhop.org [54.187.213.119]) by mx1.freebsd.org (Postfix) with SMTP id EF28E2BB for ; Mon, 13 Jul 2015 17:35:53 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound3.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Mon, 13 Jul 2015 17:34:20 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t6DHZiqd047514; Mon, 13 Jul 2015 11:35:44 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1436808944.1334.206.camel@freebsd.org> Subject: Re: RPi won't boot 10.2-BETA1 From: Ian Lepore To: Leonardo Fogel Cc: freebsd-arm@freebsd.org Date: Mon, 13 Jul 2015 11:35:44 -0600 In-Reply-To: <1436808326.55378.YahooMailBasic@web120802.mail.ne1.yahoo.com> References: <1436808326.55378.YahooMailBasic@web120802.mail.ne1.yahoo.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: Mon, 13 Jul 2015 17:35:54 -0000 On Mon, 2015-07-13 at 10:25 -0700, Leonardo Fogel wrote: > > Does anybody see what I am missing here? Thanks for any suggestions. > > I've got a similar error trying to boot the BBB image. As I understand it, the image itself is broken. > On the U-Boot> prompt, you can type the command 'fatls mmc 0' to list the FAT content. You'll see there isn't any kernel image, the filenames are not in the "canonical" form, and (BB-)uEnv.txt is empty. > > Just in case you don't know, these are the steps to mount the image (the FAT partition) from Linux: > # rmmod loop > # modprobe loop max_part=16 > # losetup /dev/loop0 > # mount /dev/loop0p1 > This appears to be purely linux-oriented commands and advice. There is, by design, no kernel image file visible to u-boot, because the kernel lives in the ufs filesystem, and u-boot doesn't read ufs. What you should see in the FAT partition is u-boot and ubldr (and on an RPi some firmware files). U-boot loads ubldr, and ubldr loads the kernel and the fdt data from the freebsd filesystem. -- Ian