From owner-freebsd-arm@FreeBSD.ORG Mon Jul 22 10:04:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4204211E for ; Mon, 22 Jul 2013 10:04:20 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC0CC2017 for ; Mon, 22 Jul 2013 10:04:18 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id k10so1675011wiv.11 for ; Mon, 22 Jul 2013 03:04:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=Jm7oCKNS0FCsA4P3IfRRDoiO/nBW955OwGsHadE005s=; b=LXb47BO9wIKgYHgEIyvYMzu7KBA2aRVBmJCYg7B7xfKkjmwiAiTNzUnmPDFNeQIICZ IvYUUcXUqTnmgELHfluk/ttKivC+OPT+doeoBxTzROU9w0hZtvWsdSnxwVk4AjTKyntn PF1jBPhrbI+1q41o+0vuGSYyvKZ4J9Oz+spNgTkOMhNxNQIuC2pYqiLizQBnJatWM3at Q5fbKvQTVnBBWVQwEPPR47UDR8iZw1kRyZdcEGUk1hw6FDVnGn4GbdzV82oasWFG9nof MdwjKRPxNw/+4731Y1ByCtoa8w7/K9dq6YTOAvTVBQ3KC1S5P+COs2U2WsgvWWqSE/UU zVhw== X-Received: by 10.194.91.194 with SMTP id cg2mr19569022wjb.53.1374487451586; Mon, 22 Jul 2013 03:04:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Mon, 22 Jul 2013 03:03:30 -0700 (PDT) X-Originating-IP: [54.249.112.206] In-Reply-To: References: <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> <44AB19F7-A0D3-4F0C-A1F4-66AA49283387@gromit.dlib.vt.edu> <27AC1DB6-9D32-47AF-A1E8-A53EE3C09753@FreeBSD.org> From: XiaoQI Ge Date: Mon, 22 Jul 2013 18:03:30 +0800 Message-ID: Subject: Re: Booting Beagleboard Black To: Tim Kientzle X-Gm-Message-State: ALoCoQl1f2v7aY2ljEd7seGEwtjqM3A0AqbcA2fgaNyLtR6oDvRH6IGkI1Bw9SQCRt4RHptBjMgq Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 10:04:20 -0000 I did not start successfully U-Boot# fatload mmc 0 0x88000000 bbubldr reading bbubldr 237048 bytes read in 33 ms (6.9 MiB/s) U-Boot# go 0x88000000 ## Starting application at 0x88000000 ... data abort MAYBE you should read doc/README.arm-unaligned-accesses pc : [<8800002c>] lr : [<9f35b2d4>] sp : 9f238e10 ip : 0000000f fp : 9f239808 r10: 00000002 r9 : 9f3adf90 r8 : 9f238f40 r7 : 9f239818 r6 : 88000000 r5 : 00000002 r4 : 9f23981c r3 : 88000000 r2 : f8000000 r1 : 9f23981c r0 : 00000008 Flags: nZCv IRQs off FIQs on Mode SVC_32 Resetting CPU ... resetting ... U-Boot SPL 2013.04-dirty (May 06 2013 - 16:12:47) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 OMAP SD/MMC: 0 mmc_send_cmd : timeout: No status update reading u-boot.img reading u-boot.img U-Boot 2013.04-dirty (May 06 2013 - 16:12:47) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 U-Boot# Startup log : U-Boot SPL 2013.04-dirty (May 06 2013 - 16:12:47) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 OMAP SD/MMC: 0 mmc_send_cmd : timeout: No status update reading u-boot.img reading u-boot.img U-Boot 2013.04-dirty (May 06 2013 - 16:12:47) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 mmc0 is current device micro SD card found mmc0 is current device gpio: pin 54 (gpio 54) value is 1 SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** gpio: pin 55 (gpio 55) value is 1 Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** U-Boot# -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/22 Tim Kientzle > Please send me the Crochet build logs and I'll see if > I can puzzle anything out. > > The console log from running Crochet would also be interesting. > > Tim > > > On Jul 21, 2013, at 9:25 PM, Tom Everett wrote: > > > ok, I've rebuilt with a fresh source tree, fresh xdev build and fresh > pull of crochet; same result. Should I post the crochet build logs? Could > the fact that I'm building it on AMD64 be part of the problem? > > > > My host OS is: > > > > FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > CPU: AMD A8-3870 APU with Radeon(tm) HD Graphics (3000.26-MHz K8-class > CPU) > > > > > > > > Here is the console log from the Beagle > > > > U-Boot 2013.04 (Jul 21 2013 - 22:07:04) > > > > I2C: ready > > DRAM: 512 MiB > > WARNING: Caches not enabled > > MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 > > Using default environment > > > > musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, > SoftConn) > > musb-hdrc: MHDRC RTL version 2.0 > > musb-hdrc: setup fifo_mode 4 > > musb-hdrc: 28/31 max ep, 16384/16384 memory > > USB Peripheral mode controller at 47401000 using PIO, IRQ 0 > > musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, > SoftConn) > > musb-hdrc: MHDRC RTL version 2.0 > > musb-hdrc: setup fifo_mode 4 > > musb-hdrc: 28/31 max ep, 16384/16384 memory > > USB Host mode controller at 47401800 using PIO, IRQ 0 > > Net: not set. Validating first E-fuse MAC > > cpsw, usb_ether > > Hit any key to stop autoboot: 0 > > mmc0 is current device > > SD/MMC found on device 0 > > reading bb-uEnv.txt > > reading bbubldr > > 237488 bytes read in 34 ms (6.7 MiB/s) > > reading bboneblk.dtb > > 13946 bytes read in 7 ms (1.9 MiB/s) > > Booting from mmc ... > > ## Starting application at 0x88000054 ... > > Consoles: U-Boot console > > Compatible API signature found @9f242240 > > Number of U-Boot devices: 2 > > > > FreeBSD/armv6 U-Boot loader, Revision 1.2 > > (root@bernice, Sun Jul 21 22:07:44 MDT 2013) > > DRAM: 512MB > > > > Device: disk > > | > > can't load 'kernel' > > > > Type '?' for a list of commands, 'help' for more detailed help. > > loader> ls > > / > > d .snap > > .sujournal > > loader> > > > > > > > > On Sun, Jul 21, 2013 at 4:02 PM, Rui Paulo wrote: > > On 21 Jul 2013, at 14:42, Tom Everett wrote: > > > > > ls shows: > > > > > > / > > > d .snap > > > .sujournal > > > > > > and lsdev shows: > > > > > > disk devices: > > > disk0 (MMC) > > > disk0s1: DOS/Windows > > > disk0s2: FreeBSD > > > disk0s2a: FreeBSD UFS > > > net devices: > > > net0: > > > > > > I'm doing a fresh checkout of the entire CURRENT source tree, a > rebuild of > > > dev and then a rebuild of the kernel. We'll see what happens. > > > > > > As you can see, your root file system has no files. This has happened to > me in the past and I don't know why, but re-creating the image file with > crochet seems to fix it. > > > > -- > > Rui Paulo > > > > > > > > > > -- > > A better world shall emerge based on faith and understanding - Douglas > MacArthur > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >