Activity
From 02/23/2020 to 03/23/2020
03/23/2020
- MW 11:23 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- Hello Dan/VJ,
Have you guys seen this stack overflow post about tracking socket buffers /
memory moving through the network stacks?
https://unix.stackexchange.com/questions/419518/how-to-tell-how-much-memory-tcp-buffers-are-actually-us... - VJ 10:56 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- Hi Dan.
I have monitored the memory use over the weekend. See attached plot where "free" is logged every 10 minutes.
Test steps:
1: Booting the board. Ethernet cables are connected to Eth0 and Eth1, but no dedicated traffic or connec...
03/19/2020
- EH 07:58 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- I found an interesting reference to a presentation here:
https://www.globallogic.com/wp-content/uploads/2016/10/Combination-of-OpenCL-and-Video-Processing-Design-in-SoC_.pdf
It shows using both together, even multiple kernels. Unfort... - MW 07:51 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- You can, but you have to implement all of that stuff as part of the "BSP" if you don't want to implement it all in OpenCL (which, for the RAW LVDS inputs, is not possible I don't think).
I have only played around a little with that, a... - EH 06:04 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- There is one key part that I'm not able to wrap my head around just yet. If you have some knowledge here, it would help greatly.
What I know is that I can write an OpenCL kernel that performs some work. I can write a host program with... - VJ 03:54 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- Hi Dan
Yes, 2 and 3b are the same.
I have done some more monitoring where Eth0 is connected but not used and Eth1 is pinged every sec.
Next eth0 and eth1 are taken down after 11h 30m: - DV 01:42 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- Hi VJ
Those are definitely interesting findings leads me to believe like yourself some part of the ethernet subsystem is causing it. Would you say your test for 3b and 2 are the same? If not what are the differences?
I switched to ... - JC 03:37 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- The config7 register appears to be getting set in arch/arm/mach-omap2/mem-common.c
- SW 06:18 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Sure, we will print CONTROL_MODULE_REGISTERS and update you on the same.
We want to update the source code and make GPMC registers same as old u-boot.
Towards this can you please let us know:
Where (filename/function/line) do I ch...
03/18/2020
- EH 04:31 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- I was just looking through the code on that. I've already cloned the git repo.
I'll use that as a starting point. It won't have any of the code related to the VDK, i.e. the Basler LVDS input logic, and the image processing flow that ... - MW 04:27 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Hi Ed:
Have you looked at our OpenCL BSP reference kit for our MitySOM-5CSX DevKit?
https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/MitySOM-5CSX_DevKit_OpenCL_BSP
It's a little old, but you could probably adapt/use... - EH 04:20 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Michael -- I am currently pursuing the OpenCL approach. It seems the most viable.
We are looking at OpenCL implementations of darknet, so my goal will be to see if/how much of a darknet implementation I could get working on the Cyclon...
03/16/2020
- EH 06:31 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- I wanted to add this link:
https://software.intel.com/en-us/articles/pipecnn-on-intel-fpga-acceleration-of-machine-learning-workloads
It does not sound like PipeCNN is "fast", but it does appear to meet the spirit of what I am atte... - MW 05:09 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- I will need to check. I don't think I have one that put aside resources
for the current camera pipeline.
-Mike
On Mon, Mar 16, 2020 at 1:01 PM <redmine@criticallink.com> wrote: - EH 05:01 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- No, I had not looked at that.
I'll take a look at that as well.
Do you have a BSP for the VDK? Or, that start of one? - MW 04:59 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Have you looked into HLS instead of OpenCL? If you are familiar with FPGA
/ Intel / Altara Platform Designer, the HLS converts c++ to VHDL that fits
into that framework fairly easily (compared to making a OpenCL design).
To do OpenCL, ... - EH 04:48 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Thank you for the advice Greg.
A hybrid approach does seem to be the best way to approach this, as you describe, a combination of Tensorflow lite and some custom FPGA fabric.
My first goal is to get some OpenCl logic working on my... - JC 03:58 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Note the pinmux tables can be read from memory.
See "Table 9-10: CONTROL_MODULE REGISTERS" https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Software_FAQs#Useful-memory-locations
Pinmux start address: 0x44E1_0800 - SW 03:35 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Hi,
Thank you for your input.
Tried with below command, still same problem.
mw.w 0x50000078 48
As mentioned earlier, we have u-boot 2013.10 with less amplitude.
To make sure pinmux is okay, copied mux.c from board/cl/mityar... - JC 02:09 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- > md.b 0x50000070 10
> ...
I would stick with using md.w and mw.w since all the registers are 32bit. It may or may not be okay to write the registers one byte at a time but I wouldn't trust it.
Try running @mw.w 0x50000078 48@ and s... - VJ 01:15 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- Hi Dan
Thanks for looking into this.
I have run some test during the weekend, and the results are a bit inconclusive. However, it seems that Ethernet has some impact:
Tests where "free" output is logged:
1: No Ethernet cables connect...
03/15/2020
- GG 10:23 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Hi Ed,
I understand that Tensorflow Lite being CPU only in this instance seems like it is a deal breaker for you. However, please realize that Tensorflow Lite is a portion of Tensorflow that is focused on inferencing on embedded devi... - EH 08:14 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Unfortunately, running tensorflow lite on the ARM core would not meet the goals of the project.
Also, if I recall correctly, Tensorflow is used to train a model. What I am interested in is a way to execute a pre-trained model on the F...
03/14/2020
- SW 11:52 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Sorry for typo error:
I was able to manual write it to GPMC *without* any error.
Regards
Srinivasa - SW 08:47 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Hi,
I tried to change GPMC_CONFIG7_0 to 0x48 from 0xf48 as below. I was able to manual write it to GPMC with any error.
md.b 0x50000070 10
mw.b 0x50000078 48
mw.b 0x50000079 00
But after executing below read command, boar...
03/12/2020
- DV 12:20 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- I enabled CONFIG_DEBUG_KMEMLEAK in the 4.9 kernel, which is supposed to report any kernel memory leaks it finds. I ran it all night and it didn't report any. I am seeing about a 1MB leak an hour through free though.
This leads me to b...
03/11/2020
- GG 10:02 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Hi Ed,
Regarding an Arria10 "VDK"or equivalent, the MityCAM-C50000 is an evaluation platform for the CMV50000 CMOS image sensor from ams / CMOSIS. We also have evaluations platforms for some Canon sensors that can be found on https:/... - EH 06:13 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- Answering my own question -- it looks like this: https://www.criticallink.com/product/mitycam-c50000/
But, I'd still like to know what is possible with the Cyclone V VDK - EH 06:04 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
- You don't by chance have an Arria10 "VDK" or equivalent? What would be the most equivalent solution you have?
- Do you have any information about using the Intel OpenVINO with the VDK?
I know that OpenVINO works with Aria10 devices, but I'm not sure if it is possible to target a Cyclone V -- even as a prototype, reduced complexity board.
I'm... - JC 01:41 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- You can use md to read memory locations and mw to write them. https://www.denx.de/wiki/publish/DULG/to-delete/UBootCmdGroupMemory.html
- SW 11:13 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Hi,
Manually means, do you want me to change GPMC_CONFIG7_0 at u-boot prompt?
Regards
Srinivasa - SW 10:45 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Hi,
With u-boot V2013 frequency of pulses @ ~3.571 MHz and amplitude ~150 mV.
With u-boot V2018 frequency of pulses @ ~3.571 KHz and amplitude ~ 3.2 V.
Please find images attached.
Regards
Srinivasa
- VJ 12:42 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- Hello Dan, thank you for your reply.
We have tested the original SD card where we replaced kernel 3.16 with 4.9.78-ltsi (non RT). We also needed to use a device tree from the rocko build to be able to boot properly.
The results ar...
03/10/2020
- EH 09:42 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
- h1. SUCCESS!
I was able to build, on my Ubuntu machine. I just need to add the --host, but the target did not seem to matter. Not sure I fully understand what the option was doing, but I'm able to build a modified demo_app which work... - EH 09:18 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
- Oh, I should mention -- I'm trying to build on an Ubuntu host, not on the VDK itself, and just realized that the instructions above are for compiling ON the board, so need to make some adjustments
- EH 09:16 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
- So far trying to follow instructions here:
https://support.criticallink.com/redmine/projects/5csx_vdk_basler/wiki/ARM_SW_Architecture_and_Demo_App
Result: - MW 09:02 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
- Can you send / post the compiler errors? Which header files are missing?
-Mike
- EH 09:01 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
- I have the dev environment setup as per your instructions.
I am familiar with building applications in general.
I'm having a hard time locating the include files I need to build the demo app though.
- MW 06:41 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
- Hi Ed,
Sorry about.... on a typical Ubuntu install, I think the only packages you need to install would be "build-essential". The SDK installation (self-extractor) will install a copy of all of the cross-compiler build tools at that ... - On this page: https://support.criticallink.com/redmine/projects/5csx_vdk_basler/wiki/Setting_Up_A_Build_Environment
There is a list of dependencies for linux installation. The wiki reads like this: - DV 08:54 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
- Hello VJ,
We are not aware of memory leaks on the rocko or the 4.9 kernel. Did you by chance run the original distribution while using the 4.9 kernel (so older filesystem with newer kernel)?
I have a test running on my bench to rec... - A lot of this information is quite out of date... I'm really shooting in the dark wondering if I can get this to work.
My goal is to:
- build some custom FPGA code, using a combination of Verilog/VHDL and OpenCL
- Integrate this int...
03/09/2020
- JC 03:02 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- If you manually set GPMC_CONFIG7_0 back to 48, does the activity on GPIO 0_27 stop?
- BD 02:27 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Srinivasa,
We have not seen this before and I am reviewing your comments and logs.
Diff of GPMC registers - SW 01:23 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Hi,
I have dumped the values of GPMC registers for u-boot V2013.10 and V2018 at u-boot prompt. Please find the files attached.
I am little confused with V2018:
GPMC_CONFIG7_0 = f48, which indicates it’s 16 MB flash but N... - Hi
I have built the Rocko version with 4.9.76-rt61-ltsi RT-kernel and with a custom FPGA and device tree. We use two Ethernet ports.
Running "free" shows that memory used is increasing with approximately 2.4 MB each hour. I.e. it s...
03/06/2020
- SW 12:08 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
- Hi,
Test case 1:
Tested on u-boot Version 2013.10 from mitysom (u-boot-mityarm-335x-6c6a700.tar.gz).
Probed GPIO 0_27 while running below command:
nand read.i 0x83000000 0x280000 0x500000
There is some activity on GPIO 0_27 as... - Hi,
We have mitySOM board in our product and we are using u-boot-mityarm-335x.tar.gz and building u-boot as below:
/* Export path */
source /opt/criticallink/mitysom-335x_2018-04-16/environment-setup-cortexa8hf-neon-criticallink-l...