Port-arm archive

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

Re: NanoPI NEO and the NAS Dock



> On Mar 25, 2022, at 10:25 AM, Pawel Chwalowski <chwalek%poczta.onet.pl@localhost> wrote:
> 
> Hi,
> I have a NanoPI NEO and the NAS Dock. I don't know how to run NAS Dock.
> 
> I found the file: src/sys/arch/arm/dts/overlays/sunxi-h3-h5-nanopi-neo-nas-dock.dts
> 
> I tried compiling the file and copying it to /boot/overlays. I have added dtoverlay=sunxi-h3-h5-nanopi-neo-nas-dock.dtbo to config.txt 
> Unfortunately it does not work.

config.txt is used for Raspberry Pi.

You need to modify boot.cfg... I have a NanoPi NEO + NAS Dock running -current, squirreled away in a box... I'll dig it out later today and look at the exact location of all the files and respond here again.

> 
> 
> armv7$ dtc -@ -I dts -O dtb -o sunxi-h3-h5-nanopi-neo-nas-dock.dtbo sunxi-h3-h5-nanopi-neo-nas-dock.dts
> sunxi-h3-h5-nanopi-neo-nas-dock.dts:82.5-18: Warning (reg_format): /fragment@4/__overlay__/rtc@68:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> sunxi-h3-h5-nanopi-neo-nas-dock.dtbo: Warning (pci_device_reg): Failed prerequisite 'reg_format'
> sunxi-h3-h5-nanopi-neo-nas-dock.dtbo: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
> sunxi-h3-h5-nanopi-neo-nas-dock.dtbo: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
> sunxi-h3-h5-nanopi-neo-nas-dock.dtbo: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
> sunxi-h3-h5-nanopi-neo-nas-dock.dtbo: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
> sunxi-h3-h5-nanopi-neo-nas-dock.dts:80.21-83.6: Warning (avoid_default_addr_size): /fragment@4/__overlay__/rtc@68: Relying on default #address-cells value
> sunxi-h3-h5-nanopi-neo-nas-dock.dts:80.21-83.6: Warning (avoid_default_addr_size): /fragment@4/__overlay__/rtc@68: Relying on default #size-cells value
> sunxi-h3-h5-nanopi-neo-nas-dock.dtbo: Warning (avoid_unnecessary_addr_size): Failed prerequisite 'avoid_default_addr_size'
> sunxi-h3-h5-nanopi-neo-nas-dock.dtbo: Warning (unique_unit_address): Failed prerequisite 'avoid_default_addr_size'
> armv7$ 
> 
> 
> [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
> [     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
> [     1.000000]     2018, 2019, 2020, 2021, 2022
> [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
> [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
> [     1.000000]     The Regents of the University of California.  All rights reserved.
> [     1.000000] NetBSD 9.99.95 (GENERIC) #0: Thu Mar 24 02:24:25 UTC 2022
> [     1.000000] 	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC
> [     1.000000] total memory = 256 MB
> [     1.000000] avail memory = 234 MB
> [     1.000000] timecounter: Timecounters tick every 10.000 msec
> [     1.000000] Kernelized RAIDframe activated
> [     1.000000] armfdt0 (root)
> [     1.000000] simplebus0 at armfdt0: FriendlyARM NanoPi NEO
> [     1.000000] simplebus1 at simplebus0
> [     1.000000] simplebus2 at simplebus0
> [     1.000000] cpus0 at simplebus0
> [     1.000000] simplebus3 at simplebus0
> [     1.000000] cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [     1.000000] cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
> [     1.000000] cpu0: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [     1.000000] cpu0: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
> [     1.000000] cpu0: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
> [     1.000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
> [     1.000000] cpufreqdt0 at cpu0
> [     1.000000] cpu1 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [     1.000000] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
> [     1.000000] cpu1: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [     1.000000] cpu1: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
> [     1.000000] cpu1: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
> [     1.000000] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
> [     1.000000] cpufreqdt1 at cpu1
> [     1.000000] cpu2 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [     1.000000] cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
> [     1.000000] cpu2: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [     1.000000] cpu2: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
> [     1.000000] cpu2: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
> [     1.000000] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
> [     1.000000] cpufreqdt2 at cpu2
> [     1.000000] cpu3 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [     1.000000] cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
> [     1.000000] cpu3: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [     1.000000] cpu3: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
> [     1.000000] cpu3: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
> [     1.000000] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
> [     1.000000] cpufreqdt3 at cpu3
> [     1.000000] gic0 at simplebus1: GIC
> [     1.000000] armgic0 at gic0: Generic Interrupt Controller, 160 sources (150 valid)
> [     1.000000] armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
> [     1.000000] fclock0 at simplebus2: 24000000 Hz fixed clock (osc24M)
> [     1.000000] fclock1 at simplebus2: 32768 Hz fixed clock (ext_osc32k)
> [     1.000000] gtmr0 at simplebus0: Generic Timer
> [     1.000000] gtmr0: interrupting on GIC irq 27
> [     1.000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
> [     1.000000] timecounter: Timecounter "armgtmr0" frequency 24000000 Hz quality 500
> [     1.000003] sun8ih3ccu0 at simplebus1: H3 CCU
> [     1.000003] sunxinmi0 at simplebus1: R_INTC, NMI IRQ 32
> [     1.000003] sun8ih3rccu0 at simplebus1: H3 PRCM CCU
> [     1.000003] sunxigpio0 at simplebus1: PIO
> [     1.000003] gpio0 at sunxigpio0: 94 pins
> [     1.000003] sunxigpio0: interrupting on GIC irq 43
> [     1.000003] sunxigpio1 at simplebus1: PIO
> [     1.000003] gpio1 at sunxigpio1: 12 pins
> [     1.000003] sunxigpio1: interrupting on GIC irq 77
> [     1.000003] sunxisramc0 at simplebus1: SRAM Controller
> [     1.000003] sun6idma0 at simplebus1: DMA controller (12 channels)
> [     1.000003] sun6idma0: interrupting on GIC irq 82
> [     1.000003] sunxisid0 at simplebus1: Security ID EFUSE
> [     1.000003] gregulator0 at simplebus0: cpux-supply
> [     1.000003] com0 at simplebus1: DesignWare APB UART, 64-byte FIFO
> [     1.000003] com0: console
> [     1.000003] com0: interrupting on GIC irq 32
> [     1.000003] fregulator0 at simplebus0: vcc3v3
> [     1.000003] fregulator1 at simplebus0: vcc3v0
> [     1.000003] fregulator2 at simplebus0: vcc5v0
> [     1.000003] sunxiusbphy0 at simplebus1: USB PHY
> [     1.000003] /soc/clock@1000000 at simplebus1 not configured
> [     1.000003] /soc/mixer@1100000 at simplebus1 not configured
> [     1.000003] /soc/lcd-controller@1c0c000 at simplebus1 not configured
> [     1.000003] sunxirtc0 at simplebus1: RTC
> [     1.000003] emac0 at simplebus1: EMAC
> [     1.000003] WARNING: system needs entropy for security; see entropy(7)
> [     1.000003] emac0: Ethernet address f2:00:9d:df:2e:16
> [     1.000003] emac0: interrupting on GIC irq 114
> [     1.000003] ukphy0 at emac0 phy 1: OUI 0x0088a0, model 0x0000, rev. 0
> [     1.000003] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> [     1.000003] h3codec0 at simplebus1: H3 Audio Codec (analog part)
> [     1.000003] /soc/hdmi-phy@1ef0000 at simplebus1 not configured
> [     1.000003] /soc/dram-controller@1c62000 at simplebus1 not configured
> [     1.000003] /gpu-opp-table at simplebus0 not configured
> [     1.000003] /opp_table0 at simplebus0 not configured
> [     1.000003] sunxithermal0 at simplebus1: Thermal sensor controller
> [     1.000003] sunxithermal0: interrupting on GIC irq 63
> [     1.000003] sunxithermal0: cpu: alarm 43C hyst 15C shut 65C
> [     1.000003] sunximmc0 at simplebus1: SD/MMC controller
> [     1.000003] sunximmc0: interrupting on GIC irq 92
> [     1.000003] /soc/mailbox@1c17000 at simplebus1 not configured
> [     1.000003] motg0 at simplebus1: 'peripheral' mode not supported
> [     1.000003] ehci0 at simplebus1: EHCI
> [     1.000003] ehci0: interrupting on GIC irq 104
> [     1.000003] ehci0: EHCI version 1.0
> [     1.000003] ehci0: 1 companion controller, 1 port
> [     1.000003] usb0 at ehci0: USB revision 2.0
> [     1.000003] ohci0 at simplebus1: OHCI
> [     1.000003] ohci0: interrupting on GIC irq 105
> [     1.000003] ohci0: OHCI version 1.0
> [     1.000003] usb1 at ohci0: USB revision 1.0
> [     1.000003] ehci1 at simplebus1: EHCI
> [     1.000003] ehci1: interrupting on GIC irq 110
> [     1.000003] ehci1: EHCI version 1.0
> [     1.000003] ehci1: 1 companion controller, 1 port
> [     1.000003] usb2 at ehci1: USB revision 2.0
> [     1.000003] ohci1 at simplebus1: OHCI
> [     1.000003] ohci1: interrupting on GIC irq 111
> [     1.000003] ohci1: OHCI version 1.0
> [     1.000003] usb3 at ohci1: USB revision 1.0
> [     1.000003] sunxiwdt0 at simplebus1: Watchdog
> [     1.000003] sunxiwdt0: default watchdog period is 16 seconds
> [     1.000003] /soc/deinterlace@1400000 at simplebus1 not configured
> [     1.000003] sun8icrypto0 at simplebus1: Crypto Engine
> [     1.000003] sun8icrypto0: interrupting on GIC irq 126
> [     1.000003] sun8icrypto0: AES-128 self-test initiated
> [     1.000003] sun8icrypto0: AES-128 self-test passed
> [     1.000003] /soc/gpu@1c40000 at simplebus1 not configured
> [     1.000003] psci0 at simplebus0: PSCI 0.1
> [     1.000003] armpmu0 at simplebus0: Performance Monitor Unit
> [     1.000003] gpioleds0 at simplebus0: nanopi:blue:status nanopi:green:pwr
> [     1.000003] gpiokeys0 at simplebus0: k1
> [     1.000003] /soc/timer@1c20c00 at simplebus1 not configured
> [     1.000003] /soc/video-codec@1c0e000 at simplebus1 not configured
> [     1.000003] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
> [     1.000003] cpufreqdt0: rate: 1008.000 MHz, 1200000 uV
> [     1.020475] sdmmc0 at sunximmc0
> [     1.030458] IPsec: Initialized Security Association Processing.
> [     1.040470] uhub0 at usb0aes: ARM NEON vpaes
> [     1.040470] : NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
> [     1.040470] chacha: ARM NEON ChaCha
> [     1.051688] uhub0: 1 port with 1 removable, self powered
> [     1.051688] uhub1 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
> [     1.060467] uhub1: 1 port with 1 removable, self powered
> [     1.060467] uhub2 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
> [     1.070463] uhub2: 1 port with 1 removable, self powered
> [     1.070463] uhub3 at usb3: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
> [     1.070463] uhub3: 1 port with 1 removable, self powered
> [     1.140464] sdmmc0: SD card status: 4-bit, C4
> [     1.150813] ld0 at sdmmc0: <0x02:0x544d:SA04G:0x10:0x1933d843:0x0c3>
> [     1.150813] ld0: 3724 MB, 1891 cyl, 64 head, 63 sec, 512 bytes/sect x 7626752 sectors
> [     1.160467] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
> [     1.590480] boot device: ld0
> [     1.590480] root on ld0a dumps on ld0b
> [     1.600479] root file system type: ffs
> [     1.610479] kern.module.path=/stand/evbarm/9.99.95/modules
> 
> 
> 
> 
> 
> Regards,
> PCh

-- thorpej



Home | Main Index | Thread Index | Old Index