Jump to content

thelinuxguy

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Where can I find where to enable this patch? I am at the build menu trying to find what I need to change.
  2. Your replies are super helpful and insightful, thanks for that. The good news: 1) The patch seems to "fix" the SBC board LED lights, they blink now as they usually do on FriendlyWRT and other builds. The bad news is that WAN (eth0) seems to not get an IP address and so it seems the motorcom driver still doesn't work. root@nanopi-r2c:~# lshw -class network *-network:0 DISABLED description: Ethernet interface physical id: 6 logical name: eth0 serial: e2:b2:e8:be:a9:e2 capabilities: ethernet physical configuration: broadcast=yes multicast=yes *-network:1 description: Ethernet interface physical id: 7 bus info: usb@5:1 logical name: lan0 serial: e2:b2:e8:be:a9:02 size: 10Mbit/s capacity: 1Gbit/s capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.12.12 duplex=half link=no multicast=yes port=MII speed=10Mbit/s root@nanopi-r2c:~# ifconfig eth0 up SIOCSIFFLAGS: Connection timed out [ 919.972527] yzhang..read phyaddr=3, phyid=0000011a [ 919.975199] yt8521_config_init, 8521 init call out. [ 919.975244] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 919.976159] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 920.184467] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 920.184486] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 920.184494] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed Let me know if you have any ideas; I will setup a virtualbox VM to try armbian build to learn about building this myself following your previous comments.
  3. I have a feeling this is the .dts patch I need to convert to .dtb to possibly make this work but not sure how to do it. https://gitce.net/mirrors/lede/raw/commit/50d98983c2c26ea14dcc8bc02d0ee229fa1cdc80/target/linux/rockchip/patches-5.10/203-rockchip-rk3328-Add-support-for-FriendlyARM-NanoPi-R.patch Tried a few things dtc -I dts -O dtb -f rk3328-nanopi-r2c.dts -o rk3328-nanopi-r2c.dtb $ dtc -I dts -O dtb -f rk3328-nanopi-r2c.dts -o rk3328-nanopi-r2c.dtb Error: rk3328-nanopi-r2c.dts:11.1-9 syntax error FATAL ERROR: Unable to parse input tree Seems to be due to: #include "rk3328-nanopi-r2s.dts" but rk3328-nanopi-r2s.dts exists and has data. maybe i converted DTB to DTS wrong when i tried to get the source from the same stuff thats inside /boot/dtb-5.15.25-rockchip64/rockchip
  4. I tried this and while there is NIC led detection the interface 'eth0' is not coming up. [ 19.482535] yzhang..read phyaddr=3, phyid=0000011a [ 19.484279] yt8521_config_init, 8521 init call out. [ 19.484348] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 19.492246] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 19.696649] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 19.696668] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 19.696676] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 19.806336] IPv6: ADDRCONF(NETDEV_CHANGE): lan0: link becomes ready [ 19.806745] r8152 5-1:1.0 lan0: carrier on [ 19.926727] yzhang..read phyaddr=3, phyid=0000011a [ 19.929010] yt8521_config_init, 8521 init call out. [ 19.929080] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 19.933986] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 20.142202] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 20.142226] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 20.142234] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 20.270665] yzhang..read phyaddr=3, phyid=0000011a [ 20.273435] yt8521_config_init, 8521 init call out. [ 20.273493] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 20.279678] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 20.490621] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 20.490640] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 20.490648] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 20.606662] yzhang..read phyaddr=3, phyid=0000011a [ 20.609408] yt8521_config_init, 8521 init call out. [ 20.609478] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 20.612215] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 20.820330] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 20.820353] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 20.820361] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 20.950583] yzhang..read phyaddr=3, phyid=0000011a [ 20.953258] yt8521_config_init, 8521 init call out. [ 20.953318] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 20.958349] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 21.162222] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 21.162243] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 21.162252] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 21.266619] yzhang..read phyaddr=3, phyid=0000011a [ 21.269373] yt8521_config_init, 8521 init call out. [ 21.269439] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 21.274531] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 21.484185] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 21.484204] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 21.484212] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 21.570709] yzhang..read phyaddr=3, phyid=0000011a [ 21.573383] yt8521_config_init, 8521 init call out. [ 21.573457] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 21.579269] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 21.782205] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 21.782229] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 21.782238] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 21.878581] yzhang..read phyaddr=3, phyid=0000011a [ 21.881258] yt8521_config_init, 8521 init call out. [ 21.881320] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 21.885576] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 22.087406] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 22.087429] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 22.087437] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed [ 22.150811] yzhang..read phyaddr=3, phyid=0000011a [ 22.153504] yt8521_config_init, 8521 init call out. [ 22.153566] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL) [ 22.156509] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 22.362126] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma [ 22.362145] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 22.362153] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed Not sure if the above hints at what the problem may be? I see another version(rk3328-nanopi-r2-rev20.dtb) but other than the name I don't know how to compare to make sure i don't try a .dtb that will for sure never boot. I did find this command shows me something but not sure what to look for dtc -I dtb -O dts rk3328-nanopi-r2-rev20.dtb
  5. Only 1 out of 2 NICs work on this image, the "WAN" interface is not working at all. Some debug info root@orangepi-r1plus-lts:~# lspci root@orangepi-r1plus-lts:~# lshw -class network *-network:0 DISABLED description: Ethernet interface physical id: 6 logical name: eth0 serial: e2:b2:e8:be:a9:e2 capabilities: ethernet physical configuration: broadcast=yes multicast=yes *-network:1 description: Ethernet interface physical id: 7 bus info: usb@5:1 logical name: lan0 serial: e2:b2:e8:be:a9:02 size: 1Gbit/s capacity: 1Gbit/s capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.12.12 duplex=full ip=192.168.232.235 link=yes multicast=yes port=MII speed=1Gbit/s root@orangepi-r1plus-lts:~# lshw -class network -short H/W path Device Class Description ======================================== /6 eth0 network Ethernet interface /7 lan0 network Ethernet interface root@orangepi-r1plus-lts:~# ifconfig eth0 eth0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether e2:b2:e8:be:a9:e2 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 40 root@orangepi-r1plus-lts:~# ifup eth0 ifup: unknown interface eth0 root@orangepi-r1plus-lts:~# ethtool eth0 netlink error: Device or resource busy netlink error: Device or resource busy netlink error: Device or resource busy netlink error: Device or resource busy netlink error: Device or resource busy No data available
  6. I'm happy to report that Bullseye (Feb 2022) OrangePi R1+ LTS works on nanopi R2C Plus. I was able to boot it and connect to the internet, switched to Nightly builds and its updating now. Thanks @schwar3kat! I think your build could probably be tagged for this SBC also on armbian.com Generating locales: en_US.UTF-8 root@orangepi-r1plus-lts:~# root@orangepi-r1plus-lts:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether e2:b2:e8:xxxx brd ff:ff:ff:ff:ff:ff 3: lan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether e2:b2:e8xxx2 brd ff:ff:ff:ff:ff:ff inet 192.168.232.235/24 brd 192.168.232.255 scope global dynamic noprefixroute lan0 valid_lft 43118sec preferred_lft 43118sec inet6 fd0a:23d5:ce4a::23f/128 scope global dynamic noprefixroute valid_lft 43120sec preferred_lft 43120sec inet6 fd0a:23d5:ce4a:0:ff88:4de8:11fa:b0c5/64 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::1278:b297:327e:1afc/64 scope link noprefixroute valid_lft forever preferred_lft forever root@orangepi-r1plus-lts:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=13.2 ms ^C --- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 13.233/13.233/13.233/0.000 ms root@orangepi-r1plus-lts:~#
  7. Hi, thanks for this tip. I don't mind testing and sharing the results. I believe you mean to try the build from: https://www.armbian.com/orangepi-r1plus-lts/ I'm new to Armbian - where do I find the "nightly" builds you spoke of? I don't see any links for any packages recently updated. From the link above; those stable images were last updated February 27, 2022. Could you share how to get to unstable builds?
  8. Could you please add support for NanoPi R2C Plus (https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2C_Plus#Install_OS). I tried the R2S image and it failed to boot; I believe due to network hardware being different on this board (using YT8521S)
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines