July 12, 2020, 04:58:53 pm

Recent posts

Pages1 2 3 ... 10
ESP32 / Re: A fatal error occurred: Fa...
Last post by atlantisguru - Today at 02:39:39 pm
Changing the R24 to 10k and adding a 10uF(50V) capacitor to the ESP_EN/GND pins works a 100%.

(Changing the resistor itself didn't work.)

Thanks for the help!
A20 / Re: SATA power insufficient?
Last post by unicorn - July 11, 2020, 11:12:50 am
Thank you for your help!

I am going to buy a 5V 3A power supply and give it another go with an SSD and small HDD :)

Edit: It does indeed work with a 5V 3A power supply and a laptop HDD!
iMX233 / Re: oLinuxino MAXI mcp2515?
Last post by JohnS - July 10, 2020, 09:05:35 pm
Which dts are you using?

I doubt you have INT right, BTW.

A20 / Re: Update u-boot @ SD-card (D...
Last post by JimT - July 10, 2020, 04:51:17 pm
I spent some time on that, searching "the whole" internet:

Firstly get the newest u-boot.bin by compiling it, e.g.
Then get in u-boot prompt by serial console.

1. set usb-drive to current one: "usb dev 0" (or whatever usb device)
2. "mw.b 0x48000000 0x00 0x100000"
3. "ext2load usb 0 0x48000000 u-boot-sunxi-with-spl.bin"
3. "mmc erase 0x10 0x400"
4. "mmc write 0x48000000 0x10 0x400"

BUT, after a reboot Debian is not booting:

Boot message:
U-Boot SPL 2020.07 (Jul 10 2020 - 11:00:01 +0200)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1

and constantly repeating...

Has anybody ever upgraded u-boot and can me pleas explain how to do it or post some links to a tutorial on that?

A20 / Re: How to modify LCD clock fr...
Last post by LubOlimex - July 10, 2020, 03:12:44 pm
We've set those timings in the u-boot, you might need to rebuild the u-boot. Here:

A20 / Re: How to modify LCD clock fr...
Last post by Titomax - July 10, 2020, 12:27:41 pm
Hi LubOlimex,
we just tried to add the 7" display overlay without modifications only to see if the system accepts it. It doesn't work.

During boot the system shows:

Applying user provided DT overlay som204-lcd-olinuxino-7.dtbo
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
Error applying DT overlays, restoring original DT

Anyway in the file "som204-lcd-olinuxino-7.dts" there isn't any section regarding panel specifications. I found it only in the 15.6" LVDS display file "som204-lcd-olinuxino-15.6.dts".

See below:

panel-timing {
clock-frequency = <70000000>;
hactive = <1366>;
hsync-len = <0>;
hfront-porch = <20>;
hback-porch = <54>;
vactive = <768>;
vsync-len = <0>;
vfront-porch = <17>;
vback-porch = <23>;

Any ideas about how to go forward ?
A20 / Re: SATA power insufficient?
Last post by LubOlimex - July 10, 2020, 11:31:28 am
Yes, they require both 12V and 5V - regular PCs provide both! That is not the case with LIME2 and the SATA set - they have only 5V supply available. Most SSDs require only 5V too but you should read the specification of each unit to be certain.
A20 / How to modify LCD clock freque...
Last post by Titomax - July 10, 2020, 11:17:52 am
we are working on a project based on A20-SOM204 board and Mainline kernel 5.x.
We need to modify the LCD clock frequency (DCLK) because of EMC issues on our 7" 800x480 touchscreen display.
Using legacy kernel (3.x) we were able to set display clock frequency simply modifying the "lcd_dclk_freq = 33" parameter in the "[lcd0_para]" section of the ".fex" file.

At this stage, with new Mainline kernel, we use "olinuxino monitor set" command in the U-Boot shell to configure a general 7" LCD and doing that we note that specific setting for DCLK is fixed at 33.3 MHz (it's correct following display datasheet) but we would like to set a different clock value in a quick and easy way.

How can we see what the "olinuxino monitor set" does indeed ? Is available some source code of this utility ?

Can we operate in the device tree directly to set the same configuration as done by the utility ?

Is any overlay available to set LCD display specifications ?

Just as example in the following DT fragment coming from an iMX EVB you can see "clock-frequency = <45000000>" parameter that is exaclty what we need...

&ldb {
    status = "okay";
    lvds-channel@0 {
        fsl,data-mapping = "spwg";
        fsl,data-width = <18>;
        display-timings {
            native-mode = <&timing0>;
            timing0: hsd101pfw2 {
                clock-frequency = <45000000>;
                hactive = <1024>;
                vactive = <600>;
                hfront-porch = <0>;
                hback-porch = <0>;
                hsync-len = <176>;
                vback-porch = <0>;
                vfront-porch = <0>;
                vsync-len = <25>;

A20 / Re: SATA power insufficient?
Last post by unicorn - July 10, 2020, 10:58:50 am
Quote from: LubOlimex on July 10, 2020, 10:52:56 amAlso I don't think WD Green 1TB and WD Red 3TB would work at 5V only. I believe these are regular HDDs that require both 12V and 5V. These would probably never work when powered only by LIME2 and the cable set (you would probably need to find source of 12V to get those working with the board). I might be wrong, but I can be 100% precise if you post or link few pictures of the WD hard disks.

Oh then I misinterpreted the text, I thought it was 5V OR 12V, not both 😅
They do indeed say 5VDC:0.70A and 12VDC:0.55A for the WD Green and a bit lower for the Red. So I can only stick to SSD or laptop HDD I assume then (if I dont have extra 12V power), since those two only list 5V.
Pages1 2 3 ... 10