On Sat, Mar 25, 2017 at 06:29:32PM +0000, Florian Obser wrote:
> 
> ... it just sits here forever.
> 
> Using hostserver's archive I bisected miniroots and found that
> this one works:
>       
> https://ftp.hostserver.de/archive/2017-03-07-0105/snapshots/armv7/miniroot-panda-61.fs
>       OpenBSD 6.1-beta (RAMDISK) #52: Sun Mar  5 15:11:37 MST 2017
> 
> U-Boot SPL 2016.11 (Dec 24 2016 - 09:08:50)
> OMAP4460-GP ES1.1
> Trying to boot from MMC1
> SPL: Please implement spl_start_uboot() for your board
> SPL: Direct Linux boot not active!
> reading u-boot.img
> reading u-boot.img
> 
> 
> U-Boot 2016.11 (Dec 24 2016 - 09:08:50 -0700)
> 
> CPU  : OMAP4460-GP ES1.1
> Board: OMAP4 Panda
> I2C:   ready
> DRAM:  1 GiB
> MMC:   OMAP SD/MMC: 0
> reading uboot.env
> 
> ** Unable to read "uboot.env" from mmc0:1 **
> Using default environment
> 
> Net:   No ethernet found.
> Hit any key to stop autoboot:  0 
> switch to partitions #0, OK
> mmc0 is current device
> SD/MMC found on device 0
> reading boot.scr
> ** Unable to read file boot.scr **
> reading uEnv.txt
> ** Unable to read file uEnv.txt **
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> reading /omap4-panda-es.dtb
> 58423 bytes read in 8 ms (7 MiB/s)
> Found EFI removable media binary efi/boot/bootarm.efi
> reading efi/boot/bootarm.efi
> 64684 bytes read in 10 ms (6.2 MiB/s)
> ## Starting EFI application at 0x82000000 ...
> CACHE: Misaligned operation at range [bcf36000, bcf45cac]
> Scanning disks on usb...
> Scanning disks on mmc...
> MMC Device 1 not found
> MMC Device 2 not found
> MMC Device 3 not found
> Found 5 disks
> >> OpenBSD/armv7 BOOTARM 0.5
> boot> 
> cannot open sd0a:/etc/random.seed: No such file or directory
> booting sd0a:/bsd: 2168072+7992960+438796 [80+305024+146122]=0xa90cc4
> 
> OpenBSD/armv7 booting ...
> arg0 0xc0d90cc4 arg1 0xae7 arg2 0x88000000
> Allocating page tables
> freestart = 0x80d91000, free_pages = 258671 (0x0003f26f)
> [...]
> 
> and this one is busted:
>       
> https://ftp.hostserver.de/archive/2017-03-09-0105/snapshots/armv7/miniroot-panda-61.fs
>       OpenBSD 6.1-beta (RAMDISK) #54: Wed Mar  8 02:59:20 MST 2017
> 
> 
> U-Boot SPL 2017.01 (Feb 04 2017 - 18:38:04)
> OMAP4460-GP ES1.1
> Trying to boot from MMC1SPL: Please implement spl_start_uboot() for your board
> SPL: Direct Linux boot not active!
> reading u-boot.img
> reading u-boot.img
> 
> [and then nothing]
> 
> Using a working miniroot I can install the system and then use bsd.rd
> to upgrade the system past the breakage.

The u-boot port has had newer versions for some time now.  If you
install the u-boot-arm-2017.03 package from the amd64 packages
and copy
/usr/local/share/u-boot/omap4_panda/{MLO,u-boot.img}
to the msdos partition on the miniroot does that change anything?

Should look like:

U-Boot SPL 2017.03 (Mar 14 2017 - 15:01:11)
OMAP4460-GP ES1.1
Trying to boot from MMC1
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
reading u-boot.img
reading u-boot.img


U-Boot 2017.03 (Mar 14 2017 - 15:01:11 +1100)

CPU  : OMAP4460-GP ES1.1
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

Net:   No ethernet found.
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /omap4-panda-es.dtb
58423 bytes read in 6 ms (9.3 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
reading efi/boot/bootarm.efi
64684 bytes read in 8 ms (7.7 MiB/s)
## Starting EFI application at 82000000 ...
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 5 disks
>> OpenBSD/armv7 BOOTARM 0.5

> 
> Thanks,
> Florian
> 
> U-Boot SPL 2017.01 (Feb 04 2017 - 18:38:04)
> OMAP4460-GP ES1.1
> Trying to boot from MMC1SPL: Please implement spl_start_uboot() for your board
> SPL: Direct Linux boot not active!
> reading u-boot.img
> reading u-boot.img
> 
> 
> U-Boot 2017.01 (Feb 04 2017 - 18:38:04 -0700)
> 
> CPU  : OMAP4460-GP ES1.1
> Board: OMAP4 Panda
> I2C:   ready
> DRAM:  1 GiB
> MMC:   OMAP SD/MMC: 0
> reading uboot.env
> 
> ** Unable to read "uboot.env" from mmc0:1 **
> Using default environment
> 
> Net:   No ethernet found.
> Hit any key to stop autoboot:  0 
> switch to partitions #0, OK
> mmc0 is current device
> SD/MMC found on device 0
> reading boot.scr
> ** Unable to read file boot.scr **
> reading uEnv.txt
> ** Unable to read file uEnv.txt **
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> reading /omap4-panda-es.dtb
> 58423 bytes read in 7 ms (8 MiB/s)
> Found EFI removable media binary efi/boot/bootarm.efi
> reading efi/boot/bootarm.efi
> 64684 bytes read in 9 ms (6.9 MiB/s)
> ## Starting EFI application at 82000000 ...
> Scanning disks on usb...
> Scanning disks on mmc...
> MMC Device 1 not found
> MMC Device 2 not found
> MMC Device 3 not found
> Found 5 disks
> >> OpenBSD/armv7 BOOTARM 0.5
> boot> 
> booting sd0a:/bsd: 3826824+161024+495360 [80+507136+237956]=0x4fe470
> 
> OpenBSD/armv7 booting ...
> arg0 0xc07fe470 arg1 0xae7 arg2 0x88000000
> Allocating page tables
> freestart = 0x807ff000, free_pages = 260097 (0x0003f801)
> IRQ stack: p0x8082d000 v0xc082d000
> ABT stack: p0x8082e000 v0xc082e000
> UND stack: p0x8082f000 v0xc082f000
> SVC stack: p0x80830000 v0xc0830000
> Creating L1 page table at 0x80800000
> Mapping kernel
> Constructing L2 page tables
> undefined page pmap [ using 745584 bytes of bsd ELF symbol table ]
> board type: 2791
> 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-beta (GENERIC) #82: Fri Mar 24 15:03:38 MDT 2017
>     dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/GENERIC
> real mem  = 1073741824 (1024MB)
> avail mem = 1044316160 (995MB)
> mainbus0 at root: TI OMAP4 PandaBoard-ES
> cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
> cortex0 at mainbus0
> amptimer0 at cortex0: tick rate 396000 KHz
> armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
> omap0 at mainbus0
> omapid0 at omap0: omap4460
> amptimer0: adjusting clock: new tick rate 350000 KHz
> prcm0 at omap0 rev 0.0
> ampintc0 at mainbus0 nirq 160, ncpu 2
> omwugen0 at mainbus0
> simplebus0 at mainbus0: "ocp"
> simplebus1 at simplebus0: "l4"
> simplebus2 at simplebus1: "scm"
> simplebus3 at simplebus1: "scm"
> ompinmux0 at simplebus3
> simplebus4 at simplebus3: "omap4_padconf_global"
> simplebus5 at simplebus1: "l4"
> ompinmux1 at simplebus5
> omgpio0 at simplebus0: rev 0.1
> gpio0 at omgpio0: 32 pins
> omgpio1 at simplebus0: rev 0.1
> gpio1 at omgpio1: 32 pins
> omgpio2 at simplebus0: rev 0.1
> gpio2 at omgpio2: 32 pins
> omgpio3 at simplebus0: rev 0.1
> gpio3 at omgpio3: 32 pins
> omgpio4 at simplebus0: rev 0.1
> gpio4 at omgpio4: 32 pins
> omgpio5 at simplebus0: rev 0.1
> gpio5 at omgpio5: 32 pins
> com0 at simplebus0: ti16750, 64 byte fifo
> com0: probed fifo depth: 0 bytes
> com1 at simplebus0: ti16750, 64 byte fifo
> com1: probed fifo depth: 0 bytes
> com2 at simplebus0: ti16750, 64 byte fifo
> com2: console
> com3 at simplebus0: ti16750, 64 byte fifo
> com3: probed fifo depth: 0 bytes
> tiiic0 at simplebus0 rev 0.11
> iic0 at tiiic0
> "ti,twl6030" at iic0 addr 0x48 not configured
> "ti,twl6040" at iic0 addr 0x4b not configured
> tiiic1 at simplebus0 rev 0.11
> iic1 at tiiic1
> tiiic2 at simplebus0 rev 0.11
> iic2 at tiiic2
> "ti,eeprom" at iic2 addr 0x50 not configured
> tiiic3 at simplebus0 rev 0.11
> iic3 at tiiic3
> ommmc0 at simplebus0
> sdmmc0 at ommmc0: 8-bit
> ommmc1 at simplebus0
> sdmmc1 at ommmc1: 1-bit
> omdog0 at simplebus0 rev 0.1
> omehci0 at simplebus0
> usb0 at omehci0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "TI OMAP EHCI root hub" rev 
> 2.00/1.00 addr 1
> sdmmc1: can't supply clock
> sdmmc1: can't enable card
> scsibus0 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SP16G, 0080> SCSI2 0/direct removable
> sd0: 15193MB, 512 bytes/sector, 31116288 sectors
> uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems 
> product 0x9514" rev 2.00/2.00 addr 2
> smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems 
> SMSC9512/14" rev 2.00/2.00 addr 3
> smsc0: address ff:ff:ff:ff:ff:ff
> ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
> 0x0001f0, model 0x000c
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> boot device: sd0
> root on sd0a (a0dc7aae54c0fe26.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!
> Automatic boot in progress: starting file system checks.
> /dev/sd0a (a0dc7aae54c0fe26.a): file system is clean; not checking
> /dev/sd0l (a0dc7aae54c0fe26.l): file system is clean; not checking
> /dev/sd0d (a0dc7aae54c0fe26.d): file system is clean; not checking
> /dev/sd0f (a0dc7aae54c0fe26.f): file system is clean; not checking
> /dev/sd0g (a0dc7aae54c0fe26.g): file system is clean; not checking
> /dev/sd0h (a0dc7aae54c0fe26.h): file system is clean; not checking
> /dev/sd0k (a0dc7aae54c0fe26.k): file system is clean; not checking
> /dev/sd0j (a0dc7aae54c0fe26.j): file system is clean; not checking
> /dev/sd0e (a0dc7aae54c0fe26.e): file system is clean; not checking
> setting tty flags
> pf enabled
> starting network
> DHCPREQUEST on smsc0 to 255.255.255.255
> DHCPNACK from 192.168.178.1 (54:67:51:de:e7:ce)
> DHCPDISCOVER on smsc0 - interval 1
> DHCPDISCOVER on smsc0 - interval 2
> DHCPOFFER from 192.168.178.1 (54:67:51:de:e7:ce)
> DHCPREQUEST on smsc0 to 255.255.255.255
> DHCPACK from 192.168.178.1 (54:67:51:de:e7:ce)
> bound to 192.168.178.130 -- renewal in 1800 seconds.
> reordering libraries: done.
> starting early daemons: syslogd pflogd ntpd.
> starting RPC daemons:.
> savecore: no core dump
> checking quotas: done.
> clearing /tmp
> kern.securelevel: 0 -> 1
> creating runtime link editor directory cache.
> preserving editor files.
> starting network daemons: sshd smtpd sndiod.
> starting local daemons: cron.
> Fri Mar 24 22:55:53 CET 2017
> 
> OpenBSD/armv7 (panda.home) (console)
> 
> login: 
> 
> -- 
> I'm not entirely sure you are real.
> 

Reply via email to