页次: 1
hello there
I'm trying to activate otg usb as RNDIS to communicate with MangoPi using ssh
I'm using the following buildroot linux image
buildroot-mangopi-r
by default the otg is working as storage device , I did the following steps to activate otg as RNDIS to work with ssh
make menuconfig
Target packages --->
Networking application --->
[*] openssh
Target packages --->
Package managers --->
[*] opkg
[*] gnupg support
Target packages --->
Text editors and viewers
[*] nano
[*] optimize for size (NEW)
then type
make linux-menuconfig
device dervicers -->
[*] USB support --->
<*> USB Gadget support --->
<*> USB Gadget precomposed configurations
[*] RNDIS support (NEW)
[*] Ethernet Emulation Model (EEM) support
after booting linux
check the usb RNDIS is working by
ip a
now, change the file the interfaces file in /etc/network/interfaces
nano /etc/network/interfaces
auto usb0
#I tried also to comment the following line but it doesn't work.
allow-hotplug usb0
# The address, gateway and netmask are necessary.
iface usb0 inet static
address 10.42.0.2
netmask 255.255.255.252
dns-search mangopi.edu
dns-namesevers 8.8.8.8 128.83.185.40, 128.83.185.41
the total steps
I set a static ip in windows11
when trying to connect using ssh, I got that!
also when trying
ping 10.42.0.2
I got
Request timed out.
What's the problem?
I build the image here
https://github.com/mangopi-sbc/buildroot-mangopi-r
the build system I used the default buildroot toolchain
I compiled the spidev_test.c with cross compiler: arm-linux-gnueabi-gcc
I tried another program using this cross compiler and it worked for me
└─$ arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Debian 11.2.0-18) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Hello there,
I'm working on MangoPi-r3 based on F1C200S, I'm trying to communicate with TFT st7735r using spidev1.0
I wrote a code that working on RaspberryPi Zero and worked with the tft , but when I tried it on F1C200S it doesn't work , I think the problem in the spi driver
I also tried to run the spidev_test.c
https://github.com/rm-hull/spidev-test/blob/master/spidev_test.c
I was able to compile it but when trying to run it on F1C200S I got a strange message
/usr/lib/libc.so.6: version `GLIBC_2.33' not found
any help?
页次: 1