I was able to compile the kernel with the changed sxipio driver.  The output
is below.

 

I have also tried to research data regarding what the pins should be set to.

The attached spreadsheet details the results.

 

The results of the boot log do not make sense to me. There is no match to
any of the published data.

Where is the driver looking for the data it uses?

I did not include the dtb in the analysis as there are multiple definitions
for many pins.  How does that work?

 

BOOT LOG:

 

Trying to boot from MMC1

 

 

U-Boot 2017.09-rc2 (Aug 22 2017 - 00:26:16 -0600) Allwinner Technology

 

CPU:   Allwinner H3 (SUN8I 1680)

Model: Xunlong Orange Pi One

DRAM:  512 MiB

MMC:   SUNXI SD/MMC: 0

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Net:   phy interface0

eth0: ethernet@1c30000

starting USB...

USB0:   USB EHCI 1.00

USB1:   USB OHCI 1.0

scanning bus 0 for devices... 2 USB Device(s) found

       scanning usb for storage devices... 0 Storage Device(s) found

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc0 is current device

Scanning mmc 0:1...

reading /sun8i-h3-orangepi-one.dtb

14504 bytes read in 25 ms (566.4 KiB/s)

Found EFI removable media binary efi/boot/bootarm.efi

reading efi/boot/bootarm.efi

67356 bytes read in 36 ms (1.8 MiB/s)

## Starting EFI application at 42000000 ...

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 1.0

boot>

booting sd0a:/bsd: 3913504+166440+495576 [281516+90+518560+243869]=0x560a0c

 

OpenBSD/armv7 booting ...

arg0 0xc0860a0c arg1 0x0 arg2 0x48000000

Allocating page tables

freestart = 0x40861000, free_pages = 128927 (0x0001f79f)

IRQ stack: p0x4088f000 v0xc088f000

ABT stack: p0x40890000 v0xc0890000

UND stack: p0x40891000 v0xc0891000

SVC stack: p0x40892000 v0xc0892000

Creating L1 page table at 0x40864000

Mapping kernel

Constructing L2 page tables

undefined page pmap [ using 1044492 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-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org

 

OpenBSD 6.2-beta (GENERIC) #2: Sun Aug 27 09:49:07 PDT 2017

    sysad...@openbsdop1.graf.lan:/usr/src/sys/arch/armv7/compile/GENERIC

real mem  = 536870912 (512MB)

avail mem = 517382144 (493MB)

mainbus0 at root: Xunlong Orange Pi One

cpu0 at mainbus0: ARM Cortex-A7 r0p5 (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

sxiccmu0 at mainbus0

psci0 at mainbus0

simplebus0 at mainbus0: "soc"

sxiccmu1 at simplebus0

sxipio0 at simplebus0: 94 pins

sxipio1 at simplebus0: 12 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

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

com0 at simplebus0: ns16550, no working fifo

com0: console

ampintc0 at simplebus0 nirq 160, ncpu 4

sxirtc0 at simplebus0

A0 mux 7<invalid>- skipping

A1 mux 3<jtag>- skipping

A2 mux 5<invalid>- skipping

A3 mux 6<irq>- skipping

A4 mux 7<invalid>- skipping

A5 mux 3<pwm0>- skipping

A6 mux 5<invalid>- skipping

A7 mux 6<irq>- skipping

A8 mux 7<invalid>- skipping

A9 mux 3<invalid>- skipping

A10 mux 5<invalid>- skipping

A11 mux 6<irq>- skipping

A12 mux 7<invalid>- skipping

A13 mux 3<uart3>- skipping

A14 mux 5<invalid>- skipping

A15 mux 6<irq>- skipping

A16 mux 7<invalid>- skipping

A17 mux 3<invalid>- skipping

A18 mux 5<invalid>- skipping

A19 mux 6<irq>- skipping

A20 mux 7<invalid>- skipping

A21 mux 3<sim>- skipping

C0 mux 7<invalid>- skipping

C1 mux 3<spi0>- skipping

C2 mux 5<invalid>- skipping

C3 mux 6<invalid>- skipping

C4 mux 7<invalid>- skipping

C5 mux 3<mmc2>- skipping

C6 mux 5<invalid>- skipping

C7 mux 6<invalid>- skipping

C8 mux 7<invalid>- skipping

C9 mux 3<mmc2>- skipping

C10 mux 5<invalid>- skipping

C11 mux 6<invalid>- skipping

C12 mux 7<invalid>- skipping

C13 mux 3<mmc2>- skipping

C14 mux 5<invalid>- skipping

C15 mux 6<invalid>- skipping

C16 mux 7<invalid>- skipping

D0 mux 7<invalid>- skipping

D1 mux 3<invalid>- skipping

D2 mux 5<invalid>- skipping

D3 mux 6<invalid>- skipping

D4 mux 7<invalid>- skipping

D5 mux 3<invalid>- skipping

D6 mux 5<invalid>- skipping

D7 mux 6<invalid>- skipping

D8 mux 7<invalid>- skipping

D9 mux 3<invalid>- skipping

D10 mux 5<invalid>- skipping

D11 mux 6<invalid>- skipping

D12 mux 7<invalid>- skipping

D13 mux 3<invalid>- skipping

D14 mux 5<invalid>- skipping

D15 mux 6<invalid>- skipping

D16 mux 7<invalid>- skipping

D17 mux 3<invalid>- skipping

E0 mux 7<invalid>- skipping

E1 mux 3<ts>- skipping

E2 mux 5<invalid>- skipping

E3 mux 6<invalid>- skipping

E4 mux 7<invalid>- skipping

E5 mux 3<ts>- skipping

E6 mux 5<invalid>- skipping

E7 mux 6<invalid>- skipping

E8 mux 7<invalid>- skipping

E9 mux 3<ts>- skipping

E10 mux 5<invalid>- skipping

E11 mux 6<invalid>- skipping

E12 mux 7<invalid>- skipping

E13 mux 3<i2c2>- skipping

E14 mux 5<invalid>- skipping

E15 mux 6<invalid>- skipping

F0 mux 2<mmc0>- skipping

F1 mux 1<gpio_out>- adding

F2 mux 0<gpio_in>- adding

F3 mux 4<invalid>- skipping

F4 mux 2<mmc0>- skipping

F5 mux 1<gpio_out>- adding

F6 mux 0<gpio_in>- adding

G0 mux 7<invalid>- skipping

G1 mux 3<invalid>- skipping

G2 mux 5<invalid>- skipping

G3 mux 6<irq>- skipping

G4 mux 7<invalid>- skipping

G5 mux 3<invalid>- skipping

G6 mux 5<invalid>- skipping

G7 mux 6<irq>- skipping

G8 mux 7<invalid>- skipping

G9 mux 3<invalid>- skipping

G10 mux 5<invalid>- skipping

G11 mux 6<irq>- skipping

G12 mux 7<invalid>- skipping

G13 mux 3<invalid>- skipping

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

A0 mux 7<invalid>- skipping

A1 mux 3<invalid>- skipping

A2 mux 5<invalid>- skipping

A3 mux 6<irq>- skipping

A4 mux 7<invalid>- skipping

A5 mux 3<invalid>- skipping

A6 mux 5<invalid>- skipping

A7 mux 6<irq>- skipping

A8 mux 7<invalid>- skipping

A9 mux 3<invalid>- skipping

A10 mux 5<invalid>- skipping

A11 mux 6<irq>- skipping

gpio7 at sxipio1: 32 pins

agtimer0 at mainbus0: tick rate 24000 KHz

scsibus0 at sdmmc0: 2 targets, initiator 0

sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SL16G, 0080> SCSI2 0/direct removable

sd0: 15193MB, 512 bytes/sector, 31116288 sectors

run0 at uhub1 port 1 configuration 1 interface 0 "Ralink 802.11 n WLAN" rev
2.00/1.01 addr 2

run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address
00:1f:cf:52:86:52

vscsi0 at root

scsibus1 at vscsi0: 256 targets

softraid0 at root

scsibus2 at softraid0: 256 targets

boot device: sd0

root on sd0a (e50fea1f8609b974.a) swap on sd0b dump on sd0b

Automatic boot in progress: starting file system checks.

/dev/sd0a (e50fea1f8609b974.a): file system is clean; not checking

/dev/sd0l (e50fea1f8609b974.l): file system is clean; not checking

/dev/sd0d (e50fea1f8609b974.d): file system is clean; not checking

/dev/sd0f (e50fea1f8609b974.f): file system is clean; not checking

/dev/sd0g (e50fea1f8609b974.g): file system is clean; not checking

/dev/sd0h (e50fea1f8609b974.h): file system is clean; not checking

/dev/sd0k (e50fea1f8609b974.k): file system is clean; not checking

/dev/sd0j (e50fea1f8609b974.j): file system is clean; not checking

/dev/sd0e (e50fea1f8609b974.e): file system is clean; not checking

setting tty flags

pf enabled

starting network

DHCPREQUEST on run0 to 255.255.255.255

DHCPACK from 192.168.1.253 (cc:5d:4e:ad:f4:0f)

bound to 192.168.1.6 -- renewal in 43200 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.

Sun Aug 27 10:55:39 PDT 2017

 

OpenBSD/armv7 (openbsdop1.graf.lan) (console)

Attachment: orange_pi_one_pin_data.xlsx
Description: MS-Excel 2007 spreadsheet

Reply via email to