Welcome, Guest

Recent Posts

Pages: [1] 2 3 ... 10
1
A64 / Re: A64 Wiki page missing
« Last post by JC on August 14, 2018, 08:45:02 PM »
Oh, I understand they are on holiday. No rush. I also have no trouble finding the latest Ubuntu image for the board. I actually seed all Olimex torrents 24/7 on my server. However, it's just not good marketing to have a blank wiki for a product or links to supplemental references to support customers. For example, alternative images are critical for many people. If any working alternative images are available, it would be in the product's best interest to have them placed there - even if they're dated. On another note, I'm working on Armbian support for this board and will let you guys know once I have a nice stable build.
2
A20 / Re: AXP209 shutting down
« Last post by lase on August 11, 2018, 08:12:25 PM »
Hi, I had the same problem.

The reason was that I didn't use LDO2, LDO3, LDO4 so I didn't connect anything to LDO24IN and LDO3IN (these are all three enabled by default). After connecting these to IPSOUT it started working for me. I think AXP209 monitors the output of those LDOs and shuts down when it notices its voltage is not as configured.

Hope this helps someone!
3
A64 / Re: A64 Wiki page missing
« Last post by JohnS on August 11, 2018, 09:34:06 AM »
All over their site I see they're on summer holiday so be patient and/or mail them.

BTW a torrent link is on the product page.

John
4
A64 / Re: A64 Wiki page missing
« Last post by JC on August 10, 2018, 07:39:45 PM »
Is this not coming back??
5
RT5350F / Re: adding spi device
« Last post by vinczo on August 08, 2018, 05:28:39 PM »
Trying to expose the problem in a clearer manner and presenting the progress...

The context
We have a working board which has 2 spi devices : a flash memory & an eeprom that contains a MAC address. We need to add 2 more spi devices containing two other MAC addresses.

These two SPI devices have their CS in the JTAG group.

The issue
AFAIK since the JTAG group doesn't support ralink,function="spi", I can't use the same driver as for the first MAC addr ( compatible="at25" ), right ?

The incomplete solution?
The only solution that I have would be to use spidev ? How ?
I tried something but I don't know if it worked : I managed to declare them as spidev but I don't know how to extract the MAC addr from /dev/spidevxxx.
If I try to hexdump /dev/spidevxxx, this is what I get :

Code: [Select]
root@OpenWrt:~# ls /sys/bus/spi/devices/spi32766.2/
driver/     modalias    spidev/     subsystem/  uevent
root@OpenWrt:~# ls /sys/bus/spi/devices/spi32766.2/spidev/spidev32766.2/
dev         device/     subsystem/  uevent
root@OpenWrt:~# cat /sys/bus/spi/devices/spi32766.2/spidev/spidev32766.2/dev
153:1
root@OpenWrt:~# hexdump /dev/spidev32766.2
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
^C

Thank you in advance for your help.

Vince
6
A20 / Re: Getting i2c to work under Linux olimex 4.15.0-sunxi system
« Last post by igorpec on August 08, 2018, 12:36:23 PM »
Sounds like it's armbian in which case ask in an armbian place.

John

It doesn't look official Armbian. The latest stable build is 4.14.y There is no overlay support for more recent and it is normal that it doesn't work ... this will be fixed (it is already) in next stable build, which will be 4.18.y
7
RT5350F / adding spi device
« Last post by vinczo on August 06, 2018, 07:40:55 PM »
Hi,

I already have two spi devices used (m25p80@0 and mac@1) and I'm trying to add two more spi devices (mac@2 and mac@3) to the dts.

So I modified the code as follows :
Code: [Select]

        palmbus@10000000 {
                spi@b00 {
                        // I comment these two lines
                        //pinctrl-names = "default";
            //pinctrl-0 = <&spi_pins &spi_cs1>;

                        // I specify the GPIO used as CS for the four devices
                        // two of them belong to the spi group and the two others to the jtag group
            #address-cells = <2>;
                        #size-cells = <0>;
                        cs-gpios = <&gpio0 3 1>, <&gpio1 5 1>, <&gpio0 19 1>, <&gpio0 21 1>;

                        status = "okay";

                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                compatible = "s25fl064k";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "s25fl064k";
                                spi-max-frequency = <10000000>;

                                partition@0 {
                                        label = "u-boot";
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };

                                partition@30000 {
                                        label = "u-boot-env";
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };

                                factory: partition@40000 {
                                        label = "factory";
                                        reg = <0x40000 0x10000>;
                                        read-only;
                                };

                                partition@50000 {
                                        label = "firmware";
                                        reg = <0x50000 0x7b0000>;
                                };
                        };
                       
                        mac@1 {
                            status = "okay";
                            compatible = "at25";
                            spi-max-frequency = <1000000>;
                            reg = <1>;

                            at25,byte-len = <0x100>;
                            at25,addr-mode = <1>;
                            at25,page-size = <16>;
                        };

                        mac@2 {
                            status = "okay";
                            compatible = "at25";
                            spi-max-frequency = <1000000>;
                            reg = <2>;

                            at25,byte-len = <0x100>;
                            at25,addr-mode = <1>;
                            at25,page-size = <16>;
                        };

                        mac@3 {
                            status = "okay";
                            compatible = "at25";
                            spi-max-frequency = <1000000>;
                            reg = <3>;

                            at25,byte-len = <0x100>;
                            at25,addr-mode = <1>;
                            at25,page-size = <16>;
                        };
                };
                [...];
        };

I can see all four spi devices declared :
Code: [Select]
root@OpenWrt:~# ls /sys/bus/spi/devices/spi32766.
spi32766.0/  spi32766.1/  spi32766.2/  spi32766.3/

However, only the spi devices with CS from the spi group have data. The two others from the jtag group have no data to be read.

Does anyone have an idea, an advice ?
That would be much appreciated.

If impossible through dts, how can I do that ? spidev ? How ?

Thank you.

Vince
8
A20 / Unable to Boot A20-Olinuxino-Micro
« Last post by bpir1 on August 06, 2018, 02:59:43 PM »
Hi all,

I have a A20-Olinuxino-Micro-n8GB. I have installed debian A20_OLinuxino_Micro_debian_Jessie_34_103_2G_NAND_release_15 image. It was working properly, but suddenly Olimex device stopped booting. When I checked with Serial UART Debugging, I am getting following error on serial console.

[    6.803565] [<c000fbc4>] (cpu_idle+0xe4/0x118) from [<4056a0b4>] (0x4056a0b4)
<6>[hotplug]: cpu(0) try to kill cpu(1)
[    6.814257] [hotplug]: cpu(0) try to kill cpu(1)
<3>[hotplug]: try to kill cpu:1 failed!
[    7.822294] [hotplug]: try to kill cpu:1 failed!


I am attaching full log here. Please help me why this error has occured and how to deal with this?

Thanks
9
ESP32 / ESP32-Pro Arduino IDE Board and Library Definition Files
« Last post by StuartRothrock on August 04, 2018, 08:08:23 PM »
I am having problems finding the Arduino IDE Board and Library Definition Files for the Olimex ESP32-Pro. Since is has nice, new features, I am unable to find anything close to use as a template. Any help?
10
TERES DIY Laptop / Re: phantom keys
« Last post by khumarahn on July 31, 2018, 01:11:16 PM »
I'd be happy to send you the malfunctioning keyboard, but it isn't realistically possible. I used an electric heater to melt the glue and free the battery. That worked well, except that I underestimated the heat and melted some keys. Frustrated, I trashed the old keyboard. And a few hours ago a garbage truck took it away (this happens once in two weeks).

I guess, if someone else has such a problem, you can ask them for the keyboard. And if it does not happen again, it is only better.

:-)
Pages: [1] 2 3 ... 10