Hi,

I'm playing with the new beagle port on a BeagleBone Black.  After
dd'ing the miniroot-am335x-54.fs image to microsd I had to delete the
existing OpenBSD partition and re-create it after the FAT32 partition.
 It looks like all three of the miniroot images have this problem.

$ sudo vnconfig vnd0 miniroot-am335x-54.fs
$ sudo fdisk vnd0
Disk: vnd0      geometry: 368/1/100 [36864 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      0   0  64 -    321   0  30 [          63:       32067 ] Win95 FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: A6      0   0  65 -    321   0  30 [          64:       32066 ] OpenBSD
$ sudo vnconfig -u vnd0


-Barry



Here's the U-Boot output and dmesg, just for the fun of it:

U-Boot SPL 2013.04-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)
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-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)

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:   <ethaddr> not set. Validating first E-fuse MAC
Phy not found
PHY reset timed out
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
151 bytes read in 3 ms (48.8 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading bsd.umg
3931284 bytes read in 453 ms (8.3 MiB/s)
## Booting kernel from Legacy Image at 82800000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3931220 Bytes = 3.7 MiB
   Load Address: 80300000
   Entry Point:  80300000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...


^MOpenBSD/beagle booting ...
^Marg0 0x0 arg1 0xe05 arg2 0x80000100
^Matag core flags 0 pagesize 0 rootdev 0
^Matag cmdline [sd0i:/bsd.umg]
^Matag mem start 0x80000000 size 0x20000000
^Mbootfile: sd0i:/bsd.umg
^Mbootargs:
^Mmemory size derived from u-boot
^Mbootconf.mem[0].address = 80000000 pages 131072/0x20000000
^MAllocating page tables
^Mfreestart = 0x00729000, free_pages = 530647 (0x000818d7)
^MIRQ stack: p0x81fd1000 v0xc1fd1000
^MABT stack: p0x81fd0000 v0xc1fd0000
^MUND stack: p0x81fcf000 v0xc1fcf000
^MSVC stack: p0x81fcd000 v0xc1fcd000
^MCreating L1 page table at 0x81ffc000
^MMapping kernel
^MConstructing L2 page tables
^Mundefined page pmap [ no symbol table formats found ]
^Mboard type: beaglebone
^MCopyright (c) 1982, 1986, 1989, 1991, 1993
^M      The Regents of the University of California.  All rights reserved.
^MCopyright (c) 1995-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

^MOpenBSD 5.4-beta (RAMDISK) #2: Thu Jul 18 18:25:17 EDT 2013
^M    r...@pandaes.t.openbsd.org:/usr/src/sys/arch/beagle/compile/RAMDISK
^Mreal mem  = 536870912 (512MB)
^Mavail mem = 518393856 (494MB)
^Mmainbus0 at root
^Mcpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core)
^Mcpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
^Mcpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache
^Momap0 at mainbus0: BeagleBone
^Mprcm0 at omap0 rev 0.2

^Msitaracm0 at omap0: control module, rev 1.0
^Mintc0 at omap0 rev 5.0
^Mdmtimer0 at omap0 rev 3.1
^Mdmtimer1 at omap0 rev 3.1
^Momdog0 at omap0 rev 0.1
^Mommmc0 at omap0
^Msdmmc0 at ommmc0
^Mcom0 at omap0: ti16750, 64 byte fifo
^Mcom0: console
^Mcpsw0 at omap0 txdescs at 0xcfb90000 rxdescs at 0xcfb91000, address
c8:a0:30:ae:dc:77
^Mukphy0 at cpsw0 phy 2: Generic IEEE 802.3u media interface, rev. 1:
OUI 0x0001f0, model 0x000f
^Mscsibus0 at sdmmc0: 2 targets, initiator 0
^Msd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
^Msd0: 15271MB, 512 bytes/sector, 31275008 sectors
^Mboot device: sd0
^Mroot on rd0a swap on rd0b dump on rd0b
^MWARNING: CHECK AND RESET THE DATE!
^Merase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/beagle 5.4 installation program.
(I)nstall, (U)pgrade or (S)hell? s
# fdisk -e sd0^M
Enter 'help' for information
fdisk: 1> p
Disk: sd0       geometry: 1946/255/63 [31275008 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      0   1   1 -      1 254  63 [          63:       32067 ] Win95 FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: A6      0   1   2 -      1 254  63 [          64:       32066 ] OpenBSD
fdisk: 1> edit 3
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 3: A6      0   1   2 -      1 254  63 [          64:       32066 ] OpenBSD
Partition id ('0' to disable) [0 - FF]: [A6] (? for help)
Do you wish to edit in CHS mode? [n] y
BIOS Starting cylinder [0 - 1945]: [0] 2
BIOS Starting head [0 - 254]: [1]
BIOS Starting sector [1 - 63]: [2]
BIOS Ending cylinder [0 - 1945]: [1] 1945
BIOS Ending head [0 - 254]: [254]
BIOS Ending sector [1 - 63]: [63]
fdisk:*1> p
Disk: sd0       geometry: 1946/255/63 [31275008 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      0   1   1 -      1 254  63 [          63:       32067 ] Win95 FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: A6      2   1   2 -   1945 254  63 [       32194:    31230296 ] OpenBSD
fdisk:*1> w
Writing MBR at offset 0.
fdisk: 1> q
# install^M

Reply via email to