

Kazymir
Members-
Posts
18 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
If i can, yes there is a little differnce beetwen zero3 and zero2W, the ethernet port, is-it possible to add another eth port inside the dtb for a full compatibility with the zero2w? for the 2W the eth port is directly connect on the processor H618 best regards
-
step by step I am on Arbian 23.8.1 BookWorm linux 6.1.50 on my nanopi neo3 Create file with sudo nano /etc/systemd/network/99-default.link [Match] OriginalName=* [Link] NamePolicy= Name=end0 MACAddressPolicy=none MACAddress=00:42:c4:9e:de:90 i know it' a fake mac address for the start if you write sudo i2cdump 0 0x51 you have your real mac address so we need to write a script sudo nano /etc/init.d/extract_mac.sh #!/bin/bash # Extract MACAdress from i2c EEPROM mac_address="" mac_address+="$(sudo i2cget -y -f 0 0x51 0xfa c):$(sudo i2cget -y -f 0 0x51 0xfb c)" mac_address+=:"$(sudo i2cget -y -f 0 0x51 0xfc c):$(sudo i2cget -y -f 0 0x51 0xfd c)" mac_address+=:"$(sudo i2cget -y -f 0 0x51 0xfe c):$(sudo i2cget -y -f 0 0x51 0xff c)" # remove "0x" mac_address="${mac_address//0x/}" mac_address=$(echo $mac_address | tr '[:lower:]' '[:upper:]') echo "MAC address: $mac_address" # Extraire l'adresse MAC du fichier de configuration NetworkManager configured_mac_address="$(sudo grep "MACAddress=" /etc/systemd/network/99-default.link | cut -d "=" -f 2)" # configured_mac_address="${configured_mac_address//:/}" echo "configured mac address: $configured_mac_address" # Comparer les adresses MAC if [[ "$mac_address" != "$configured_mac_address" ]]; then echo "WRONG Mac Address, rewrite good one" # Mettre à jour le fichier de configuration NetworkManager avec la nouvelle adresse MAC sudo sed -i "s/MACAddress=.*/MACAddress=$mac_address/" /etc/systemd/network/99-default.link sudo service NetworkManager restart echo "MAC Adress allright. Reboot" sudo reboot else echo "Mac Adress is already OK" fi If you want to test go in folder cd /etc/init.d sudo chmod +x extract_mac.sh ./extract_mac.sh to run automatic at boot open rc.local : sudo nano /etc/rc.local inside add /bin/bash /etc/init.d/extract_mac.sh before "exit 0" and reboot the good mac adress will be writting and use
-
so on the last revision i use another methode Create file in /etc/systemd/network sudo nano 99-default.link and reboot so the script change as
-
I solved the problem for the nanopi neo 3 i buy this 3 items and i control the pwm fan by nodered and now the temperature is always arround 55°C i summer
-
i find the rkspi_loader.img download https://github.com/huazi-yg/rock5b/releases/download/rock5b/rkspi_loader.img here https://wiki.radxa.com/Rock5/install/spi https://fieldday.io/armbian-rock5b/ i will test
-
I ask some help, but thanks to @martinayotte and @zador.blood.stained on this topic it help me a lot. but the problème is the same with the nanopi r2s board is there some dev for this 2 nanopi because i have some patch to suggest like for the MAC Address like I think that the problem is that the uboot***spl.bin don't exist may someone can compil it thanks a lot
-
I ask some help, but thanks to @martinayotte and @zador.blood.stained on this topic it help me a lot.
-
Good morning, I am an electronics engineer, and wanted to make an additional card for the nanopi neo3 based on the rk3328 to add an EMMC and an SPI memory to it so that it no longer uses an sd card. By dint of searching the forum, I managed to modify the dtb files of the neo3 to include the spi@ff190000 of my neo3 and to make the dtbo files spidev and jedec. But unfortunately, armbian-config cannot finish the job. For information I use a N25Q064..3E (flashroom information with active spidev) and goes back well in /dev/mtd0 in jedec. but in my armbian i have no file /usr/lib/uboot***spl.bin. Maybe the problem rk3328-nanopi-neo3-rev02.dtb rockchip-spi-jedec-nor.dtbo rockchip-spi-jedec-nor.dts rockchip-fixup.script rockchip-spi-spidev.dtbo rockchip-spi-spidev.dts
-
yes i think they didn't read the i2c eeprom at start
-
si it can help you for a nanopi neo3 you can write a script like sudo nano extract_mac.sh #!/bin/bash # Extraire l'adresse MAC de l'EEPROM mac_address="" mac_address+="$(sudo i2cget -y -f 0 0x51 0xfa c):$(sudo i2cget -y -f 0 0x51 0xfb c)" mac_address+=:"$(sudo i2cget -y -f 0 0x51 0xfc c):$(sudo i2cget -y -f 0 0x51 0xfd c)" mac_address+=:"$(sudo i2cget -y -f 0 0x51 0xfe c):$(sudo i2cget -y -f 0 0x51 0xff c)" # Supprimer les préfixes "0x" mac_address="${mac_address//0x/}" mac_address=$(echo $mac_address | tr '[:lower:]' '[:upper:]') echo "MAC address: $mac_address" # Extraire l'adresse MAC du fichier de configuration NetworkManager configured_mac_address="$(sudo grep "mac-address=" /etc/NetworkManager/system-connections/Wired\ connection\ 1.nmconnection | cut -d "=" -f 2)" # configured_mac_address="${configured_mac_address//:/}" echo "configured mac address: $configured_mac_address" # Comparer les adresses MAC if [[ "$mac_address" != "$configured_mac_address" ]]; then echo "Les adresses MAC sont différentes. Mise à jour nécessaire." # Mettre à jour le fichier de configuration NetworkManager avec la nouvelle adresse MAC sudo sed -i "s/mac-address=.*/mac-address=$mac_address/" /etc/NetworkManager/system-connections/Wired\ connection\ 1.nmconnection # Redémarrer NetworkManager pour prendre en compte les modifications sudo service NetworkManager restart echo "Adresse MAC mise à jour et redémarrage du systeme." # Redémarrer complètement le système pour prendre en compte les modifications sudo reboot else echo "Les adresses MAC sont identiques." fi and and to start script it's working well for me best regards
-
I am allright with you and i find my MAC Address here sudo i2cdump 0 0x51 i have a Neo3 with i2c eeprom and the mac is writing inside and when i go to /etc/NetworkManager/system-connections# sudo nano Wired\ connection\ 1.nmconnection i can see that the MAC is fixed How can we patch this problem?
-
failing first boot when using sd -> eMMC adapter
Kazymir replied to BlueFlame's topic in SD card and PSU issues
I have the same problem, i allways search...