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
57f0eaa3
Commit
57f0eaa3
authored
Mar 09, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
images for mmc and nand
parent
14e2eefe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
elphel393.conf
conf/machine/elphel393.conf
+1
-2
device-tree.bbappend
recipes-bsp/device-tree/device-tree.bbappend
+9
-13
No files found.
conf/machine/elphel393.conf
View file @
57f0eaa3
...
@@ -10,7 +10,7 @@ require include/machine-xilinx-default.inc
...
@@ -10,7 +10,7 @@ require include/machine-xilinx-default.inc
PREFERRED_VERSION_ezynq
-
u
-
boot
=
"v2016.01%"
PREFERRED_VERSION_ezynq
-
u
-
boot
=
"v2016.01%"
PREFERRED_VERSION_linux
-
xlnx
=
"4.%"
PREFERRED_VERSION_linux
-
xlnx
=
"4.%"
#
Zedboard m
achine definition known by ezynq and xilinx u-boot
#
M
achine definition known by ezynq and xilinx u-boot
UBOOT_MACHINE
=
"elphel393_config"
UBOOT_MACHINE
=
"elphel393_config"
SERIAL_CONSOLE
=
"115200 ttyPS0"
SERIAL_CONSOLE
=
"115200 ttyPS0"
...
@@ -25,7 +25,6 @@ MACHINE_KCONFIG := "common/elphel393_defconfig_${LINUX_VERSION}"
...
@@ -25,7 +25,6 @@ MACHINE_KCONFIG := "common/elphel393_defconfig_${LINUX_VERSION}"
hostname_pn
-
base
-
files
=
"elphel393"
hostname_pn
-
base
-
files
=
"elphel393"
PRODUCTION_ROOT_LOCATION
:=
"mmc nand"
PRODUCTION_ROOT_LOCATION
:=
"mmc nand"
PRODUCTION_DIR
:=
"mmc"
PRODUCTION_DIR
:=
"mmc"
PRODUCTION_BOOT
:=
"boot.bin"
PRODUCTION_BOOT
:=
"boot.bin"
PRODUCTION_UBOOT
:=
"u-boot-dtb.img"
PRODUCTION_UBOOT
:=
"u-boot-dtb.img"
...
...
recipes-bsp/device-tree/device-tree.bbappend
View file @
57f0eaa3
do_deploy_append(){
do_deploy_append(){
#ln -sf ${DEPLOY_DIR_IMAGE}/${DTS_NAME}.dtb ${DEPLOY_DIR_IMAGE}/devicetree.dtb
for RLOC in ${PRODUCTION_ROOT_LOCATION}; do
echo "RootFS located in ${RLOC}"
for ROOTFSLOC in ${PRODUCTION_ROOT_LOCATION}; do
if [ ! -d ${DEPLOY_DIR_IMAGE}/${RLOC} ]; then
echo "RootFS is in ${ROOTFSLOC} "
mkdir ${DEPLOY_DIR_IMAGE}/${RLOC}
fi
if [ -f ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_DEVICETREE} ]; then
rm ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_DEVICETREE}
fi
cp ${DEPLOY_DIR_IMAGE}/${MACHINE}_${RLOC}.dtb ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_DEVICETREE}
done
done
if [ ! -d ${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR} ]; then
mkdir ${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR}
fi
if [ -f ${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR}/${PRODUCTION_DEVICETREE} ]; then
rm ${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR}/${PRODUCTION_DEVICETREE}
fi
cp ${DEPLOY_DIR_IMAGE}/${DTS_NAME}.dtb ${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR}/${PRODUCTION_DEVICETREE}
}
}
\ No newline at end of file
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