Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2015 22:53:36 +0000 (GMT)
From:      jenkins-admin@freebsd.org
To:        jenkins-admin@FreeBSD.org, freebsd-current@freebsd.org
Subject:   FreeBSD_HEAD-tests - Build #1080 - Unstable
Message-ID:  <721168706.18.1433372016047.JavaMail.jenkins@jenkins-9.freebsd.org>

next in thread | raw e-mail | index | archive | help
FreeBSD_HEAD-tests - Build #1080 - Unstable:

Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1080/ to view the results.
From owner-freebsd-current@FreeBSD.ORG  Thu Jun  4 00:22:19 2015
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@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 6E486A9B;
 Thu,  4 Jun 2015 00:22:19 +0000 (UTC)
 (envelope-from f0andrey@gmail.com)
Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com
 [IPv6:2a00:1450:400c:c00::236])
 (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 0AE6C1928;
 Thu,  4 Jun 2015 00:22:19 +0000 (UTC)
 (envelope-from f0andrey@gmail.com)
Received: by wgez8 with SMTP id z8so21609081wge.0;
 Wed, 03 Jun 2015 17:22:17 -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=M9vkRmu1lRSa4ujX2jrNB0cdAm+RgOYwBtd5x4QVFdM=;
 b=FIA8krv5O4+3NRvWbZUpyCNu16cT/gpzYsGHzxW++L7lSbk7ccMxXysPDpioj3leK3
 dHKJw6Ek2I966ise8W2XZRicp5UTAXHGpxsK8QdvEfEIWooUVNcpWI2eTWUKcCME+2tU
 J8XfnRKdbo47myHvcTbngc4MQFnkcjww0gduqMREvvy6Md9SKFpcCTT3pgG22ft0JS1l
 Ky30y1pzmarh55JSVM6b4tXpJEojVPGTyPAEZi0xzVqXPvj2Td4x35AaeEnd419QEoIu
 veKjxVkf9GCZu6cGNvt0SVBcZfE6Hl896MRp5xE/I4//NgzNHU0XN5YiDApvIEDrZB5+
 8G1g==
MIME-Version: 1.0
X-Received: by 10.194.3.45 with SMTP id 13mr13310988wjz.84.1433377337255; Wed,
 03 Jun 2015 17:22:17 -0700 (PDT)
Received: by 10.194.61.169 with HTTP; Wed, 3 Jun 2015 17:22:17 -0700 (PDT)
Date: Thu, 4 Jun 2015 03:22:17 +0300
Message-ID: <CA+K5SrP_jj-o_zu9kW6RyO6md+mR6i-Z5Dn1-taKW_bn9PkmCA@mail.gmail.com>
Subject: [BeagleBone Black] not bootable emmc after D2646?
From: Andrey Fesenko <f0andrey@gmail.com>
To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>,
 freebsd-current <freebsd-current@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 00:22:19 -0000

Hello,

Booting from emmc possible only if you have installed sdcard (u-boot
start from sdcard) if stop boot and set loaderdev='mmc 1' system boot
emmc.
Without this, when sdcard slot empty, in terminal i'm see CCCCCCCCCCCC
(u-boot not start)

It looks like this is due to https://reviews.freebsd.org/D2646

# uname -a
FreeBSD bb.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r283948: Wed Jun
 3 18:45:48 MSK 2015
root@des.local:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE-V6  arm

for copy to emmc uses # sh copy-to-emmc.sh

copying succes, fix fstab (remove lables)
# cat /etc/fstab
/dev/mmcsd1s1           /boot/msdos msdosfs rw,noatime       0 0
/dev/mmcsd1s2a          /           ufs     rw,noatime       1 1
md                    /tmp        mfs     rw,noatime,-s30m 0 0
md                    /var/log    mfs     rw,noatime,-s15m 0 0
md                    /var/tmp    mfs     rw,noatime,-s5m  0 0

root@bb:~ # fdisk mmcsd1
******* Working on device /dev/mmcsd1 *******
parameters extracted from in-core disklabel are:
cylinders=233 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=233 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
    start 1024, size 4096 (2 Meg), flag 80 (active)
        beg: cyl 0/ head 31/ sector 2;
        end: cyl 1/ head 27/ sector 5
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 5120, size 3745792 (1829 Meg), flag 0
        beg: cyl 1/ head 27/ sector 6;
        end: cyl 887/ head 127/ sector 33
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

# fsck_msdosfs /dev/mmcsd1s1
** /dev/mmcsd1s1
** Phase 1 - Read and Compare FATs
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
10 files, 1180 free (2360 clusters)

# diskinfo -v /dev/mmcsd1
/dev/mmcsd1
        512             # sectorsize
        1920991232      # mediasize in bytes (1.8G)
        3751936         # mediasize in sectors
        524288          # stripesize
        0               # stripeoffset
        98E43448        # Disk ident.

# gpart show
=>     63  7698369  mmcsd0  MBR  (3.7G)
       63     4095       1  !12  [active]  (2.0M)
     4158  7688130       2  freebsd  (3.7G)
  7692288     6144          - free -  (3.0M)

=>      0  7688130  mmcsd0s2  BSD  (3.7G)
        0       66            - free -  (33K)
       66  7688064         1  freebsd-ufs  (3.7G)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?721168706.18.1433372016047.JavaMail.jenkins>