Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jun 2016 10:52:49 -0400
From:      "Thomas Laus" <lausts@acm.org>
To:        freebsd-arm@freebsd.org
Subject:   Default boot from MicroSD still not working after r301230 
Message-ID:  <57543CC1.31096.16DB80@lausts.acm.org>

next in thread | raw e-mail | index | archive | help
List:

I loaded the latest snapshot of FreeBSD Current on a new MicroSD
flash card.  My result of the 'gpart show' command appears to
have the starting sector start at 63 like the default Debian
image, unlike the ALPHA1 snapshot.  My 'Element K' Beaglebone
still needs the Boot Switch depressed in order to boot from
the MicroSD card.  I have received my serial cable order and
am including the U-Boot dialog for information.  I still have
not received my micro HDMI cable.  I don't know if the default
Debian image has some sort of operating system chooser via
GRUB that is forcing the U-Boot process to ignore the active
partion setting in FAT.

==================

root@beaglebone:~ # gpart show mmcsd1
=>     63  7471041  mmcsd1  MBR  (3.6G)
       63     1985          - free -  (993K)
     2048   196608       1  !14  (96M)
   198656  7272448       2  linux-data  (3.5G)

root@beaglebone:~ # gpart show mmcsd0
=>      63  15523777  mmcsd0  MBR  (7.4G)
        63      4095       1  !12  [active]  (2.0M)
      4158  15519682       2  freebsd  (7.4G)



U-Boot SPL 2014.10 (Jun 03 2016 - 10:50:56)
MMC: block number 0x100 exceeds max(0x0)
MMC: block number 0x200 exceeds max(0x0)
*** Error - No Valid Environment Area found
Using default environment

reading u-boot.img
reading u-boot.img


U-Boot 2014.10 (Jun 03 2016 - 10:50:56)

       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading u-boot.env

** Unable to read "u-boot.env" from mmc0:1 **
Using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
reading uEnv.txt
** Unable to read file uEnv.txt **
Hit any key to stop autoboot:  0
Booting from: mmc 0 ubldr
reading ubldr
271337 bytes read in 19 ms (13.6 MiB/s)
## Starting application at 0x88000098 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0x9e731510

FreeBSD/armv6 U-Boot loader, Revision 1.2
(root@releng2.nyi.freebsd.org, Fri Jun  3 11:18:04 UTC 2016)

DRAM: 512MB
Number of U-Boot devices: 3
U-Boot env: loaderdev='mmc 0'
Found U-Boot device: disk
  Checking unit=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel text=0x59fe10 data=0x4d724+0x121a9c 
syms=[0x4+0x85a00+0x4+0x99f09]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
/boot/dtb/beaglebone-black.dtb size=0x84f2
Loaded DTB from file 'beaglebone-black.dtb'.
Kernel entry at 0x0x88200180...
Kernel args: (null)
ARM Debug Architecture not supported
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-ALPHA2 #0 r301230: Fri Jun  3 11:25:27 UTC 2016
    root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE 
arm
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 
3.8.0)

==================

Tom

-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57543CC1.31096.16DB80>