Port-arm archive

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

NanoPi R2S



Hello there,

Last year a user was trying to get a NanoPi R2S working, and well I
had ordered one to see about trying it for myself.

All in all it worked just as the Port Wiki suggested, though I
couldn't get Jason's fancy new installboot options to work with the
results from pkgsrc wip/u-boot-nanopi-r2s, I decided to manually write
it with trial and error, and the boat fit the pattern of the other
rockchip boards.

dd if=/usr/pkg/share/u-boot/u-boot-rockchip.bin of=/dev/rsd1d seek=64 conv=sync

I did this directly to one of Jared's generic aarch46 current images.

I then copied the dtb file which was 'somewhere' in the pkgsrc work
directory for the package, as it wasn't in the +CONTENTS file for the
package.  I placed it on the MS-DOS partition in the dtb/rockchip
directory.

I attached the serial link to the board and booted it, u-boot success,
then it used the efi-booter and the kernel loaded fine.

Only gripes sofar were that I had to run it for a short time without
the case on (It comes with a metal case) where the ttl cable can only
be attached once its flipped over and no longer has its heatsink
attached.  I got a temp warning due to that, but it seemed otherwise
fine in the time it took me to verify the network was up.

Only the WAN port of the two network ports works, dmesg follows.  If
anyone wants me to test something in order to get the LAN port up,
feel free to contact me.

I'd suggest either  moving the wip/u-boot for it over, or perhaps if
an update is needed doing that, and I can test it.

Thanks to the community for getting so many of these SoC's supported!

[     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 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.83 (GENERIC64) #0: Sun Jun  6 18:37:20 UTC 2021
[     1.000000]
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
[     1.000000] total memory = 1004 MB
[     1.000000] avail memory = 968 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 R2S
[     1.000000] cpus0 at simplebus0
[     1.000000] simplebus1 at simplebus0
[     1.000000] psci0 at simplebus0: PSCI 1.1
[     1.000000] simplebus2 at simplebus0
[     1.000000] cpu0 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x0
[     1.000000] cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment
check enabled
[     1.000000] cpu0: Cache Writeback Granule 16B, Exclusives
Reservation Granule 16B
[     1.000000] cpu0: Dcache line 64, Icache line 64, DIC=0, IDC=0,
LoUU=1, LoC=2, LoUIS=1
[     1.000000] cpu0: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000000] cpu0: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000000] cpu0: L2 256KB/64B*256L*16W PIPT Unified cache
[     1.000000] cpu0: revID=0x180, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000000] cpu0: auxID=0x11120, FP, CRC32, SHA1, SHA256,
AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs,
Fused Multiply-Add
[     1.000000] cpufreqdt0 at cpu0
[     1.000000] cpu1 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x1
[     1.000000] cpufreqdt1 at cpu1
[     1.000000] cpu2 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x2
[     1.000000] cpufreqdt2 at cpu2
[     1.000000] cpu3 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x3
[     1.000000] cpufreqdt3 at cpu3
[     1.000000] gic0 at simplebus0: GIC
[     1.000000] armgic0 at gic0: Generic Interrupt Controller, 160
sources (149 valid)
[     1.000000] armgic0: 16 Priorities, 128 SPIs, 6 PPIs, 15 SGIs
[     1.000000] syscon0 at simplebus0: System Controller Registers
[     1.000000] fclock0 at simplebus0: 24000000 Hz fixed clock (xin24m)
[     1.000000] syscon1 at simplebus0: System Controller Registers
[     1.000000] fclock1 at simplebus0: 125000000 Hz fixed clock (gmac_clkin)
[     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] rkcru0 at simplebus0: RK3328 CRU
[     1.000003] rkiomux0 at simplebus0: RK3328 IOMUX control
[     1.000003] rkgpio0 at rkiomux0: GPIO (gpio0@ff210000)
[     1.000003] gpio0 at rkgpio0: 32 pins
[     1.000003] rkgpio1 at rkiomux0: GPIO (gpio1@ff220000)
[     1.000003] gpio1 at rkgpio1: 32 pins
[     1.000003] rkgpio2 at rkiomux0: GPIO (gpio2@ff230000)
[     1.000003] gpio2 at rkgpio2: 32 pins
[     1.000003] rkgpio3 at rkiomux0: GPIO (gpio3@ff240000)
[     1.000003] gpio3 at rkgpio3: 32 pins
[     1.000003] rkiic0 at simplebus0: Rockchip I2C (100000 Hz)
[     1.000003] iic0 at rkiic0: I2C bus
[     1.000003] rkpmic0 at iic0 addr 0x18: RK805 Power Management and
Real Time Clock IC
[     1.000003] rkreg0 at rkpmic0: vdd_logic
[     1.000003] rkreg1 at rkpmic0: vdd_arm
[     1.000003] rkreg2 at rkpmic0: vcc_ddr
[     1.000003] rkreg3 at rkpmic0: vcc_io
[     1.000003] rkreg4 at rkpmic0: vcc_18
[     1.000003] rkreg5 at rkpmic0: vcc18_emmc
[     1.000003] rkreg6 at rkpmic0: vdd_10
[     1.000003] gregulator0 at simplebus0: vcc_sdio
[     1.000003] fregulator0 at simplebus0: vcc_sys
[     1.000003] fregulator1 at simplebus0: vcc_sd
[     1.000003] com0 at simplebus0: DesignWare APB UART, 64-byte FIFO
[     1.000003] com0: console
[     1.000003] com0: interrupting on GIC irq 89
[     1.000003] rkdrm0 at simplebus0
[     1.000003] rkusb0 at syscon1: USB2 PHY
[     1.000003] rkusbphy0 at rkusb0: USB2 host port
[     1.000003] /opp_table0 at simplebus0 not configured
[     1.000003] /bus/dmac@ff1f0000 at simplebus1 not configured
[     1.000003] rktsadc0 at simplebus0: RK3328/3399 Temperature Sensor ADC
[     1.000003] rktsadc0: interrupting on GIC irq 90
[     1.000003] /iommu@ff350800 at simplebus0 not configured
[     1.000003] /syscon@ff100000/power-controller at syscon0 not configured
[     1.000003] /efuse@ff260000 at simplebus0 not configured
[     1.000003] awge0 at simplebus0: GMAC
[     1.000003] awge0: Core version: 00001035
[     1.000003] awge0: Ethernet address aa:20:ce:bf:f7:af
[     1.000003] awge0: HW feature mask: d0f17
[     1.000003] rgephy0 at awge0 phy 0: RTL8211E 1000BASE-T media interface
[     1.000003] rgephy0: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.000003] rgephy1 at awge0 phy 1: RTL8211E 1000BASE-T media interface
[     1.000003] rgephy1: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.000003] awge0: interrupting on GIC irq 56
[     1.000003] armpmu0 at simplebus0: Performance Monitor Unit
[     1.000003] dwcwdt0 at simplebus0autoconfiguration error: :
couldn't enable clock
[     1.000003] /gpu@ff300000 at simplebus0 not configured
[     1.000003] /video-codec@ff350000 at simplebus0 not configured
[     1.000003] dwcmmc0 at simplebus0: DesignWare SD/MMC
[     1.000003] dwcmmc0: interrupting on GIC irq 44
[     1.000003] ehci0 at simplebus0: EHCI
[     1.000003] ehci0: interrupting on GIC irq 48
[     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 simplebus0: OHCI
[     1.000003] ohci0: interrupting on GIC irq 49
[     1.000003] ohci0: OHCI version 1.0
[     1.000003] usb1 at ohci0: USB revision 1.0
[     1.000003] gpioleds0 at simplebus0: nanopi-r2s:red:sys
nanopi-r2s:green:lan nanopi-r2s:green:wan
[     1.000003] /gpio_keys at simplebus0 not configured
[     1.000003] /dmc at simplebus0 not configured
[     1.000003] /syscon@ff100000/io-domains at syscon0 not configured
[     1.000003] /syscon@ff100000/grf-gpio at syscon0 not configured
[     1.000003] /syscon@ff100000/reboot-mode at syscon0 not configured
[     1.000003] rkdrm0: autoconfiguration error: no display interface
ports configured
[     1.000003] rkdrm0: autoconfiguration error: couldn't register DRM
device: -6
[     1.000003] entropy: WARNING: extracting entropy too early
[     1.000003] timecounter: Timecounter "clockinterrupt" frequency
100 Hz quality 0
[     1.000003] cpu3: IC enabled, DC enabled, EL0/EL1 stack Alignment
check enabled
[     1.000003] cpu3: Cache Writeback Granule 16B, Exclusives
Reservation Granule 16B
[     1.000003] cpu3: Dcache line 64, Icache line 64, DIC=0, IDC=0,
LoUU=1, LoC=2, LoUIS=1
[     1.000003] cpu3: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000003] cpu3: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000003] cpu3: L2 256KB/64B*256L*16W PIPT Unified cache
[     1.000003] cpu3: revID=0x180, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000003] cpu3: auxID=0x11120, FP, CRC32, SHA1, SHA256,
AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs,
Fused Multiply-Add
[     1.000003] cpu1: IC enabled, DC enabled, EL0/EL1 stack Alignment
check enabled
[     1.000003] cpu1: Cache Writeback Granule 16B, Exclusives
Reservation Granule 16B
[     1.000003] cpu1: Dcache line 64, Icache line 64, DIC=0, IDC=0,
LoUU=1, LoC=2, LoUIS=1
[     1.000003] cpu1: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000003] cpu1: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000003] cpu1: L2 256KB/64B*256L*16W PIPT Unified cache
[     1.000003] cpu1: revID=0x180, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000003] cpu1: auxID=0x11120, FP, CRC32, SHA1, SHA256,
AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs,
Fused Multiply-Add
[     1.000003] cpu2: IC enabled, DC enabled, EL0/EL1 stack Alignment
check enabled
[     1.000003] cpu2: Cache Writeback Granule 16B, Exclusives
Reservation Granule 16B
[     1.000003] cpu2: Dcache line 64, Icache line 64, DIC=0, IDC=0,
LoUU=1, LoC=2, LoUIS=1
[     1.000003] cpu2: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000003] cpu2: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000003] cpu2: L2 256KB/64B*256L*16W PIPT Unified cache
[     1.000003] cpu2: revID=0x180, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000003] cpu2: auxID=0x11120, FP, CRC32, SHA1, SHA256,
AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs,
Fused Multiply-Add
[     1.858699] cpufreqdt0: rate: 1296.000 MHz, 1300000 uV
[     1.858699] sdmmc0 at dwcmmc0
[     1.868714] armpmu0: interrupting on GIC irq 132
[     1.868714] armpmu0: interrupting on GIC irq 133
[     1.868714] armpmu0: interrupting on GIC irq 134
[     1.878706] armpmu0: interrupting on GIC irq 135
[     1.878706] uhub0 at usb1: NetBSD (0x0000) OHCI root hub (0x0000),
class 9/0, rev 1.00/1.00, addr 1
[     1.878706] uhub0: 1 port with 1 removable, self powered
[     1.878706] uhub1 at usb0: NetBSD (0x0000) EHCI root hub (0x0000),
class 9/0, rev 2.00/1.00, addr 1
[     1.878706] uhub1: 1 port with 1 removable, self powered
[     1.878706] IPsec: Initialized Security Association Processing.
[     1.878706] aes: ARMv8.0-AES
[     1.878706] chacha: ARM NEON ChaCha
[     1.878706] adiantum: self-test passed
[     1.878706] aes_ccm: self-test passed
[     1.878706] blake2s: self-test passed
[     1.978703] ld0 at sdmmc0: <0x41:0x3432:SD16G:0x20:0x0000837e:0x12a>
[     1.978703] ld0: 14916 MB, 7576 cyl, 64 head, 63 sec, 512
bytes/sect x 30547968 sectors
[     1.988710] ld0: GPT GUID: f35e5b08-a360-4dae-b96b-4457467426ed
[     1.988710] dk0 at ld0: "EFI", 163840 blocks at 32768, type: msdos
[     1.988710] dk1 at ld0: "netbsd-root", 30343168 blocks at 196608, type: ffs
[     1.988710] ld0: 4-bit width, 25.000 MHz
[     2.598717] cgd: self-test aes-xts-256
[     2.598717] cgd: self-test aes-xts-512
[     2.598717] cgd: self-test aes-cbc-128
[     2.598717] cgd: self-test aes-cbc-256
[     2.598717] cgd: self-test 3des-cbc-192
[     2.598717] cgd: self-test blowfish-cbc-448
[     2.598717] cgd: self-test aes-cbc-128 (encblkno8)
[     2.598717] cgd: self-tests passed
[     2.598717] WARNING: 3 errors while detecting hardware; check system log.
[     2.608722] boot device: dk1
[     2.608722] root on dk1
[     2.618718] root file system type: ffs
[     2.628719] kern.module.path=/stand/evbarm/9.99.83/modules
[     2.638719] WARNING: preposterous TOD clock time
[     2.638719] WARNING: using filesystem time
[     2.640551] WARNING: CHECK AND RESET THE DATE!


Home | Main Index | Thread Index | Old Index