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
0164b703
Commit
0164b703
authored
Dec 10, 2013
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added 'tree' program
parent
e8f2c31a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
21 deletions
+49
-21
machine-xilinx-default.inc
conf/machine/include/machine-xilinx-default.inc
+5
-5
tune-zynq.inc
conf/machine/include/tune-zynq.inc
+4
-12
microzed.conf
conf/machine/microzed.conf
+4
-3
core-image-elphel393.bb
recipes-core/images/core-image-elphel393.bb
+2
-1
tree_1.6.0.bb
recipes-extended/tree/tree_1.6.0.bb
+34
-0
No files found.
conf/machine/include/machine-xilinx-default.inc
View file @
0164b703
# Default Xilinx BSP Machine settings
# Default Xilinx BSP Machine settings
# File System Configuration
# File System Configuration
#IMAGE_FSTYPES ?= "cpio tar.gz ext2 ext2.gz.u-boot ext2.gz"
IMAGE_FSTYPES
?=
"cpio tar.gz ext2 ext2.gz.u-boot ext2.gz"
IMAGE_FSTYPES
?=
"ext2.gz.u-boot"
IMAGE_CLASSES
+=
"image_types_uboot"
IMAGE_CLASSES
+=
"image_types_uboot"
# Kernel Configuration
# Kernel Configuration
PREFERRED_PROVIDER_virtual
/
kernel
?=
"linux-xlnx"
PREFERRED_PROVIDER_virtual
/
kernel
?=
"linux-xlnx"
PREFERRED_VERSION_linux
-
xlnx
?=
"3.10%"
PREFERRED_VERSION_linux
-
xlnx
?=
"3.10%"
#PREFERRED_VERSION_linux-yocto ?= "3.8%"
#PREFERRED_VERSION_linux-yocto-tiny ?= "3.8%"
# U-Boot Configuration
# U-Boot Configuration
#
PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
PREFERRED_PROVIDER_u
-
boot
?=
"u-boot-xlnx"
#
PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%"
PREFERRED_VERSION_u
-
boot
-
xlnx
?=
"v2013.01%"
conf/machine/include/tune-zynq.inc
View file @
0164b703
...
@@ -12,19 +12,11 @@ ARMPKGARCH = "${ARMPKGARCH_tune-armv7a-neon}"
...
@@ -12,19 +12,11 @@ ARMPKGARCH = "${ARMPKGARCH_tune-armv7a-neon}"
PACKAGE_EXTRA_ARCHS_tune
-
zynq
=
"${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq"
PACKAGE_EXTRA_ARCHS_tune
-
zynq
=
"${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq"
# Linux Configuration
# Linux Configuration
PREFERRED_PROVIDER_virtual
/
kernel
?=
"linux-xlnx"
PREFERRED_VERSION_linux
-
xlnx
?=
"3.10%"
KERNEL_IMAGETYPE
?=
"uImage"
KERNEL_IMAGETYPE
?=
"uImage"
# Set default load address.
# Set default load address.
# Override with KERNEL_EXTRA_ARGS_<board> += "..." in machine file if required
# Override with KERNEL_EXTRA_ARGS_<board> += "..." in machine file if required
KERNEL_EXTRA_ARGS_zynq
+=
"UIMAGE_LOADADDR=0x8000"
KERNEL_EXTRA_ARGS_zynq
+=
"UIMAGE_LOADADDR=0x8000"
# File System Configuration
# linux-yocto KMACHINE
#IMAGE_FSTYPES ?= "cpio ext2 ext2.gz.u-boot ext2.gz"
KMACHINE
?=
"zynq-default"
IMAGE_FSTYPES
?=
"ext2.gz.u-boot"
\ No newline at end of file
IMAGE_CLASSES
+=
"image_types_uboot"
# ezynq-u-boot Configuration
PREFERRED_PROVIDER_u
-
boot
?=
"u-boot"
PREFERRED_VERSION_u
-
boot
?=
"v2013.01%"
conf/machine/microzed.conf
View file @
0164b703
...
@@ -3,12 +3,13 @@
...
@@ -3,12 +3,13 @@
#@DESCRIPTION: Machine support for microzed.
#@DESCRIPTION: Machine support for microzed.
# http://www.elphel.com/
# http://www.elphel.com/
require
conf
/
machine
/
include
/
tune
-
zynq
.
inc
require
conf
/
machine
/
include
/
machine
-
xilinx
-
default
.
inc
# Corresponding from linux-xlnx and ezynq-u-boot
# Corresponding from linux-xlnx and ezynq-u-boot
PREFERRED_VERSION_linux
-
xlnx
=
"3.10%"
PREFERRED_VERSION_linux
-
xlnx
=
"3.10%"
PREFERRED_VERSION_ezynq
-
u
-
boot
=
"v2013.01%"
PREFERRED_VERSION_ezynq
-
u
-
boot
=
"v2013.01%"
IMAGE_FSTYPES
=
"ext2.gz.u-boot ext2"
require
conf
/
machine
/
include
/
tune
-
zynq
.
inc
require
conf
/
machine
/
include
/
machine
-
xilinx
-
default
.
inc
# microzed machine definition known by ezynq and xilinx u-boot
# microzed machine definition known by ezynq and xilinx u-boot
UBOOT_MACHINE
=
"zynq_microzed_config"
UBOOT_MACHINE
=
"zynq_microzed_config"
...
...
recipes-core/images/core-image-elphel393.bb
View file @
0164b703
...
@@ -14,6 +14,7 @@ IMAGE_INSTALL_append = " python-core \
...
@@ -14,6 +14,7 @@ IMAGE_INSTALL_append = " python-core \
ntpdate \
ntpdate \
openssh \
openssh \
nano \
nano \
tree \
lighttpd \
lighttpd \
lighttpd-module-fastcgi \
lighttpd-module-fastcgi \
lighttpd-module-cgi \
lighttpd-module-cgi \
...
@@ -30,4 +31,4 @@ LICENSE = "MIT"
...
@@ -30,4 +31,4 @@ LICENSE = "MIT"
inherit core-image
inherit core-image
IMAGE_ROOTFS_SIZE = "131072"
IMAGE_ROOTFS_SIZE = "131072"
\ No newline at end of file
recipes-extended/tree/tree_1.6.0.bb
0 → 100644
View file @
0164b703
SUMMARY = "A recipe for tree prgoram"
DESCRIPTION = "Lists tree"
PRIORITY = "optional"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
PR = "r0"
SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/tree-1.6.0.tgz"
SRC_URI[md5sum] = "04e967a3f4108d50cde3b4b0e89e970a"
SRC_URI[sha256sum] = "4dc470a74880338b01da41701d8db90d0fb178877e526d385931a007d68d7591"
S = "${WORKDIR}/tree-1.6.0"
do_compile() {
# net-tools use COPTS/LOPTS to allow adding custom options
#export COPTS="$CFLAGS"
#export LOPTS="$LDFLAGS"
#unset CFLAGS
#unset LDFLAGS
oe_runmake
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/tree ${D}${bindir}
}
PACKAGES = " tree"
INSANE_SKIP_${PN} = "installed-vs-shipped"
\ 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