Slackware-ARMv7 15.0 on Banana Pi BPI-R2 Can't Parse 'link-gpios' Property of Node
I'm new to using ARM Single Board Computers, or Embedded Systems, whatever you like to call them.
Although, I recently got Slackware ARMv7 15.0 to successfully install and boot on a Banana Pi BPI-R2 Single Board Router. However, there are a few problems with devices. My most pressing problem are the GMAC network devices, they come up, but they can only ping themselves. Looking through the boot information, I found this ... and believe it may have something to do with the problem. Code:
Slackware OS boot ... Here are the lines from the Ubuntu OS boot image I used to prep the eMMC with Slackware ARMv7 15.0. Code:
Ubuntu OS boot ... I have been using Slackware since around 2001-ish, but ARM systems are rather new to me. Plus, another problem is that Linux Questions does not have a tag for BPI-R2 or GMAC. |
You have a device there with 5 ethernet card instances apparently controlled by the same chip from a manufacturer with a less than stellar reputation for drivers?
I would expect that not to land jammy side up on most distributions. You need to Power down your sbc, power up your pc and go web searching for instructions on how to configure that. Is there module options, or stuff you can put in /etc/modprobe.d/ ?? Just because you can put 5 nics in one chip doesn't mean it's a good idea. There must be an article up on the ether, and you need to follow it to the letter. Each one needs
|
Try searching your kernel configuration for "GMAC" or "MT7530". You can search the kernel configuration here: https://slackware.uk/slackwarearm/sl...s/armv7/config
I noticed the following: Code:
# CONFIG_NET_DSA_MT7530 is not set Anyway, that board isn't officially supported by Slackware ARM and 15.0 (32 bit) is the last stable release for 32 bit ARM. You will likely need to rebuild your kernel to add full support for that board. |
Greetings business_kid, I thank you for your comment.
However, Five Banana Pis and one Raspberry Pi are the ARM and Aarch64 SBCs that I have. As far as ARM SBCs go, I am not a big fan of waste, so those are the SBCs I have to make do with, and since I am a huge fan of Slackware, running Slackware is the operating system I do hope to get working on all those SBCs. The instruction I have found on the Banana Pi forum relate to setting the MAC addresses, I have not found any references to link-gpio failures. I think it may be due to a naming difference between Slackware and Ubuntu, as Slackware is looking for "fixed-link[0]" and at least within Ubuntu the link is named "fixed-0:00" and "fixed-0:01" Greetings mralk3, I thank you for your comment too. I do understand that the CPU (MT7623) communicates with the onboard switch (MT7530) through the two ethernet ports eth0 and eth1, and the switch communicates with each physical port, port "Wan" through eth1, and ports "Lan0, Lan1, Lan2, Lan3" through eth0. Code:
-------- -------------------------------- I have set up virtual switches through a bridge br0 -> [eth0 and tap0], within Slackware. In fact, I am running one right now, for the use I have also been looking at udev rules, and module setting parameters from all over the net, in an attempt to find the solution. |
I have a lead.
I originally started my kernel configuration by using ... Code:
# make mt7623n_evb_fwu_defconfig Code:
# CONFIG_BONDING is not set I'll let you know if it works. |
Update, so compiling the bonding modules failed as it produced the warning ....
Code:
Warning: DSA_CORE: Offsetting No Permitted Then I wrote a bash script that compared both kernels to determine where they had different and matching variable settings. You can't see it on the post, but I wrote the script to output in color. Where kernel variables match the variables are green and where the kernel variables do not match the variables are in red. I did not write a script to automatically update one kernel with the variables of the other because I may not want to set a variable from the Old Ubuntu kernel in the New Slackware Kernel, or I may not want to override the Slackware Kernel variable setting. So, I just wrote the script to report the differences between like variables and different variables, so I can go through and decide if I want to set or unset a particular Kernel variable. Code:
Example of kernel-compare.sh output ... I'll let you all know how it works. ... |
Ok, So I got a working kernel with the network working now. The kernel still posts "of_get_named_gpiod_flags: can't parse 'link-gpios' property of node" errors, but the eth is up and running.
|
All times are GMT -5. The time now is 10:49 PM. |