April 23, 2021, 09:08:05 pm

Recent posts

Pages1 2 3 ... 10
1
A64 / Re: The A64-Olinuxino freezing
Last post by LubOlimex - Today at 01:53:39 pm
Usually configuration is set the first boot. If first boot is ok and it doesn't start on second boot, then wrong configuration was loaded for the board.

There are several reasons for why that might happen and several ways to fix it. Do you have access to USB-serial cable?
2
A64 / [A64] LVDS display
Last post by lilianEver - April 22, 2021, 04:48:03 pm
Hello,

I want to add LVDS display to my olimex board.
I will deactivate the ethernet component with the hardware jumper. (ref: topic)


The display i want to use: display


I have take a look here :
- http://linux-sunxi.org/Linux_mainlining_effort
- Overlay from other board : lcd-olinuxino-15.6.dts


What i need to do to make my display work using LVDS on my olimex board ?
I need to adapt a dts file ?
Enable specific module in the kernel ?

3
A64 / Re: MCP2515 on SPI0 UEXT
Last post by JohnS - April 21, 2021, 09:00:40 pm
Good find! And excellent :)

John
4
A64 / Re: MCP2515 on SPI0 UEXT
Last post by lilianEver - April 21, 2021, 06:46:10 pm
Hello, after some search i found more overlays here.

i have deduce how set interrupts:
- Interrupts = <7 9 2>; /* PH9 IRQ_TYPE_EDGE_FALLING */
- Interrupts = <0 10 2>; /* PA10 IRQ_TYPE_EDGE_FALLING */

I use PB0 pin so i set this one:

interrupts = <1 0 2>; /* PB0 */

I tested it on Armbian (kernel 5.10). The new problem was the impossibility to up the CAN bus. IT was freezing when you do "ip link set can0 up"
The last problem was interrupt type:

1 = low-to-high edge triggered.
2 = high-to-low edge triggered.
4 = active high level-sensitive.
8 = active low level-sensitive.

We need set to "8" the interrupt type:

interrupts = <1 0 8>; /* PB0 */

That it. the can0 bus seem to work now.

5
A64 / Re: Splash Screens on the A64....
Last post by afancher - April 21, 2021, 03:03:56 am
hmmmm...perhaps a tweak that could be made to the next release Lub might be able to put in the developer's ears about? ;)
6
A20 / Re: AXP209 battery monitor off...
Last post by vazhnov - April 21, 2021, 01:05:07 am
Good, as I see Armbian already uses it in /etc/update-motd.d/30-armbian-sysinfo:

function batteryinfo() {
# Battery info for Allwinner
mainline_dir="/sys/power/axp_pmu"
legacy_dir="/sys/class/power_supply"
...

lime2:~:% bash /etc/update-motd.d/30-armbian-sysinfo
System load:   7%            Up time:       1:23
Memory usage:  6% of 998M    IP:            192.168.1.182
CPU temp:      39°C            Usage of /:    4% of 30G    Battery:       92% discharging
7
A20 / Re: Boot image from SPI-flash ...
Last post by iggor96 - April 20, 2021, 11:09:38 pm
Today I tried command sf probe and get:
"Invalid bus 0(err=-19)
Failed to initialize SPI flash at 0:0(error=-19)".
8
A64 / Re: The A64-Olinuxino freezing
Last post by c0ffymachyne - April 20, 2021, 11:07:50 pm
With Official Buster or Focal image the board boots up only until first power down. After power cycling the system does not start anymore. Tested both cases again.

The Official Bionic (from official FTP) is the only image that does boot up after powering cycling.

The SD Card: SanDisk 64GB Ultra microSDXC UHS-I

What may be a reason for such behavior ?
9
A64 / Re: The A64-Olinuxino freezing
Last post by c0ffymachyne - April 20, 2021, 07:05:26 pm
I managed to resize main partition to install extra packages and it works great until I power down. After powering it down the system no longer boots. This happens with focal and buster. Any idea what to do ?
10
A64 / Re: The A64-Olinuxino freezing
Last post by c0ffymachyne - April 20, 2021, 08:08:31 am
I found out what it is. It's running our of ram !
Pages1 2 3 ... 10