@crispyoz Thank you for your prompt reply and your help. At the end it was a problem of the customized PCB, it wasn't well rooted.
Jorgehst
@Jorgehst
Best posts made by Jorgehst
-
RE: Problem mounting USB storage Omega2+
Latest posts made by Jorgehst
-
Extending omega 2 + memory
Hi everyone,
I have an omega 2 + and I'm trying to extend the RAM memory.
After the USB is mounted to "/mnt/sda1" (i checked and there's no directory such as "/tmp/mounts/") I typed "dd if=/dev/zero of=/mnt/sda1/swap.page bs=1M count=256" and this is what I got:root@Omega-6E16:~# ls /mnt mtdblock7 sda1 root@Omega-6E16:~# dd if=/dev/zero of=/mnt/sda1/swap.page bs=1M count=256 dd: can't open '/mnt/sda1/swap.page': Read-only file system
Any ideas?
Thank you for your help.
-
RE: Problem mounting USB storage Omega2+
@crispyoz Thank you for your prompt reply and your help. At the end it was a problem of the customized PCB, it wasn't well rooted.
-
Problem mounting USB storage Omega2+
Hi everyone!
I'm trying to use USB storage, so I plug in de USB device and according to the documentation it should be automatically mounted and located in /mnt/ by default, but I can't see the USB storage there (sda1)
root@Omega-6E16:~# ls /mnt/ mtdblock7
I couldn't find it in /dev :
root@Omega-6E16:~# ls /dev/ autofs ppp tty40 bus ptmx tty41 console pts tty42 cpu_dma_latency random tty43 full shm tty44 gpiochip0 snd tty45 gpiochip1 spidev0.1 tty46 gpiochip2 tty tty47 i2c-0 tty0 tty48 kmem tty1 tty49 kmsg tty10 tty5 ledchain2 tty11 tty50 log tty12 tty51 mem tty13 tty52 memory_bandwidth tty14 tty53 mtd0 tty15 tty54 mtd0ro tty16 tty55 mtd1 tty17 tty56 mtd1ro tty18 tty57 mtd2 tty19 tty58 mtd2ro tty2 tty59 mtd3 tty20 tty6 mtd3ro tty21 tty60 mtd4 tty22 tty61 mtd4ro tty23 tty62 mtd5 tty24 tty63 mtd5ro tty25 tty7 mtd6 tty26 tty8 mtd6ro tty27 tty9 mtd7 tty28 ttyS0 mtd7ro tty29 ttyS1 mtdblock0 tty3 ttyS2 mtdblock1 tty30 uinput mtdblock2 tty31 urandom mtdblock3 tty32 vcs mtdblock4 tty33 vcs1 mtdblock5 tty34 vcsa mtdblock6 tty35 vcsa1 mtdblock7 tty36 watchdog network_latency tty37 watchdog0 network_throughput tty38 zero null tty39 port tty4
The mounting configuration seems to be fine:
root@Omega-6E16:~# vi /etc/config/fstab config global option anon_swap '0' option auto_swap '1' option auto_mount '1' option delay_root '5' option check_fs '0' option anon_mount '1'
Can you help me, please?
-
RE: Trying to install pc-ble-driver-py library
@crispyoz I already did it but didn't work, got the same message
-
Trying to install pc-ble-driver-py library
Hi all, I'm trying to install the pc-ble-driver-py library on my Onion Omega 2+
I have already installed full version of python3 and pip3.When I runned "pip install pc-ble-driver-py" I got this:
root@Omega-6E16:~# pip3 install pc-ble-driver-py Collecting pc-ble-driver-py Downloading https://files.pythonhosted.org/packages/38/6f/0bd202ea117a2c944234 992f4d9f8c8b68964470dacc34164f20111712a9/pc_ble_driver_py-0.11.4.tar.gz (8.0MB) 100% |████████████████████████████████| 8.0MB 262kB/s Collecting wrapt (from pc-ble-driver-py) Downloading https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4c f0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz Collecting future (from pc-ble-driver-py) Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58 b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB) 100% |████████████████████████████████| 829kB 434kB/s Error [Errno 12] Out of memory while executing command python setup.py egg_info Could not install packages due to an EnvironmentError: [Errno 12] Out of memory
I checked the memory and it should have enough:
root@Omega-6E16:~# free -m total used free shared buffers cached Mem: 124808 42284 82524 9084 1192 18852 -/+ buffers/cache: 22240 102568 Swap: 0 0 0
I have tried to download the .tar.gz and install it maually by typing "python3 setup.py build ":
root@Omega-6E16:~# cd pc-ble-driver-py-0.15.0/ root@Omega-6E16:~/pc-ble-driver-py-0.15.0# ls CMakeLists.txt azure-pipelines.yml swig LICENSE pc_ble_driver_py tests MANIFEST.in pyproject.toml tox.ini README.md requirements-dev.txt README.rst setup.py root@Omega-6E16:~/pc-ble-driver-py-0.15.0# python3 s setup.py swig/ root@Omega-6E16:~/pc-ble-driver-py-0.15.0# python3 setup.py build Traceback (most recent call last): File "setup.py", line 42, in <module> from skbuild import setup ModuleNotFoundError: No module named 'skbuild'
I installed the module
root@Omega-6E16:~/pc-ble-driver-py-0.15.0# pip3 install scikit-build
And I tried again with "python3 setup.py build " and this is what I got:
root@Omega-6E16:~/pc-ble-driver-py-0.15.0# python3 setup.py build Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/skbuild/setuptools_wrap.py", line 560, in setup cmkr = cmaker.CMaker(cmake_executable) File "/usr/lib/python3.6/site-packages/skbuild/cmaker.py", line 95, in __init_ _ self.cmake_version = get_cmake_version(self.cmake_executable) File "/usr/lib/python3.6/site-packages/skbuild/cmaker.py", line 82, in get_cma ke_version "Problem with the CMake installation, aborting build. CMake executable is %s " % cmake_executable) Problem with the CMake installation, aborting build. CMake executable is cmake
So then when I tried to install cmake this error showed up:
root@Omega-6E16:~/pc-ble-driver-py-0.15.0# pip3 install cmake Collecting cmake Downloading https://files.pythonhosted.org/packages/0a/37/2ff538a860a694780e1f2150e0616f7202c15a5dde0833ee09050002c091/cmake-3.20.2.tar.gz Installing build dependencies ... done Building wheels for collected packages: cmake Running setup.py bdist_wheel for cmake ... error Failed building wheel for cmake Running setup.py clean for cmake Failed to build cmake Installing collected packages: cmake Running setup.py install for cmake ... error Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-sv4qux6c/cmake/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-x0nmuya1/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-sv4qux6c/cmake/
Any suggestions about installing it with pip or manually?