February 04, 2023, 01:22:02 pm

Recent posts

Pages 1 ... 6 7 8 9 10
71
A20 / Re: U-boot can't boot from eMM...
Last post by LubOlimex - January 19, 2023, 08:09:48 am
Nice! Yes, it is usually at the start and it is possible to have leftovers.
72
A20 / Re: On a LIME2 board, after r...
Last post by Nate - January 19, 2023, 03:18:34 am
I ended up resolving this another way.  As the image supplied by the Freedombox folks uses btrfs for its root partition, a bit of searching eventually led me to this thread:

https://www.olimex.com/forum/index.php?topic=7975.msg30691#msg30691

Here I learned about the btrfs replace capability.  It seamlessly moved the data to the HDD (at the moment as the SSD is lost in the mail, apparently) and left a clue on the micro-SD card as to the device the root partition resides.

I did not pursue the Olimex image any further, but I did find mention that all that really needs to be done is to add a line in uenv.txt setting the root partition variable.  It seems as though the script could do that easily enough when SPI flash is not available, but perhaps it is not that simple since the Olimex image is all one partition.
73
A20 / Re: U-boot can't boot from eMM...
Last post by filo - January 18, 2023, 08:46:55 pm
Yes, this was it. :) I wiped the first 16 MB of the SD card with dd and now the boot proceeds correctly. Some leftovers must have been there even after repartitioninig at the beginning of the SD card that made the SPL pick MMC1 over MMC2.
74
A20 / Re: On a LIME2 board, after r...
Last post by LubOlimex - January 18, 2023, 03:34:53 pm
> Without spi flash available, is it simply not possible to use the SATA disk as the root partition?

It is possible if you use the SD card to store the data that usually goes to the SPI flash but I don't think our script supports it at the moment. But that is the basic idea, use another SD card that can be used for the task. Oh and edit the script to perform it.
75
ESP32 / Re: ESP32 ethernet UPD server ...
Last post by LubOlimex - January 18, 2023, 08:33:02 am
Which revision is the ESP32-GATEWAY board?

Probably related to either the configuration or the "Visual Studio code with extension Espressif IDF V1.51" in general. Maybe report to people that maintain "Visual Studio code with extension Espressif IDF V1.51".

Try with our server for either Arduino IDE or ESP-IDF examples:

https://github.com/OLIMEX/ESP32-POE/tree/master/SOFTWARE
76
ESP32 / ESP32 ethernet UPD server spee...
Last post by NielsO - January 17, 2023, 11:44:21 pm
ESP32 ethernet UPD server speed issue:
When running iperf speed test with ESP32 in server mode the network speed is 0 Mbits/s
As a reference the same test with ESP32 in client mode the network speed is 68 Mbits/s

HW setup:
Olimex gateway board with PHYLAN8710. 
IDE:
Visual Studio code with extension Espressif IDF V1.51
Code.
Espressif IDF iperf example

Sdkconfig:
Configured and working with basic ethernet example. Ping is also working.
Iperf example working in client mode. 


Steps to reproduce:
Client side CMD (PC WIN10):
iperf3 -c 192.168.0.2 -p 5001
ESP32 server side CMD:
iperf -s

COM output:
iperf> I (188437) iperf: Socket created
I (192597) iperf: accept: 192.168.0.3,31194


        Interval Bandwidth
  0-  3 sec      0.00 Mbits/sec
  3-  6 sec      0.00 Mbits/sec
  6-  9 sec      0.00 Mbits/sec
W (202607) iperf: tcp server recv error, error code: 11, reason: No more processes
I (202607) iperf: TCP Socket server is closed.
I (202607) iperf: iperf exit
  9-  12 sec      0.00 Mbits/sec

If we run the server with recommended parameters from example code.
iperf -u -s -i 3

The server closes socket after 7 seconds.
COM output:
iperf> I (73747) iperf: Socket created
I (73747) iperf: Socket bound, port 35091
W (83757) iperf: udp server recv error, error code: 11, reason: No more processes
I (83757) iperf: Udp socket server is closed.
I (83757) iperf: iperf exit

As a reference, here is the prompt with the ESP32 in client mode where the speed is 68 Mbits/s

ESP32 client side CMD:
iperf -u -c 192.168.0.3
PC server side CMD:
iperf3 -s
77
ESP32 / Re: Help with ESP-C3 and ESP-P...
Last post by KNK - January 17, 2023, 08:47:03 pm
I figured it out:

1. 'USB CDC On Boot' is 'disabled' by default in Arduino IDE
2. I have the habit to keep the serial monitor opened, but it requires reopen after reboot of the board

Also if instead of Serial.print() i use log_n(), then even with 'USB CDC On Boot' disabled, the messages are printed
78
A64 / usb0-vbus: disabling
Last post by FalloutST - January 17, 2023, 02:45:27 pm
Immediately after trying to load the g_ether module, and trying to manipulate it using sysfs (according to), followed by an attempt to return to g_serial. Led to: usb0-vbus: disabling
olimex@a64-olinuxino:/etc/NetworkManager/system-connections$ sudo dmesg | grep usb
[    0.073017] usbcore: registered new interface driver usbfs
[    0.073067] usbcore: registered new interface driver hub
[    0.073110] usbcore: registered new device driver usb
[    0.846796] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    1.047234] usbcore: registered new interface driver usb-storage
[    1.050998] usbcore: registered new interface driver usbhid
[    1.051002] usbhid: USB HID core driver
[    1.175271] usb0-vbus: supplied by regulator-dummy
[    1.176448] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    1.312920] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.312945] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.313060] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    1.330796] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.331032] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.331041] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.331048] usb usb1: Product: EHCI Host Controller
[    1.331055] usb usb1: Manufacturer: Linux 5.10.60-olimex ehci_hcd
[    1.331062] usb usb1: SerialNumber: 1c1a000.usb
[    1.332783] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.332808] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2
[    1.332946] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[    1.346799] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.347012] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.347021] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.347029] usb usb2: Product: EHCI Host Controller
[    1.347036] usb usb2: Manufacturer: Linux 5.10.60-olimex ehci_hcd
[    1.347042] usb usb2: SerialNumber: 1c1b000.usb
[    1.348638] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.348662] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 3
[    1.348786] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    1.411009] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.411021] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.411029] usb usb3: Product: Generic Platform OHCI controller
[    1.411036] usb usb3: Manufacturer: Linux 5.10.60-olimex ohci_hcd
[    1.411043] usb usb3: SerialNumber: 1c1a400.usb
[    1.412740] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.412764] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4
[    1.412899] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[    1.475073] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.475083] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.475091] usb usb4: Product: Generic Platform OHCI controller
[    1.475097] usb usb4: Manufacturer: Linux 5.10.60-olimex ohci_hcd
[    1.475104] usb usb4: SerialNumber: 1c1b400.usb
[    1.476770] usb_phy_generic usb_phy_generic.3.auto: supply vcc not found, using dummy regulator
[    1.575085] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    1.575112] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 5
[    1.575325] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.575334] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.575341] usb usb5: Product: MUSB HDRC host driver
[    1.575348] usb usb5: Manufacturer: Linux 5.10.60-olimex musb-hcd
[    1.575355] usb usb5: SerialNumber: musb-hdrc.4.auto
[    1.602806] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    1.742840] usb 2-1: device descriptor read/64, error -71
[    1.994831] usb 2-1: device descriptor read/64, error -71
[    2.234870] usb 2-1: new high-speed USB device number 3 using ehci-platform
[    2.374849] usb 2-1: device descriptor read/64, error -71
[    2.626811] usb 2-1: device descriptor read/64, error -71
[    2.738843] usb usb2-port1: attempt power cycle
[    2.942798] usb 2-1: new high-speed USB device number 4 using ehci-platform
[    3.362793] usb 2-1: device not accepting address 4, error -71
[    3.494797] usb 2-1: new high-speed USB device number 5 using ehci-platform
[    3.914808] usb 2-1: device not accepting address 5, error -71
[    3.920682] usb usb2-port1: unable to enumerate USB device
[    4.314850] usb 4-1: new full-speed USB device number 2 using ohci-platform
[    4.535851] usb 4-1: not running at top speed; connect to a high speed hub
[    4.551850] usb 4-1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.00
[    4.551862] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.551870] usb 4-1: Product: Mass Storage
[    4.551876] usb 4-1: Manufacturer: Generic
[    4.551883] usb 4-1: SerialNumber: F9880E40
[    4.554096] usb-storage 4-1:1.0: USB Mass Storage device detected
[    4.554850] scsi host0: usb-storage 4-1:1.0
[    4.559656] usbcore: registered new interface driver uas
[   31.710892] usb0-vbus: disabling
Linux a64-olinuxino 5.10.60-olimex
Can you help to determine problem...
79
New Product Ideas / Re: Future-proof idea for TERE...
Last post by rosmo - January 17, 2023, 02:31:48 pm
If the CM4 was used in TERES users could choose, including choosing emerging FPGA or RISC-V options
80
ESP32 / Re: Help with ESP-C3 and ESP-P...
Last post by LubOlimex - January 17, 2023, 11:13:23 am
So you can program the board via the USB but not get serial output on the same USB? Seems like some bug in the Arduino IDE package. I feel like this should be a well-known issue within the Arduino IDE community for ESP32-C3.
Pages 1 ... 6 7 8 9 10