Search the Community
Showing results for tags 'olimex'.
-
Hello, I'm trying to writing a patch for /gpu/drm/panel/panel-simple.c in order to make my 3.5" ampire works with my Olimex's A13 som board. I've correctly set display frequencies and parameters, and the image is displayed correctly... ...except for some random pixel wich sometimes changes color. I dig out with my oscilloscope and find that RGB data changes on clock's rising edge. Display's datasheet request data to be changed on falling edge insted. So, I've tryied to set the property, but nothing changed: data still changes on rising edge. Here's the core of my patch: diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c +static const struct display_timing ampire_am320240l9tnqw_00h_timing = { + .pixelclock = { 6500000, 6500000, 6500000 }, + .hactive = { 320, 320, 320 }, + .hfront_porch = { 20, 20, 20 }, + .hback_porch = { 68, 68, 68 }, + .hsync_len = { 10, 10, 10 }, + .vactive = { 240, 240, 240 }, + .vfront_porch = { 4, 4, 4 }, + .vback_porch = { 18, 18, 18 }, + .vsync_len = { 1, 1, 1 }, + .flags = DISPLAY_FLAGS_PIXDATA_NEGEDGE, +}; + +static const struct panel_desc ampire_am320240l9tnqw_00h = { + .timings = &ire_am320240l9tnqw_00h_timing, + .num_timings = 1, + .size = { + .width = 70, + .height = 53, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags = DRM_BUS_FLAG_PIXDATA_NEGEDGE, +}; + I've tryied many combination of flags, but nothing changes. I've tryied changing other parameters (like porches) and I can see the changes, so I know that driver loads this timings. Can someone please help me find out what I'm doing wrong? ### armbian-release: # PLEASE DO NOT EDIT THIS FILE BOARD=olimex-som-a13 BOARD_NAME="SOM-A13" BOARDFAMILY=sun5i BUILD_REPOSITORY_URL=https://github.com/olimex/build BUILD_REPOSITORY_COMMIT=65b71245 VERSION=5.92 LINUXFAMILY=sunxi BRANCH=next ARCH=arm IMAGE_TYPE=user-built BOARD_TYPE=csc INITRD_ARCH=arm KERNEL_IMAGE_TYPE=zImage uname -r 5.0.21-sunxi P.s. I know this is not the last version, but is the only one that seem to work with olimex's patches.
-
Hello, I've recently build a custom image for Olimex's A13 SOM (details here) ### armbian-release: # PLEASE DO NOT EDIT THIS FILE BOARD=olimex-som-a13 BOARD_NAME="SOM-A13" BOARDFAMILY=sun5i BUILD_REPOSITORY_URL=https://github.com/olimex/build BUILD_REPOSITORY_COMMIT=65b71245 VERSION=5.92 LINUXFAMILY=sunxi BRANCH=next ARCH=arm IMAGE_TYPE=user-built BOARD_TYPE=csc INITRD_ARCH=arm KERNEL_IMAGE_TYPE=zImage uname -r 5.0.21-sunxi I am able to play audio via DAC output using alsa. What I've noticed is that when I play and audio file for the first time (in the last 5 seconds) it starts very quiet, than the volume increases to a normal loudness. If I play the same file again immediately after its end the volume is normal. After 5 seconds without playing anything I hear a "click" from the speaker and after that, if I play a file, it starts again very quiet. I tried with both mplayer and mpg123, so I think the problem is in alsa settings. I've searched about alsa standby, but I didn't find anything. Can someone help me? In the attachments my /var/lib/alsa/asound.state asound.state