I've worked with some of this stuff before:
Check /sys/kernel/debug/clk/clk_summary (you need debugfs mounter) and cross-reference the TRM. Perhaps you can move some more peripherals to the same clock. Unused clocks are usually disabled by Linux automatically. Maybe use a slower clock+PLL if...
The OMAP4 introduce some kind of HW spinlock device for synchronization between processors, bit I haven't looked into it much. This article seem to indicate that the I2C driver is already using this synchronization: https://lwn.net/Articles/425638/
It actually runs the Void taskFxn() "task" when BIOS_start is called. I'm sure there are ways to run more than 1 task. The example project I pushed to GitHub was created from their "Minimal" example, while their "Typical" example creates tasks dynamically with Task_create(). At least, that's...
The festival was okay. Not really my type of music for the most part, but some cool presentations, art installations, and shops with re-cycled, re-used, and innovative stuff!
Pouring rain for a few hours the first day, but otherwise sunny as hell. I'm shedding skin this week...
LOTS of cool...
This is my main.c code, with some include statements and comments removed for brevity:
Void taskFxn(UArg a0, UArg a1)
{
System_printf("enter taskFxn()\n");
Task_sleep(10);
System_printf("Hello world!\n");
System_printf("exit taskFxn()\n");
}
Int main()
{...
When you go to a festival with 100k visitors, it's not surprising if you manage to catch a cold from someone... again! :oops: I'm much better now :)
I had some time and energy to work on this project today. I took the time to look at the memory map of my test application and verify that it...
I've been super busy this week and tomorrow I'm leaving for a week long music festival (Roskilde, Denmark), so don't expect much updates here for a while :)
Hmm... I can't believe this might have worked :eek:
I went through every release of xdctools until I found a version that didn't have the version check I mentioned in my previous post. I ended up with xdctools-3.32.1.22. This version didn't play nice with the SYS/BIOS version I had (6.83.0.18)...
A small update:
I don't know what I did, but SYS/BIOS started showing up in CCS and I was able to compile a "typical example" (CCS wording) project. Project configuration is very different for this kind of project and the linker script is automatically generated during build. If I tried to...
Okay, got some progress on this. Well, maybe not so much progress, but I got something.
At first, I tried installing Code Composer Studio (CCS) version 6.2, since most forum posts and references I could find mentioned the 6.x version when talking about OMAP4/5. Unfortunately, it didn't install...
An OMAP5432, the CPU in the Pyra, devboard :)
Main thread here: https://pyra-handheld.com/boards/threads/couldnt-wait-for-my-pyra-so-i-bought-a-omap5432-devboard.99724/
I've come down with a cold the past couple of days so progress has been slow. I also got sidetracked getting OpenGLES support working. I'm currently using Buildroot to get me a working u-boot and kernel (5.12, I believe), but the SGX drivers fail to compile. I might give up on the OpenGLES...
Okay, looks like Buildroot was able to get me a booted system that turns on the HDMI output and activate the ethernet port. The most interesting part was this from the boot log:
[ 3.702099] omap-rproc 44000000.ocp:dsp: assigned reserved memory node dsp-memory@95000000
[ 3.710760]...
This post proved golden: https://pyra-handheld.com/boards/threads/full-omap5-documentation.75082/post-1424548
I was able to get my hands on the OMAP543x Technical Reference Manual using a direct link from that post. Looks like TI has pulled most info on the OMAP5432 from their site. I did find...
I wanted to experiment with the Cortex-M4 co-processor of the Pyra to see if I could make it measure the volume wheel and issue an interrupt to the main CPU if the value changed. I think this could help reduce the power consumption of the Pyra by not forcing the main CPU to wake up every X ms...
It sounds really, really tempting :)unfortunately I don't have any Pyra hardware, free time, or even a working laptop at the moment :( I managed to brick my BIOS earlier this week and fixing that is currently my top priority.
Do we know if this bug exist on any other hardware? Like a raspberry...
Looks like what I'm looking for is sort of already available in the kernel iio subsystem. Unfortunately, libiio doesn't support iio events yet:
https://github.com/analogdevicesinc/libiio/issues/236
I was thinking at a fixed rate of a few times/second (configurable i sysfs), either using some hardware timer or a regular kernel timer. At regular intervals, schedule an ADC read and wait for the interrupt. At least I got the impression from @ouzle that's how the driver does it
Once a reading...
Wouldn't it be better to have a kernel module do the volume wheel polling (and possibly filtering) and then make sure to properly implement the poll API? Userspace would only be woken up when the value from the ADC has changed.
This would potentially save on battery since there is less code that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.