September 25, 2021, 02:46:49 am

Recent posts

Pages 1 ... 8 9 10
91
A64 / Re: Permission Error 13 in pyt...
Last post by Nitish - August 24, 2021, 09:49:59 am
from pyA64.gpio import gpio
from pyA64.gpio import port
from pyA64.gpio import connector

#pin = port.PE15


pin = (5-1)*32+15

gpio.init()

gpio.setcfg(pin, gpio.OUTPUT)
gpio.output(pin, 1)



this is the code.
gpio143 already exported and its shows in list.

ERROR : gpio.init()
        PermissionError: [Error 13] Permission denied

Even other pins I've tried but same error occurs.

Do i need to do anything else for this error?
92
A13 / Re: Can't boot without the WIF...
Last post by LubOlimex - August 24, 2021, 08:31:12 am
Did you use sunxi or mainline u-boot? This is the difference between compilation for different RAM chips. Check again the instructions here:

https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A13/A13-build
93
A64 / Re: Permission Error 13 in pyt...
Last post by LubOlimex - August 24, 2021, 08:20:55 am
Did you export the GPIO you are testing with? Did you try with other GPIOs?
94
A64 / Re: How to install bootable ke...
Last post by kjwiik - August 23, 2021, 03:28:16 pm
Sorry to revive an old thread but the subject fits to my problem exactly.

I compiled a kernel with make bindeb-pkg according to previous message to add some IIO synth drivers, but it does not boot. There seems to be a loop that flashes eth led periodically. Is the default branch in linux-olimex the correct one (release-20210821-v5.10.60)? The board is a20 olinuxino micro.

Thanks,
Kaj
95
A64 / Re: Permission Error 13 in pyt...
Last post by Nitish - August 23, 2021, 11:45:01 am
I've already read it and it works with sysfs but when i write a python code with pyA64 library it gives permission error.
followed all directions to install python too but didn work for me.
error persist.
96
A64 / Re: Permission Error 13 in pyt...
Last post by LubOlimex - August 23, 2021, 10:28:46 am
97
A20 / Re: How to Read and Write A20...
Last post by LubOlimex - August 23, 2021, 10:27:44 am
try hwclock
98
A64 / Support status in Debian 11 (b...
Last post by kuleszdl - August 21, 2021, 07:52:05 pm
Hi,

I installed official Debian bullseye with sysvinit (not from the Olimex image) on one of my A64-oLinuXino boards today. I am happy to report that - unlike with earlier versions - the OS seems to work reliable without the need to manually replace DTB files. Two issues still persist:

- Entering the the disk encryption password via serial does not work (workaround: use a usb keyboard or enter it over the network via dropbear).
- Power consumption in idle remains high (2W in idle with network attached).
- Several errors are reported on bootup in dmesg (e.g. "sun50i-a64-pinctrl 1c20800.pinctrl: Couldn't get bank PH regulator")

I didn't try the new SCP (crust?) firmware to reduce power usage yet. Anyways, the system is finally not freezing anymore when using only software from the official Debian distribution which is great step forward!
99
A20 / How to Read and Write A20 Inb...
Last post by Tejas - August 21, 2021, 06:20:40 pm
Want to know the ubuntu commands which will read, write or set the OLIMEX LIME-2 inbuilt RTC time.
100
A64 / Permission Error 13 in python ...
Last post by Nitish - August 21, 2021, 07:24:54 am
using pyA64 library for development but getting permission error on gpio.init() function.
don't understand how to solve this.
BTW i'm new to linux development.
please help!
thanks in advance.
Pages 1 ... 8 9 10