BananaPro succesfull install on ~current. SD card is recognized. What was needed to boot after the succesfull install was to once again mount FAT partition of the SD card and again remove sun7i-a20-cubieboard2.dtb and copy sun7i-a20-bananapro.dtb to it - i.e. to repeat the same as was needed to make the same SD card bootable for install.
$ dmesg OpenBSD 6.2-current (GENERIC) #143: Sun Dec 17 17:26:09 MST 2017 dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/GENERIC real mem = 1072078848 (1022MB) avail mem = 1042214912 (993MB) mainbus0 at root: LeMaker Banana Pro cpu0 at mainbus0: ARM Cortex-A7 r0p4 (ARMv7) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache cortex0 at mainbus0 psci0 at mainbus0 sxiccmu0 at mainbus0 agtimer0 at mainbus0: tick rate 24000 KHz simplebus0 at mainbus0: "soc" sxipio0 at simplebus0: 175 pins sximmc0 at simplebus0 sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma sximmc1 at simplebus0 sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma ehci0 at simplebus0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 sxiahci0 at simplebus0: AHCI 1.1 scsibus0 at sxiahci0: 32 targets ehci1 at simplebus0 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 sxidog0 at simplebus0 sxirtc0 at simplebus0 com0 at simplebus0: ns16550, no working fifo com0: console com1 at simplebus0: ns16550, no working fifo com2 at simplebus0: ns16550, no working fifo sxitwi0 at simplebus0 iic0 at sxitwi0 axppmic0 at iic0 addr 0x34: AXP209, VBUS sxitwi1 at simplebus0 iic1 at sxitwi1 dwge0 at simplebus0 dwge0: address: 02:17:04:40:c0:cc rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5 ampintc0 at simplebus0 nirq 160, ncpu 2 gpio0 at sxipio0: 32 pins gpio1 at sxipio0: 32 pins gpio2 at sxipio0: 32 pins gpio3 at sxipio0: 32 pins gpio4 at sxipio0: 32 pins gpio5 at sxipio0: 32 pins gpio6 at sxipio0: 32 pins gpio7 at sxipio0: 32 pins gpio8 at sxipio0: 32 pins simplefb0 at mainbus0: 656x536 wsdisplay0 at simplefb0 mux 1 wsdisplay0: screen 0 added (std, vt100 emulation) scsibus1 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <SD/MMC, SL16G, 0030> SCSI2 0/direct removable sd0: 14804MB, 512 bytes/sector, 30318592 sectors (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 1 not configured (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 2 not configured vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets boot device: sd0 root on sd0a (def19b298bca3750.a) swap on sd0b dump on sd0b On Sat, May 27, 2017 at 12:14 PM, Guillaume Simon < guillaume.si...@mailoo.org> wrote: > Hello, > > For what it's worth, I have the same issue on a bananapi M1 (tested on > 6.1 release and current). > It remains possible to install openBSD on an USB stick and boot from it > by changing boot_targets order. > > ====== > > > U-Boot SPL 2017.03 (Apr 01 2017 - 16:15:11) > DRAM: 1024 MiB > CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 > Trying to boot from MMC1 > > > U-Boot 2017.03 (Apr 01 2017 - 16:15:11 -0600) Allwinner Technology > > CPU: Allwinner A20 (SUN7I) > Model: LeMaker Banana Pi > I2C: ready > DRAM: 1 GiB > MMC: SUNXI SD/MMC: 0 > Setting up a 720x576i composite-pal console (overscan 32x20) > In: serial > Out: vga > Err: vga > SCSI: SATA link 0 timeout. > AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode > flags: ncq stag pm led clo only pmp pio slum part ccc apst > Net: eth0: ethernet@01c50000 > starting USB... > USB0: USB EHCI 1.00 > USB1: USB OHCI 1.0 > USB2: USB EHCI 1.00 > USB3: USB OHCI 1.0 > scanning bus 0 for devices... 1 USB Device(s) found > scanning bus 2 for devices... 1 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > Hit any key to stop autoboot: 0 > > USB device 0: unknown device > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > reading /sun7i-a20-bananapi.dtb > 35071 bytes read in 30 ms (1.1 MiB/s) > Found EFI removable media binary efi/boot/bootarm.efi > reading efi/boot/bootarm.efi > 64684 bytes read in 41 ms (1.5 MiB/s) > ## Starting EFI application at 42000000 ... > Scanning disks on scsi... > Scanning disks on usb... > Scanning disks on mmc... > MMC Device 1 not found > MMC Device 2 not found > MMC Device 3 not found > Found 6 disks > >> OpenBSD/armv7 BOOTARM 0.5 > boot> > cannot open sd0a:/etc/random.seed: No such file or directory > booting sd0a:/bsd: 2174740+7984008+439148 [80+305280+145318]=0xa8e908 > > OpenBSD/armv7 booting ... > arg0 0xc0d8e908 arg1 0x0 arg2 0x48000000 > Allocating page tables > freestart = 0x40d8f000, free_pages = 258267 (0x0003f0db) > IRQ stack: p0x40dbd000 v0xc0dbd000 > ABT stack: p0x40dbe000 v0xc0dbe000 > UND stack: p0x40dbf000 v0xc0dbf000 > SVC stack: p0x40dc0000 v0xc0dc0000 > Creating L1 page table at 0x40d90000 > Mapping kernel > Constructing L2 page tables > undefined page pmap board type: 0 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2017 OpenBSD. All rights reserved. > https://www.OpenBSD.org > > OpenBSD 6.1-current (RAMDISK) #131: Thu May 25 12:58:19 MDT 2017 > dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/RAMDISK > real mem = 1072078848 (1022MB) > avail mem = 1036992512 (988MB) > mainbus0 at root: LeMaker Banana Pi > cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) > cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled > cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache > cortex0 at mainbus0 > sxiccmu0 at mainbus0 > psci0 at mainbus0 > agtimer0 at mainbus0: tick rate 24000 KHz > simplebus0 at mainbus0: "soc" > sxipio0 at simplebus0: 175 pins > sximmc0 at simplebus0 > sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma > ehci0 at simplebus0 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev > 2.00/1.00 addr 1 > sxiahci0 at simplebus0: AHCI 1.1 > scsibus0 at sxiahci0: 32 targets > ehci1 at simplebus0 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev > 2.00/1.00 addr 1 > sxidog0 at simplebus0 > sxirtc0 at simplebus0 > com0 at simplebus0: ns16550, no working fifo > com0: console > com1 at simplebus0: ns16550, no working fifo > com2 at simplebus0: ns16550, no working fifo > dwge0 at simplebus0 > dwge0: address: 02:0c:04:02:72:70 > rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5 > ampintc0 at simplebus0 nirq 160, ncpu 2 > gpio0 at sxipio0: 32 pins > gpio1 at sxipio0: 32 pins > gpio2 at sxipio0: 32 pins > gpio3 at sxipio0: 32 pins > gpio4 at sxipio0: 32 pins > gpio5 at sxipio0: 32 pins > gpio6 at sxipio0: 32 pins > gpio7 at sxipio0: 32 pins > gpio8 at sxipio0: 32 pins > sximmc0: timeout updating clock > sximmc0: timeout updating clock > sximmc0: timeout updating clock > sximmc0: timeout updating clock > sximmc0: timeout updating clock > sximmc0: timeout updating clock > sdmmc0: can't enable card > sximmc0: timeout updating clock > boot device: lookup 'sd0a:/bsd' failed. > root on rd0a swap on rd0b dump on rd0b > erase ^?, werase ^W, kill ^U, intr ^C, status ^T > > Welcome to the OpenBSD/armv7 6.1 installation program. > (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i > At any prompt except password prompts you can escape to a shell by > typing '!'. Default answers are shown in []'s and are selected by > pressing RETURN. You can exit this program at any time by pressing > Control-C, but this can leave your system in an inconsistent state. > > Terminal type? [vt220] > System hostname? (short form, e.g. 'foo') mybanana > > Available network interfaces are: dwge0. > Which network interface do you wish to configure? (or 'done') [dwge0] done > DNS domain name? (e.g. 'bar.com') [my.domain] > DNS nameservers? (IP address list or 'none') [none] > > Password for root account? (will not echo) > Password for root account? (again) > Start sshd(8) by default? [yes] > Setup a user? (enter a lower-case loginname, or 'no') [no] > Since no user was setup, root logins via sshd(8) might be useful. > WARNING: root is targeted by password guessing attacks, pubkeys are safer. > Allow root ssh login? (yes, no, prohibit-password) [no] > > Available disks are: none. > Which disk is the root disk? ('?' for details) > > > > Le 04/09/17 à 13:13, soko.tica a écrit : > > Hello, > > > > As an update, ~current of April 8, 2017, still doesn't recognize sd card > of > > the referred BananaPro. I should probably mention that sd card is 16GB > > size, unlike up to 4GB cards for the mother device (possibly both > BananaPi > > and Cubieboard). Install script and dmesg follow. > > > > ====== > > Script started on Sun Apr 9 12:50:19 2017 > > $ cu -l cuaU0 -s 115200 > > Connected to /dev/cuaU0 (speed 115200) > > > > U-Boot SPL 2016.07 (Jul 26 2016 - 02:49:44) > > DRAM: 1024 MiB > > CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 > > Trying to boot from MMC1 > > > > > > U-Boot 2016.07 (Jul 26 2016 - 02:49:44 -0600) Allwinner Technology > > > > CPU: Allwinner A20 (SUN7I) > > Model: LeMaker Banana Pro > > I2C: ready > > DRAM: 1 GiB > > MMC: SUNXI SD/MMC: 0 > > *** Warning - bad CRC, using default environment > > > > Setting up a 720x576i composite-pal console (overscan 32x20) > > In: serial > > Out: vga > > Err: vga > > SCSI: SATA link 0 timeout. > > AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode > > flags: ncq stag pm led clo only pmp pio slum part ccc apst > > Net: eth0: ethernet@01c50000 > > starting USB... > > USB0: USB EHCI 1.00 > > USB1: USB OHCI 1.0 > > USB2: USB EHCI 1.00 > > USB3: USB OHCI 1.0 > > scanning bus 0 for devices... 1 USB Device(s) found > > scanning bus 2 for devices... 1 USB Device(s) found > > Hit any key to stop autoboot: 0 > > switch to partitions #0, OK > > mmc0 is current device > > Scanning mmc 0:1... > > Found EFI removable media binary efi/boot/bootarm.efi > > reading efi/boot/bootarm.efi > > 64684 bytes read in 44 ms (1.4 MiB/s) > > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > > ## Starting EFI application at 0x42000000 ... > > Scanning disks on scsi... > > Scanning disks on usb... > > Scanning disks on mmc... > > MMC Device 1 not found > > MMC Device 2 not found > > MMC Device 3 not found > > Found 6 disks > >>> OpenBSD/armv7 BOOTARM 0.5 > > boot> > > cannot open sd0a:/etc/random.seed: No such file or directory > > booting sd0a:/bsd: 2153176+7983908+438864 [80+301584+143437]=0xa851c0 > > > > OpenBSD/armv7 booting ... > > arg0 0xc0d851c0 arg1 0x0 arg2 0x48000000 > > Allocating page tables > > freestart = 0x40d86000, free_pages = 258276 (0x0003f0e4) > > IRQ stack: p0x40db4000 v0xc0db4000 > > ABT stack: p0x40db5000 v0xc0db5000 > > UND stack: p0x40db6000 v0xc0db6000 > > SVC stack: p0x40db7000 v0xc0db7000 > > Creating L1 page table at 0x40d88000 > > Mapping kernel > > Constructing L2 page tables > > undefined page pmap board type: 0 > > Copyright (c) 1982, 1986, 1989, 1991, 1993 > > The Regents of the University of California. All rights reserved. > > Copyright (c) 1995-2017 OpenBSD. All rights reserved. > > https://www.OpenBSD.org > > > > OpenBSD 6.1-current (RAMDISK) #84: Sat Apr 8 17:04:11 MDT 2017 > > dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/RAMDISK > > real mem = 1072078848 (1022MB) > > avail mem = 1037033472 (988MB) > > mainbus0 at root: LeMaker Banana Pro > > cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) > > cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled > > cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache > > cortex0 at mainbus0 > > psci0 at mainbus0 > > agtimer0 at mainbus0: tick rate 24000 KHz > > sxiccmu0 at mainbus0 > > simplebus0 at mainbus0: "soc" > > sxipio0 at simplebus0: 175 pins > > sximmc0 at simplebus0 > > sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma > > sximmc1 at simplebus0 > > sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma > > ehci0 at simplebus0 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 configuration 1 interface 0 "Allwinner EHCI root hub" rev > > 2.00/1.00 addr 1 > > sxiahci0 at simplebus0: AHCI 1.1 > > scsibus0 at sxiahci0: 32 targets > > ehci1 at simplebus0 > > usb1 at ehci1: USB revision 2.0 > > uhub1 at usb1 configuration 1 interface 0 "Allwinner EHCI root hub" rev > > 2.00/1.00 addr 1 > > sxidog0 at simplebus0 > > sxirtc0 at simplebus0 > > com0 at simplebus0: ns16550, no working fifo > > com0: console > > com1 at simplebus0: ns16550, no working fifo > > com2 at simplebus0: ns16550, no working fifo > > dwge0 at simplebus0 > > dwge0: Ethernet address: 02:17:04:40:c0:cc > > rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5 > > ampintc0 at simplebus0 nirq 160, ncpu 2 > > gpio0 at sxipio0: 32 pins > > gpio1 at sxipio0: 32 pins > > gpio2 at sxipio0: 32 pins > > gpio3 at sxipio0: 32 pins > > gpio4 at sxipio0: 32 pins > > gpio5 at sxipio0: 32 pins > > gpio6 at sxipio0: 32 pins > > gpio7 at sxipio0: 32 pins > > gpio8 at sxipio0: 32 pins > > sximmc0: timeout updating clock > > (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 1 not configured > > (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 2 not configured > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sdmmc0: can't enable card > > sximmc0: timeout updating clock > > boot device: lookup 'sd0a:/bsd' failed. > > root on rd0a swap on rd0b dump on rd0b > > WARNING: preposterous clock chip time > > WARNING: CHECK AND RESET THE DATE! > > erase ^?, werase ^W, kill ^U, intr ^C, status ^T > > > > Welcome to the OpenBSD/armv7 6.1 installation program. > > (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s > > # date > > Sat Apr 8 22:51:29 GMT 2017 > > # install > > At any prompt except password prompts you can escape to a shell by > > typing '!'. Default answers are shown in []'s and are selected by > > pressing RETURN. You can exit this program at any time by pressing > > Control-C, but this can leave your system in an inconsistent state. > > > > Terminal type? [vt220] > > System hostname? (short form, e.g. 'foo') bananapro > > > > Available network interfaces are: dwge0. > > Which network interface do you wish to configure? (or 'done') [dwge0] > > IPv4 address for dwge0? (or 'dhcp' or 'none') [dhcp] > > DHCPDISCOVER on dwge0 - interval 1 > > DHCPOFFER from 192.168.4.1 (45:c9:e3:9b:a3:54) > > DHCPREQUEST on dwge0 to 255.255.255.255 > > DHCPACK from 192.168.4.1 (45:c9:e3:9b:a3:54) > > bound to 192.168.4.10 -- renewal in 43199 seconds. > > IPv6 address for dwge0? (or 'rtsol' or 'none') [none] > > Available network interfaces are: dwge0. > > Which network interface do you wish to configure? (or 'done') [done] > > Using DNS domainname home.lan > > Using DNS nameservers at 192.168.4.1 192.168.5.1 > > > > Password for root account? (will not echo) > > Password for root account? (again) > > Start sshd(8) by default? [yes] > > Setup a user? (enter a lower-case loginname, or 'no') [no] > > Since no user was setup, root logins via sshd(8) might be useful. > > WARNING: root is targeted by password guessing attacks, pubkeys are > safer. > > Allow root ssh login? (yes, no, prohibit-password) [no] > > What timezone are you in? ('?' for list) [Europe/Belgrade] > > > > Available disks are: none. > > Which disk is the root disk? ('?' for details) ? > > Available disks are: none. > > Which disk is the root disk? ('?' for details) Available disks are: none. > > Which disk is the root disk? ('?' for details) ^C > > > > # dmesg > > OpenBSD 6.1-current (RAMDISK) #84: Sat Apr 8 17:04:11 MDT 2017 > > dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/RAMDISK > > real mem = 1072078848 (1022MB) > > avail mem = 1037033472 (988MB) > > mainbus0 at root: LeMaker Banana Pro > > cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) > > cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled > > cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache > > cortex0 at mainbus0 > > psci0 at mainbus0 > > agtimer0 at mainbus0: tick rate 24000 KHz > > sxiccmu0 at mainbus0 > > simplebus0 at mainbus0: "soc" > > sxipio0 at simplebus0: 175 pins > > sximmc0 at simplebus0 > > sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma > > sximmc1 at simplebus0 > > sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma > > ehci0 at simplebus0 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 configuration 1 interface 0 "Allwinner EHCI root hub" rev > > 2.00/1.00 addr 1 > > sxiahci0 at simplebus0: AHCI 1.1 > > scsibus0 at sxiahci0: 32 targets > > ehci1 at simplebus0 > > usb1 at ehci1: USB revision 2.0 > > uhub1 at usb1 configuration 1 interface 0 "Allwinner EHCI root hub" rev > > 2.00/1.00 addr 1 > > sxidog0 at simplebus0 > > sxirtc0 at simplebus0 > > com0 at simplebus0: ns16550, no working fifo > > com0: console > > com1 at simplebus0: ns16550, no working fifo > > com2 at simplebus0: ns16550, no working fifo > > dwge0 at simplebus0 > > dwge0: Ethernet address: 02:17:04:40:c0:cc > > rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5 > > ampintc0 at simplebus0 nirq 160, ncpu 2 > > gpio0 at sxipio0: 32 pins > > gpio1 at sxipio0: 32 pins > > gpio2 at sxipio0: 32 pins > > gpio3 at sxipio0: 32 pins > > gpio4 at sxipio0: 32 pins > > gpio5 at sxipio0: 32 pins > > gpio6 at sxipio0: 32 pins > > gpio7 at sxipio0: 32 pins > > gpio8 at sxipio0: 32 pins > > sximmc0: timeout updating clock > > (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 1 not configured > > (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 2 not configured > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sximmc0: timeout updating clock > > sdmmc0: can't enable card > > sximmc0: timeout updating clock > > boot device: lookup 'sd0a:/bsd' failed. > > root on rd0a swap on rd0b dump on rd0b > > WARNING: preposterous clock chip time > > WARNING: CHECK AND RESET THE DATE! > > # halt -p > > syncing disks... done > > > > Attempting to power down... > > The operating system has halted. > > Please press any key to reboot. > > > > > > [EOT] > > $ ^D > > > > Script done on Sun Apr 9 12:54:36 2017 > > > > > > On Sun, Oct 30, 2016 at 10:00 AM, soko.tica <soko.t...@gmail.com> wrote: > > > >> Thank you for your input. > >> > >> For the record, FreeBSD 11.0-RC3 worked on each of these SD cards. > >> > >> In the case that it might obe of interest for anyone, i paste here a new > >> typescript, starting from downloading and veryfing the images, preparing > >> miniroot and starting the installation, which cannot recognize the sd > card > >> on which it is running, showing no available disks. That is why I tried > to > >> install from one SD card to another, thinking it is supposed to be so > until > >> I saw that usb stick recognizes itself as the target disk. > >> > >> > >> ===== > >> Script started on Sun Oct 30 10:31:43 2016 > >> $ fdisk sd1 > >> Disk: sd1 geometry: 1887/255/63 [30318592 Sectors] > >> Offset: 0 Signature: 0xAA55 > >> Starting Ending LBA Info: > >> #: id C H S - C H S [ start: > size > >> ] > >> ------------------------------------------------------------ > >> ------------------- > >> *0: 0C 0 32 33 - 0 97 33 [ 2048: 4096 ] > >> 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 97 34 - 2 75 9 [ 6144: 30720 ] > >> OpenBSD > >> $ doas fdisk -e sd1 > >> Enter 'help' for information > >> fdisk: 1> p m > >> Disk: sd1 geometry: 1887/255/63 [30318592 Sectors] > >> Offset: 0 Signature: 0xAA55 > >> Starting Ending LBA Info: > >> #: id C H S - C H S [ start: > size > >> ] > >> ------------------------------------------------------------ > >> ------------------- > >> *0: 0C 0 32 33 - 0 97 33 [ 2048: 2M] > Win95 > >> FAT32L > >> 1: 00 0 0 0 - 0 0 0 [ 0: 0M] > unused > >> 2: 00 0 0 0 - 0 0 0 [ 0: 0M] > unused > >> 3: A6 0 97 34 - 2 75 9 [ 6144: 15M] > >> OpenBSD > >> fdisk: 1> e 0 > >> Starting Ending LBA Info: > >> #: id C H S - C H S [ start: > size > >> ] > >> ------------------------------------------------------------ > >> ------------------- > >> *0: 0C 0 32 33 - 0 97 33 [ 2048: 4096 ] > >> Win95 FAT32L > >> Partition id ('0' to disable) [01 - FF]: [C] (? for help) 0 > >> Partition 0 is disabled. > >> fdisk:*1> e 3 > >> Starting Ending LBA Info: > >> #: id C H S - C H S [ start: > size > >> ] > >> ------------------------------------------------------------ > >> ------------------- > >> 3: A6 0 97 34 - 2 75 9 [ 6144: 30720 ] > >> OpenBSD > >> Partition id ('0' to disable) [01 - FF]: [A6] (? for help) 0 > >> Partition 3 is disabled. > >> fdisk:*1> p m > >> Disk: sd1 geometry: 1887/255/63 [30318592 Sectors] > >> Offset: 0 Signature: 0xAA55 > >> Starting Ending LBA Info: > >> #: id C H S - C H S [ start: > size > >> ] > >> ------------------------------------------------------------ > >> ------------------- > >> 0: 00 0 0 0 - 0 0 0 [ 0: 0M] > unused > >> 1: 00 0 0 0 - 0 0 0 [ 0: 0M] > unused > >> 2: 00 0 0 0 - 0 0 0 [ 0: 0M] > unused > >> 3: 00 0 0 0 - 0 0 0 [ 0: 0M] > unused > >> fdisk:*1> w > >> Writing MBR at offset 0. > >> fdisk: 1> q > >> $ disklabel sd1 > >> # /dev/rsd1c: > >> type: SCSI > >> disk: SCSI disk > >> label: Storage Device > >> duid: 0000000000000000 > >> flags: > >> bytes/sector: 512 > >> sectors/track: 63 > >> tracks/cylinder: 255 > >> sectors/cylinder: 16065 > >> cylinders: 1887 > >> total sectors: 30318592 > >> boundstart: 0 > >> boundend: 30318592 > >> drivedata: 0 > >> > >> 16 partitions: > >> # size offset fstype [fsize bsize cpg] > >> c: 30318592 0 unused > >> $ pwd > >> /home/doasuser > >> $ ftp ftp://ftp.obsd.si/pub/OpenBSD/snapshots/armv7/SHA256.sig > >> Trying 91.185.196.203... > >> Connected to ftp.obsd.si. > >> 220 nina.kerberos.si FTP server ready. > >> 331 Guest login ok, send your email address as password. > >> 230 Guest login ok, access restrictions apply. > >> Remote system type is UNIX. > >> Using binary mode to transfer files. > >> 200 Type set to I. > >> 250 CWD command successful. > >> Retrieving pub/OpenBSD/snapshots/armv7/SHA256.sig > >> local: SHA256.sig remote: SHA256.sig > >> 150 Opening BINARY mode data connection for 'SHA256.sig' (1978 bytes). > >> 100% |**************************************************| 1978 > >> 00:00 ETA > >> 226 Transfer complete. > >> 1978 bytes received in 0.20 seconds (9.45 KB/s) > >> 221 Goodbye. > >> $ ftp ftp://ftp.obsd.si/pub/OpenBSD/snapshots/armv7/SHA256.sig > >> Trying 91.185.196.203... > >> Connected to ftp.obsd.si. > >> 220 nina.kerberos.si FTP server ready. > >> 331 Guest login ok, send your email address as password. > >> 230 Guest login ok, access restrictions apply. > >> Remote system type is UNIX. > >> Using binary mode to transfer files. > >> 200 Type set to I. > >> 250 CWD command successful. > >> Retrieving pub/OpenBSD/snapshots/armv7/SHA256 > >> local: SHA256 remote: SHA256 > >> 150 Opening BINARY mode data connection for 'SHA256' (1815 bytes). > >> 100% |**************************************************| 1815 > >> 00:00 ETA > >> 226 Transfer complete. > >> 1815 bytes received in 0.21 seconds (8.32 KB/s) > >> 221 Goodbye. > >> $ ftp ftp://ftp.obsd.si/pub/OpenBSD/snapshots/armv7/miniroot- > cubie-60.fs > >> Trying 91.185.196.203... > >> Connected to ftp.obsd.si. > >> 220 nina.kerberos.si FTP server ready. > >> 331 Guest login ok, send your email address as password. > >> 230 Guest login ok, access restrictions apply. > >> Remote system type is UNIX. > >> Using binary mode to transfer files. > >> 200 Type set to I. > >> 250 CWD command successful. > >> Retrieving pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs > >> local: miniroot-cubie-60.fs remote: miniroot-cubie-60.fs > >> 150 Opening BINARY mode data connection for 'miniroot-cubie-60.fs' > >> (18874368 bytes). > >> 100% |**************************************************| 18432 KB > >> 00:18 ETA > >> 226 Transfer complete. > >> 18874368 bytes received in 18.17 seconds (1014.66 KB/s) > >> 221 Goodbye. > >> $ sha256 -c SHA256 > >> sha256: cannot open BOOTARM.EFI: No such file or directory > >> (SHA256) BOOTARM.EFI: MISSING > >> sha256: cannot open BUILDINFO: No such file or directory > >> (SHA256) BUILDINFO: MISSING > >> sha256: cannot open INSTALL.armv7: No such file or directory > >> (SHA256) INSTALL.armv7: MISSING > >> sha256: cannot open base60.tgz: No such file or directory > >> (SHA256) base60.tgz: MISSING > >> sha256: cannot open bsd: No such file or directory > >> (SHA256) bsd: MISSING > >> sha256: cannot open bsd.rd: No such file or directory > >> (SHA256) bsd.rd: MISSING > >> sha256: cannot open comp60.tgz: No such file or directory > >> (SHA256) comp60.tgz: MISSING > >> sha256: cannot open game60.tgz: No such file or directory > >> (SHA256) game60.tgz: MISSING > >> sha256: cannot open man60.tgz: No such file or directory > >> (SHA256) man60.tgz: MISSING > >> sha256: cannot open miniroot-am335x-60.fs: No such file or directory > >> (SHA256) miniroot-am335x-60.fs: MISSING > >> sha256: cannot open miniroot-beagle-60.fs: No such file or directory > >> (SHA256) miniroot-beagle-60.fs: MISSING > >> (SHA256) miniroot-cubie-60.fs: OK > >> sha256: cannot open miniroot-cubox-60.fs: No such file or directory > >> (SHA256) miniroot-cubox-60.fs: MISSING > >> sha256: cannot open miniroot-nitrogen-60.fs: No such file or directory > >> (SHA256) miniroot-nitrogen-60.fs: MISSING > >> sha256: cannot open miniroot-panda-60.fs: No such file or directory > >> (SHA256) miniroot-panda-60.fs: MISSING > >> sha256: cannot open miniroot-wandboard-60.fs: No such file or directory > >> (SHA256) miniroot-wandboard-60.fs: MISSING > >> sha256: cannot open xbase60.tgz: No such file or directory > >> (SHA256) xbase60.tgz: MISSING > >> sha256: cannot open xfont60.tgz: No such file or directory > >> (SHA256) xfont60.tgz: MISSING > >> sha256: cannot open xserv60.tgz: No such file or directory > >> (SHA256) xserv60.tgz: MISSING > >> sha256: cannot open xshare60.tgz: No such file or directory > >> (SHA256) xshare60.tgz: MISSING > >> $ sha256 -c SHA256 | grep 'OK' > >> sha256: cannot open BOOTARM.EFI: No such file or directory > >> sha256: cannot open BUILDINFO: No such file or directory > >> sha256: cannot open INSTALL.armv7: No such file or directory > >> sha256: cannot open base60.tgz: No such file or directory > >> sha256: cannot open bsd: No such file or directory > >> sha256: cannot open bsd.rd: No such file or directory > >> sha256: cannot open comp60.tgz: No such file or directory > >> sha256: cannot open game60.tgz: No such file or directory > >> sha256: cannot open man60.tgz: No such file or directory > >> sha256: cannot open miniroot-am335x-60.fs: No such file or directory > >> sha256: cannot open miniroot-beagle-60.fs: No such file or directory > >> sha256: cannot open miniroot-cubox-60.fs: No such file or directory > >> sha256: cannot open miniroot-nitrogen-60.fs: No such file or directory > >> sha256: cannot open miniroot-panda-60.fs: No such file or directory > >> sha256: cannot open miniroot-wandboard-60.fs: No such file or directory > >> sha256: cannot open xbase60.tgz: No such file or directory > >> sha256: cannot open xfont60.tgz: No such file or directory > >> sha256: cannot open xserv60.tgz: No such file or directory > >> sha256: cannot open xshare60.tgz: No such file or directory > >> (SHA256) miniroot-cubie-60.fs: OK > >> gnify/openbsd-60-base.pub.-xbSHA256.sig.siSH < > >> Signature Verified > >> miniroot-cubie-60.fs: OK > >> BOOTARM.EFI: FAIL > >> miniroot-beagle-60.fs: FAIL > >> bsd: FAIL > >> bsd.rd: FAIL > >> miniroot-cubox-60.fs: FAIL > >> game60.tgz: FAIL > >> comp60.tgz: FAIL > >> miniroot-nitrogen-60.fs: FAIL > >> xserv60.tgz: FAIL > >> miniroot-am335x-60.fs: FAIL > >> xshare60.tgz: FAIL > >> xbase60.tgz: FAIL > >> base60.tgz: FAIL > >> miniroot-panda-60.fs: FAIL > >> xfont60.tgz: FAIL > >> man60.tgz: FAIL > >> BUILDINFO: FAIL > >> miniroot-wandboard-60.fs: FAIL > >> INSTALL.armv7: FAIL > >> $ signify -C -p /etc/signify/openbsd-60-base.pub -x SHA256.sig | grep > 'OK' > >> miniroot-cubie-60.fs: OK > >> BOOTARM.EFI: FAIL > >> miniroot-beagle-60.fs: FAIL > >> bsd: FAIL > >> bsd.rd: FAIL > >> miniroot-cubox-60.fs: FAIL > >> game60.tgz: FAIL > >> comp60.tgz: FAIL > >> miniroot-nitrogen-60.fs: FAIL > >> xserv60.tgz: FAIL > >> miniroot-am335x-60.fs: FAIL > >> xshare60.tgz: FAIL > >> xbase60.tgz: FAIL > >> base60.tgz: FAIL > >> miniroot-panda-60.fs: FAIL > >> xfont60.tgz: FAIL > >> man60.tgz: FAIL > >> BUILDINFO: FAIL > >> miniroot-wandboard-60.fs: FAIL > >> INSTALL.armv7: FAIL > >> oasovnconfigfvnd0nminiroot-cubie-60.fs < > >> $ doas dd if=/usr/local/share/u-boot/AananaPr > >> A10-OLinuXino-Lime/ A20-OLinuXino-Lime/ A20-OLinuXino_MICRO/ > >> A10s-OLinuXino-M/ A20-OLinuXino-Lime2/ > >> ot/Bananapro/u-boot-sunxi-with-spl.binaof=/dev/rvnd0c-bs=1024 seek=8 > >> < > >> 476+1 records in > >> 476+1 records out > >> 488235 bytes transferred in 0.034 secs (14271287 bytes/sec) > >> $ disklabel vnd0 > >> disklabel: ioctl DIOCGDINFO: Operation not permitted > >> $ doas disklabel vnd0 > >> # /dev/rvnd0c: > >> type: vnd > >> disk: vnd device > >> label: fictitious > >> duid: b7b29d6a08b186c2 > >> flags: > >> bytes/sector: 512 > >> sectors/track: 256 > >> tracks/cylinder: 16 > >> sectors/cylinder: 4096 > >> cylinders: 9 > >> total sectors: 36864 > >> boundstart: 6144 > >> boundend: 36864 > >> drivedata: 0 > >> > >> 16 partitions: > >> # size offset fstype [fsize bsize cpg] > >> a: 30720 6144 4.2BSD 2048 16384 240 > >> c: 36864 0 unused > >> i: 4096 2048 MSDOS > >> $ doas mount /dev/vnd0i /mnt/usb > >> $ ls -lh /mnt/usb > >> total 80 > >> drwxr-xr-x 1 root wheel 4.0K Oct 30 01:32 efi > >> -rw-r--r-- 1 root wheel 33.4K Oct 30 01:32 sun7i-a20-cubieboard2.dtb > >> $rmo/mnt/usb/sun7i-a20-cubieboard2.dtb < > >> $ lsa-lhm/mnt/usbb/sun7i-a20-cubieboard2.dtb > >> total 8 > >> drwxr-xr-x 1 root wheel 4.0K Oct 30 01:32 efi > >> $ doas cp /usr/local/share/dtb/arm > >> arm/ arm64/ > >> tb/arm/sun7i-a20-bananapro.dtbd/mnt/usbusn20-bananapr > < > >> $ lsa-lhp/mnt/usbcal/share/dtb/arm/sun7i-a20-bananapro.dtb /mnt/usb > >> total 80 > >> drwxr-xr-x 1 root wheel 4.0K Oct 30 01:32 efi > >> -rw-r--r-- 1 root wheel 33.6K Oct 30 10:37 sun7i-a20-bananapro.dtb > >> $ doas umount /mnt/usb > >> $ doas vnconfig -u vnd0 > >> $ ls -lh > >> total 36948 > >> -rw-r--r-- 1 doasuser doasuser 1.8K Oct 30 05:21 SHA256 > >> -rw-r--r-- 1 doasuser doasuser 1.9K Oct 30 05:21 SHA256.sig > >> -rw-r--r-- 1 doasuser doasuser 18.0M Oct 30 10:37 > miniroot-cubie-60.fs > >> -rw-r--r-- 1 doasuser doasuser 20.8K Oct 30 10:39 typescript > >> $ doas if=miniroot-cubie-60.fs of=/dev/rsd1c bs=1024 > >> doas: if=miniroot-cubie-60.fs: command not found > >> $ doas ddiif=miniroot-cubie-60.fsoof=/dev/rsd1cbbs=1024 > >> 18432+0 records in > >> 18432+0 records out > >> 18874368 bytes transferred in 15.508 secs (1217046 bytes/sec) > >> $ cu -l cuaU0 -s 115200 > >> cu: open("/dev/cuaU0"): Permission denied > >> $ whoami > >> doasuser > >> $ doas cu -l cuaU0 -s 115200 > >> Connected to /dev/cuaU0 (speed 115200) > >> > >> U-Boot SPL 2016.09 (Sep 20 2016 - 02:39:19) > >> DRAM: 1024 MiB > >> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 > >> Trying to boot from MMC1 > >> > >> > >> > >> U-Boot 2016.09 (Sep 20 2016 - 02:39:19 -0600) Allwinner Technology > >> > >> CPU: Allwinner A20 (SUN7I) > >> Model: LeMaker Banana Pro > >> I2C: ready > >> DRAM: 1 GiB > >> MMC: SUNXI SD/MMC: 0 > >> *** Warning - bad CRC, using default environment > >> > >> Setting up a 720x576i composite-pal console (overscan 32x20) > >> In: serial > >> Out: vga > >> Err: vga > >> SCSI: SATA link 0 timeout. > >> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode > >> flags: ncq stag pm led clo only pmp pio slum part ccc apst > >> Net: eth0: ethernet@01c50000 > >> starting USB... > >> USB0: USB EHCI 1.00 > >> USB1: USB OHCI 1.0 > >> USB2: USB EHCI 1.00 > >> USB3: USB OHCI 1.0 > >> scanning bus 0 for devices... 1 USB Device(s) found > >> scanning bus 2 for devices... 1 USB Device(s) found > >> Hit any key to stop autoboot: 0 > >> switch to partitions #0, OK > >> mmc0 is current device > >> Scanning mmc 0:1... > >> reading /sun7i-a20-bananapro.dtb > >> 34451 bytes read in 29 ms (1.1 MiB/s) > >> Found EFI removable media binary efi/boot/bootarm.efi > >> reading efi/boot/bootarm.efi > >> 64684 bytes read in 40 ms (1.5 MiB/s) > >> ## Starting EFI application at 0x42000000 ... > >> CACHE: Misaligned operation at range [79f1d000, 79f2ccac] > >> Scanning disks on scsi... > >> Scanning disks on usb... > >> Scanning disks on mmc... > >> MMC Device 1 not found > >> MMC Device 2 not found > >> MMC Device 3 not found > >> Found 6 disks > >>>> OpenBSD/armv7 BOOTARM 0.5 > >> boot> > >> cannot open sd0a:/etc/random.seed: No such file or directory > >> booting sd0a:/bsd: 2138360+7972148+442776 [80+310912+150523]=0xa87334 > >> > >> OpenBSD/armv7 booting ... > >> arg0 0xc0d87334 arg1 0x0 arg2 0x48000000 > >> Allocating page tables > >> freestart = 0x40d88000, free_pages = 258274 (0x0003f0e2) > >> IRQ stack: p0x40db6000 v0xc0db6000 > >> ABT stack: p0x40db7000 v0xc0db7000 > >> UND stack: p0x40db8000 v0xc0db8000 > >> SVC stack: p0x40db9000 v0xc0db9000 > >> Creating L1 page table at 0x40d88000 > >> Mapping kernel > >> Constructing L2 page tables > >> undefined page pmap board type: 0 > >> Copyright (c) 1982, 1986, 1989, 1991, 1993 > >> The Regents of the University of California. All rights reserved. > >> Copyright (c) 1995-2016 OpenBSD. All rights reserved. > >> https://www.OpenBSD.org > >> > >> OpenBSD 6.0-current (RAMDISK) #0: Sat Oct 29 17:32:38 MDT 2016 > >> dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/RAMDISK > >> real mem = 1072078848 (1022MB) > >> avail mem = 1037021184 (988MB) > >> > >> mainbus0 at root: LeMaker Banana Pro > >> cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) > >> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled > >> cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache > >> cortex0 at mainbus0 > >> agtimer0 at mainbus0: tick rate 24000 KHz > >> sxiccmu0 at mainbus0 > >> simplebus0 at mainbus0: "soc" > >> sxipio0 at simplebus0: 175 pins > >> sximmc0 at simplebus0 > >> sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma > >> sximmc1 at simplebus0 > >> sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma > >> ehci0 at simplebus0 > >> usb0 at ehci0: USB revision 2.0 > >> uhub0 at usb0 configuration 1 interface 0 "Allwinner EHCI root hub" rev > >> 2.00/1.00 addr 1 > >> sxiahci0 at simplebus0: AHCI 1.1 > >> scsibus0 at sxiahci0: 32 targets > >> ehci1 at simplebus0 > >> usb1 at ehci1: USB revision 2.0 > >> uhub1 at usb1 configuration 1 interface 0 "Allwinner EHCI root hub" rev > >> 2.00/1.00 addr 1 > >> sxidog0 at simplebus0 > >> sxirtc0 at simplebus0 > >> com0 at simplebus0: ns16550, no working fifo > >> com0: console > >> com1 at simplebus0: ns16550, no working fifo > >> com2 at simplebus0: ns16550, no working fifo > >> dwge0 at simplebus0 > >> dwge0: Ethernet address: 02:17:04:40:c0:cc > >> rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5 > >> ampintc0 at simplebus0 nirq 160 > >> gpio0 at sxipio0: 18 pins > >> gpio1 at sxipio0: 24 pins > >> gpio2 at sxipio0: 25 pins > >> gpio3 at sxipio0: 28 pins > >> gpio4 at sxipio0: 12 pins > >> gpio5 at sxipio0: 6 pins > >> gpio6 at sxipio0: 12 pins > >> gpio7 at sxipio0: 28 pins > >> gpio8 at sxipio0: 22 pins > >> sximmc0: timeout updating clock > >> (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 1 not configured > >> (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 2 not configured > >> sximmc0: timeout updating clock > >> sximmc0: timeout updating clock > >> sximmc0: timeout updating clock > >> sximmc0: timeout updating clock > >> sximmc0: timeout updating clock > >> sdmmc0: can't enable card > >> sximmc0: timeout updating clock > >> boot device: lookup 'sd0a:/bsd' failed. > >> root on rd0a swap on rd0b dump on rd0b > >> WARNING: clock lost 17103 days > >> WARNING: CHECK AND RESET THE DATE! > >> erase ^?, werase ^W, kill ^U, intr ^C, status ^T > >> > >> Welcome to the OpenBSD/armv7 6.0 installation program. > >> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i > >> At any prompt except password prompts you can escape to a shell by > >> typing '!'. Default answers are shown in []'s and are selected by > >> pressing RETURN. You can exit this program at any time by pressing > >> Control-C, but this can leave your system in an inconsistent state. > >> > >> Terminal type? [vt220] > >> System hostname? (short form, e.g. 'foo') banana > >> > >> Available network interfaces are: dwge0. > >> Which network interface do you wish to configure? (or 'done') [dwge0] > >> IPv4 address for dwge0? (or 'dhcp' or 'none') [dhcp] > >> DHCPDISCOVER on dwge0 - interval 1 > >> DHCPOFFER from 192.168.1.1 (a4:79:47:e5:05:32) > >> DHCPREQUEST on dwge0 to 255.255.255.255 > >> DHCPACK from 192.168.1.1 (a4:79:47:e5:05:32) > >> bound to 192.168.1.2 -- renewal in 43200 seconds. > >> IPv6 address for dwge0? (or 'rtsol' or 'none') [none] > >> Available network interfaces are: dwge0. > >> Which network interface do you wish to configure? (or 'done') [done] > >> Using DNS domainname my.domain > >> Using DNS nameservers at 192.168.1.1 192.168.1.1 > >> > >> Password for root account? (will not echo) > >> Password for root account? (again) > >> Start sshd(8) by default? [yes] > >> Setup a user? (enter a lower-case loginname, or 'no') [no] > >> Since no user was setup, root logins via sshd(8) might be useful. > >> WARNING: root is targeted by password guessing attacks, pubkeys are > safer. > >> Allow root ssh login? (yes, no, prohibit-password) [no] > >> What timezone are you in? ('?' for list) [Europe/Belgrade] > >> > >> Available disks are: none. > >> Which disk is the root disk? ('?' for details) ? > >> Available disks are: none. > >> Which disk is the root disk? ('?' for details) ^C > >> > >> # halt > >> syncing disks... done > >> The operating system has halted. > >> Please press any key to reboot. > >> > >> Killed > >> $ exit > >> > >> Script done on Sun Oct 30 10:46:35 2016 > >> > >> === > >> > >> On Sun, Oct 30, 2016 at 8:21 AM, Jonathan Gray <j...@jsg.id.au> wrote: > >> > >>> ommmc is for omap not sunxi. sximmc is the sunxi equivalent. > >>> > >>> sximmc0: timeout updating clock > >>> sximmc0: timeout updating clock > >>> sximmc0: timeout updating clock > >>> sximmc0: timeout updating clock > >>> sximmc0: timeout updating clock > >>> sximmc0: timeout updating clock > >>> sdmmc0: can't enable card > >>> sximmc0: timeout updating clock > >>> > >>> If the cause of that were found and fixed, sd0 would attach. > >>> sximmc works on other a20 based systems, it isn't clear what > >>> makes this one different besides having multiple sximmc devices. > >>> > >>> On Sun, Oct 30, 2016 at 08:09:24AM +0100, soko.tica wrote: > >>>> It seems that "the mistery" is solved - OpenBSD doesn't have support > for > >>>> ommc http://man.openbsd.org/OpenBSD-current/man4/armv7/ommmc.4 on > sunxi > >>>> https://www.openbsd.org/armv7.html > >>>> > >>>> Once the miniroot is written to usb stick it is able to install on the > >>> same > >>>> usb stick. > >>>> > >>>> In the case I am still wrong about this, don't be shy to write it > here, > >>>> someone might read it in future. > >>>> > >>>> Regards, > >>>> > >>>> Soko Tica > >>>> > >>>> On Sat, Oct 29, 2016 at 10:19 PM, soko.tica <soko.t...@gmail.com> > >>> wrote: > >>>>> Hello, > >>>>> > >>>>> I have managed to successfully install -current on BananaPro > >>> (allegedly > >>>>> the same board as BananaPi plus wi-fi), but the boot can't be > >>> completed > >>>>> because > >>>>> "boot device: lookup 'sd0a:/bsd' failed" > >>>>> although it was initially found (as shown in the typescript bellow). > >>>>> > >>>>> I performed the install(s) from a SD card plugged into micro card > >>> slot to > >>>>> another SD card plugged into usb card reader. I did edit partition > >>> sizes > >>>>> suggested by autopartition. Upon completing the install I place the > >>> target > >>>>> SD card into the micro card slot and try to boot. > >>>>> > >>>>> Please advise if I am missing something obvious. > >>>>> > >>>>> Output of the typescript > >>>>> ======================== > >>>>> U-Boot 2016.09 (Sep 20 2016 - 02:39:19 -0600) Allwinner Technology > >>>>> > >>>>> CPU: Allwinner A20 (SUN7I) > >>>>> Model: LeMaker Banana Pro > >>>>> I2C: ready > >>>>> DRAM: 1 GiB > >>>>> MMC: SUNXI SD/MMC: 0 > >>>>> *** Warning - bad CRC, using default environment > >>>>> > >>>>> Setting up a 720x576i composite-pal console (overscan 32x20) > >>>>> In: serial > >>>>> Out: vga > >>>>> Err: vga > >>>>> SCSI: SATA link 0 timeout. > >>>>> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode > >>>>> flags: ncq stag pm led clo only pmp pio slum part ccc apst > >>>>> Net: eth0: ethernet@01c50000 > >>>>> starting USB... > >>>>> USB0: USB EHCI 1.00 > >>>>> USB1: USB OHCI 1.0 > >>>>> USB2: USB EHCI 1.00 > >>>>> USB3: USB OHCI 1.0 > >>>>> scanning bus 0 for devices... 1 USB Device(s) found > >>>>> scanning bus 2 for devices... 1 USB Device(s) found > >>>>> Hit any key to stop autoboot: 0 > >>>>> switch to partitions #0, OK > >>>>> mmc0 is current device > >>>>> Scanning mmc 0:1... > >>>>> reading /sun7i-a20-bananapro.dtb > >>>>> 31159 bytes read in 30 ms (1013.7 KiB/s) > >>>>> Found EFI removable media binary efi/boot/bootarm.efi > >>>>> reading efi/boot/bootarm.efi > >>>>> 64684 bytes read in 41 ms (1.5 MiB/s) > >>>>> ## Starting EFI application at 0x42000000 ... > >>>>> CACHE: Misaligned operation at range [79f1d000, 79f2ccac] > >>>>> Scanning disks on scsi... > >>>>> Scanning disks on usb... > >>>>> Scanning disks on mmc... > >>>>> MMC Device 1 not found > >>>>> MMC Device 2 not found > >>>>> MMC Device 3 not found > >>>>> Found 6 disks > >>>>>>> OpenBSD/armv7 BOOTARM 0.5 > >>>>> boot> > >>>>> cannot open sd0a:/etc/random.seed: No such file or directory > >>>>> booting sd0a:/bsd: 2138412+7972140+442552 [80+310912+150523]=0xa8724c > >>>>> > >>>>> OpenBSD/armv7 booting ... > >>>>> arg0 0xc0d8724c arg1 0x0 arg2 0x48000000 > >>>>> Allocating page tables > >>>>> freestart = 0x40d88000, free_pages = 258274 (0x0003f0e2) > >>>>> IRQ stack: p0x40db6000 v0xc0db6000 > >>>>> ABT stack: p0x40db7000 v0xc0db7000 > >>>>> UND stack: p0x40db8000 v0xc0db8000 > >>>>> SVC stack: p0x40db9000 v0xc0db9000 > >>>>> Creating L1 page table at 0x40d88000 > >>>>> Mapping kernel > >>>>> Constructing L2 page tables > >>>>> undefined page pmap board type: 0 > >>>>> Copyright (c) 1982, 1986, 1989, 1991, 1993 > >>>>> The Regents of the University of California. All rights > reserved. > >>>>> Copyright (c) 1995-2016 OpenBSD. All rights reserved. > >>>>> https://www.OpenBSD.org > >>>>> > >>>>> OpenBSD 6.0-current (RAMDISK) #0: Tue Oct 25 02:52:36 MDT 2016 > >>>>> dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/ > compile/RAMDISK > >>>>> real mem = 1072078848 (1022MB) > >>>>> avail mem = 1037025280 (988MB) > >>>>> mainbus0 at root: LeMaker Banana Pro > >>>>> cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) > >>>>> cpu0: DC enabled IC enabled WB disabled EABT branch prediction > enabled > >>>>> cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache > >>>>> cortex0 at mainbus0 > >>>>> agtimer0 at mainbus0: tick rate 24000 KHz > >>>>> sxiccmu0 at mainbus0 > >>>>> simplebus0 at mainbus0: "soc" > >>>>> sxipio0 at simplebus0: 175 pins > >>>>> sximmc0 at simplebus0 > >>>>> sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma > >>>>> sximmc1 at simplebus0 > >>>>> sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma > >>>>> ehci0 at simplebus0 > >>>>> usb0 at ehci0: USB revision 2.0 > >>>>> uhub0 at usb0 configuration 1 interface 0 "Allwinner EHCI root hub" > >>> rev > >>>>> 2.00/1.00 addr 1 > >>>>> sxiahci0 at simplebus0: AHCI 1.1 > >>>>> scsibus0 at sxiahci0: 32 targets > >>>>> ehci1 at simplebus0 > >>>>> usb1 at ehci1: USB revision 2.0 > >>>>> uhub1 at usb1 configuration 1 interface 0 "Allwinner EHCI root hub" > >>> rev > >>>>> 2.00/1.00 addr 1 > >>>>> sxidog0 at simplebus0 > >>>>> sxirtc0 at simplebus0 > >>>>> com0 at simplebus0: ns16550, no working fifo > >>>>> com0: console > >>>>> com1 at simplebus0: ns16550, no working fifo > >>>>> com2 at simplebus0: ns16550, no working fifo > >>>>> dwge0 at simplebus0 > >>>>> dwge0: Ethernet address: 02:17:04:40:c0:cc > >>>>> rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5 > >>>>> ampintc0 at simplebus0 nirq 160 > >>>>> gpio0 at sxipio0: 18 pins > >>>>> gpio1 at sxipio0: 24 pins > >>>>> gpio2 at sxipio0: 25 pins > >>>>> gpio3 at sxipio0: 28 pins > >>>>> gpio4 at sxipio0: 12 pins > >>>>> gpio5 at sxipio0: 6 pins > >>>>> gpio6 at sxipio0: 12 pins > >>>>> gpio7 at sxipio0: 28 pins > >>>>> gpio8 at sxipio0: 22 pins > >>>>> sximmc0: timeout updating clock > >>>>> (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 1 not > >>> configured > >>>>> (manufacturer 0x2d0, product 0xa962)at sdmmc1 function 2 not > >>> configured > >>>>> sximmc0: timeout updating clock > >>>>> sximmc0: timeout updating clock > >>>>> sximmc0: timeout updating clock > >>>>> sximmc0: timeout updating clock > >>>>> sximmc0: timeout updating clock > >>>>> sdmmc0: can't enable card > >>>>> sximmc0: timeout updating clock > >>>>> boot device: lookup 'sd0a:/bsd' failed. > >>>>> root on rd0a swap on rd0b dump on rd0b > >>>>> WARNING: clock lost 17099 days > >>>>> WARNING: CHECK AND RESET THE DATE! > >>>>> erase ^?, werase ^W, kill ^U, intr ^C, status ^T > >>>>> > >>>>> =========================== > >>>>> > >>>>> Several times I also tried with interrupting the boot and > >>>>> > >>>>> => run findfdt > >>>>> => load mmc 0:1 ${fdt_addr_r} ${fdtfile} > >>>>> => load mmc 0:1 ${kernel_addr_r} efi/boot/bootarm.efi > >>>>> => bootefi ${kernel_addr_r} ${fdt_addr_r} > >>>>> > >>>>> as per the instructions ftp://ftp.obsd.si/pub/OpenBSD/ > >>>>> snapshots/armv7/INSTALL.armv7 > >>>>> > >>>>> But with the same result. > >>>>> > >>>>> Thanks in advance, > >>>>> > >>>>> Regards, > >>>>> > >>>>> Soko Tica > >>>>> > >> > > > > >