Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
63c7df44
Commit
63c7df44
authored
May 12, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed paths and dt for Eyesis
parent
68d130fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
device-tree.bbappend
recipes-bsp/device-tree/device-tree.bbappend
+9
-2
No files found.
recipes-bsp/device-tree/device-tree.bbappend
View file @
63c7df44
...
...
@@ -95,6 +95,8 @@ python do_compile(){
WORKDIR = d.getVar('WORKDIR', True)
PRODUCTION_ROOT_LOCATION = d.getVar('PRODUCTION_ROOT_LOCATION', True)
DEVICETREE_FLAGS = d.getVar('DEVICETREE_FLAGS', True)
if DEVICETREE_FLAGS is None:
DEVICETREE_FLAGS = ''
for f in os.listdir(WORKDIR):
if f.endswith(".dts"):
...
...
@@ -109,15 +111,20 @@ python do_compile(){
else:
print("Device tree type: 10393 (regular)")
f = os.path.join(WORKDIR,f)
if not eyesis:
for RLOC in PRODUCTION_ROOT_LOCATION.split():
os.system("ln -sf "+WORKDIR+"/elphel393-bootargs-"+RLOC+".dtsi "+WORKDIR+"/elphel393-bootargs.dtsi")
for REV in ["rev0-B","revC"]:
os.system("ln -sf "+WORKDIR+"/elphel393-revision-"+REV+".dtsi "+WORKDIR+"/elphel393-revision.dtsi")
os.system("dtc -I dts -O dtb "+
DEVICETREE_FLAGS
+" -o "+DTS_NAME+"_"+REV+"_"+RLOC+".dtb "+f)
os.system("dtc -I dts -O dtb "+
str(DEVICETREE_FLAGS)
+" -o "+DTS_NAME+"_"+REV+"_"+RLOC+".dtb "+f)
else:
for RLOC in PRODUCTION_ROOT_LOCATION.split():
os.system("dtc -I dts -O dtb "+DEVICETREE_FLAGS+" -o "+DTS_NAME+"_"+RLOC+".dtb "+f)
print("running: ")
print("dtc -I dts -O dtb "+str(DEVICETREE_FLAGS)+" -o "+DTS_NAME+"_"+RLOC+".dtb "+f)
os.system("ln -sf "+WORKDIR+"/elphel393-bootargs-"+RLOC+".dtsi "+WORKDIR+"/elphel393-bootargs.dtsi")
os.system("dtc -I dts -O dtb "+str(DEVICETREE_FLAGS)+" -o "+DTS_NAME+"_"+RLOC+".dtb "+f)
}
python do_install(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment