ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum/Twitter feed: #armbian-rss | Logs: -> irc.armbian.com
califax has quit [Remote host closed the connection]
califax has joined #armbian
norwich_ has joined #armbian
norwich has quit [Ping timeout: 246 seconds]
norwich_ is now known as norwich
Dagger has quit [Ping timeout: 246 seconds]
ajfriesen1 has joined #armbian
ajfriesen has quit [Ping timeout: 268 seconds]
ajfriesen1 is now known as ajfriesen
sunshavi has joined #armbian
califax has quit [Ping timeout: 258 seconds]
califax has joined #armbian
Dagger has joined #armbian
califax has quit [Ping timeout: 258 seconds]
califax has joined #armbian
archetech has joined #armbian
califax has quit [Remote host closed the connection]
califax has joined #armbian
MrFixIt has quit [*.net *.split]
milkii has quit [*.net *.split]
yang2 has quit [*.net *.split]
kveremitz has quit [*.net *.split]
yang2 has joined #armbian
milkii has joined #armbian
kveremitz has joined #armbian
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #armbian
lemonzest has quit [Quit: WeeChat 3.6]
maknho has quit [Quit: WeeChat 3.0]
lemonzest has joined #armbian
indy has quit [Ping timeout: 264 seconds]
indy has joined #armbian
califax has quit [Ping timeout: 258 seconds]
ced117 has quit [Ping timeout: 248 seconds]
califax has joined #armbian
LanDi has joined #armbian
LanDi1 has joined #armbian
LanDi has quit [Ping timeout: 260 seconds]
LanDi1 is now known as LanDi
xoan has joined #armbian
archetech has quit [Quit: Konversation terminated!]
archetech has joined #armbian
maknho has joined #armbian
indy has quit [Ping timeout: 252 seconds]
LanDi has quit [Remote host closed the connection]
indy has joined #armbian
maknho has quit [Ping timeout: 250 seconds]
xoan4 has joined #armbian
xoan has quit [Ping timeout: 268 seconds]
xoan4 is now known as xoan
xoan has quit [Quit: leaving...]
ced117 has joined #armbian
stipa_ has joined #armbian
stipa has quit [Ping timeout: 264 seconds]
stipa_ is now known as stipa
Proxysna has quit [Remote host closed the connection]
alekksander has joined #armbian
sams has quit [Quit: priatno.]
sams has joined #armbian
maknho has joined #armbian
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
lyri has joined #armbian
LanDi has joined #armbian
LanDi has quit [Client Quit]
LanDi has joined #armbian
LanDi1 has joined #armbian
LanDi has quit [Ping timeout: 268 seconds]
LanDi1 is now known as LanDi
LanDi has quit [Read error: Connection reset by peer]
norwich has quit [Ping timeout: 252 seconds]
norwich has joined #armbian
archetech has quit [Quit: Konversation terminated!]
<Manouchehri>
oh dang, so the R4SE needs a completely different image than the R4S?
<Manouchehri>
The LAN port isn't showing up
<Manouchehri>
wait wut it's working now after a reboot
<Manouchehri>
rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
<Manouchehri>
that's what I had on a previous boot
<Armbian-Discord>
<c0rnelius> basically the u-boot dts needs to be edited to support eMMC along with the kernel patched to add the dts.
<Manouchehri>
if I don't want to use the eMMC, is it fine to just use the same image as the R4S?
<Manouchehri>
*same dts
<Armbian-Discord>
<c0rnelius> from what I was told its just the eMMC that didn't work. well that and the board doesn't have a unique mac addr.
<Manouchehri>
on both LAN and WAN?
<Armbian-Discord>
<c0rnelius> yes.
<Armbian-Discord>
<c0rnelius> need to either force one with scripting or patch u-boot. honestly not sure if the u-boot method works though. I don't actually have the board.
<Manouchehri>
Any idea on how I can tell WAN and LAN apart in a script?
<Manouchehri>
like when I had that PCIe timeout issue, I had only eth0. Next boot, I had enp1s0 and eth1 (so no eth0).
<Armbian-Discord>
<c0rnelius> adding net.ifnames=0 to the boot command line should force eth0, eth1, eth2, etc.
<Manouchehri>
hmm, is that the best way?
<Manouchehri>
is there a way of naming them based on if it's the RTL8211E or RTL8111H?
<Armbian-Discord>
<c0rnelius> create a udev rule and you can name them that way.
<Manouchehri>
thank you!! I totally overlooked udev.
<Manouchehri>
Is it u-boot or the Linux kernel that sets the MAC address?
<Manouchehri>
*sets the random MAC address
<Armbian-Discord>
<c0rnelius> I doubt this exact thing would work, but something like it. echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="rk_gmac-dwmac", KERNEL=="eth0", NAME="WAN"' > /etc/udev/rules.d/10-nanopi-r4se-eth.rules echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="r8169", KERNEL=="eth1", NAME="eth0"' >> /etc/udev/rules.d/10-nanopi-r4se-eth.rules
<Manouchehri>
are addresses like e2:06:b3:xx:xx:xx random or unique?
<Armbian-Discord>
<c0rnelius> if the board doesn't have a unique one it will just spit out random ones during each reboot. friendlyarm did this to cut costs and they only offer units with one if you buy a large amount of them.
<Manouchehri>
c0rnelius: perfect, thanks! I didn't realize they used two different drivers; I can actually use netplan here I think, with `driver: r8169` and `driver: st_gmac` :D
<Manouchehri>
hmm, I don't think I get a random one on each reboot
<Armbian-Discord>
<c0rnelius> well thats good. don't play with it then 🙂
<Armbian-Discord>
<c0rnelius> don't fix what isnt broken
<Manouchehri>
ehhh, I'd like to figure out why it's not random, so it doesn't screw me over later :P
<Armbian-Discord>
<c0rnelius> armbian has a script that will set the mac addr. I'm not sure if its currently running on ur system, but I have looked over the script before.
<Manouchehri>
I don't see it in /boot/boot.cmd or /boot/armbianEnv.txt
<Manouchehri>
c0rnelius: `xxd /sys/bus/nvmem/devices/rockchip-efuse0/nvmem` < what does this return for you on any of your nanopi devices?