Andrey:
  Greeting, I've been in contract with Oleg trying to get the kernel to build but
in drivers/elphel a reference to x393.h can't be found.

Nice work for boot.bin and not having to learn SystemVerilog,
-Frank

On 03/31/2017 09:46 AM, Elphel Support wrote:
Hello Frank,

the "test_mcntrl.py" program (now just a historic name - initially it was for testing memory controller and adjustment of per-pin delays using LMA - https://blog.elphel.com/2015/04/fpga-to-ddr3-memory-interface-step-by-step-timing-calibration-and-set-up/) is a multi-purpose program that runs in the camera, and on the host computer: during simulation with cocotb (https://blog.elphel.com/2016/07/i-will-not-have-to-learn-systemverilog/) and (as in your case) to export definitions from Verilog to C header files https://blog.elphel.com/2016/03/synchronizing-verilog-python-and-c/
The program was initially made to be able to read and use Verilog parameters and defines so it was natural to add C language export to it.

Numpy is only needed for matrix operations for LMA (https://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquardt_algorithm), but as it is the same single program, it wanted it for C header files generation too.

Andrey

---- On Fri, 31 Mar 2017 08:24:35 -0700 Frank Bennett<bennet...@centurylink.net> wrote ----
Oleg:
Got python-numpy
reviewed poky manual
rm projects.json
./setup.py
still no x393.h in poky/build path only in:
fwb@fw:/s/opt/elphel/elphel393$ find . -name x393.h
./fpga-elphel/x393/py393/generated/x393.h
./linux-elphel/src/drivers/elphel/x393.h
only mention in setup output:
...
X393SensCmprs: BUFFER_ADDRESS=0x25500000
X393SensCmprs: BUFFER_LEN=0x19000000
Running in simulated mode, using hard-coded addresses:
BUFFER_ADDRESS_LOGGER=0x2d000000
BUFFER_LEN_LOGGER=0x400000
Running task: ['export_all']
typedef definitions for the x393 hardware registers are written to  to /s/opt/elphel/elphel393/fpga-elphel/x393/py393/generated/x393_types.h
Constants definitions and functions declarations to access x393 hardware registers are written to  to /s/opt/elphel/elphel393/fpga-elphel/x393/py393/generated/x393.h
Functions definitions to access x393 hardware registers are written to  to /s/opt/elphel/elphel393/fpga-elphel/x393/py393/generated/x393.c
Constants and hardware addresses definitions to access x393 hardware registers are written to  to /s/opt/elphel/elphel393/fpga-elphel/x393/py393/generated/x393_defs.h
Sorted hardware addresses map is written to  to /s/opt/elphel/elphel393/fpga-elphel/x393/py393/generated/x393_map.h
    Result: OK



_______________________________________________
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com



_______________________________________________
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com

Reply via email to