Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

GENERIC64 boots on OrangePi Zero Plus



I had to cons up a u-boot configuration, and said u-boot seems unable to boot the 32-bit SUNXI kernel, but whatever.  We need a driver for the Realtek SDIO-connected WiFi.  I'm going to tweak the u-boot config a little before I check in the package (to get rid of the MMC 1 error -- that's where the WiFi is).

U-Boot 2018.05 (Jun 23 2018 - 13:13:06 -0700) Allwinner Technology

CPU:   Allwinner H5 (SUN50I)
Model: Xunlong Orange Pi Zero Plus
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... Card did not respond to voltage select!
** Bad device mmc 1 **
Failed (-5)
In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
243 bytes read in 2 ms (118.2 KiB/s)
NetBSD/arm64 boot options
1:      NetBSD/arm64
Enter choice: 1:        NetBSD/arm64
Retrieving file: /netbsd.img
8748292 bytes read in 419 ms (19.9 MiB/s)
append: root=ld0a console=fb
Retrieving file: /dtb/allwinner/sun50i-h5-orangepi-zero-plus.dtb
23601 bytes read in 4 ms (5.6 MiB/s)
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Device Tree to 0000000049ff7000, end 0000000049fffc30 ... OK

Starting kernel ...

ok
[   1.0000000] uboot: args 0x49ff7000, 0, 0, 0

[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] FDT /memory [0] @ 0x40000000 size 0x20000000
[   1.0000000] MEM: add 40000000-60000000
[   1.0000000] MEM: res 49ff7000-49ffd000
[   1.0000000] Usable memory:
[   1.0000000]   40000000 - 49ff6fff
[   1.0000000]   49ffd000 - 5fffffff
[   1.0000000] initarm: kernel phys start 40000000 end 40858000
[   1.0000000] MEM: res 40000000-40858000
[   1.0000000] bootargs: root=ld0a console=fb
[   1.0000000]   40858000 - 49ff6fff
[   1.0000000]   49ffd000 - 5fffffff
[   1.0000000] ------------------------------------------
[   1.0000000] kern_vtopdiff         = 0xffffffbfc0000000
[   1.0000000] physical_start        = 0x0000000040000000
[   1.0000000] kernel_start_phys     = 0x0000000040000000
[   1.0000000] kernel_end_phys       = 0x0000000040858000
[   1.0000000] physical_end          = 0x0000000049ff6000
[   1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000
[   1.0000000] kernel_start_l2       = 0xffffffc000000000
[   1.0000000] kernel_start          = 0xffffffc000000000
[   1.0000000] kernel_end            = 0xffffffc000858000
[   1.0000000] kernel_end_l2         = 0xffffffc000a00000
[   1.0000000] (kernel va area)
[   1.0000000] (devmap va area)
[   1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffffffe00000
[   1.0000000] ------------------------------------------
[   1.0000000] ksyms: checking .text
[   1.0000000] ksyms: checking .rodata
[   1.0000000] ksyms: checking link_set_evcnts
[   1.0000000] ksyms: checking link_set_sysctl_funcs
[   1.0000000] ksyms: checking link_set_arm_platforms
[   1.0000000] ksyms: checking link_set_fdt_consoles
[   1.0000000] ksyms: checking link_set_modules
[   1.0000000] ksyms: checking link_set_ieee80211_funcs
[   1.0000000] ksyms: checking link_set_domains
[   1.0000000] ksyms: checking link_set_sdt_probes_set
[   1.0000000] ksyms: checking link_set_sdt_argtypes_set
[   1.0000000] ksyms: checking link_set_sdt_providers_set
[   1.0000000] ksyms: checking link_set_dkwedge_methods
[   1.0000000] ksyms: checking link_set_prop_linkpools
[   1.0000000] ksyms: checking .eh_frame
[   1.0000000] ksyms: checking .got
[   1.0000000] ksyms: checking .got.plt
[   1.0000000] ksyms: checking .data
[   1.0000000] ksyms: checking .data.cacheline_aligned
[   1.0000000] ksyms: checking .data.read_mostly
[   1.0000000] ksyms: checking .ident
[   1.0000000] ksyms: checking .comment
[   1.0000000] ksyms: checking .note.netbsd.ident
[   1.0000000] ksyms: checking .debug_str
[   1.0000000] ksyms: checking .debug_loc
[   1.0000000] ksyms: checking .debug_abbrev
[   1.0000000] ksyms: checking .debug_info
[   1.0000000] ksyms: checking .debug_macinfo
[   1.0000000] ksyms: checking .debug_pubnames
[   1.0000000] ksyms: checking .debug_pubtypes
[   1.0000000] ksyms: checking .debug_line
[   1.0000000] ksyms: checking .shstrtab
[   1.0000000] ksyms: checking .symtab
[   1.0000000] ksyms: checking .strtab
[   1.0000000] Loaded initial symtab at 0xffffffc000762f60, strtab at 0xffffffc0007ebad8, # entries 23333
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 8.99.19 (GENERIC64) #0: Sat Jun 23 14:22:30 UTC 2018
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 503 MB
[   1.0000000] avail memory = 487 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] fdt0 at armfdt0: Xunlong Orange Pi Zero Plus
[   1.0000000] fdt1 at fdt0
[   1.0000000] fdt2 at fdt0
[   1.0000000] fdt3 at fdt0
[   1.0000000] cpus0 at fdt0
[   1.0000000] cpu0 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[   1.0000000] cpu0: CPU Affinity 0-0-0-0
[   1.0000000] cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[   1.0000000] cpu0: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[   1.0000000] cpu0: Dcache line 64, Icache line 64
[   1.0000000] cpu0: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[   1.0000000] cpu0: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[   1.0000000] cpu0: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[   1.0000000] cpu0: revID=0x180, PMCv3, 4k table, 64k table, 16bit ASID
[   1.0000000] cpu0: auxID=0x11120, FP, CRC32, SHA1, SHA256, AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[   1.0000000] cpu1 at cpus0: disabled (uniprocessor kernel)
[   1.0000000] cpu2 at cpus0: disabled (uniprocessor kernel)
[   1.0000000] cpu3 at cpus0: disabled (uniprocessor kernel)
[   1.0000000] gic0 at fdt1: GIC
[   1.0000000] armgic0 at gic0: Generic Interrupt Controller, 224 sources (215 valid)
[   1.0000000] armgic0: 16 Priorities, 192 SPIs, 7 PPIs, 16 SGIs
[   1.0000000] fclock0 at fdt2: 24000000 Hz fixed clock (osc24M)
[   1.0000000] fclock1 at fdt2: 32768 Hz fixed clock (osc32k)
[   1.0000000] fclock2 at fdt2: 16000000 Hz fixed clock (iosc)
[   1.0000000] gtmr0 at fdt0: Generic Timer
[   1.0000000] gtmr0: interrupting on GIC irq 27
[   1.0000000] armgtmr0 at gtmr0: ARMv7 Generic 64-bit Timer (24000 kHz)
[   1.0000750] sun8ih3ccu0 at fdt1: H3 CCU
[   1.0000750] sun8ih3rccu0 at fdt1: H3 PRCM CCU
[   1.0000750] sunxigpio0 at fdt1: PIO
[   1.0000750] gpio0 at sunxigpio0: 94 pins
[   1.0000750] sunxigpio0: interrupting on GIC irq 43
[   1.0000750] sunxigpio1 at fdt1: PIO
[   1.0000750] gpio1 at sunxigpio1: 12 pins
[   1.0000750] sunxigpio1: interrupting on GIC irq 77
[   1.0000750] fregulator0 at fdt0: vcc3v3
[   1.0000750] fregulator1 at fdt0: gmac-3v3
[   1.0000750] sunxiusbphy0 at fdt1: USB PHY
[   1.0000750] /soc/clock@1000000 at fdt1 not configured
[   1.0000750] /soc/mixer@1100000 at fdt1 not configured
[   1.0000750] /soc/lcd-controller@1c0c000 at fdt1 not configured
[   1.0000750] /soc/syscon@1c00000 at fdt1 not configured
[   1.0000750] emac0 at fdt1: EMAC
[   1.0000750] emac0: interrupting on GIC irq 114
[   1.0000750] rgephy0 at emac0 phy 1: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 5
[   1.0000750] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[   1.0000750] sun6idma0 at fdt1: DMA controller (12 channels)
[   1.0000750] sun6idma0: interrupting on GIC irq 82
[   1.0000750] h3codec0 at fdt1: H3 Audio Codec (analog part)
[   1.0000750] /soc/hdmi-phy@1ef0000 at fdt1 not configured
[   1.0000750] sunximmc0 at fdt1: SD/MMC controller
[   1.0000750] sunximmc0: interrupting on GIC irq 92
[   1.0000750] sunximmc1 at fdt1: SD/MMC controller
[   1.0000750] sunximmc1: interrupting on GIC irq 93
[   1.0000750] motg0 at fdt1: 'peripheral' mode not supported
[   1.0000750] ehci0 at fdt1: EHCI
[   1.0000750] ehci0: interrupting on GIC irq 104
[   1.0000750] ehci0: 1 companion controller, 1 port
[   1.0000750] usb0 at ehci0: USB revision 2.0
[   1.0000750] ohci0 at fdt1: OHCI
[   1.0000750] ohci0: interrupting on GIC irq 105
[   1.0000750] ohci0: OHCI version 1.0
[   1.0000750] usb1 at ohci0: USB revision 1.0
[   1.0000750] ehci1 at fdt1: EHCI
[   1.0000750] ehci1: interrupting on GIC irq 106
[   1.0000750] ehci1: 1 companion controller, 1 port
[   1.0000750] usb2 at ehci1: USB revision 2.0
[   1.0000750] ohci1 at fdt1: OHCI
[   1.0000750] ohci1: interrupting on GIC irq 107
[   1.0000750] ohci1: OHCI version 1.0
[   1.0000750] usb3 at ohci1: USB revision 1.0
[   1.0000750] /soc/spi@1c68000 at fdt1 not configured
[   1.0000750] sunxiwdt0 at fdt1: Watchdog
[   1.0000750] sunxiwdt0: default watchdog period is 16 seconds
[   1.0000750] com0 at fdt1: ns16550a, working fifo
[   1.0000750] com0: console
[   1.0000750] com0: interrupting on GIC irq 32
[   1.0000750] sunxirtc0 at fdt1: RTC
[   1.0000750] psci0 at fdt0: PSCI 0.1
[   1.0000750] gpioleds0 at fdt0: orangepi:green:pwr orangepi:red:status
[   1.0000750] /soc/timer@1c20c00 at fdt1 not configured
[   1.0000750] sdmmc0 at sunximmc0
[   1.0000750] sdmmc1 at sunximmc1
[   1.2174775] uhub0 at usb0: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   1.3274811] uhub1 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   1.3391059] uhub2 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   1.3481232] uhub3 at usb3: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   1.3981270] sdmmc0: SD card status: 4-bit, C10, A1
[   1.4082120] ld0 at sdmmc0: <0x03:0x5344:SC16G:0x80:0x539400f5:0x11a>
[   1.4082120] ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect x 31116288 sectors
[   1.4240285] (manufacturer 0x24c, product 0xf179, standard function interface code 0x7) at sdmmc1 function 1 not configured
[   1.4395605] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[   2.0695773] boot device: ld0
[   2.0695773] root on ld0a dumps on ld0b
[   2.0798276] mountroot: trying ext2fs...
[   2.0798276] mountroot: trying ffs...
[   2.0905679] root file system type: ffs
[   2.0905679] kern.module.path=/stand/evbarm/8.99.19/modules
[   2.1105681] init: copying out path `/sbin/init' 11
Sat Jun 23 18:27:08 UTC 2018
Starting root file system check:
/dev/rld0a: file system is clean; not checking
fdisk: Cannot determine the number of heads
Not resizing /: already correct size
swapctl: adding /dev/ld0b as swap device at priority 0
Starting file system checks:
/dev/rld0e: 114 files, 68112 free (17028 clusters)
random_seed: /var/db/entropy-file: Not present
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: arm64
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for DAD to complete for statically configured addresses...
Starting dhcpcd.
[   3.5807572] emac0: link state DOWN (was UNKNOWN)
Starting mdnsd.
mDNSResponder: mDNSResponder (Engineering Build) starting
mDNSResponder: Unable to parse DNS server list. Unicast DNS-SD unavailable
mDNSResponder: mDNSPlatformSourceAddrForDest: connect 1.1.1.1 failed errno 49 (Can't assign requested address)
mDNSResponder: mDNSResponder (Engineering Build) stopping
Building databases: dev, utmp, utmpx.
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Updating fontconfig cache: done.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Checking for core dump...
savecore: (null): _dumplo not in namelist
Jun 23 18:27:11 arm64 savecore: (null): _dumplo not in namelist
Starting devpubd.
Starting local daemons:.
Updating motd.
Starting ntpd.
Jun 23 18:27:12 arm64 ntpd[419]: ntp_rlimit: Cannot set RLIMIT_STACK: Invalid argument
Starting sshd.
Starting inetd.
Starting cron.
Sat Jun 23 18:27:15 UTC 2018

NetBSD/evbarm (arm64) (console)

login: 

-- thorpej



Home | Main Index | Thread Index | Old Index