Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-ezynq
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-ezynq
Commits
046de13c
Commit
046de13c
authored
Nov 21, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed building for rocko
parent
655e9fe3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
10 deletions
+28
-10
u-boot-ezynq-tasks.inc
recipes-bsp/u-boot/u-boot-ezynq-tasks.inc
+12
-2
u-boot-ezynq.bb
recipes-bsp/u-boot/u-boot-ezynq.bb
+10
-7
u-boot-ezynq.inc
recipes-bsp/u-boot/u-boot-ezynq.inc
+6
-1
No files found.
recipes-bsp/u-boot/u-boot-ezynq-tasks.inc
View file @
046de13c
# when updating from Jethro to Rocko 'cleandirs' is set for S
# So it happily nukes a freshly cloned u-boot repo, so:
# unsetting cleandirs flag:
python
(){
d
.
setVarFlag
(
'do_unpack'
,
'cleandirs'
,
''
)
}
##########################################################################################
##########################################################################################
# SRC_URI - Couldn't find how to deal with multiple git repos:
# SRC_URI - Couldn't find how to deal with multiple git repos:
# 1. Tried and it didn't work: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010926.html
# 1. Tried and it didn't work: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010926.html
...
@@ -34,6 +43,7 @@ do_fetch(){
...
@@ -34,6 +43,7 @@ do_fetch(){
else
else
echo
"Skipped: ${GITDIR_uboot_dir} is already cloned."
echo
"Skipped: ${GITDIR_uboot_dir} is already cloned."
fi
fi
}
}
##########################################################################################
##########################################################################################
...
@@ -44,7 +54,7 @@ do_unpack(){
...
@@ -44,7 +54,7 @@ do_unpack(){
if
[
!
-
h
"${GITDIR_uboot}/${GITDIR_ezynq_label}"
];
then
if
[
!
-
h
"${GITDIR_uboot}/${GITDIR_ezynq_label}"
];
then
ln
-
s
$
{
GITDIR_ezynq
}
"${GITDIR_uboot}/${GITDIR_ezynq_label}"
ln
-
s
$
{
GITDIR_ezynq
}
"${GITDIR_uboot}/${GITDIR_ezynq_label}"
fi
fi
if
[
!
-
f
"${GITDIR_ezynq}/${PATCH_NAME}"
];
then
if
[
!
-
f
"${GITDIR_ezynq}/${PATCH_NAME}"
];
then
cd
$
{
GITDIR_ezynq
}
cd
$
{
GITDIR_ezynq
}
...
@@ -112,7 +122,7 @@ do_compile(){
...
@@ -112,7 +122,7 @@ do_compile(){
cat
boot_head
.
bin
$UBOOT_FILE
>
boot
.
bin
cat
boot_head
.
bin
$UBOOT_FILE
>
boot
.
bin
oe_runmake
env
oe_runmake
env
cd
$
{
WORKDIR
}
cd
$
{
WORKDIR
}
}
}
...
...
recipes-bsp/u-boot/u-boot-ezynq.bb
View file @
046de13c
DESCRIPTION = "EZYNQ is the Xilinx's bootgen (fsbl) replacement + u-boot. The output is a working BOOT.BIN"
DESCRIPTION = "EZYNQ is the Xilinx's bootgen (FSBL) replacement + u-boot. This recipe generates SPL and U-BOOT images"
HOMEPAGE = "http://elphel.com;http://blog.elphel.com"
HOMEPAGE = "https://elphel.com;https://blog.elphel.com"
SECTION = "bootloaders"
SECTION = "bootloaders"
#Project Version
#
Project Version
PV = "v2016.05"
PV = "v2016.05"
#Project Revision
# Project Revision
PR = "r0"
PR = "r0"
include u-boot-ezynq.inc
include u-boot-ezynq.inc
PROVIDES
= "u-boot virtual/bootloader
"
PROVIDES
+= " u-boot
"
# Define the path to the xilinx platform init code/headers
# Define the path to the xilinx platform init code/headers
PLATFORM_INIT_DIR ?= "/usr/src/xilinx-platform-init"
#
PLATFORM_INIT_DIR ?= "/usr/src/xilinx-platform-init"
PLATFORM_INIT_STAGE_DIR = "${STAGING_DIR_HOST}${PLATFORM_INIT_DIR}"
#
PLATFORM_INIT_STAGE_DIR = "${STAGING_DIR_HOST}${PLATFORM_INIT_DIR}"
#UBOOT_CONFIG="dtb"
#UBOOT_CONFIG="dtb"
recipes-bsp/u-boot/u-boot-ezynq.inc
View file @
046de13c
require
recipes
-
bsp
/
u
-
boot
/
u
-
boot
.
inc
require
recipes
-
bsp
/
u
-
boot
/
u
-
boot
.
inc
DEPENDS
=
"bc-native dtc-native"
LICENSE
=
"GPLv2+ & GPLv3"
LICENSE
=
"GPLv2+ & GPLv3"
LIC_FILES_CHKSUM
=
"file://${GITDIR_uboot}/README;md5=f0b2103a037ad81f10894cc74e3b6212 \
LIC_FILES_CHKSUM
=
"file://${GITDIR_uboot}/README;md5=f0b2103a037ad81f10894cc74e3b6212 \
file://${GITDIR_ezynq}/LICENSE;md5=891e49b3c2a8c133ffe7985e54245aff"
file://${GITDIR_ezynq}/LICENSE;md5=891e49b3c2a8c133ffe7985e54245aff"
# working directory
# working directory
S
=
"${WORKDIR}/git/${GITDIR_uboot_dir}"
S
=
"${WORKDIR}/git/${GITDIR_uboot_dir}"
B
=
"${S}"
PACKAGE_ARCH
=
"${MACHINE_ARCH}"
PACKAGE_ARCH
=
"${MACHINE_ARCH}"
PACKAGES
=
"u-boot-ezynq"
FILES_
$
{
PN
}
=
" /boot/*"
##########################################################################################
##########################################################################################
# Defining u-boot.inc parameters
# Defining u-boot.inc parameters
...
@@ -57,6 +62,6 @@ SRCREV_uboot= "aeaec0e682f45b9e0c62c522fafea353931f73ed"
...
@@ -57,6 +62,6 @@ SRCREV_uboot= "aeaec0e682f45b9e0c62c522fafea353931f73ed"
#for u-boot-xlnx
#for u-boot-xlnx
#SRCREV_uboot= "01b1fea9b13b799a16efd743587dc861719e5212"
#SRCREV_uboot= "01b1fea9b13b799a16efd743587dc861719e5212"
PATCH_NAME
=
"ezynq.patch"
PATCH_NAME
=
"ezynq.patch"
include
u
-
boot
-
ezynq
-
tasks
.
inc
include
u
-
boot
-
ezynq
-
tasks
.
inc
\ 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