Rui Ribeiro
Members-
Posts
104 -
Joined
-
Last visited
Profile Information
-
Gender
Male
-
Interests
Unix, security, networking, ISP background
Contact Methods
-
Website URL
https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434
Recent Profile Visitors
-
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
Zador, the new binary seems to be working. -
DS18B20 temperature sensor in Lamobo R1
Rui Ribeiro replied to Rui Ribeiro's topic in Allwinner sunxi
I also have the resistor there. However with my humidity sensors I did away with it. It *seems* it is not needed with the Lamobo R1. I think I have read something about that, I might be wrong. Congratulations. As I said, save that dtb file, and do not forget after each kernel upgrade from Armbian to copy it over again. -
DS18B20 temperature sensor in Lamobo R1
Rui Ribeiro replied to Rui Ribeiro's topic in Allwinner sunxi
bad, here is the GPIO image. http://imgur.com/a/HR1NA and the dtb file: https://www.dropbox.com/s/7ou1tel22fxli77/sun7i-a20-lamobo-r1.dtb?dl=0 ; the dtb file should be copied to /boot/dtb -
DS18B20 temperature sensor in Lamobo R1
Rui Ribeiro replied to Rui Ribeiro's topic in Allwinner sunxi
Hi bad, Just keep in mind the R1 bus is inverted compared to the raspberry; and that each upgrade do the kernel places there again the new dtb. I am beginning the day here, later at home I can send you photos and place here the dtb that zador posted for me (and that I am still using) -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
It works. -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
Old swconfig # ldd swconfig linux-vdso.so.1 (0xbee4d000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6f6b000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e7a000) /lib/ld-linux-armhf.so.3 (0x7f601000) new swconfig # ldd swconfig linux-vdso.so.1 (0xbef88000) libnl-3.so.200 => /lib/arm-linux-gnueabihf/libnl-3.so.200 (0xb6f11000) libnl-genl-3.so.200 => /lib/arm-linux-gnueabihf/libnl-genl-3.so.200 (0xb6f04000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e14000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6df1000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6d7d000) /lib/ld-linux-armhf.so.3 (0x7f628000) The pthread library seems out of place here. @goldfish the difference in size is because the new is stripped Even then, after stripping root@ruir:/sbin# ls -la swconfig -rwxr-xr-x 1 root root 23276 Sep 17 04:30 swconfig root@ruir:/sbin# ls -la swconfig.new -rwxr-xr-x 1 root root 11444 Sep 16 20:10 swconfig.new -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
No problem, I am using the one from golfish. -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
Yep, specially problematic for me as the R1 is my home router... -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
@zador, last binary still problematic. swconfig dev eth0 help switch0: eth0(BCM53125), ports: 9 (cpu @ 8), vlans: 4096 --switch Attribute 1 (int): enable_vlan ((null)) Attribute 2 (string): ports ((null)) Attribute 3 (int): reset_mib ((null)) Attribute 4 (int): enable_jumbo ((null)) Attribute 5 (int): allow_vid_4095 ((null)) Attribute 6 (unknown): apply ((null)) Attribute 7 (unknown): reset ((null)) --vlan Attribute 1 (ports): ports ((null)) --port Attribute 1 (string): mib ((null)) Attribute 2 (int): pvid ((null)) Attribute 3 (string): link ((null)) -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
@goldfish, your binary restored my switch -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
@goldfich_paris Even I had checked earlier with find, I checked again after your post. I do not have it. Thanks. root@ruir:/sbin# whereis swconfig swconfig: /sbin/swconfig -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
root@ruir:/sbin# ls -la swconfig -rwxr-xr-x 1 root root 14036 Sep 14 2016 swconfig -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
Here it is Zador. I only have one swconfig, unlike goldfish #swconfig dev eth0 help switch0: eth0(BCM53125), ports: 9 (cpu @ 8), vlans: 4096 --switch Attribute 1 (int): enable_vlan ((null)) Attribute 2 (string): ports ((null)) Attribute 3 (int): reset_mib ((null)) Attribute 4 (int): enable_jumbo ((null)) Attribute 5 (int): allow_vid_4095 ((null)) Attribute 6 (unknown): apply ((null)) Attribute 7 (unknown): reset ((null)) --vlan Attribute 1 (ports): ports ((null)) --port Attribute 1 (string): mib ((null)) Attribute 2 (int): pvid ((null)) Attribute 3 (string): link ((null)) -
[Lamobo-R1] [5.20] swconfig & problem with last 5.20 Armbian update
Rui Ribeiro replied to Rui Ribeiro's topic in Beginners
Thanks Zador.b.s, it has got exactly the same behaviour. root@ruir:/etc/network# swconfig dev eth0 set reset 1 failed root@ruir:/etc/network# swconfig dev eth0 set enable_vlan 1 root@ruir:/etc/network# swconfig dev eth0 vlan 101 set ports '3 8t' root@ruir:/etc/network# swconfig dev eth0 set apply 1 failed root@ruir:/etc/network# uname -r 4.7.3-sunxi root@ruir:/etc/network# swconfig list Found: switch0 - eth0