Hi,
apparently it's still broken for me, so maybe the version w/--timo in
the loop is necessary, if the loops are to be kept.
-Artturi
rebooting...
U-Boot SPL 2017.11 (Dec 02 2017 - 01:15:36)
Trying to boot from MMC1
U-Boot 2017.11 (Dec 02 2017 - 01:15:36 -0700)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: WDOG
I2C: ready
DRAM: 2 GiB
Can't find PMIC:PFUZE100
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
No panel detected: default to HDMI
Display: HDMI (1024x768)
In: serial
Out: serial
Err: serial
Board: Wandboard rev B1
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /imx6q-wandboard-revb1.dtb
35596 bytes read in 21 ms (1.6 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
Scanning disks on usb...
Scanning disks on mmc...
MMC: no card present
mmc_init: -123, time 2
MMC Device 2 not found
MMC Device 3 not found
Scanning disks on sata...
Found 6 disks
reading efi/boot/bootarm.efi
76576 bytes read in 38 ms (1.9 MiB/s)
## Starting EFI application at 12000000 ...
>> OpenBSD/armv7 BOOTARM 1.0
boot>
booting sd0a:/bsd: 4053972+514964+198316+562060
[278354+98+283568+246029]=0x5db09c
OpenBSD/armv7 booting ...
arg0 0xc08db09c arg1 0x0 arg2 0x18000000
Allocating page tables
freestart = 0x108dc000, free_pages = 522020 (0x0007f724)
IRQ stack: p0x1090a000 v0xc090a000
ABT stack: p0x1090b000 v0xc090b000
UND stack: p0x1090c000 v0xc090c000
SVC stack: p0x1090d000 v0xc090d000
Creating L1 page table at 0x108dc000
Mapping kernel
Constructing L2 page tables
undefined page pmap [ using 808548 bytes of bsd ELF symbol table ]
board type: 0
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2018 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 6.3 (GENERIC) #198: Sun Mar 18 05:31:44 MDT 2018
[email protected]:/usr/src/sys/arch/armv7/compile/GENERIC
real mem = 2147483648 (2048MB)
avail mem = 2096713728 (1999MB)
mainbus0 at root: Wandboard i.MX6 Quad Board rev B1
cpu0 at mainbus0: ARM Cortex-A9 r2p10 (ARMv7)
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
simplebus0 at mainbus0: "soc"
ampintc0 at simplebus0 nirq 160, ncpu 4
simplebus1 at simplebus0: "aips-bus"
imxccm0 at simplebus1: imx6 rev 1.2 CPU freq: 792 MHz
syscon0 at simplebus1: "anatop"
syscon1 at simplebus1: "snvs"
syscon2 at simplebus1: "iomuxc-gpr"
imxiomuxc0 at simplebus1
simplebus2 at simplebus1: "spba-bus"
imxuart0 at simplebus2: console
imxgpio0 at simplebus1
imxgpio1 at simplebus1
imxgpio2 at simplebus1
imxgpio3 at simplebus1
imxgpio4 at simplebus1
imxgpio5 at simplebus1
imxgpio6 at simplebus1
imxdog0 at simplebus1
imxanatop0 at simplebus1
imxtemp0 at simplebus1
imxgpc0 at simplebus1
simplebus3 at simplebus0: "aips-bus"
syscon3 at simplebus3: "ocotp"
imxehci0 at simplebus3
usb0 at imxehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "i.MX6 EHCI root hub" rev 2.00/1.00
addr 1
imxehci1 at simplebus3
usb1 at imxehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "i.MX6 EHCI root hub" rev 2.00/1.00
addr 1
fec0 at simplebus3
fec0: address 00:1f:7b:b4:04:49
atphy0 at fec0 phy 1: AR8035 10/100/1000 PHY, rev. 4
imxesdhc0 at simplebus3
imxesdhc0: 198 MHz base clock
sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma
imxesdhc1 at simplebus3
imxesdhc1: 198 MHz base clock
sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma
imxesdhc2 at simplebus3
imxesdhc2: 198 MHz base clock
sdmmc2 at imxesdhc2: 4-bit, mmc high-speed, dma
imxiic0 at simplebus3
iic0 at imxiic0
imxiic1 at simplebus3
iic1 at imxiic1
"fsl,sgtl5000" at iic1 addr 0xa not configured
imxuart1 at simplebus3
imxahci0 at simplebus0: AHCI 1.3
scsibus0 at imxahci0: 32 targets
simplebus4 at mainbus0: "regulators"
sdmmc1: can't enable card
scsibus1 at sdmmc2: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SD/MMC, USD, 0002> SCSI2 0/direct removable
sd0: 7517MB, 512 bytes/sector, 15394816 sectors
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
boot device: sd0
root on sd0a (56259af92715ef48.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/sd0a (56259af92715ef48.a): file system is clean; not checking
/dev/sd0e (56259af92715ef48.e): file system is clean; not checking
/dev/sd0d (56259af92715ef48.d): file system is clean; not checking
setting tty flags
pf enabled
starting network
fec0: bound to 10.0.1.50 from 10.0.1.5 (00:22:68:10:3d:f0)
reordering libraries:^C failed.
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.
Mon Mar 19 16:16:32 EET 2018
OpenBSD/armv7 (av7wandb.local.domain) (console)
login: root
Password:
Last login: Mon Mar 19 02:27:00 on console
OpenBSD 6.3 (GENERIC) #198: Sun Mar 18 05:31:44 MDT 2018
sdmmc1: can't enable card
scsibus1 at sdmmc2: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SD/MMC, USD, 0002> SCSI2 0/direct removable
sd0: 7517MB, 512 bytes/sector, 15394816 sectors
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
boot device: sd0
root on sd0a (56259af92715ef48.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/sd0a (56259af92715ef48.a): file system is clean; not checking
/dev/sd0e (56259af92715ef48.e): file system is clean; not checking
/dev/sd0d (56259af92715ef48.d): file system is clean; not checking
setting tty flags
pf enabled
starting network
fec0: bound to 10.0.1.50 from 10.0.1.5 (00:22:68:10:3d:f0)
reordering libraries:^C failed.
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.
Mon Mar 19 16:16:32 EET 2018
OpenBSD/armv7 (av7wandb.local.domain) (console)
login: root
Password:
Last login: Mon Mar 19 02:27:00 on console
OpenBSD 6.3 (GENERIC) #198: Sun Mar 18 05:31:44 MDT 2018
Welcome to OpenBSD: The proactively secure Unix-like operating system.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code. With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
You have mail.
av7wandb# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
index 3 priority 0 llprio 3
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
fec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1f:7b:b4:04:49
index 1 priority 0 llprio 3
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 10.0.1.50 netmask 0xffffff00 broadcast 10.0.1.255
enc0: flags=0<>
index 2 priority 0 llprio 3
groups: enc
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33168
index 4 priority 0 llprio 3
groups: pflog
av7wandb# ifconfig fec0
fec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1f:7b:b4:04:49
index 1 priority 0 llprio 3
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 10.0.1.50 netmask 0xffffff00 broadcast 10.0.1.255
av7wandb# ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1): 56 data bytes
64 bytes from 10.0.1.1: icmp_seq=0 ttl=255 time=0.964 ms
^C
--- 10.0.1.1 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.964/0.964/0.964/0.000 ms
av7wandb# ifconfig fec0 down
av7wandb# ifconfig fec0
fec0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1f:7b:b4:04:49
index 1 priority 0 llprio 3
groups: egress