-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit with untested imx219 driver
- Loading branch information
0 parents
commit ec6b579
Showing
13 changed files
with
489 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.vscode | ||
.venv | ||
*.pin | ||
*.pof | ||
*.sof | ||
*.qpf | ||
*.qsf | ||
*.sid | ||
*.map.* | ||
*.sta.* | ||
*.fit.* | ||
bitstream.tcl | ||
bitstream | ||
incremental_db | ||
*.hdb | ||
*.cdb | ||
*.ddb | ||
*.idb | ||
*.rdb | ||
*.logdb | ||
*.qmsg | ||
*.hsd | ||
*.ammdb | ||
db | ||
*.rpt | ||
*.sld | ||
*.jdi | ||
*.done | ||
*.pow.* | ||
Makefile | ||
project | ||
project.tcl | ||
files.tcl | ||
*.vcd | ||
*.vvp | ||
run.command | ||
modelsim.ini | ||
transcript | ||
work/ | ||
*.wlf | ||
ip_cores/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
sudo: required | ||
language: python | ||
os: linux | ||
addons: | ||
apt: | ||
update: false | ||
packages: | ||
- lib32z1 | ||
- lib32stdc++6 | ||
- libexpat1:i386 | ||
- libc6:i386 | ||
- libsm6:i386 | ||
- libncurses5:i386 | ||
- libx11-6:i386 | ||
- zlib1g:i386 | ||
- libxext6:i386 | ||
- libxft2:i386 | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
- stat /home/travis/intelFPGA/19.1/modelsim_ase || (curl 'http://download.altera.com/akdlm/software/acdsinst/19.1std/670/ib_installers/ModelSimSetup-19.1.0.670-linux.run' -o ModelSimSetup.run && chmod +x ModelSimSetup.run && travis_wait 30 ./ModelSimSetup.run --mode unattended --accept_eula 1 && sed -i 's/linux_rh60/linux/g' /home/travis/intelFPGA/19.1/modelsim_ase/vco ) | ||
script: | ||
- export PATH=$PATH:/home/travis/intelFPGA/19.1/modelsim_ase/bin | ||
- cd ./sim/imx219_tb/ && hdlmake fetch && hdlmake && make | ||
- cd - | ||
|
||
cache: | ||
directories: | ||
- /home/travis/intelFPGA/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 2020 Sameer Puri | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Sameer Puri | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
modules = { | ||
"local": "./src/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# MIPI CCS v1.1 | ||
|
||
[![Build Status](https://travis-ci.com/hdl-util/mipi-ccs.svg?branch=master)](https://travis-ci.com/hdl-util/mipi-ccs) | ||
|
||
## To-do List | ||
|
||
* [ ] Power-off Mode | ||
* [ ] Software reset | ||
* [ ] Fast standby control | ||
* [ ] Mode select | ||
* [ ] Set virtual channel | ||
* [ ] Streaming mode | ||
* Camera control | ||
* [ ] Analog/Digital gain | ||
* [ ] Exposure | ||
* [ ] Orientation | ||
|
||
* Spinlock watching i2c until ready | ||
* [ ] reset_max_delay | ||
* [ ] reset_min_time | ||
|
||
## Reference Documents | ||
|
||
These documents are not hosted here! They are available on Library Genesis and at other locations. | ||
|
||
* [MIPI CCS v1.1](https://b-ok.cc/book/5437872/02a689) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hdlmake==3.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
action = "simulation" | ||
sim_tool = "modelsim" | ||
sim_top = "imx219_tb" | ||
|
||
sim_post_cmd = "vsim -novopt -do ../vsim.do -c imx219_tb" | ||
|
||
modules = { | ||
"local" : [ "../../test/" ], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
run -all; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
files = [ | ||
"imx219.sv" | ||
] | ||
|
||
|
||
modules = { | ||
"git": [ | ||
"git@github.com:hdl-util/i2c.git::master", | ||
] | ||
} | ||
fetchto = "../ip_cores" |
Oops, something went wrong.