From owner-freebsd-arm@FreeBSD.ORG Mon Jul 22 15:33:11 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 3D2F357E for ; Mon, 22 Jul 2013 15:33:11 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 03F5924D8 for ; Mon, 22 Jul 2013 15:33:10 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id fb19so8256366obc.37 for ; Mon, 22 Jul 2013 08:33:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=n7EbY7oHFiADT0j9YiRyZVGw1NEwerNwsbvfP6g/Lhs=; b=c/Kl8FXKBAkg1Z6wEYJ8pyQT0phcRRtX2JzRv5vt6JzoTcEXN5VKtcRQFduNdObljY xzl8TVTLYwA3cp90/uLovO7uhea81mZ4ZhpnAb0C4DLGdonQDeryydvUwsZlu6sdOuB1 RUZDAWGmYFjHJU6JHSPNH4ga1IExlY6XueoTZZjXSwQWlA5+jeVFe8VZ/KvWs6g2VNlk arP13Z+1IFvI5wQXK8NJD0vfM13/fluX5xrIo5KfDdFzGK3jJUtvFCVATlVrtxGs3Lyx q0cGQt6zRWGBYOK3qdCvk9N27pgO86ayOeXblPGRzQCdMZpOpReGr3YYOuVutNCCZOvG kLTw== MIME-Version: 1.0 X-Received: by 10.60.41.37 with SMTP id c5mr26662976oel.43.1374507190001; Mon, 22 Jul 2013 08:33:10 -0700 (PDT) Received: by 10.182.111.67 with HTTP; Mon, 22 Jul 2013 08:33:09 -0700 (PDT) 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> Date: Mon, 22 Jul 2013 09:33:09 -0600 Message-ID: Subject: Re: Booting Beagleboard Black From: Tom Everett To: Tim Kientzle X-Gm-Message-State: ALoCoQlpW5vRHca2Y8rjviQEZHByEGmqyY6yOLa48zLNXXcqFJswymwjE1puOtn0cJV2kTtVOAbT Content-Type: text/plain; charset=ISO-8859-1 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 15:33:11 -0000 If you want a tester for the fixed code, sign me up. :) On Mon, Jul 22, 2013 at 9:31 AM, Tim Kientzle wrote: > BTW, this does point to a bug in Crochet: It should > have stopped and complained loudly when the installworld > failed. > > Thanks for helping find this: I'll definitely take a look at that. > > Tim > > On Jul 22, 2013, at 8:17 AM, Tom Everett wrote: > > > ok now that I've uploaded the logs, I see this rather ominous message in > _.installworld.armv6.log > > > > ERROR: Required auditdistd user is missing, see /usr/src/UPDATING. > > *** Error code 1 > > > > Stop. > > make: stopped in /src/FreeBSD > > *** [installworld] Error code 1 > > > > Stop in /src/FreeBSD. > > > > > > > > On Mon, Jul 22, 2013 at 9:08 AM, Tom Everett wrote: > > Here are the build logs, the image file (gzipped), and config.sh. > > > > http://files.khubla.com/tim/ > > > > Let me know if there is anything more you need. > > > > > > > > On Sun, Jul 21, 2013 at 10:46 PM, Tim Kientzle > wrote: > > 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 > > > > > > > > > > -- > > A better world shall emerge based on faith and understanding - Douglas > MacArthur > > > > > > > > -- > > A better world shall emerge based on faith and understanding - Douglas > MacArthur > > -- A better world shall emerge based on faith and understanding - Douglas MacArthur