FreeBSD boots on an Ultra96

Thomas Skibo thomasskibo at yahoo.com
Mon Aug 6 18:53:14 UTC 2018


Hello:

For what it’s worth, I’ve successfully booted FreeBSD on an Ultra96 board which is a Xilinx Zynq UltraScale+ based board (https://www.96boards.org/product/ultra96/ <https://www.96boards.org/product/ultra96/>).  The Zynq Ultrascale  has an ARM Cortex-A53 with four 64-bit cores.

I don’t know how useful this is but it shows that a nearly untouched generic aarch64 kernel can boot on Zynq UltraScale.  The hard part was coming up with a FSBL that programmed the DDR controller correctly and sent console output to the correct UART.

Unfortunately, the Ultra96 doesn’t have a gigabit ethernet interface.  I’d like to update the cgem driver (ethernet on Zynq) to handle 64-bit physical addresses which is necessary on systems with more than 2G of memory.

Cheers,

——
Thomas Skibo
ThomasSkibo at yahoo.com


Xilinx Zynq MP First Stage Boot Loader 
Release 2018.2   Aug  6 2018  -  09:13:32
NOTICE:  ATF running on XCZU3EG/silicon v4/RTL5.1 at 0x1000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.4(debug):xilinx-v2018.2
NOTICE:  BL31: Built : 15:27:14, Aug  4 2018
INFO:    ARM GICv2 driver initialized
INFO:    BL31: Initializing runtime services
INFO:    BL31: PM Service Init Complete: API v1.0
WARNING: BL31: cortex_a53: CPU workaround for 835769 was missing!
WARNING: BL31: cortex_a53: CPU workaround for 843419 was missing!
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x8000000
INFO:    SPSR = 0x3c9
PMUFW:	v1.0


U-Boot 2018.01-00043-g6d73435 (Aug 05 2018 - 14:17:44 -0700) Xilinx ZynqMP ZCU100 RevC

I2C:   ready
DRAM:  2 GiB
EL Level:	EL2
Chip ID:	zu3eg
MMC:   sdhci at ff160000: 0 (SD), sdhci at ff170000: 1
Using default environment

In:    serial at ff010000
Out:   serial at ff010000
Err:   serial at ff010000
Bootmode: SD_MODE
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  2  1  0 
switch to partitions #0, OK
mmc0 is current device
Device: sdhci at ff160000
Manufacturer ID: 3
OEM: 5344
Name: SU08G 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uEnv.txt
247 bytes read in 9 ms (26.4 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Booting FreeBSD from SD Card:
reading board.dtb
3670 bytes read in 12 ms (297.9 KiB/s)
reading efi/boot/bootaa64.efi
84296 bytes read in 26 ms (3.1 MiB/s)
## Starting EFI application at 00300000 ...
Scanning disk sdhci at ff160000.blk...
sdhci_send_command: MMC: 1 busy timeout increasing to: 200 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 400 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 800 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 1600 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 3200 ms.
sdhci_send_command: MMC: 1 busy timeout.
sdhci_send_command: MMC: 1 busy timeout.
mmc_init: -70, time 7439
Scanning disk sdhci at ff170000.blk...
Found 4 disks
[?25h
>> FreeBSD EFI boot block
   Loader path: /boot/loader.efi

   Initializing modules: ZFS UFS
   Load Path: /\uEnv.txt
   Probing 3 block devices.....+ done
    ZFS found no pools
    UFS found 1 partition
[?25hConsoles: EFI console  
[?25h|/-FreeBSD/arm64 EFI loader, Revision 1.1
(Tue Jul 31 22:46:09 PDT 2018 skibo at burke)

   Command line arguments: loader.efi
   EFI version: 2.05
   EFI Firmware: Das U-boot (rev 0.00)
   Console: efi (0)
   Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/HD(2,0x01,0,0x4003e,0x4bffc2)
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/HD(2,0x01,0,0x4003e,0x4bffc2)
Setting currdev to disk0p2:
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Loading /boot/defaults/loader.conf
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-/boot/kernel/kernel text=0x7141fd \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|data=0x131620+0x7bb3ac /-\|/-\|/-syms=[0x8+0xefa78\|/-\|/-+0x8+0xe7f0e\|/-\|/]
-\|/-\|/-\|/-\|efi-autoresizecons: Neither Graphics Output Protocol nor Universal Graphics Adapter present

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds... Booting [/boot/kernel/kernel] in 8 seconds... 

Type '?' for a list of commands, 'help' for more detailed help.
OK boot -v
Booting...
/-\|/Using DTB provided by EFI at 0x8000000.
KDB: debugger backends: ddb
KDB: current backend: ddb
                   Type     Physical      Virtual   #Pages Attr
     ConventionalMemory 000000000000            0 00008000 WB 
       BootServicesData 000008000000      8000000 00000002 WB 
     ConventionalMemory 000008003000            0 00066cc2 WB 
             LoaderData 00006ecc5000     6ecc5000 00000001 WB 
               Reserved 00006ecc6000     6ecc6000 00000001 WB 
             LoaderData 00006ecc7000     6ecc7000 00004000 WB 
             LoaderData 000072cc7000     72cc7000 00004000 WB 
             LoaderData 000076cc7000     76cc7000 00000074 WB 
             LoaderData 000076d3b000     76d3b000 00000074 WB 
               Reserved 000076daf000     76daf000 00000001 WB 
             LoaderData 000076db0000     76db0000 00000001 WB 
             LoaderData 000076db1000     76db1000 00000001 WB 
             LoaderData 000076db2000     76db2000 00001001 WB 
             LoaderData 000077db3000     77db3000 00001001 WB 
             LoaderData 000078db4000     78db4000 00000101 WB 
             LoaderData 000078eb5000     78eb5000 00000015 WB 
    RuntimeServicesData 000078eca000     78eca000 00000001 WB RUNTIME
               Reserved 000078ecb000     78ecb000 00000001 WB 
               Reserved 000078ecc000     78ecc000 00000001 WB 
               Reserved 000078ecd000     78ecd000 00000001 WB 
               Reserved 000078ece000     78ece000 00000001 WB 
               Reserved 000078ecf000     78ecf000 00000001 WB 
               Reserved 000078ed0000     78ed0000 00000001 WB 
               Reserved 000078ed1000     78ed1000 00000001 WB 
               Reserved 000078ed2000     78ed2000 00000001 WB 
             LoaderData 000078ed3000     78ed3000 00004000 WB 
             LoaderData 00007ced3000     7ced3000 000030bd WB 
    RuntimeServicesCode 00007ff90000     7ff90000 00000001 WB RUNTIME
             LoaderData 00007ff91000     7ced3000 0000006f WB 
Physical memory chunk(s):
  0x00001000 - 0x08001fff,   128 MB (  32769 pages)
  0x08003000 - 0x6ecc5fff,  1644 MB ( 421059 pages)
  0x6ecc7000 - 0x76daefff,   128 MB (  33000 pages)
  0x76db0000 - 0x78ecafff,    33 MB (   8475 pages)
  0x78ed3000 - 0x7ff8ffff,   112 MB (  28861 pages)
  0x7ff91000 - 0x7fffffff,     0 MB (    111 pages)
Excluded memory regions:
  0x6ecc6000 - 0x6ecc6fff,     0 MB (      1 pages) NoAlloc 
  0x6ee00000 - 0x70204fff,    20 MB (   5125 pages) NoAlloc 
  0x76daf000 - 0x76daffff,     0 MB (      1 pages) NoAlloc 
  0x78eca000 - 0x78ed2fff,     0 MB (      9 pages) NoAlloc 
  0x7ff90000 - 0x7ff90fff,     0 MB (      1 pages) NoAlloc 
Found 4 CPUs in the device tree
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #5 r337005M: Sun Aug  5 08:19:07 PDT 2018
    skibo at burke:/usr/obj/usr/src/arm64.aarch64/sys/ZYNQMP arm64
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffff0000011dc000.
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
arc4random: no preloaded entropy cache
VIMAGE (virtualized network stack) enabled
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
random: entropy device external interface
MAP 78eca000 mode 2 pages 1
MAP 7ff90000 mode 2 pages 1
openfirm: <Open Firmware control device>
kbd0 at kbdmux0
mem: <memory>
nfslock: pseudo-device
crypto: <crypto core>
null: <full device, null device, zero device>
random: harvesting attach, 8 bytes (4 bits) from nexus0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
random: harvesting attach, 8 bytes (4 bits) from simplebus0
simplebus1: <Flattened device tree simple bus> on ofwbus0
random: harvesting attach, 8 bytes (4 bits) from simplebus1
random: harvesting attach, 8 bytes (4 bits) from ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
psci0: PSCI version 0.2 compatible
random: harvesting attach, 8 bytes (4 bits) from psci0
gic0: <ARM Generic Interrupt Controller> mem 0xf9010000-0xf901ffff,0xf902f000-0xf9030fff,0xf9040000-0xf905ffff,0xf906f000-0xf9070fff on simplebus0
simplebus0: no default resources for rid = 0, type = 1
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 192
random: harvesting attach, 8 bytes (4 bits) from gic0
generic_timer0: <ARMv8 Generic Timer> irq 0,1,2,3 on simplebus0
Timecounter "ARM MPCore Timecounter" frequency 100000002 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 100000002 Hz quality 1000
random: harvesting attach, 8 bytes (4 bits) from generic_timer0
efirtc0: cannot read EFI realtime clock
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu0: missing 'clock-frequency' property
arm64_cpu0: register <0>
random: harvesting attach, 8 bytes (4 bits) from arm64_cpu0
random: harvesting attach, 8 bytes (4 bits) from cpu0
cpu1: <Open Firmware CPU> on cpulist0
cpu1: missing 'clock-frequency' property
arm64_cpu1: register <1>
random: harvesting attach, 8 bytes (4 bits) from arm64_cpu1
random: harvesting attach, 8 bytes (4 bits) from cpu1
cpu2: <Open Firmware CPU> on cpulist0
cpu2: missing 'clock-frequency' property
arm64_cpu2: register <2>
random: harvesting attach, 8 bytes (4 bits) from arm64_cpu2
random: harvesting attach, 8 bytes (4 bits) from cpu2
cpu3: <Open Firmware CPU> on cpulist0
cpu3: missing 'clock-frequency' property
arm64_cpu3: register <3>
random: harvesting attach, 8 bytes (4 bits) from arm64_cpu3
random: harvesting attach, 8 bytes (4 bits) from cpu3
random: harvesting attach, 8 bytes (4 bits) from cpulist0
uart0: <Cadence UART> mem 0xff000000-0xff000fff irq 4 on simplebus1
uart0: fast interrupt
uart0: PPS capture mode: DCD
random: harvesting attach, 8 bytes (4 bits) from uart0
uart1: <Cadence UART> mem 0xff010000-0xff010fff irq 5 on simplebus1
uart1: console (115200,n,8,1)
uart1: fast interrupt
uart1: PPS capture mode: DCD
random: harvesting attach, 8 bytes (4 bits) from uart1
simplebus1: <ethernet at ff0b0000> mem 0xff0b0000-0xff0b0fff irq 6,7 disabled type network compat cdns,gem (no driver attached)
simplebus1: <ethernet at ff0c0000> mem 0xff0c0000-0xff0c0fff irq 8,9 disabled type network compat cdns,gem (no driver attached)
simplebus1: <ethernet at ff0d0000> mem 0xff0d0000-0xff0d0fff irq 10,11 disabled type network compat cdns,gem (no driver attached)
simplebus1: <ethernet at ff0e0000> mem 0xff0e0000-0xff0e0fff irq 12,13 disabled type network compat cdns,gem (no driver attached)
simplebus1: <qspi at ff0f0000> mem 0xff0f0000-0xff0f0fff irq 14 disabled compat xlnx,zynqmp-qspi-1.0 (no driver attached)
sdhci_fdt0: <Zynq-7000 generic fdt SDHCI controller> mem 0xff160000-0xff160fff irq 15 on simplebus1
sdhci_fdt0-slot0: 200MHz HS 4bits VDD: 3.3V VCCQ: 3.3V DRV: B DMA removable
sdhci_fdt0-slot0: ============== REGISTER DUMP ==============
sdhci_fdt0-slot0: Sys addr: 0x01372790 | Version:  0x00001002
sdhci_fdt0-slot0: Blk size: 0x00007200 | Blk cnt:  0x00000000
sdhci_fdt0-slot0: Argument: 0x001de746 | Trn mode: 0x00000036
sdhci_fdt0-slot0: Present:  0x01f70000 | Host ctl: 0x00000006
sdhci_fdt0-slot0: Power:    0x0000000f | Blk gap:  0x00000080
sdhci_fdt0-slot0: Wake-up:  0x00000000 | Clock:    0x00000207
sdhci_fdt0-slot0: Timeout:  0x0000000e | Int stat: 0x00000000
sdhci_fdt0-slot0: Int enab: 0x027f003b | Sig enab: 0x00000000
sdhci_fdt0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_fdt0-slot0: Caps:     0x31e8c881 | Caps2:    0x00002007
sdhci_fdt0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_fdt0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_fdt0-slot0: ===========================================
sdhci_fdt0: 1 slot(s) allocated
sdhci_fdt0-slot0: Card inserted
mmc0: <MMC/SD bus> on sdhci_fdt0
random: harvesting attach, 8 bytes (4 bits) from mmc0
random: harvesting attach, 8 bytes (4 bits) from sdhci_fdt0
simplebus1: <sdhci at ff170000> mem 0xff170000-0xff170fff irq 16 disabled compat arasan,sdhci-8.9a (no driver attached)
gpio0: <Zynq UltraScale+ GPIO driver> mem 0xff0a0000-0xff0a0fff irq 17 on simplebus1
gpiobus0: <GPIO bus> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpiobus0
gpioc0: <GPIO controller> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpioc0
random: harvesting attach, 8 bytes (4 bits) from gpio0
simplebus1: <ahci at fd0c0000> mem 0xfd0c0000-0xfd0c1fff irq 18 disabled compat ceva,ahci-1v84 (no driver attached)
cryptosoft0: <software crypto>
crypto: assign cryptosoft0 driver id 0, flags 0x6000000
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 32 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 34 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 35 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 36 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 37 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 29 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 30 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 31 flags 0 maxoplen 0
random: harvesting attach, 8 bytes (4 bits) from cryptosoft0
Device configuration finished.
Found SMCCC version 1.1
procfs registered
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 16384
IPsec: Initialized Security Association Processing.
usb_needs_explore_all: no devclass
sdhci_fdt0-slot0: Divider 250 for freq 400000 (base 200000000)
mmc0: Probing bus
mmc0: SD 2.0 interface conditions: OK
mmc0: SD probe: OK (OCR: 0x40ff8000)
mmc0: Current OCR: 0x00ff8000
mmc0: Probing cards
mmc0: New card detected (CID 0353445355303847800623235c00d300)
mmc0: New card detected (CSD 400e00325b5900003b377f800a404000)
mmc0: Card at relative address 0xaaaa added:
mmc0:  card: SDHC SU08G 8.0 SN 0623235C MFG 03/2013 by 3 SD
mmc0:  quirks: 0
mmc0:  bus: 4bit, 50MHz (high speed timing)
mmc0:  memory: 15523840 blocks, erase sector 8192 blocks
mmc0: setting transfer rate to 50.000MHz (high speed timing)
sdhci_fdt0-slot0: Divider 2 for freq 50000000 (base 200000000)
mmcsd0: 8GB <SDHC SU08G 8.0 SN 0623235C MFG 03/2013 by 3 SD> at mmc0 50.0MHz/4bit/65535-block
random: harvesting attach, 8 bytes (4 bits) from mmcsd0
Release APs...arc4random: no preloaded entropy cache
GEOM: new disk mmcsd0
done
Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
mmc0: CPU  0: ARM Cortex-A53 r0p4setting bus width to 4 bits high speed timing
 affinity:  0
 Instruction Set Attributes 0 = <AES+PMULL,SHA1,SHA2,CRC32>
 Instruction Set Attributes 1 = <GEOM_PART: partition 1 on (mmcsd0, MBR) is not aligned on 4194304 bytes
>
GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned on 4194304 bytes
         Processor Features 0 = <AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <0>
      Memory Model Features 0 = <4k Granule,64k Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA>
      Memory Model Features 1 = <>
      Memory Model Features 2 = <GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 bytes
32b CCIDX,48b VA>
             Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
             Debug Features 1 = <0>
GEOM_PART: partition 1 on (diskid/DISK-0623235C, MBR) is not aligned on 4194304 bytes
         Auxiliary Features 0 = <0>
GEOM_PART: partition 2 on (diskid/DISK-0623235C, MBR) is not aligned on 4194304 bytes
         Auxiliary Features 1 = <0>
CPU  1: ARM Cortex-A53 r0p4 affinity:  1
CPU  2: ARM Cortex-A53 r0p4 affinity:  2
CPU  3: ARM Cortex-A53 r0p4GEOM_PART: partition 1 on (ufsid/5b68782fdb189365, BSD) is not aligned on 4194304 bytes
 affinity:  3
WARNING: WITNESS option enabled, expect reduced performance.
GEOM_PART: partition 1 on (diskid/DISK-0623235Cs2, BSD) is not aligned on 4194304 bytes
Warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
arc4random: no preloaded entropy cache
arc4random: no preloaded entropy cache
/etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one
Setting hostuuid: bee42e48-9997-11e8-a2fa-7fad93598c67.
Setting hostid: 0xef1f92c9.
No suitable dump device was found.
Starting file system checks:
/dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/mmcsd0s2a: clean, 108286 free (14 frags, 13534 blocks, 0.0% fragmentation)
GEOM_PART: partition 1 on (diskid/DISK-0623235C, MBR) is not aligned on 4194304 bytes
GEOM_PART: partition 2 on (diskid/DISK-0623235C, MBR) is not aligned on 4194304 bytes
GEOM_PART: partition 1 on (ufsid/5b68782fdb189365, BSD) is not aligned on 4194304 bytes
GEOM_PART: partition 1 on (diskid/DISK-0623235Cs2, BSD) is not aligned on 4194304 bytes
Mounting local filesystems:random: unblocking device.
.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
Setting hostname: ultra96.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
lo0: link state changed to UP
Starting Network: lo0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
	groups: lo 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Starting devd.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Creating and/or trimming log files.
Setting date via ntp.
Error resolving north-america.pool.ntp.org: hostname nor servname provided, or not known (8)
 6 Aug 16:43:06 ntpdate[331]: Can't find host north-america.pool.ntp.org: hostname nor servname provided, or not known (8)
 6 Aug 16:43:06 ntpdate[331]: no servers can be used, exiting
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
Generating RSA host key.
2048 SHA256:+LRGOBJHYah8lIkZGVtxTrcuWnkIYDyFwbWX+2xe4FY root at ultra96 (RSA)
Generating ECDSA host key.
256 SHA256:Uz5qCD8EJGZVEdEbJjLQ8rGq6KU1NgEcZAfSJIqHCDc root at ultra96 (ECDSA)
Generating ED25519 host key.
256 SHA256:2ZVCp/aKTRmw+oXPfwaJZuaru01giKMDD0A7iJmxjIE root at ultra96 (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
devmatch: Can't read linker hints file.
Starting background file system checks in 60 seconds.

Mon Aug  6 16:43:09 UTC 2018

FreeBSD/arm64 (ultra96) (ttyu1)

login: root
FreeBSD 12.0-CURRENT (ZYNQMP) #5 r337005M: Sun Aug  5 08:19:07 PDT 2018

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

Edit /etc/motd to change this login announcement.
78 resizewin: timeout reading from terminal
root at ultra96:~ # uname -a
FreeBSD ultra96 12.0-CURRENT FreeBSD 12.0-CURRENT #5 r337005M: Sun Aug  5 08:19:07 PDT 2018     skibo at burke:/usr/obj/usr/src/arm64.aarch64/sys/ZYNQMP  arm64
root at ultra96:~ # devinfo -rv
nexus0
  ofwbus0
    cpulist0 pnpinfo name=cpus
      cpu0 pnpinfo name=cpu at 0 compat=arm,cortex-a53
        arm64_cpu0
      cpu1 pnpinfo name=cpu at 1 compat=arm,cortex-a53
        arm64_cpu1
      cpu2 pnpinfo name=cpu at 2 compat=arm,cortex-a53
        arm64_cpu2
      cpu3 pnpinfo name=cpu at 3 compat=arm,cortex-a53
        arm64_cpu3
    psci0 pnpinfo name=psci compat=arm,psci-0.2
    simplebus0 pnpinfo name=apu at f9000000 compat=simple-bus
      gic0 pnpinfo name=gic compat=arm,gic-400
          Device Memory:
              0xf9010000-0xf901ffff
              0xf902f000-0xf9030fff
      generic_timer0 pnpinfo name=timer compat=arm,armv8-timer
          Interrupts:
              0x0
              0x1
              0x2
              0x3
    simplebus1 pnpinfo name=zynqmp_io at fd000000 compat=simple-bus
      uart0 pnpinfo name=uart at ff000000 compat=xlnx,xuartps
          Interrupts:
              0x4
          Device Memory:
              0xff000000-0xff000fff
      uart1 pnpinfo name=uart at ff001000 compat=xlnx,xuartps
          Interrupts:
              0x5
          Device Memory:
              0xff010000-0xff010fff
      unknown
      unknown
      unknown
      unknown
      unknown
      sdhci_fdt0 pnpinfo name=sdhci at ff160000 compat=arasan,sdhci-8.9a
          Interrupts:
              0xf
          Device Memory:
              0xff160000-0xff160fff
        mmc0
          mmcsd0 at rca=0xaaaa
      unknown
      gpio0 pnpinfo name=gpio at ff0a0000 compat=xlnx,zynqmp-gpio-1.0
          Device Memory:
              0xff0a0000-0xff0a0fff
        gpiobus0
        gpioc0
      unknown
    unknown pnpinfo name=chosen
    unknown pnpinfo name=memory
  efirtc0
  cryptosoft0
root at ultra96:~ # df
Filesystem     1K-blocks    Used  Avail Capacity  Mounted on
/dev/mmcsd0s2a   2412156 1979088 240096    89%    /
devfs                  1       1      0   100%    /dev
/dev/mmcsd0s1     131000    1168 129832     1%    /boot/msdos
/dev/md0           29340      24  26972     0%    /tmp
/dev/md1           14492      56  13280     0%    /var/log
/dev/md2            4508       8   4140     0%    /var/tmp
root at ultra96:~ # 
root at ultra96:~ # 
root at ultra96:~ # halt
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining... 2 1 1 1 0 0 done
Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... done
All buffers synced.
lock order reversal:
 1st 0xfffffd0000e319c8 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1343
 2nd 0xfffffd0000e31608 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2734
stack backtrace:
#0 0xffff0000002d5514 at witness_debugger+0x64
#1 0xffff000000245640 at lockmgr_lock_fast_path+0x19c
#2 0xffff0000005918e4 at VOP_LOCK1_APV+0xac
#3 0xffff00000034954c at _vn_lock+0x64
#4 0xffff00000033a224 at vputx+0x154
#5 0xffff0000003324f0 at dounmount+0x4f0
#6 0xffff00000033b918 at vfs_unmountall+0x7c
#7 0xffff0000003192dc at bufshutdown+0x298
#8 0xffff00000026f8bc at kern_reboot+0x244
#9 0xffff00000026f60c at sys_reboot+0x354
#10 0xffff00000057f704 at do_el0_sync+0x4b4
#11 0xffff000000565200 at handle_el0_sync+0x84
lock order reversal:
 1st 0xfffffd0000e319c8 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1343
 2nd 0xfffffd00041199c8 devfs (devfs) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1373
stack backtrace:
#0 0xffff0000002d5514 at witness_debugger+0x64
#1 0xffff000000245640 at lockmgr_lock_fast_path+0x19c
#2 0xffff0000005918e4 at VOP_LOCK1_APV+0xac
#3 0xffff00000034954c at _vn_lock+0x64
#4 0xffff00000050c288 at ffs_flushfiles+0x88
#5 0xffff0000004f2730 at softdep_flushfiles+0x84
#6 0xffff00000050e48c at ffs_unmount+0x6c
#7 0xffff00000033253c at dounmount+0x53c
#8 0xffff00000033b918 at vfs_unmountall+0x7c
#9 0xffff0000003192dc at bufshutdown+0x298
#10 0xffff00000026f8bc at kern_reboot+0x244
#11 0xffff00000026f60c at sys_reboot+0x354
#12 0xffff00000057f704 at do_el0_sync+0x4b4
#13 0xffff000000565200 at handle_el0_sync+0x84
Uptime: 2m17s

The operating system has halted.
Please press any key to reboot.



More information about the freebsd-arm mailing list