Compare commits
6 Commits
master
...
hfreyther/
Author | SHA1 | Date |
---|---|---|
Holger Hans Peter Freyther | 86c1272665 | |
Holger Hans Peter Freyther | 9f2c5c94ed | |
Holger Hans Peter Freyther | 6248d746dc | |
Holger Hans Peter Freyther | 4dbc86194e | |
Holger Hans Peter Freyther | c4d5061917 | |
Holger Hans Peter Freyther | 2b5b343078 |
|
@ -1,3 +1,4 @@
|
|||
# This will set BTS_HW_VERSION depending on the machine
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
BTS_HW_VERSION_sysmobts-v1 = "-DHW_SYSMOBTS_V1"
|
||||
BTS_HW_VERSION_sysmobts-v2 = "-DHW_SYSMOBTS_V2"
|
||||
|
|
|
@ -1,155 +0,0 @@
|
|||
# gitver-pkg.bbclass
|
||||
#
|
||||
# Based on gitpkgv.bbclass from meta-openembedded
|
||||
|
||||
PKGGITH = "${@get_pkg_gith(d, '${PN}')}"
|
||||
PKGGITN = "${@get_pkg_gitn(d, '${PN}')}"
|
||||
PKGGITV = "${@get_pkg_gitv(d, '${PN}')}"
|
||||
|
||||
def gitpkgv_drop_tag_prefix(version):
|
||||
import re
|
||||
if re.match("v\d", version):
|
||||
return version[1:]
|
||||
else:
|
||||
return version
|
||||
|
||||
def get_pkg_gitv(d, pn):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
src_uri = d.getVar('SRC_URI', 1).split()
|
||||
fetcher = bb.fetch2.Fetch(src_uri, d)
|
||||
ud = fetcher.ud
|
||||
|
||||
ver = "0.0-0"
|
||||
|
||||
for url in ud.values():
|
||||
if url.type == 'git' or url.type == 'gitsm':
|
||||
for name, rev in url.revisions.items():
|
||||
if not os.path.exists(url.localpath):
|
||||
return None
|
||||
|
||||
vars = { 'repodir' : quote(url.localpath),
|
||||
'rev' : quote(rev) }
|
||||
|
||||
# Verify of the hash is present
|
||||
try:
|
||||
bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && "
|
||||
"git describe %(rev)s --always 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
except Exception:
|
||||
bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && git fetch 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
# Try to get a version using git describe
|
||||
try:
|
||||
output = bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && "
|
||||
"git describe %(rev)s --long 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
ver = gitpkgv_drop_tag_prefix(output)
|
||||
|
||||
except Exception:
|
||||
try:
|
||||
commits = bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && "
|
||||
"git rev-list %(rev)s --count 2> /dev/null " % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
if commits == "":
|
||||
commits = "0"
|
||||
|
||||
rev = bb.fetch2.get_srcrev(d).split('+')[1]
|
||||
|
||||
ver = "0.0-%s-g%s" % (commits, rev[:7])
|
||||
|
||||
except Exception:
|
||||
pass
|
||||
return ver
|
||||
|
||||
def get_pkg_gitn(d, pn):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
src_uri = d.getVar('SRC_URI', 1).split()
|
||||
fetcher = bb.fetch2.Fetch(src_uri, d)
|
||||
ud = fetcher.ud
|
||||
|
||||
for url in ud.values():
|
||||
if url.type == 'git' or url.type == 'gitsm':
|
||||
for name, rev in url.revisions.items():
|
||||
if not os.path.exists(url.localpath):
|
||||
return None
|
||||
|
||||
vars = { 'repodir' : quote(url.localpath),
|
||||
'rev' : quote(rev) }
|
||||
|
||||
# Verify of the hash is present
|
||||
try:
|
||||
bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && "
|
||||
"git describe %(rev)s --always 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
except Exception:
|
||||
bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && git fetch 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
|
||||
try:
|
||||
tag = bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && "
|
||||
"git describe --abbrev=0 %(rev)s 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
vars = { 'repodir' : quote(url.localpath),
|
||||
'rev' : quote(rev),
|
||||
'tag' : quote(tag) }
|
||||
|
||||
commits = bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && "
|
||||
"git rev-list %(rev)s ^%(tag)s --count 2> /dev/null " % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
return commits
|
||||
|
||||
except Exception:
|
||||
commits = bb.fetch2.runfetchcmd(
|
||||
"cd %(repodir)s && "
|
||||
"git rev-list %(rev)s --count 2> /dev/null " % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
if commits == "":
|
||||
commits = "0"
|
||||
|
||||
return commits
|
||||
|
||||
return '0'
|
||||
|
||||
|
||||
def get_pkg_gith(d, pn):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
src_uri = d.getVar('SRC_URI', 1).split()
|
||||
fetcher = bb.fetch2.Fetch(src_uri, d)
|
||||
ud = fetcher.ud
|
||||
|
||||
for url in ud.values():
|
||||
if url.type == 'git' or url.type == 'gitsm':
|
||||
for name, rev in url.revisions.items():
|
||||
if not os.path.exists(url.localpath):
|
||||
return None
|
||||
else:
|
||||
return rev
|
||||
|
||||
return None
|
||||
|
|
@ -1,139 +0,0 @@
|
|||
# gitver-repo.bbclass
|
||||
#
|
||||
# Based on gitpkgv.bbclass from meta-openembedded
|
||||
|
||||
REPODIR ?= "${THISDIR}"
|
||||
|
||||
REPOGITH = "${@get_repo_gith(d, '${REPODIR}')}"
|
||||
REPOGITN = "${@get_repo_gitn(d, '${REPODIR}')}"
|
||||
REPOGITV = "${@get_repo_gitv(d, '${REPODIR}')}"
|
||||
REPOGITT = "${@get_repo_gitt(d, '${REPODIR}')}"
|
||||
REPOGITFN = "${@get_repo_gitfn(d, '${REPODIR}', '${REPOFILE}')}"
|
||||
|
||||
def gitver_repo_drop_tag_prefix(version):
|
||||
import re
|
||||
if re.match("v\d", version):
|
||||
return version[1:]
|
||||
else:
|
||||
return version
|
||||
|
||||
def get_repo_gitv(d, repodir):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
vars = { 'repodir' : quote(repodir) }
|
||||
|
||||
try:
|
||||
output = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s describe --long 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
ver = gitver_repo_drop_tag_prefix(output)
|
||||
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
return ver
|
||||
|
||||
def get_repo_gitn(d, repodir):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
vars = { 'repodir' : quote(repodir) }
|
||||
|
||||
try:
|
||||
|
||||
tag = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s describe --abbrev=0 2>/dev/null" % vars,
|
||||
d, quiet=False).strip()
|
||||
|
||||
vars = { 'repodir' : quote(repodir),
|
||||
'tag' : quote(tag) }
|
||||
|
||||
commits = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s rev-list %(tag)s.. --count 2> /dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
return commits
|
||||
|
||||
except Exception:
|
||||
commits = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s rev-list --count HEAD 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
if commits == "":
|
||||
commits = "0"
|
||||
|
||||
return commits
|
||||
|
||||
def get_repo_gitt(d, repodir):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
vars = { 'repodir' : quote(repodir) }
|
||||
|
||||
try:
|
||||
tag = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s describe --abbrev=0 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
return tag
|
||||
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
def get_repo_gith(d, repodir):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
vars = { 'repodir' : quote(repodir) }
|
||||
|
||||
try:
|
||||
hash = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s rev-parse HEAD 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
return hash
|
||||
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
def get_repo_gitfn(d, repodir, repofile):
|
||||
import os
|
||||
import bb
|
||||
from pipes import quote
|
||||
|
||||
vars = { 'repodir' : quote(repodir),
|
||||
'repofile' : quote(repofile) }
|
||||
|
||||
try:
|
||||
|
||||
tag = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s describe --abbrev=0 2>/dev/null" % vars,
|
||||
d, quiet=False).strip()
|
||||
|
||||
vars = { 'repodir' : quote(repodir),
|
||||
'repofile' : quote(repofile),
|
||||
'tag' : quote(tag) }
|
||||
|
||||
commits = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s rev-list --count %(tag)s.. %(repofile)s 2> /dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
return commits
|
||||
|
||||
except Exception:
|
||||
commits = bb.fetch2.runfetchcmd(
|
||||
"git -C %(repodir)s rev-list --count HEAD %(repofile)s 2>/dev/null" % vars,
|
||||
d, quiet=True).strip()
|
||||
|
||||
if commits == "":
|
||||
commits = "0"
|
||||
|
||||
return commits
|
||||
|
||||
|
|
@ -7,10 +7,6 @@ ARCHIVE_TYPE ?= "TAR SRPM"
|
|||
DISTRO ?= "poky"
|
||||
PATCHES_ARCHIVE_WITH_SERIES = 'TRUE'
|
||||
|
||||
|
||||
def compat_cmp(a, b):
|
||||
return (a>b)-(a<b)
|
||||
|
||||
def get_bb_inc(d):
|
||||
'''create a directory "script-logs" including .bb and .inc file in ${WORKDIR}'''
|
||||
import re
|
||||
|
@ -24,14 +20,8 @@ def get_bb_inc(d):
|
|||
bbdir = os.path.dirname(bbfile)
|
||||
script_logs = os.path.join(work_dir,'script-logs')
|
||||
bb_inc = os.path.join(script_logs,'bb_inc')
|
||||
try:
|
||||
bb.mkdirhier(script_logs)
|
||||
except:
|
||||
bb.utils.mkdirhier(script_logs)
|
||||
try:
|
||||
bb.mkdirhier(bb_inc)
|
||||
except:
|
||||
bb.utils.mkdirhier(bb_inc)
|
||||
bb.mkdirhier(script_logs)
|
||||
bb.mkdirhier(bb_inc)
|
||||
|
||||
def find_file(dir,file):
|
||||
for root, dirs, files in os.walk(dir):
|
||||
|
@ -59,10 +49,7 @@ def get_bb_inc(d):
|
|||
shutil.copy(bbincfile,bb_inc)
|
||||
|
||||
try:
|
||||
try:
|
||||
bb.mkdirhier(os.path.join(script_logs,'temp'))
|
||||
except:
|
||||
bb.utils.mkdirhier(os.path.join(script_logs,'temp'))
|
||||
bb.mkdirhier(os.path.join(script_logs,'temp'))
|
||||
oe.path.copytree(os.path.join(work_dir,'temp'), os.path.join(script_logs,'temp'))
|
||||
except (IOError,AttributeError):
|
||||
pass
|
||||
|
@ -78,16 +65,14 @@ def get_series(d):
|
|||
s = d.getVar('S',True)
|
||||
dest = os.path.join(work_dir, pf + '-series')
|
||||
shutil.rmtree(dest, ignore_errors=True)
|
||||
try:
|
||||
bb.mkdirhier(dest)
|
||||
except:
|
||||
bb.utils.mkdirhier(dest)
|
||||
bb.mkdirhier(dest)
|
||||
|
||||
src_uri = d.getVar('SRC_URI', True).split()
|
||||
fetch = bb.fetch2.Fetch(src_uri, d)
|
||||
locals = (fetch.localpath(url) for url in fetch.urls)
|
||||
for local in locals:
|
||||
src_patches.append(local)
|
||||
if not compat_cmp(work_dir,s):
|
||||
if not cmp(work_dir,s):
|
||||
tmp_list = src_patches
|
||||
else:
|
||||
tmp_list = src_patches[1:]
|
||||
|
@ -97,10 +82,7 @@ def get_series(d):
|
|||
shutil.copy(patch,dest)
|
||||
except IOError:
|
||||
if os.path.isdir(patch):
|
||||
try:
|
||||
bb.mkdirhier(os.path.join(dest,patch))
|
||||
except:
|
||||
bb.utils.mkdirhier(os.path.join(dest,patch))
|
||||
bb.mkdirhier(os.path.join(dest,patch))
|
||||
oe.path.copytree(patch, os.path.join(dest,patch))
|
||||
return dest
|
||||
|
||||
|
@ -114,10 +96,8 @@ def get_applying_patches(d):
|
|||
work_dir = d.getVar('WORKDIR', True)
|
||||
dest = os.path.join(work_dir, pf + '-patches')
|
||||
shutil.rmtree(dest, ignore_errors=True)
|
||||
try:
|
||||
bb.mkdirhier(dest)
|
||||
except:
|
||||
bb.utils.mkdirhier(dest)
|
||||
bb.mkdirhier(dest)
|
||||
|
||||
|
||||
patches = src_patches(d)
|
||||
for patch in patches:
|
||||
|
@ -133,7 +113,7 @@ def not_tarball(d):
|
|||
workdir = d.getVar('WORKDIR',True)
|
||||
s = d.getVar('S',True)
|
||||
if 'work-shared' in s or 'task-' in workdir or 'native' in workdir:
|
||||
pn = d.getVar('PN', True)
|
||||
pn = bb.data.getVar('PN', d , True)
|
||||
if pn == 'gcc-cross':
|
||||
return False
|
||||
return True
|
||||
|
@ -182,7 +162,7 @@ def archive_sources_from_directory(d,stage_name):
|
|||
try:
|
||||
source_dir = os.path.join(work_dir,[ i for i in s.replace(work_dir,'').split('/') if i][0])
|
||||
except IndexError:
|
||||
if not compat_cmp(s,work_dir):
|
||||
if not cmp(s,work_dir):
|
||||
return ''
|
||||
else:
|
||||
return ''
|
||||
|
@ -254,9 +234,7 @@ def get_licenses(d):
|
|||
clean_licenses += x
|
||||
if '|' in clean_licenses:
|
||||
clean_licenses = clean_licenses.replace('|','')
|
||||
# linux-firmware has many many licenses, leading to too long path
|
||||
# so let's truncate it at 200...
|
||||
return clean_licenses[0:200]
|
||||
return clean_licenses
|
||||
|
||||
def move_tarball_deploy(d,tarball_list):
|
||||
'''move tarball in location to ${DEPLOY_DIR}/sources'''
|
||||
|
@ -270,10 +248,7 @@ def move_tarball_deploy(d,tarball_list):
|
|||
work_dir = d.getVar('WORKDIR',True)
|
||||
tar_sources = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf
|
||||
if not os.path.exists(tar_sources):
|
||||
try:
|
||||
bb.mkdirhier(tar_sources)
|
||||
except:
|
||||
bb.utils.mkdirhier(tar_sources)
|
||||
bb.mkdirhier(tar_sources)
|
||||
for source in tarball_list:
|
||||
if source:
|
||||
if os.path.exists(os.path.join(tar_sources, source)):
|
||||
|
@ -362,18 +337,15 @@ def archive_scripts_logs(d):
|
|||
|
||||
def dumpdata(d):
|
||||
'''dump environment to "${P}-${PR}.showdata.dump" including all kinds of variables and functions when running a task'''
|
||||
workdir = d.getVar('WORKDIR', 1)
|
||||
distro = d.getVar('DISTRO', 1)
|
||||
workdir = bb.data.getVar('WORKDIR', d, 1)
|
||||
distro = bb.data.getVar('DISTRO', d, 1)
|
||||
s = d.getVar('S', True)
|
||||
pf = d.getVar('PF', True)
|
||||
target_sys = d.getVar('TARGET_SYS', True)
|
||||
licenses = get_licenses(d)
|
||||
dumpdir = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf
|
||||
if not os.path.exists(dumpdir):
|
||||
try:
|
||||
bb.mkdirhier(dumpdir)
|
||||
except:
|
||||
bb.utils.mkdirhier(dumpdir)
|
||||
bb.mkdirhier(dumpdir)
|
||||
|
||||
dumpfile = os.path.join(dumpdir, bb.data.expand("${P}-${PR}.showdata.dump",d))
|
||||
|
||||
|
@ -383,8 +355,8 @@ def dumpdata(d):
|
|||
bb.data.emit_env(f, d, True)
|
||||
# emit the metadata which isnt valid shell
|
||||
for e in d.keys():
|
||||
if d.getVarFlag(e, 'python'):
|
||||
f.write("\npython %s () {\n%s}\n" % (e, d.getVar(e, 1)))
|
||||
if bb.data.getVarFlag(e, 'python', d):
|
||||
f.write("\npython %s () {\n%s}\n" % (e, bb.data.getVar(e, d, 1)))
|
||||
f.close()
|
||||
|
||||
def create_diff_gz(d):
|
||||
|
@ -409,10 +381,7 @@ def create_diff_gz(d):
|
|||
distro = d.getVar('DISTRO',True)
|
||||
dest = s + '/' + distro + '/files'
|
||||
if not os.path.exists(dest):
|
||||
try:
|
||||
bb.mkdirhier(dest)
|
||||
except:
|
||||
bb.utils.mkdirhier(dest)
|
||||
bb.mkdirhier(dest)
|
||||
for i in os.listdir(os.getcwd()):
|
||||
if os.path.isfile(i):
|
||||
try:
|
||||
|
@ -460,8 +429,8 @@ python do_archive_linux_yocto(){
|
|||
s = d.getVar('S', True)
|
||||
if 'linux-yocto' in s:
|
||||
source_tar_name = archive_sources(d,'')
|
||||
if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM':
|
||||
move_tarball_deploy(d,[source_tar_name,''])
|
||||
if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM':
|
||||
move_tarball_deploy(d,[source_tar_name,''])
|
||||
}
|
||||
do_kernel_checkout[postfuncs] += "do_archive_linux_yocto "
|
||||
|
||||
|
|
|
@ -1,188 +0,0 @@
|
|||
pkg_postinst_modules () {
|
||||
if [ -z "$D" ]; then
|
||||
depmod -a ${KERNEL_VERSION}
|
||||
else
|
||||
depmodwrapper -a -b $D ${KERNEL_VERSION}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm_modules () {
|
||||
if [ -z "$D" ]; then
|
||||
depmod -a ${KERNEL_VERSION}
|
||||
else
|
||||
depmodwrapper -a -b $D ${KERNEL_VERSION}
|
||||
fi
|
||||
}
|
||||
|
||||
autoload_postinst_fragment() {
|
||||
if [ x"$D" = "x" ]; then
|
||||
modprobe %s || true
|
||||
fi
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/modules-load.d/ ${D}${sysconfdir}/modprobe.d/
|
||||
}
|
||||
|
||||
PACKAGESPLITFUNCS_prepend = "split_kernel_module_packages "
|
||||
|
||||
KERNEL_MODULES_META_PACKAGE ?= "kernel-modules"
|
||||
|
||||
KERNEL_MODULES_PACKAGE_PREFIX ?= "kernel-module-%s"
|
||||
|
||||
python split_kernel_module_packages () {
|
||||
import re
|
||||
|
||||
modinfoexp = re.compile("([^=]+)=(.*)")
|
||||
kerverrexp = re.compile('^(.*-hh.*)[\.\+].*$')
|
||||
depmodpat0 = re.compile("^(.*\.k?o):..*$")
|
||||
depmodpat1 = re.compile("^(.*\.k?o):\s*(.*\.k?o)\s*$")
|
||||
depmodpat2 = re.compile("^(.*\.k?o):\s*(.*\.k?o)\s*\\\$")
|
||||
depmodpat3 = re.compile("^\t(.*\.k?o)\s*\\\$")
|
||||
depmodpat4 = re.compile("^\t(.*\.k?o)\s*$")
|
||||
|
||||
def extract_modinfo(file):
|
||||
import tempfile, subprocess
|
||||
tempfile.tempdir = d.getVar("WORKDIR", True)
|
||||
tf = tempfile.mkstemp()
|
||||
tmpfile = tf[1]
|
||||
cmd = "%sobjcopy -j .modinfo -O binary %s %s" % (d.getVar("HOST_PREFIX", True) or "", file, tmpfile)
|
||||
subprocess.call(cmd, shell=True)
|
||||
f = open(tmpfile)
|
||||
l = f.read().split("\000")
|
||||
f.close()
|
||||
os.close(tf[0])
|
||||
os.unlink(tmpfile)
|
||||
vals = {}
|
||||
for i in l:
|
||||
m = modinfoexp.match(i)
|
||||
if not m:
|
||||
continue
|
||||
vals[m.group(1)] = m.group(2)
|
||||
return vals
|
||||
|
||||
def parse_depmod():
|
||||
|
||||
dvar = d.getVar('PKGD', True)
|
||||
|
||||
kernelver = d.getVar('KERNEL_VERSION', True)
|
||||
kernelver_stripped = kernelver
|
||||
m = kerverrexp.match(kernelver)
|
||||
if m:
|
||||
kernelver_stripped = m.group(1)
|
||||
kernel_build_dir = ['STAGING_KERNEL_BUILDDIR', 'STAGING_KERNEL_DIR'][d.getVar('DISTRO_VERSION', True)[0:3] == '1.5']
|
||||
staging_kernel_dir = d.getVar(kernel_build_dir, True)
|
||||
system_map_file = "%s/boot/System.map-%s" % (dvar, kernelver)
|
||||
if not os.path.exists(system_map_file):
|
||||
system_map_file = "%s/System.map-%s" % (staging_kernel_dir, kernelver)
|
||||
if not os.path.exists(system_map_file):
|
||||
bb.fatal("System.map-%s does not exist in '%s/boot' nor STAGING_KERNEL_DIR '%s'" % (kernelver, dvar, staging_kernel_dir))
|
||||
|
||||
cmd = "depmod -n -a -b %s -F %s %s" % (dvar, system_map_file, kernelver_stripped)
|
||||
f = os.popen(cmd, 'r')
|
||||
|
||||
deps = {}
|
||||
line = f.readline()
|
||||
while line:
|
||||
if not depmodpat0.match(line):
|
||||
line = f.readline()
|
||||
continue
|
||||
m1 = depmodpat1.match(line)
|
||||
if m1:
|
||||
deps[m1.group(1)] = m1.group(2).split()
|
||||
else:
|
||||
m2 = depmodpat2.match(line)
|
||||
if m2:
|
||||
deps[m2.group(1)] = m2.group(2).split()
|
||||
line = f.readline()
|
||||
m3 = depmodpat3.match(line)
|
||||
while m3:
|
||||
deps[m2.group(1)].extend(m3.group(1).split())
|
||||
line = f.readline()
|
||||
m3 = depmodpat3.match(line)
|
||||
m4 = depmodpat4.match(line)
|
||||
deps[m2.group(1)].extend(m4.group(1).split())
|
||||
line = f.readline()
|
||||
f.close()
|
||||
return deps
|
||||
|
||||
def get_dependencies(file, pattern, format):
|
||||
# file no longer includes PKGD
|
||||
file = file.replace(d.getVar('PKGD', True) or '', '', 1)
|
||||
# instead is prefixed with /lib/modules/${KERNEL_VERSION}
|
||||
file = file.replace("/lib/modules/%s/" % d.getVar('KERNEL_VERSION', True) or '', '', 1)
|
||||
|
||||
if file in module_deps:
|
||||
dependencies = []
|
||||
for i in module_deps[file]:
|
||||
m = re.match(pattern, os.path.basename(i))
|
||||
if not m:
|
||||
continue
|
||||
on = legitimize_package_name(m.group(1))
|
||||
dependency_pkg = format % on
|
||||
dependencies.append(dependency_pkg)
|
||||
return dependencies
|
||||
return []
|
||||
|
||||
def frob_metadata(file, pkg, pattern, format, basename):
|
||||
vals = extract_modinfo(file)
|
||||
|
||||
dvar = d.getVar('PKGD', True)
|
||||
|
||||
# If autoloading is requested, output /etc/modules-load.d/<name>.conf and append
|
||||
# appropriate modprobe commands to the postinst
|
||||
autoload = d.getVar('module_autoload_%s' % basename, True)
|
||||
if autoload:
|
||||
name = '%s/etc/modules-load.d/%s.conf' % (dvar, basename)
|
||||
f = open(name, 'w')
|
||||
for m in autoload.split():
|
||||
f.write('%s\n' % m)
|
||||
f.close()
|
||||
postinst = d.getVar('pkg_postinst_%s' % pkg, True)
|
||||
if not postinst:
|
||||
bb.fatal("pkg_postinst_%s not defined" % pkg)
|
||||
postinst += d.getVar('autoload_postinst_fragment', True) % autoload
|
||||
d.setVar('pkg_postinst_%s' % pkg, postinst)
|
||||
|
||||
# Write out any modconf fragment
|
||||
modconf = d.getVar('module_conf_%s' % basename, True)
|
||||
if modconf:
|
||||
name = '%s/etc/modprobe.d/%s.conf' % (dvar, basename)
|
||||
f = open(name, 'w')
|
||||
f.write("%s\n" % modconf)
|
||||
f.close()
|
||||
|
||||
files = d.getVar('FILES_%s' % pkg, True)
|
||||
files = "%s /etc/modules-load.d/%s.conf /etc/modprobe.d/%s.conf" % (files, basename, basename)
|
||||
d.setVar('FILES_%s' % pkg, files)
|
||||
|
||||
if "description" in vals:
|
||||
old_desc = d.getVar('DESCRIPTION_' + pkg, True) or ""
|
||||
d.setVar('DESCRIPTION_' + pkg, old_desc + "; " + vals["description"])
|
||||
|
||||
rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, True) or "")
|
||||
for dep in get_dependencies(file, pattern, format):
|
||||
if not dep in rdepends:
|
||||
rdepends[dep] = []
|
||||
d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False))
|
||||
|
||||
module_deps = parse_depmod()
|
||||
module_regex = '^(.*)\.k?o$'
|
||||
module_pattern = d.getVar("KERNEL_MODULES_PACKAGE_PREFIX", True) or "kernel-module-%s"
|
||||
|
||||
postinst = d.getVar('pkg_postinst_modules', True)
|
||||
postrm = d.getVar('pkg_postrm_modules', True)
|
||||
|
||||
modules = do_split_packages(d, root='/lib/modules', file_regex=module_regex, output_pattern=module_pattern, description='%s kernel module', postinst=postinst, postrm=postrm, recursive=True, hook=frob_metadata, extra_depends='kernel-%s' % (d.getVar("KERNEL_VERSION", True)))
|
||||
if modules:
|
||||
metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
|
||||
d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
|
||||
|
||||
# If modules-load.d and modprobe.d are empty at this point, remove them to
|
||||
# avoid warnings. removedirs only raises an OSError if an empty
|
||||
# directory cannot be removed.
|
||||
dvar = d.getVar('PKGD', True)
|
||||
for dir in ["%s/etc/modprobe.d" % (dvar), "%s/etc/modules-load.d" % (dvar), "%s/etc" % (dvar)]:
|
||||
if len(os.listdir(dir)) == 0:
|
||||
os.rmdir(dir)
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
DEPENDS += "virtual/kernel"
|
||||
|
||||
inherit module-base sysmocom-kernel-module-split
|
||||
|
||||
addtask make_scripts after do_patch before do_compile
|
||||
do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
|
||||
do_make_scripts[deptask] = "do_populate_sysroot"
|
||||
|
||||
# add all splitted modules to PN RDEPENDS, PN can be empty now
|
||||
KERNEL_MODULES_META_PACKAGE = "${PN}"
|
||||
FILES_${PN} = ""
|
||||
ALLOW_EMPTY_${PN} = "1"
|
|
@ -1,41 +0,0 @@
|
|||
# Default to systemd
|
||||
DISTRO_FEATURES_append = " systemd "
|
||||
VIRTUAL-RUNTIME_init_manager = "systemd"
|
||||
|
||||
# Maybe only for the sysmoBTS kind of hardware?
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
|
||||
|
||||
# Do not put the sourcecode into the debug packages
|
||||
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
|
||||
|
||||
# Enable the prserver host
|
||||
PRSERV_HOST = "localhost:0"
|
||||
|
||||
# Delete stuff
|
||||
#INHERIT += "rm_work"
|
||||
|
||||
# Create patched source tarballs
|
||||
SOURCE_ARCHIVE_PACKAGE_TYPE = "tar"
|
||||
INHERIT += " sysmocom-archive-patched-source"
|
||||
|
||||
# We use opkg and not rpm/smart
|
||||
PACKAGE_CLASSES ?= "package_ipk"
|
||||
|
||||
|
||||
# When using uclibc/musl.. avoid pulling in gettext. We do
|
||||
# not need i18n in our tools right now.
|
||||
USE_NLS = "no"
|
||||
|
||||
|
||||
# We don't need x11, nfc, selinux, pam in our builds
|
||||
DISTRO_FEATURES_remove = "x11 nfc selinux pam"
|
||||
|
||||
# Get rid off XZ, xkbcommon, pam, selinux for systemd and many more now
|
||||
PACKAGECONFIG_pn-systemd = "compat ldconfig binfmt sysusers randomseed myhostname firstboot utmp"
|
||||
|
||||
# From fido on.. build curl with libssl to avoid gnutls
|
||||
PACKAGECONFIG_pn-curl="ipv6 ssl zlib"
|
||||
|
||||
# disable libsolv as it is broken Yocto Bug #11427
|
||||
PACKAGECONFIG_pn-opkg = ""
|
||||
PACKAGECONFIG_pn-opkg-native = ""
|
|
@ -9,10 +9,9 @@ BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend"
|
|||
BBFILES += "${BBFILES_SYSMOCOM_BSP}"
|
||||
|
||||
# selects specific distro or master when DISTRO_VERSION contains snapshot
|
||||
BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@dict([('1.5', 'dora')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'master')}/*.bbappend"
|
||||
BBFILES_SYSMOCOM_BSP += "${LAYERDIR}/yocto-${@dict([('1.5', 'dora')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'master')}/*/*.bb"
|
||||
BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5', 'dora'), ('1.1','edison'), ('1.7', 'dizzy')])[d.getVar('DISTRO_VERSION', True)[0:3]], 'master']['snapshot' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "sysmocom-bsp"
|
||||
BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_sysmocom-bsp = "6"
|
||||
BBFILE_PRIORITY_sysmocom-bsp = "1"
|
||||
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: gsmk-owhw
|
||||
#@DESCRIPTION: Machine configuration for the GSMK OWHW
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubifs"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
# in your kernel port may require changes in these variables. For more
|
||||
# details about this board please see
|
||||
# http://processors.wiki.ti.com/index.php/UBIFS_Support
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
|
||||
# UBI: sub-page size: 512
|
||||
# UBI: VID header offset: 2048 (aligned 2048)
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
# Go back to prefer our kernel
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "barebox-gsmk-owhw"
|
||||
EXTRA_IMAGEDEPENDS += "barebox-gsmk-owhw"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\
|
||||
kernel usb2514 mtd-utils-ubifs bossa \
|
||||
"
|
|
@ -1,7 +1,7 @@
|
|||
TARGET_ARCH = "arm"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
||||
PREFERRED_VERSION_linux-sysmocom = "${@dict([('1.5', '3.10.84+git%')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'4.9.14+git%')}"
|
||||
PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.7', '3.10.50+git%'), ('1.5','3.10.50+git%'), ('1.5.1','3.10.50+git%'), ('1.5.2','3.10.50+git%'), ('1.5.3','3.10.50+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}"
|
||||
PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
|
||||
|
||||
PREFERRED_VERSION_u-boot = "git"
|
||||
|
@ -19,9 +19,10 @@ EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
|
|||
MACHINE_FEATURES = "kernel26 serial"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\
|
||||
${@['', 'busybox-ifplugd'][d.getVar('DISTRO_VERSION', True)[0:3] == '1.5']} \
|
||||
busybox-ifplugd \
|
||||
${@['watchdog', ''][d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd']} \
|
||||
kernel \
|
||||
kernel-module-davinci-wdt \
|
||||
kernel-module-dspdl \
|
||||
kernel-module-dspdl-dm644x \
|
||||
kernel-module-fpgadl \
|
||||
|
@ -32,6 +33,8 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\
|
|||
kernel-module-nls-utf8 \
|
||||
kernel-module-rtfifo "
|
||||
|
||||
IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi jffs2"
|
||||
|
||||
MACHINE_EXTRA_RDEPENDS = "\
|
||||
task-sysmocom-bts \
|
||||
sysmobts-firmware \
|
||||
|
@ -41,6 +44,3 @@ MACHINE_EXTRA_RDEPENDS = "\
|
|||
|
||||
require conf/machine/include/tune-arm926ejs.inc
|
||||
require conf/machine/include/dm6446.inc
|
||||
|
||||
# we tune for armv5te but it ends up as armv5e on pyro and probably earlier. Help it.
|
||||
ARMPKGSFX_THUMB="t"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
SOC_FAMILY = "ti33x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa8hf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
|
@ -32,5 +31,5 @@ UBOOT_LOADADDRESS = "0x80008000"
|
|||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"
|
||||
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: Litecel15 EVM
|
||||
#@DESCRIPTION: Machine configuration for the NRW Litecell15 EVM
|
||||
|
||||
# (omap-a15.inc)
|
||||
|
||||
SOC_FAMILY = "omap-a15"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE = "cortexa15thf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-litecell15"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-litecell15"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-litecell15"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
UBOOT_MACHINE = "litecell15_config"
|
||||
|
||||
# Currently removing the sgx machine feature because there is no SGX package
|
||||
# available for omap5
|
||||
MACHINE_FEATURES = "kernel26 apm vfat ext2"
|
||||
|
||||
MACHINE_GPS_DEVICE = "/dev/ttyS0"
|
|
@ -0,0 +1,18 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: sysmoBTS 2050
|
||||
#@DESCRIPTION: sysmocom GmbH sysmoBTS 2050 family
|
||||
|
||||
require sysmobts-v2.conf
|
||||
|
||||
MACHINEOVERRIDES = "${MACHINE}:sysmobts-v2"
|
||||
|
||||
# TODO: Remove this file once edison support is dropped from this layer
|
||||
|
||||
# we are disabling the serial console for now, as it may interfere with
|
||||
# the MSP430 service processor communication until proper filtering/splitting
|
||||
# of the serial stream is implemented in the kernel
|
||||
SERIAL_CONSOLE = ""
|
||||
|
||||
# we don't want a different UBIfs volume name, as this is compiled into u-boot,
|
||||
# and thus would require a different u-boot image in turn.
|
||||
UBI_VOLNAME="sysmobts-v2-rootfs"
|
|
@ -0,0 +1,14 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: sysmocom - systems for mobile communications GmbH GSM BTS
|
||||
#@DESCRIPTION: sysmocom - systems for mobile communications GmbH GSM BTS
|
||||
|
||||
# Make sure we build these too
|
||||
EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware"
|
||||
EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n"
|
||||
|
||||
# ubifs config
|
||||
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 400"
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
|
||||
|
||||
require conf/machine/include/sysmobts.inc
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
#@DESCRIPTION: sysmocom - systems for mobile communications GmbH GSM Superfemto
|
||||
|
||||
# Make sure we build these too
|
||||
EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware barebox-sysmobts"
|
||||
EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware"
|
||||
EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n"
|
||||
|
||||
# ubifs config
|
||||
|
@ -11,5 +11,4 @@ MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 999"
|
|||
UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512"
|
||||
|
||||
|
||||
IMAGE_FSTYPES ?= "tar.bz2 ubi"
|
||||
require conf/machine/include/sysmobts.inc
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
# sysmoBTS 2100 machine type, based on LC15
|
||||
require conf/machine/litecell15.conf
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\
|
||||
${@['watchdog', ''][d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd']} \
|
||||
kernel-module-rpmsg-proto \
|
||||
kernel-module-rpmsg-rpc \
|
||||
kernel-module-nrw-clkerr \
|
||||
kernel-module-nrw-vswr \
|
||||
kernel-module-omap-remoteproc \
|
||||
kernel-module-fpgadl \
|
||||
"
|
||||
|
||||
MACHINE_EXTRA_RDEPENDS = "\
|
||||
task-sysmocom-bts \
|
||||
${@['watchdog', ''][d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd']} \
|
||||
"
|
|
@ -1,6 +0,0 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: common_pc
|
||||
#@DESCRIPTION: Machine configuration for sysmocom alix2d based hardware
|
||||
|
||||
require sysmocom-bsc.conf
|
||||
MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc"
|
|
@ -1,43 +0,0 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: common_pc
|
||||
#@DESCRIPTION: Machine configuration for sysmocom apu2 based hardware
|
||||
|
||||
require conf/machine/include/tune-core2.inc
|
||||
require conf/machine/include/genericx86-common.inc
|
||||
|
||||
|
||||
PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
|
||||
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-diet"
|
||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
|
||||
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
||||
PREFERRED_VERSION_linux-sysmocom = "${@dict([('1.5', '3.10.84+git%')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'4.9.14+git%')}"
|
||||
|
||||
MACHINE_FEATURES += "kernel26 x86 usbhost pci acpi"
|
||||
|
||||
KERNEL_IMAGETYPE = "bzImage"
|
||||
|
||||
IMAGE_FSTYPES = "ext4"
|
||||
|
||||
# After dora core2 got renamed to core2-32
|
||||
# After dora core2 got renamed to core2-32
|
||||
DEFAULTTUNE := "${@['core2', 'core2-32']['core2-32' in d.getVar('AVAILTUNES', True)]}"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
MACHINE_CONSOLE = "console=ttyS0,115200n8"
|
||||
|
||||
# We bypass swrast but we need it to be present for X to load correctly
|
||||
XSERVER ?= "xserver-xf86-dri-lite \
|
||||
mesa-dri-driver-swrast \
|
||||
xf86-input-vmmouse \
|
||||
xf86-input-keyboard \
|
||||
xf86-input-evdev \
|
||||
xf86-video-vmware"
|
||||
|
||||
GLIBC_ADDONS = "nptl"
|
||||
GLIBC_EXTRA_OECONF = "--with-tls"
|
||||
|
||||
#MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "linux-firmware-rtl-nic"
|
||||
|
||||
MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc"
|
|
@ -5,11 +5,10 @@
|
|||
TARGET_ARCH = "i586"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
|
||||
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-diet"
|
||||
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
|
||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
|
||||
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
||||
PREFERRED_VERSION_linux-sysmocom = "${@dict([('1.5', '3.10.84+git%')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'4.9.14+git%')}"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "${@['linux-sysmocom', 'linux']['1.1' in d.getVar('DISTRO_VERSION', True)]}"
|
||||
|
||||
require conf/machine/include/tune-geode.inc
|
||||
|
||||
|
@ -35,5 +34,4 @@ GLIBC_EXTRA_OECONF = "--with-tls"
|
|||
|
||||
#MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\
|
||||
${@['', 'busybox-ifplugd'][d.getVar('DISTRO_VERSION', True)[0:3] == '1.5']} \
|
||||
linux-firmware-rtl-nic "
|
||||
busybox-ifplugd "
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: common_pc
|
||||
#@DESCRIPTION: Machine configuration for running a common x86
|
||||
|
||||
require conf/machine/include/tune-core2.inc
|
||||
require conf/machine/include/genericx86-common.inc
|
||||
|
||||
|
||||
PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
|
||||
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-diet"
|
||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
|
||||
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
||||
PREFERRED_VERSION_linux-sysmocom = "${@dict([('1.5', '3.10.84+git%')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'4.9.14+git%')}"
|
||||
|
||||
MACHINE_FEATURES += "kernel26 x86 usbhost pci acpi"
|
||||
|
||||
KERNEL_IMAGETYPE = "bzImage"
|
||||
|
||||
IMAGE_FSTYPES = "ext4"
|
||||
|
||||
# After dora core2 got renamed to core2-32
|
||||
# After dora core2 got renamed to core2-32
|
||||
DEFAULTTUNE := "${@['core2', 'core2-32']['core2-32' in d.getVar('AVAILTUNES', True)]}"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
MACHINE_CONSOLE = "console=ttyS0,115200n8"
|
||||
|
||||
# We bypass swrast but we need it to be present for X to load correctly
|
||||
XSERVER ?= "xserver-xf86-dri-lite \
|
||||
mesa-dri-driver-swrast \
|
||||
xf86-input-vmmouse \
|
||||
xf86-input-keyboard \
|
||||
xf86-input-evdev \
|
||||
xf86-video-vmware"
|
||||
|
||||
GLIBC_ADDONS = "nptl"
|
||||
GLIBC_EXTRA_OECONF = "--with-tls"
|
||||
|
||||
#MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "linux-firmware-rtl-nic"
|
||||
|
||||
MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc"
|
|
@ -4,8 +4,7 @@
|
|||
|
||||
require conf/machine/include/ti33x.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubifs"
|
||||
DEFAULTTUNE = "cortexa8hf-neon"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
|
@ -34,9 +33,11 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
|||
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "barebox-sysmocom-odu"
|
||||
EXTRA_IMAGEDEPENDS += "barebox-sysmocom-odu"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "barebox-sysmocom"
|
||||
EXTRA_IMAGEDEPENDS += "barebox-sysmocom"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\
|
||||
kernel usb2514 \
|
||||
kernel \
|
||||
kernel-module-rt2800usb \
|
||||
linux-firmware-ralink \
|
||||
"
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
DESCRIPTION = "autossh"
|
||||
LICENSE = "MIT"
|
||||
|
||||
|
||||
LIC_FILES_CHKSUM = "file://autossh.c;endline=22;md5=b2b08187a92c97723e1d882a9fe657ac"
|
||||
SRC_URI = "http://www.harding.motd.ca/autossh/autossh-${PV}.tgz \
|
||||
file://020_use_destdir_makefile.diff \
|
||||
file://022_pass_ldflags.diff"
|
||||
|
||||
SRC_URI[md5sum] = "f86684b96e99d22b2e9d35dc63b0aa29"
|
||||
SRC_URI[sha256sum] = "9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156"
|
||||
|
||||
inherit autotools
|
||||
B = "${S}"
|
||||
|
||||
PACKAGES += "${PN}-examples"
|
||||
|
||||
FILES_${PN}-examples = "${datadir}/examples/*"
|
|
@ -1,25 +0,0 @@
|
|||
Support for $DESTDIR in the Makefile.
|
||||
|
||||
From debian
|
||||
|
||||
Index: autossh-1.4e/Makefile.in
|
||||
===================================================================
|
||||
--- autossh-1.4e.orig/Makefile.in 2015-02-10 05:41:58.000000000 +0100
|
||||
+++ autossh-1.4e/Makefile.in 2015-07-12 11:44:41.979659656 +0200
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
SSH= @path_ssh@
|
||||
|
||||
-prefix= @prefix@
|
||||
-exec_prefix= @exec_prefix@
|
||||
-bindir= @bindir@
|
||||
-datadir= @datadir@
|
||||
-mandir= @mandir@
|
||||
+prefix= ${DESTDIR}@prefix@
|
||||
+exec_prefix= ${DESTDIR}@exec_prefix@
|
||||
+bindir= ${DESTDIR}@bindir@
|
||||
+datadir= ${DESTDIR}@datadir@
|
||||
+mandir= ${DESTDIR}@mandir@
|
||||
|
||||
SRCDIR= @srcdir@
|
||||
VPATH= @srcdir@
|
|
@ -1,17 +0,0 @@
|
|||
Description: Properly pass LDFLAGS. Fixes lintian warning hardening-no-relro
|
||||
Author: Axel Beckert <abe@debian.org>
|
||||
|
||||
Index: autossh/Makefile.in
|
||||
===================================================================
|
||||
--- autossh.orig/Makefile.in 2013-05-16 14:51:47.000000000 +0200
|
||||
+++ autossh/Makefile.in 2013-05-16 14:53:19.000000000 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
|
||||
$(TARGET): $(OFILES)
|
||||
- $(CC) $(CPPFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
|
||||
+ $(CC) $(CPPFLAGS) $(LDFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
|
||||
|
||||
clean:
|
||||
- /bin/rm -f *.o *.a *.core *~
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
create_manifest() {
|
||||
printf "Build_Date: %s\n" "`date -R`" > ${IMAGE_ROOTFS}/etc/sysmocom.manifest
|
||||
printf "UUID: %s\n" "`uuidgen -r`" >> ${IMAGE_ROOTFS}/etc/sysmocom.manifest
|
||||
printf "Machine: %s\n" "${MACHINE}" >> ${IMAGE_ROOTFS}/etc/sysmocom.manifest
|
||||
printf "Image: %s\n" "${IMAGE_BASENAME}" >> ${IMAGE_ROOTFS}/etc/sysmocom.manifest
|
||||
printf "Distro: %s\n" "${DISTRO}" >> ${IMAGE_ROOTFS}/etc/sysmocom.manifest
|
||||
printf "Distro_Version: %s\n" "${DISTRO_VERSION}" >> ${IMAGE_ROOTFS}/etc/sysmocom.manifest
|
||||
}
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND += "create_manifest; "
|
|
@ -1,44 +0,0 @@
|
|||
# set the variables DNS_SERVER, DNS_DOMAIN or DNS_SEARCH in your image file
|
||||
# and require this file afterwards
|
||||
|
||||
DNSSERVER = "${@d.getVar('DNS_SERVER', True) or ''}"
|
||||
DNSDOMAIN = "${@d.getVar('DNS_DOMAIN', True) or ''}"
|
||||
DNSSEARCH = "${@d.getVar('DNS_SEARCH', True) or ''}"
|
||||
|
||||
ROOTFS_POSTPROCESS_COMMAND += "set_static_dns;"
|
||||
|
||||
set_static_dns() {
|
||||
printf "Replacing /etc/resolv.conf\n"
|
||||
printf "#This default-file was generated by the image-static-dns hook\n \
|
||||
in the post-image setup.\n\n" > ${IMAGE_ROOTFS}/etc/resolv.conf
|
||||
if [ -n "${DNSSERVER}" ]; then
|
||||
printf "setting DNS-server\n"
|
||||
printf "nameserver %s\n" "${DNSSERVER}" >> ${IMAGE_ROOTFS}/etc/resolv.conf
|
||||
fi
|
||||
if [ -n "${DNSDOMAIN}" ]; then
|
||||
printf "setting DNS-domain\n"
|
||||
printf "domain %s\n" "${DNSDOMAIN}" >> ${IMAGE_ROOTFS}/etc/resolv.conf
|
||||
fi
|
||||
|
||||
if [ -n "${DNSSEARCH}" ]; then
|
||||
printf "setting DNS-search\n"
|
||||
printf "search %s\n" "${DNSSEARCH}" >> ${IMAGE_ROOTFS}/etc/resolv.conf
|
||||
fi
|
||||
|
||||
if [ -w ${IMAGE_ROOTFS}/etc/default/udhcpc ]; then
|
||||
printf "Configure the installed udhcpc for static DNS\n"
|
||||
STATIC_DNS_TEXT="# The static-dns configuration was generated by the image-static-dns hook."
|
||||
sed -i -e "s/^#.*\(STATIC_DNS\).*$/${STATIC_DNS_TEXT}\n\1=\"yes\"/g" ${IMAGE_ROOTFS}/etc/default/udhcpc
|
||||
else
|
||||
printf "Configure the not installed udhcpc for static DNS\n"
|
||||
mkdir -p ${IMAGE_ROOTFS}/etc/default
|
||||
cat << EOF > ${IMAGE_ROOTFS}/etc/default/udhcpc
|
||||
#This default-file was generated by the image-static-dns hook,
|
||||
#in the post-image setup.
|
||||
#
|
||||
#When udhcpc is installed one setup needs to be chosen.
|
||||
|
||||
STATIC_DNS="yes"
|
||||
EOF
|
||||
fi
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
require sysmocom-image.inc
|
||||
|
||||
IMAGE_LINGUAS = " "
|
||||
IMAGE_INSTALL_append = " dnsmasq "
|
||||
|
||||
# This variant of the image will run osmo-bts and osmo-bsc
|
||||
activate_bsc() {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} packagegroup-osmocom task-sysmocom"
|
||||
IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} task-osmocom task-sysmocom"
|
||||
IMAGE_LINGUAS = " "
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image
|
||||
require recipes-apps/images/image-manifest.inc
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "8192"
|
||||
|
||||
|
|
|
@ -1,16 +1,13 @@
|
|||
DEPENDS = "${MACHINE_EXTRA_RDEPENDS} util-linux-native"
|
||||
IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} packagegroup-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} "
|
||||
DEPENDS = "${MACHINE_EXTRA_RDEPENDS}"
|
||||
IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} "
|
||||
IMAGE_LINGUAS = " "
|
||||
IMAGE_FEATURES += " package-management "
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image
|
||||
require recipes-apps/images/image-manifest.inc
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "32768"
|
||||
|
||||
IMAGE_FSTYPES += "squashfs"
|
||||
IMAGE_CMD_squashfs += "-e boot"
|
||||
|
||||
link_uimage() {
|
||||
echo "Linking the current uImage to /boot/uImage"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
require sysmocom-nitb-image.bb
|
||||
require sysmocom-rauc-slot.inc
|
|
@ -1,26 +0,0 @@
|
|||
require recipes-apps/images/sysmocom-image.inc
|
||||
require recipes-apps/images/image-passwd.inc
|
||||
require recipes-apps/images/image-sshkey.inc
|
||||
|
||||
# have enough space for log files and db
|
||||
IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE} \
|
||||
task-owhw-image task-sysmocom-debug \
|
||||
task-sysmocom-tools"
|
||||
|
||||
# vim: tabstop=8 shiftwidth=8 noexpandtab
|
||||
|
||||
# create what the rauc slots expect...
|
||||
link_kernel() {
|
||||
echo "Linking the current uImage to /kernel"
|
||||
OLD_PWD=$PWD
|
||||
|
||||
cd ${IMAGE_ROOTFS}/
|
||||
ln ./boot/uImage-* ./kernel || true
|
||||
|
||||
echo "Copying devicetree to /devicetree"
|
||||
cp "${DEPLOY_DIR_IMAGE}/uImage-am335x-gsmk-owhw.dtb" ./devicetree
|
||||
|
||||
cd $OLD_PWD
|
||||
}
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND += "link_kernel; "
|
|
@ -1,2 +0,0 @@
|
|||
require sysmocom-owhw-image.bb
|
||||
require sysmocom-rauc-slot.inc
|
|
@ -1,5 +0,0 @@
|
|||
IMAGE_INSTALL_append = " packagegroup-rauc-slot "
|
||||
|
||||
# force it to a squashfs
|
||||
IMAGE_FSTYPES = "squashfs"
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
Description=/data
|
||||
|
||||
[Mount]
|
||||
What=ubi0:data
|
||||
Where=/data
|
||||
Type=ubifs
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
Description=/data
|
||||
|
||||
[Mount]
|
||||
What=ubi0:data
|
||||
Where=/data
|
||||
Type=ubifs
|
|
@ -1,80 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
# Make sure to look at sysmocom-restore to check if the file would
|
||||
# be restored right. Currently only some dirs get restored.
|
||||
FILES="etc/sysmocom/backup.d"
|
||||
|
||||
# Pick some extra files
|
||||
if [ -e /etc/sysmocom/backup.d/ ]; then
|
||||
for extra in `ls /etc/sysmocom/backup.d/*.files`;
|
||||
do
|
||||
echo "Add extras from $extra."
|
||||
FILES="$FILES `cat $extra`"
|
||||
done
|
||||
fi
|
||||
|
||||
DATE=`date +%Y%m%d`
|
||||
|
||||
# Called for a file. Compare with the content in /ro-root
|
||||
# if this file has been modified and only take it then. In
|
||||
# case the file is not present it in /ro-root it will be
|
||||
# added to the backup set
|
||||
backup_file() {
|
||||
cmp -s /$2 /ro-root/$2
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Adding $2"
|
||||
tar -rf $1 --transform='s,^,content/,' -C / $2
|
||||
fi
|
||||
}
|
||||
|
||||
# Check if this is a file, otherwise descend
|
||||
handle_file() {
|
||||
if [ -f "/$2" -a -e "/$2" ]; then
|
||||
backup_file $1 $2
|
||||
fi
|
||||
if [ -d "/$2" -a -e "/$2" ]; then
|
||||
for file in /$2/*;
|
||||
do
|
||||
# Construct to have no leading /
|
||||
handle_file $1 $2/`basename $file`
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
do_backup_files() {
|
||||
BACKUP_FILE="/data/sysmocom-backup_$DATE.tar"
|
||||
|
||||
# 0. Sanity checking
|
||||
if [ -e $BACKUP_FILE ]; then
|
||||
echo "The backup file '$BACKUP_FILE' already exists. Exiting!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 1. Create an empty archive..
|
||||
tar -cf $BACKUP_FILE --files-from=/dev/null
|
||||
|
||||
# 2. Add all the files... we need
|
||||
for file in $FILES;
|
||||
do
|
||||
handle_file $BACKUP_FILE $file
|
||||
done
|
||||
|
||||
# 4. Generate more information
|
||||
NAME="/tmp/backup.$$"
|
||||
mkdir $NAME
|
||||
opkg list_installed > $NAME/installed_packages
|
||||
/sbin/ifconfig | grep HWaddr | cut -d ' ' -f 11 > $NAME/mac_addr
|
||||
|
||||
# 5. Add the more information
|
||||
tar -rf $BACKUP_FILE --transform='s,^,info/,' -C $NAME installed_packages mac_addr
|
||||
|
||||
# 6. Create stable link
|
||||
cd /data/
|
||||
ln -sf `basename $BACKUP_FILE` sysmocom-backup.tar
|
||||
|
||||
# 76
|
||||
echo "The backup was stored to $BACKUP_FILE"
|
||||
}
|
||||
|
||||
do_backup_files
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
Description=/data
|
||||
|
||||
[Mount]
|
||||
What=/dev/sda4
|
||||
Where=/data
|
||||
Type=ext4
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
Description=/data
|
||||
|
||||
[Mount]
|
||||
What=ubi0:data
|
||||
Where=/data
|
||||
Type=ubifs
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
do_extract() {
|
||||
# List the files and check if grep hits something
|
||||
SEARCH=`tar -tvf $1 | grep $2`
|
||||
RES=$?
|
||||
if [ $RES = 0 ]; then
|
||||
tar --transform='s,^content/,,' -C / -xvf $1 $2
|
||||
else
|
||||
echo "Directory '$2' is not in backup '$1'."
|
||||
fi
|
||||
}
|
||||
|
||||
do_restore_files() {
|
||||
BACKUP_FILE=$1
|
||||
if [ ! -e "$BACKUP_FILE" ] ; then
|
||||
echo "The backup file '$BACKUP_FILE' does not exist. Exiting!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Going to extract files from the backup '$BACKUP_FILE'"
|
||||
do_extract $BACKUP_FILE content/
|
||||
}
|
||||
|
||||
do_restore_files $1
|
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=Restore Configuration Backup
|
||||
Requires=data.mount
|
||||
After=data.mount
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=/usr/sbin/sysmocom-restore-data /data/sysmocom-backup.tar
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,29 +0,0 @@
|
|||
DESCRIPTION = "sysmocom config backup and restore scripts"
|
||||
LICENSE = "GPLv3+"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
PR = "r13"
|
||||
|
||||
SRC_URI = " \
|
||||
file://sysmocom-backup-data \
|
||||
file://sysmocom-restore-data \
|
||||
file://data.mount \
|
||||
file://sysmocom-restore.service \
|
||||
"
|
||||
RDEPENDS_${PN} = "tar"
|
||||
RCONFLICTS_${PN} = "symocom-backup"
|
||||
|
||||
inherit systemd
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sbindir}
|
||||
install -m 0755 ${WORKDIR}/sysmocom-backup-data ${D}${sbindir}/
|
||||
install -m 0755 ${WORKDIR}/sysmocom-restore-data ${D}${sbindir}/
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/data.mount ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${WORKDIR}/sysmocom-restore.service ${D}${systemd_unitdir}/system/
|
||||
}
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}"
|
||||
SYSTEMD_SERVICE_${PN} = "data.mount sysmocom-restore.service"
|
||||
SYSTEMD_AUTO_ENABLE_${PN} = "disable"
|
|
@ -1,23 +0,0 @@
|
|||
etc/hostname
|
||||
etc/ifplugd.sh
|
||||
etc/network/interfaces
|
||||
etc/openvpn
|
||||
etc/opkg/sysmocom-config.conf
|
||||
etc/osmocom/osmo-bsc-mgcp.cfg
|
||||
etc/osmocom/osmo-bsc.cfg
|
||||
etc/osmocom/osmo-bts.cfg
|
||||
etc/osmocom/osmo-nitb.cfg
|
||||
etc/osmocom/osmo-pcu.cfg
|
||||
etc/osmocom/osmo-sgsn.cfg
|
||||
etc/systemd/system/multi-user.target.wants/osmo-nitb.service
|
||||
etc/systemd/system/multi-user.target.wants/osmo-bsc.service
|
||||
etc/systemd/system/multi-user.target.wants/osmo-sgsn.service
|
||||
etc/ggsn.conf
|
||||
etc/default
|
||||
var/lib/osmocom/hlr.sqlite3
|
||||
etc/lcr
|
||||
etc/udhcpd.conf
|
||||
etc/sysmocom/backup.d
|
||||
etc/machine-id
|
||||
etc/dropbear/dropbear_rsa_host_key
|
||||
etc/uucp
|
|
@ -3,11 +3,32 @@
|
|||
|
||||
# Make sure to look at sysmocom-restore to check if the file would
|
||||
# be restored right. Currently only some dirs get restored.
|
||||
FILES="etc/sysmocom/backup.d"
|
||||
FILES="\
|
||||
etc/hostname \
|
||||
etc/ifplugd.sh \
|
||||
etc/network/interfaces \
|
||||
etc/openvpn \
|
||||
etc/opkg/sysmocom-config.conf \
|
||||
etc/osmocom/osmo-bsc-mgcp.cfg \
|
||||
etc/osmocom/osmo-bsc.cfg \
|
||||
etc/osmocom/osmo-bts.cfg \
|
||||
etc/osmocom/osmo-nitb.cfg \
|
||||
etc/osmocom/osmo-pcu.cfg \
|
||||
etc/osmocom/osmo-sgsn.cfg \
|
||||
etc/systemd/system/multi-user.target.wants/osmo-nitb.service \
|
||||
etc/systemd/system/multi-user.target.wants/osmo-bsc.service \
|
||||
etc/systemd/system/multi-user.target.wants/osmo-sgsn.service \
|
||||
etc/ggsn.conf \
|
||||
etc/default \
|
||||
var/lib/osmocom/hlr.sqlite3 \
|
||||
etc/lcr \
|
||||
etc/udhcpd.conf \
|
||||
etc/sysmocom/backup.d \
|
||||
"
|
||||
|
||||
# Pick some extra files
|
||||
if [ -e /etc/sysmocom/backup.d/ ]; then
|
||||
for extra in `ls /etc/sysmocom/backup.d/*.files`;
|
||||
for extra in `ls /etc/sysmocom/backup.d/*.backup`;
|
||||
do
|
||||
echo "Add extras from $extra."
|
||||
FILES="$FILES `cat $extra`"
|
||||
|
@ -46,10 +67,7 @@ do_backup_files() {
|
|||
# 4. Add the more information
|
||||
tar -rf $BACKUP_FILE --transform='s,^,info/,' -C $NAME installed_packages mac_addr
|
||||
|
||||
# 5. Create stable link
|
||||
ln -sf $BACKUP_FILE /home/root/sysmocom-backup.tar
|
||||
|
||||
# 6.
|
||||
# 5.
|
||||
echo "The backup was stored to $BACKUP_FILE"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,24 +1,13 @@
|
|||
DESCRIPTION = "sysmocom config backup and restore scripts"
|
||||
LICENSE = "GPLv3+"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
PR = "r13"
|
||||
PR = "r12"
|
||||
|
||||
SRC_URI = " \
|
||||
file://sysmocom-backup \
|
||||
file://sysmocom-restore \
|
||||
file://default.files \
|
||||
"
|
||||
SRC_URI = "file://sysmocom-backup file://sysmocom-restore"
|
||||
RDEPENDS_${PN} = "tar"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sbindir}
|
||||
install -m 0755 ${WORKDIR}/sysmocom-backup ${D}${sbindir}/
|
||||
install -m 0755 ${WORKDIR}/sysmocom-restore ${D}${sbindir}/
|
||||
|
||||
install -d ${D}${sysconfdir}/sysmocom/backup.d
|
||||
install -m 0644 ${WORKDIR}/default.files ${D}${sysconfdir}/sysmocom/backup.d/
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-default"
|
||||
|
||||
FILES_${PN}-default = "${sysconfdir}/sysmocom/backup.d/"
|
||||
|
|
|
@ -3,7 +3,7 @@ end 10.23.24.254
|
|||
|
||||
interface eth1
|
||||
|
||||
option subnet 10.23.24.0
|
||||
option router 10.23.24.1
|
||||
option subnet 255.255.255.0
|
||||
option broadcast 10.23.24.255
|
||||
option dns 8.8.8.8
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=UDHCPD
|
||||
Requires=sys-subsystem-net-devices-eth1.device
|
||||
After=sys-subsystem-net-devices-eth1.device
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/udhcpd -fS /etc/udhcpd.conf
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,14 @@
|
|||
DESCRIPTION = "Task for sysmocom external tools"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
SRC_URI = "file://udhcpd.conf"
|
||||
PR = "r3"
|
||||
|
||||
CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/udhcpd.conf ${D}${sysconfdir}/
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
DESCRIPTION = "Task for sysmocom external tools"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
SRC_URI = "file://udhcpd.conf \
|
||||
file://udhcpd.service \
|
||||
"
|
||||
PR = "r0"
|
||||
|
||||
CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf"
|
||||
FILES_${PN} += "${systemd_unitdir}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/udhcpd.conf ${D}${sysconfdir}/
|
||||
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
install -m 0644 /${WORKDIR}/udhcpd.service ${D}${systemd_unitdir}/system/
|
||||
ln -sf ../udhcpd.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
DESCRIPTION = "Package group for SOB"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
PR = "r2"
|
||||
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
ifupdown vlan iproute2 iproute2-misc iputils \
|
||||
"
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
DESCRIPTION = "Task for OWHW hardware"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
PR = "r2"
|
||||
|
||||
RDEPENDS_${PN} = "usbutils openvpn gpsd gps-utils dropbear \
|
||||
wget ntp ca-cacert-rootcert early-date i2c-tools \
|
||||
wireless-tools iw crda gpsdate \
|
||||
kernel-module-cfg80211 \
|
||||
kernel-module-mac80211 \
|
||||
kernel-module-rt2x00lib \
|
||||
kernel-module-rt2x00usb \
|
||||
kernel-module-rt2800lib \
|
||||
kernel-module-rt2800usb \
|
||||
linux-firmware-ralink \
|
||||
procps iputils \
|
||||
"
|
||||
|
||||
# vim: tabstop=8 shiftwidth=8 noexpandtab
|
|
@ -4,22 +4,22 @@ LIC_FILES_CHKSUM = " \
|
|||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
DEPENDS = "virtual/kernel"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
PR = "r24"
|
||||
PR = "r23"
|
||||
|
||||
CALIB = ""
|
||||
CALIB_sysmobts-v2 = "sysmobts-calib sysmobts-util"
|
||||
|
||||
UTIL = ""
|
||||
UTIL_sysmobts-v2 = "sbts2050-util gpsd gps-utils"
|
||||
UTIL_sysmobts2100 = "gpsd gps-utils"
|
||||
|
||||
# TODO: re-add femtobts-calib after it went through the API migration
|
||||
RDEPENDS_${PN} = "\
|
||||
osmo-bts \
|
||||
osmo-bts-remote \
|
||||
osmo-pcu \
|
||||
lmsensors-scripts \
|
||||
sysmobts-config \
|
||||
${CALIB} \
|
||||
${UTIL} \
|
||||
"
|
||||
RDEPENDS_${PN}_append_sysmobts-v2 = " osmo-bts-remote sysmobts-config"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
|
|
@ -3,17 +3,11 @@ LICENSE = "MIT"
|
|||
LIC_FILES_CHKSUM = " \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
PR = "r21"
|
||||
PR = "r13"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
task-sysmocom-tools \
|
||||
task-sysmocom-debug \
|
||||
minicom vlan patch procps psmisc \
|
||||
ppp rsync sed usbutils openvpn iperf \
|
||||
lcr cronie iproute2 i2c-tools cu \
|
||||
python-pyserial python-pexpect bridge-utils \
|
||||
pciutils nfacct logrotate dnsmasq ifupdown \
|
||||
logrotate python-jsonrpclib python-enum iputils \
|
||||
packagegroup-sysmobts-sob rtl8169-eeprom autossh \
|
||||
perl libdbd-sqlite-perl libdbi-perl libjson-perl \
|
||||
netcat-openbsd perf lksctp-tools task-gprscore"
|
||||
lcr cronie iproute2 i2c-tools"
|
||||
|
|
|
@ -3,7 +3,7 @@ LICENSE = "MIT"
|
|||
LIC_FILES_CHKSUM = " \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
PR = "r10"
|
||||
PR = "r7"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
lmsensors-scripts \
|
||||
|
@ -15,7 +15,4 @@ RDEPENDS_${PN} = "\
|
|||
wget \
|
||||
ca-cacert-rootcert \
|
||||
sysmocom-backup \
|
||||
sysmocom-backup-default \
|
||||
sysmocom-systemd \
|
||||
sysmocom-configure \
|
||||
"
|
||||
|
|
|
@ -1,329 +0,0 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Barebox/arm 2015.06.0 Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
|
||||
#
|
||||
# System Type
|
||||
#
|
||||
# CONFIG_ARCH_AT91 is not set
|
||||
# CONFIG_ARCH_BCM2835 is not set
|
||||
# CONFIG_ARCH_CLPS711X is not set
|
||||
# CONFIG_ARCH_DAVINCI is not set
|
||||
# CONFIG_ARCH_DIGIC is not set
|
||||
# CONFIG_ARCH_EP93XX is not set
|
||||
# CONFIG_ARCH_HIGHBANK is not set
|
||||
# CONFIG_ARCH_IMX is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_MXS is not set
|
||||
# CONFIG_ARCH_NETX is not set
|
||||
# CONFIG_ARCH_NOMADIK is not set
|
||||
CONFIG_ARCH_OMAP=y
|
||||
# CONFIG_ARCH_PXA is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_SOCFPGA is not set
|
||||
# CONFIG_ARCH_S3C24xx is not set
|
||||
# CONFIG_ARCH_S5PCxx is not set
|
||||
# CONFIG_ARCH_S3C64xx is not set
|
||||
# CONFIG_ARCH_VERSATILE is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_UEMD is not set
|
||||
# CONFIG_ARCH_ZYNQ is not set
|
||||
|
||||
#
|
||||
# Processor Type
|
||||
#
|
||||
CONFIG_CPU_32=y
|
||||
CONFIG_CPU_V7=y
|
||||
CONFIG_CPU_32v7=y
|
||||
|
||||
#
|
||||
# processor features
|
||||
#
|
||||
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
|
||||
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
|
||||
|
||||
#
|
||||
# OMAP Features
|
||||
#
|
||||
CONFIG_ARCH_AM33XX=y
|
||||
CONFIG_OMAP_CLOCK_SOURCE_DMTIMER0=y
|
||||
CONFIG_OMAP_GPMC=y
|
||||
CONFIG_OMAP_BUILD_IFT=y
|
||||
# CONFIG_OMAP_BUILD_SPI is not set
|
||||
# CONFIG_OMAP_SERIALBOOT is not set
|
||||
CONFIG_OMAP_MULTI_BOARDS=y
|
||||
# CONFIG_MACH_AFI_GF is not set
|
||||
# CONFIG_MACH_BEAGLEBONE is not set
|
||||
CONFIG_MACH_PHYTEC_SOM_AM335X=y
|
||||
CONFIG_ARM_ASM_UNIFIED=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_THUMB2_BAREBOX=y
|
||||
|
||||
#
|
||||
# ARM specific settings
|
||||
#
|
||||
# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set
|
||||
CONFIG_ARM_EXCEPTIONS=y
|
||||
# CONFIG_ARM_UNWIND is not set
|
||||
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
|
||||
CONFIG_HAS_KALLSYMS=y
|
||||
CONFIG_HAS_MODULES=y
|
||||
CONFIG_HAS_CACHE=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_GENERIC_GPIO=y
|
||||
CONFIG_BLOCK=y
|
||||
CONFIG_FILETYPE=y
|
||||
|
||||
#
|
||||
# General Settings
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_BANNER=y
|
||||
# CONFIG_MEMINFO is not set
|
||||
# CONFIG_ENVIRONMENT_VARIABLES is not set
|
||||
|
||||
#
|
||||
# memory layout
|
||||
#
|
||||
CONFIG_HAVE_PBL_IMAGE=y
|
||||
CONFIG_HAVE_PBL_MULTI_IMAGES=y
|
||||
CONFIG_HAVE_IMAGE_COMPRESSION=y
|
||||
CONFIG_PBL_IMAGE=y
|
||||
CONFIG_PBL_MULTI_IMAGES=y
|
||||
CONFIG_PBL_RELOCATABLE=y
|
||||
CONFIG_IMAGE_COMPRESSION=y
|
||||
# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
|
||||
CONFIG_IMAGE_COMPRESSION_LZO=y
|
||||
# CONFIG_IMAGE_COMPRESSION_GZIP is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_NONE is not set
|
||||
CONFIG_MMU=y
|
||||
CONFIG_MMU_EARLY=y
|
||||
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
|
||||
CONFIG_TEXT_BASE=0x0
|
||||
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
|
||||
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
|
||||
CONFIG_STACK_SIZE=0x8000
|
||||
CONFIG_MALLOC_SIZE=0x0
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
# CONFIG_MALLOC_DLMALLOC is not set
|
||||
CONFIG_MALLOC_TLSF=y
|
||||
# CONFIG_MALLOC_DUMMY is not set
|
||||
# CONFIG_KALLSYMS is not set
|
||||
CONFIG_RELOCATABLE=y
|
||||
# CONFIG_PANIC_HANG is not set
|
||||
CONFIG_PROMPT="MLO>"
|
||||
CONFIG_BAUDRATE=115200
|
||||
CONFIG_SIMPLE_READLINE=y
|
||||
CONFIG_CBSIZE=1024
|
||||
# CONFIG_SHELL_HUSH is not set
|
||||
# CONFIG_SHELL_SIMPLE is not set
|
||||
CONFIG_SHELL_NONE=y
|
||||
# CONFIG_GLOB is not set
|
||||
# CONFIG_PASSWORD is not set
|
||||
# CONFIG_ERRNO_MESSAGES is not set
|
||||
# CONFIG_TIMESTAMP is not set
|
||||
CONFIG_IMD=y
|
||||
# CONFIG_IMD_TARGET is not set
|
||||
# CONFIG_KERNEL_INSTALL_TARGET is not set
|
||||
CONFIG_CONSOLE_FULL=y
|
||||
# CONFIG_CONSOLE_SIMPLE is not set
|
||||
# CONFIG_CONSOLE_NONE is not set
|
||||
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
|
||||
# CONFIG_CONSOLE_ACTIVATE_ALL is not set
|
||||
CONFIG_CONSOLE_ACTIVATE_NONE=y
|
||||
CONFIG_PARTITION=y
|
||||
CONFIG_PARTITION_DISK=y
|
||||
CONFIG_PARTITION_DISK_DOS=y
|
||||
# CONFIG_PARTITION_DISK_EFI is not set
|
||||
# CONFIG_DEFAULT_ENVIRONMENT is not set
|
||||
CONFIG_DEFAULT_COMPRESSION_NONE=y
|
||||
CONFIG_HAVE_DEFAULT_ENVIRONMENT_NEW=y
|
||||
# CONFIG_BAREBOXENV_TARGET is not set
|
||||
# CONFIG_BAREBOXCRC32_TARGET is not set
|
||||
# CONFIG_POLLER is not set
|
||||
|
||||
#
|
||||
# Debugging
|
||||
#
|
||||
CONFIG_COMPILE_LOGLEVEL=6
|
||||
CONFIG_DEFAULT_LOGLEVEL=7
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
# CONFIG_DEBUG_LL is not set
|
||||
CONFIG_DEBUG_OMAP_UART_PORT=1
|
||||
# CONFIG_DEBUG_INITCALLS is not set
|
||||
CONFIG_HAS_DEBUG_LL=y
|
||||
# CONFIG_HAS_POWEROFF is not set
|
||||
# CONFIG_NET is not set
|
||||
|
||||
#
|
||||
# Drivers
|
||||
#
|
||||
CONFIG_OFTREE=y
|
||||
CONFIG_OFTREE_MEM_GENERIC=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_OFDEVICE=y
|
||||
CONFIG_OF_GPIO=y
|
||||
|
||||
#
|
||||
# serial drivers
|
||||
#
|
||||
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
|
||||
CONFIG_DRIVER_SERIAL_NS16550=y
|
||||
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
|
||||
# CONFIG_DRIVER_SERIAL_CADENCE is not set
|
||||
|
||||
#
|
||||
# SPI drivers
|
||||
#
|
||||
# CONFIG_SPI is not set
|
||||
# CONFIG_I2C is not set
|
||||
CONFIG_MTD=y
|
||||
# CONFIG_MTD_WRITE is not set
|
||||
# CONFIG_MTD_OOB_DEVICE is not set
|
||||
# CONFIG_MTD_RAW_DEVICE is not set
|
||||
|
||||
#
|
||||
# Self contained MTD devices
|
||||
#
|
||||
# CONFIG_MTD_DOCG3 is not set
|
||||
# CONFIG_MTD_MTDRAM is not set
|
||||
# CONFIG_DRIVER_CFI is not set
|
||||
CONFIG_NAND=y
|
||||
# CONFIG_NAND_ECC_SOFT is not set
|
||||
# CONFIG_NAND_ECC_BCH is not set
|
||||
CONFIG_NAND_ECC_HW=y
|
||||
# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
|
||||
# CONFIG_NAND_ECC_HW_SYNDROME is not set
|
||||
# CONFIG_NAND_ECC_HW_NONE is not set
|
||||
# CONFIG_NAND_INFO is not set
|
||||
# CONFIG_NAND_BBT is not set
|
||||
CONFIG_NAND_OMAP_GPMC=y
|
||||
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||
CONFIG_MTD_NAND_IDS=y
|
||||
# CONFIG_MTD_UBI is not set
|
||||
CONFIG_DISK=y
|
||||
# CONFIG_DISK_WRITE is not set
|
||||
|
||||
#
|
||||
# drive types
|
||||
#
|
||||
# CONFIG_DISK_ATA is not set
|
||||
# CONFIG_DISK_AHCI is not set
|
||||
|
||||
#
|
||||
# interface types
|
||||
#
|
||||
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
|
||||
# CONFIG_USB_HOST is not set
|
||||
# CONFIG_USB_GADGET is not set
|
||||
# CONFIG_USB_MUSB is not set
|
||||
# CONFIG_VIDEO is not set
|
||||
CONFIG_MCI=y
|
||||
|
||||
#
|
||||
# --- Feature list ---
|
||||
#
|
||||
CONFIG_MCI_STARTUP=y
|
||||
# CONFIG_MCI_WRITE is not set
|
||||
# CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
|
||||
|
||||
#
|
||||
# --- MCI host drivers ---
|
||||
#
|
||||
# CONFIG_MCI_DW is not set
|
||||
CONFIG_MCI_OMAP_HSMMC=y
|
||||
CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
|
||||
|
||||
#
|
||||
# MFD
|
||||
#
|
||||
# CONFIG_MFD_SYSCON is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
#
|
||||
# CONFIG_JTAG is not set
|
||||
# CONFIG_SRAM is not set
|
||||
# CONFIG_BOOTSTATE_DRV is not set
|
||||
# CONFIG_LED is not set
|
||||
|
||||
#
|
||||
# EEPROM support
|
||||
#
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
# CONFIG_KEYBOARD_GPIO is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_PWM is not set
|
||||
|
||||
#
|
||||
# DMA support
|
||||
#
|
||||
CONFIG_GPIOLIB=y
|
||||
|
||||
#
|
||||
# GPIO
|
||||
#
|
||||
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
||||
# CONFIG_GPIO_IMX is not set
|
||||
# CONFIG_GPIO_MXS is not set
|
||||
CONFIG_GPIO_OMAP=y
|
||||
# CONFIG_GPIO_DESIGNWARE is not set
|
||||
# CONFIG_W1 is not set
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
|
||||
#
|
||||
# Bus devices
|
||||
#
|
||||
CONFIG_BUS_OMAP_GPMC=y
|
||||
# CONFIG_REGULATOR is not set
|
||||
# CONFIG_RESET_CONTROLLER is not set
|
||||
# CONFIG_RTC_CLASS is not set
|
||||
|
||||
#
|
||||
# Firmware Drivers
|
||||
#
|
||||
|
||||
#
|
||||
# PHY Subsystem
|
||||
#
|
||||
# CONFIG_GENERIC_PHY is not set
|
||||
|
||||
#
|
||||
# Filesystem support
|
||||
#
|
||||
CONFIG_FS=y
|
||||
# CONFIG_FS_CRAMFS is not set
|
||||
# CONFIG_FS_EXT4 is not set
|
||||
# CONFIG_FS_RAMFS is not set
|
||||
# CONFIG_FS_DEVFS is not set
|
||||
CONFIG_FS_FAT=y
|
||||
# CONFIG_FS_FAT_WRITE is not set
|
||||
CONFIG_FS_FAT_LFN=y
|
||||
# CONFIG_FS_BPKFS is not set
|
||||
# CONFIG_FS_UIMAGEFS is not set
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
# CONFIG_ZLIB is not set
|
||||
# CONFIG_BZLIB is not set
|
||||
# CONFIG_LZ4_DECOMPRESS is not set
|
||||
# CONFIG_XZ_DECOMPRESS is not set
|
||||
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
|
||||
# CONFIG_PROCESS_ESCAPE_SEQUENCE is not set
|
||||
# CONFIG_LZO_DECOMPRESS is not set
|
||||
|
||||
#
|
||||
# Library gui routines
|
||||
#
|
||||
# CONFIG_BOOTSTRAP is not set
|
||||
# CONFIG_DIGEST is not set
|
|
@ -1,21 +0,0 @@
|
|||
require barebox.inc
|
||||
|
||||
SRCREV = "ce8849b03a40718fdaa9d7fc30312eeeb0fafcac"
|
||||
SRC_URI = " \
|
||||
git://git.sysmocom.de/barebox.git;branch=v2015.06 \
|
||||
file://defconfig \
|
||||
"
|
||||
|
||||
PV = "v2015.06+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BAREBOX_IMAGE ?= "barebox-${MACHINE}-mlo-${PKGV}-${PKGR}.img"
|
||||
BAREBOX_SYMLINK ?= "barebox-${MACHINE}-mlo.img"
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install ${S}/images/barebox-am33xx-gsmk-owhw-mlo.img ${DEPLOYDIR}/${BAREBOX_IMAGE}
|
||||
cd ${DEPLOYDIR}
|
||||
rm -f ${BAREBOX_SYMLINK}
|
||||
ln -sf ${BAREBOX_IMAGE} ${BAREBOX_SYMLINK}
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
From 5661d2be63f55e5cbaa72e1da1dae32e7a5c3071 Mon Sep 17 00:00:00 2001
|
||||
From: Harald Welte <laforge@gnumonks.org>
|
||||
Date: Mon, 22 Feb 2016 23:42:44 +0100
|
||||
Subject: [PATCH] OWHW HACK: hard-code the bootstate backend-node
|
||||
|
||||
this is required as the spi controller used in barebox is spi-gpio,
|
||||
while on Linux we use the hardware spi controller of the am335x,
|
||||
resulting in different devicetree paths.
|
||||
---
|
||||
common/state.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/common/state.c b/common/state.c
|
||||
index 9c0b218..1571b53 100644
|
||||
--- a/common/state.c
|
||||
+++ b/common/state.c
|
||||
@@ -758,7 +758,8 @@ static int of_state_fixup(struct device_node *root, void *ctx)
|
||||
}
|
||||
|
||||
/* backend phandle */
|
||||
- backend_node = of_find_node_by_path_from(root, state->backend->of_path);
|
||||
+ //backend_node = of_find_node_by_path_from(root, state->backend->of_path);
|
||||
+ backend_node = of_find_node_by_path_from(root, "/ocp/spi@481a0000/m95m02@0");
|
||||
if (!backend_node) {
|
||||
ret = -ENODEV;
|
||||
goto out;
|
||||
--
|
||||
2.7.0
|
||||
|
|
@ -1,615 +0,0 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Barebox/arm 2015.06.0 Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_LINUX=y
|
||||
|
||||
#
|
||||
# System Type
|
||||
#
|
||||
# CONFIG_ARCH_AT91 is not set
|
||||
# CONFIG_ARCH_BCM2835 is not set
|
||||
# CONFIG_ARCH_CLPS711X is not set
|
||||
# CONFIG_ARCH_DAVINCI is not set
|
||||
# CONFIG_ARCH_DIGIC is not set
|
||||
# CONFIG_ARCH_EP93XX is not set
|
||||
# CONFIG_ARCH_HIGHBANK is not set
|
||||
# CONFIG_ARCH_IMX is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_MXS is not set
|
||||
# CONFIG_ARCH_NETX is not set
|
||||
# CONFIG_ARCH_NOMADIK is not set
|
||||
CONFIG_ARCH_OMAP=y
|
||||
# CONFIG_ARCH_PXA is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_SOCFPGA is not set
|
||||
# CONFIG_ARCH_S3C24xx is not set
|
||||
# CONFIG_ARCH_S5PCxx is not set
|
||||
# CONFIG_ARCH_S3C64xx is not set
|
||||
# CONFIG_ARCH_VERSATILE is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_UEMD is not set
|
||||
# CONFIG_ARCH_ZYNQ is not set
|
||||
|
||||
#
|
||||
# Processor Type
|
||||
#
|
||||
CONFIG_CPU_32=y
|
||||
CONFIG_CPU_V7=y
|
||||
CONFIG_CPU_32v7=y
|
||||
|
||||
#
|
||||
# processor features
|
||||
#
|
||||
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
|
||||
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
|
||||
|
||||
#
|
||||
# OMAP Features
|
||||
#
|
||||
CONFIG_ARCH_AM33XX=y
|
||||
CONFIG_OMAP_CLOCK_SOURCE_DMTIMER0=y
|
||||
CONFIG_OMAP_GPMC=y
|
||||
# CONFIG_OMAP_BUILD_IFT is not set
|
||||
# CONFIG_OMAP_BUILD_SPI is not set
|
||||
# CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO is not set
|
||||
CONFIG_BAREBOX_UPDATE_AM33XX_NAND=y
|
||||
CONFIG_OMAP_MULTI_BOARDS=y
|
||||
# CONFIG_MACH_AFI_GF is not set
|
||||
# CONFIG_MACH_BEAGLEBONE is not set
|
||||
CONFIG_MACH_PHYTEC_SOM_AM335X=y
|
||||
CONFIG_ARM_ASM_UNIFIED=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_THUMB2_BAREBOX=y
|
||||
CONFIG_ARM_BOARD_APPEND_ATAG=y
|
||||
|
||||
#
|
||||
# ARM specific settings
|
||||
#
|
||||
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
|
||||
CONFIG_ARM_EXCEPTIONS=y
|
||||
CONFIG_ARM_UNWIND=y
|
||||
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
|
||||
CONFIG_HAS_KALLSYMS=y
|
||||
CONFIG_HAS_MODULES=y
|
||||
CONFIG_ENV_HANDLING=y
|
||||
CONFIG_HAS_CACHE=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_GENERIC_GPIO=y
|
||||
CONFIG_BOOTM=y
|
||||
CONFIG_FILETYPE=y
|
||||
CONFIG_BINFMT=y
|
||||
CONFIG_UIMAGE=y
|
||||
CONFIG_LOGBUF=y
|
||||
CONFIG_GLOBALVAR=y
|
||||
CONFIG_STDDEV=y
|
||||
CONFIG_BAREBOX_UPDATE=y
|
||||
CONFIG_MENUTREE=y
|
||||
CONFIG_FILE_LIST=y
|
||||
|
||||
#
|
||||
# General Settings
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_BANNER=y
|
||||
CONFIG_MEMINFO=y
|
||||
CONFIG_ENVIRONMENT_VARIABLES=y
|
||||
|
||||
#
|
||||
# memory layout
|
||||
#
|
||||
CONFIG_HAVE_PBL_IMAGE=y
|
||||
CONFIG_HAVE_PBL_MULTI_IMAGES=y
|
||||
CONFIG_HAVE_IMAGE_COMPRESSION=y
|
||||
CONFIG_PBL_IMAGE=y
|
||||
CONFIG_PBL_MULTI_IMAGES=y
|
||||
CONFIG_PBL_RELOCATABLE=y
|
||||
CONFIG_IMAGE_COMPRESSION=y
|
||||
# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
|
||||
CONFIG_IMAGE_COMPRESSION_LZO=y
|
||||
# CONFIG_IMAGE_COMPRESSION_GZIP is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_NONE is not set
|
||||
CONFIG_MMU=y
|
||||
CONFIG_MMU_EARLY=y
|
||||
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
|
||||
CONFIG_TEXT_BASE=0x0
|
||||
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
|
||||
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
|
||||
CONFIG_STACK_SIZE=0x8000
|
||||
CONFIG_MALLOC_SIZE=0x0
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
# CONFIG_MALLOC_DLMALLOC is not set
|
||||
CONFIG_MALLOC_TLSF=y
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_RELOCATABLE=y
|
||||
# CONFIG_PANIC_HANG is not set
|
||||
CONFIG_PROMPT="barebox> "
|
||||
CONFIG_BAUDRATE=115200
|
||||
CONFIG_CBSIZE=1024
|
||||
CONFIG_SHELL_HUSH=y
|
||||
# CONFIG_SHELL_SIMPLE is not set
|
||||
# CONFIG_SHELL_NONE is not set
|
||||
CONFIG_GLOB=y
|
||||
CONFIG_GLOB_SORT=y
|
||||
CONFIG_PROMPT_HUSH_PS2="> "
|
||||
CONFIG_HUSH_FANCY_PROMPT=y
|
||||
CONFIG_CMDLINE_EDITING=y
|
||||
CONFIG_AUTO_COMPLETE=y
|
||||
CONFIG_MENU=y
|
||||
CONFIG_PASSWORD=y
|
||||
CONFIG_PASSWORD_DEFAULT=""
|
||||
# CONFIG_PASSWD_SUM_MD5 is not set
|
||||
CONFIG_PASSWD_SUM_SHA1=y
|
||||
# CONFIG_PASSWD_SUM_SHA256 is not set
|
||||
# CONFIG_PASSWD_SUM_SHA512 is not set
|
||||
# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
|
||||
CONFIG_DYNAMIC_CRC_TABLE=y
|
||||
CONFIG_ERRNO_MESSAGES=y
|
||||
# CONFIG_TIMESTAMP is not set
|
||||
CONFIG_IMD=y
|
||||
CONFIG_IMD_TARGET=y
|
||||
# CONFIG_KERNEL_INSTALL_TARGET is not set
|
||||
CONFIG_CONSOLE_FULL=y
|
||||
# CONFIG_CONSOLE_SIMPLE is not set
|
||||
# CONFIG_CONSOLE_NONE is not set
|
||||
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
|
||||
CONFIG_CONSOLE_ACTIVATE_ALL=y
|
||||
# CONFIG_CONSOLE_ACTIVATE_NONE is not set
|
||||
# CONFIG_PARTITION is not set
|
||||
CONFIG_DEFAULT_ENVIRONMENT=y
|
||||
# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
|
||||
# CONFIG_DEFAULT_COMPRESSION_LZO is not set
|
||||
CONFIG_DEFAULT_COMPRESSION_NONE=y
|
||||
CONFIG_HAVE_DEFAULT_ENVIRONMENT_NEW=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_PATH=""
|
||||
CONFIG_BAREBOXENV_TARGET=y
|
||||
# CONFIG_BAREBOXCRC32_TARGET is not set
|
||||
CONFIG_POLLER=y
|
||||
CONFIG_STATE=y
|
||||
CONFIG_BOOTSTATE=y
|
||||
CONFIG_RESET_SOURCE=y
|
||||
|
||||
#
|
||||
# Debugging
|
||||
#
|
||||
CONFIG_COMPILE_LOGLEVEL=6
|
||||
CONFIG_DEFAULT_LOGLEVEL=7
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_DEBUG_LL is not set
|
||||
CONFIG_DEBUG_OMAP_UART_PORT=1
|
||||
# CONFIG_DEBUG_INITCALLS is not set
|
||||
CONFIG_HAS_DEBUG_LL=y
|
||||
CONFIG_COMMAND_SUPPORT=y
|
||||
# CONFIG_HAS_POWEROFF is not set
|
||||
CONFIG_COMPILE_HASH=y
|
||||
CONFIG_COMPILE_MEMORY=y
|
||||
|
||||
#
|
||||
# Commands
|
||||
#
|
||||
|
||||
#
|
||||
# Information
|
||||
#
|
||||
CONFIG_CMD_ARM_CPUINFO=y
|
||||
CONFIG_CMD_DEVINFO=y
|
||||
CONFIG_CMD_DMESG=y
|
||||
CONFIG_CMD_DRVINFO=y
|
||||
CONFIG_CMD_HELP=y
|
||||
CONFIG_LONGHELP=y
|
||||
CONFIG_CMD_IOMEM=y
|
||||
CONFIG_CMD_IMD=y
|
||||
CONFIG_CMD_MEMINFO=y
|
||||
CONFIG_CMD_ARM_MMUINFO=y
|
||||
CONFIG_CMD_VERSION=y
|
||||
|
||||
#
|
||||
# Boot
|
||||
#
|
||||
CONFIG_FLEXIBLE_BOOTARGS=y
|
||||
CONFIG_CMD_BOOT=y
|
||||
CONFIG_CMD_BOOTM=y
|
||||
CONFIG_CMD_BOOTM_SHOW_TYPE=y
|
||||
CONFIG_CMD_BOOTM_VERBOSE=y
|
||||
CONFIG_CMD_BOOTM_INITRD=y
|
||||
CONFIG_CMD_BOOTM_OFTREE=y
|
||||
# CONFIG_CMD_BOOTM_OFTREE_UIMAGE is not set
|
||||
# CONFIG_CMD_BOOTM_AIMAGE is not set
|
||||
# CONFIG_CMD_BOOTU is not set
|
||||
# CONFIG_CMD_BOOTZ is not set
|
||||
CONFIG_CMD_GO=y
|
||||
CONFIG_CMD_LOADB=y
|
||||
# CONFIG_CMD_LOADS is not set
|
||||
# CONFIG_CMD_LOADY is not set
|
||||
CONFIG_CMD_RESET=y
|
||||
# CONFIG_CMD_UIMAGE is not set
|
||||
|
||||
#
|
||||
# Partition
|
||||
#
|
||||
CONFIG_CMD_PARTITION=y
|
||||
CONFIG_CMD_AUTOMOUNT=y
|
||||
CONFIG_CMD_MOUNT=y
|
||||
CONFIG_CMD_UBI=y
|
||||
CONFIG_CMD_UBIFORMAT=y
|
||||
CONFIG_CMD_UMOUNT=y
|
||||
|
||||
#
|
||||
# Environment
|
||||
#
|
||||
CONFIG_CMD_NV=y
|
||||
CONFIG_CMD_EXPORT=y
|
||||
CONFIG_CMD_DEFAULTENV=y
|
||||
CONFIG_CMD_GLOBAL=y
|
||||
CONFIG_CMD_LOADENV=y
|
||||
CONFIG_CMD_PRINTENV=y
|
||||
CONFIG_CMD_MAGICVAR=y
|
||||
CONFIG_CMD_MAGICVAR_HELP=y
|
||||
CONFIG_CMD_SAVEENV=y
|
||||
|
||||
#
|
||||
# File
|
||||
#
|
||||
CONFIG_CMD_BASENAME=y
|
||||
CONFIG_CMD_CAT=y
|
||||
CONFIG_CMD_CD=y
|
||||
CONFIG_CMD_CP=y
|
||||
# CONFIG_CMD_CMP is not set
|
||||
CONFIG_CMD_DIGEST=y
|
||||
CONFIG_CMD_DIRNAME=y
|
||||
CONFIG_CMD_FILETYPE=y
|
||||
CONFIG_CMD_LN=y
|
||||
CONFIG_CMD_LS=y
|
||||
CONFIG_CMD_MD5SUM=y
|
||||
CONFIG_CMD_MKDIR=y
|
||||
CONFIG_CMD_PWD=y
|
||||
CONFIG_CMD_READLINK=y
|
||||
CONFIG_CMD_RM=y
|
||||
CONFIG_CMD_RMDIR=y
|
||||
# CONFIG_CMD_SHA1SUM is not set
|
||||
# CONFIG_CMD_SHA224SUM is not set
|
||||
# CONFIG_CMD_SHA256SUM is not set
|
||||
# CONFIG_CMD_SHA384SUM is not set
|
||||
# CONFIG_CMD_SHA512SUM is not set
|
||||
CONFIG_CMD_UNCOMPRESS=y
|
||||
|
||||
#
|
||||
# Shell scripting
|
||||
#
|
||||
CONFIG_CMD_FALSE=y
|
||||
CONFIG_CMD_GETOPT=y
|
||||
CONFIG_CMD_LET=y
|
||||
CONFIG_CMD_MSLEEP=y
|
||||
CONFIG_CMD_READF=y
|
||||
CONFIG_CMD_SLEEP=y
|
||||
CONFIG_CMD_TEST=y
|
||||
CONFIG_CMD_TRUE=y
|
||||
|
||||
#
|
||||
# Network
|
||||
#
|
||||
CONFIG_CMD_DHCP=y
|
||||
# CONFIG_CMD_HOST is not set
|
||||
CONFIG_NET_CMD_IFUP=y
|
||||
CONFIG_CMD_MIITOOL=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_TFTP=y
|
||||
|
||||
#
|
||||
# Console and Framebuffer interaction
|
||||
#
|
||||
CONFIG_CMD_CLEAR=y
|
||||
CONFIG_CMD_ECHO=y
|
||||
CONFIG_CMD_ECHO_E=y
|
||||
CONFIG_CMD_EDIT=y
|
||||
CONFIG_CMD_LOGIN=y
|
||||
CONFIG_CMD_MENU=y
|
||||
# CONFIG_CMD_MENU_MANAGEMENT is not set
|
||||
CONFIG_CMD_MENUTREE=y
|
||||
CONFIG_CMD_PASSWD=y
|
||||
# CONFIG_PASSWD_MODE_HIDE is not set
|
||||
CONFIG_PASSWD_MODE_STAR=y
|
||||
# CONFIG_PASSWD_MODE_CLEAR is not set
|
||||
# CONFIG_CMD_SPLASH is not set
|
||||
CONFIG_CMD_READLINE=y
|
||||
CONFIG_CMD_TIMEOUT=y
|
||||
|
||||
#
|
||||
# Memory
|
||||
#
|
||||
CONFIG_CMD_CRC=y
|
||||
CONFIG_CMD_CRC_CMP=y
|
||||
CONFIG_CMD_MD=y
|
||||
CONFIG_CMD_MEMCMP=y
|
||||
CONFIG_CMD_MEMCPY=y
|
||||
CONFIG_CMD_MEMSET=y
|
||||
CONFIG_CMD_MEMTEST=y
|
||||
CONFIG_CMD_MM=y
|
||||
CONFIG_CMD_MW=y
|
||||
|
||||
#
|
||||
# Hardware manipulation
|
||||
#
|
||||
CONFIG_CMD_DETECT=y
|
||||
CONFIG_CMD_FLASH=y
|
||||
CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_LED=y
|
||||
CONFIG_CMD_NAND=y
|
||||
CONFIG_CMD_SPI=y
|
||||
CONFIG_CMD_LED_TRIGGER=y
|
||||
CONFIG_CMD_USBGADGET=y
|
||||
|
||||
#
|
||||
# Miscellaneous
|
||||
#
|
||||
# CONFIG_CMD_2048 is not set
|
||||
CONFIG_CMD_BAREBOX_UPDATE=y
|
||||
# CONFIG_CMD_FIRMWARELOAD is not set
|
||||
CONFIG_CMD_OF_DUMP=y
|
||||
CONFIG_CMD_OF_NODE=y
|
||||
CONFIG_CMD_OF_PROPERTY=y
|
||||
CONFIG_CMD_OF_DISPLAY_TIMINGS=y
|
||||
CONFIG_CMD_OFTREE=y
|
||||
CONFIG_CMD_TIME=y
|
||||
CONFIG_CMD_STATE=y
|
||||
CONFIG_CMD_BOOTCHOOSER=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_NET_NFS=y
|
||||
CONFIG_NET_NETCONSOLE=y
|
||||
CONFIG_NET_RESOLV=y
|
||||
CONFIG_NET_IFUP=y
|
||||
|
||||
#
|
||||
# Drivers
|
||||
#
|
||||
CONFIG_OFTREE=y
|
||||
CONFIG_OFTREE_MEM_GENERIC=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_OFDEVICE=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OF_GPIO=y
|
||||
CONFIG_OF_BAREBOX_DRIVERS=y
|
||||
|
||||
#
|
||||
# serial drivers
|
||||
#
|
||||
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
|
||||
CONFIG_DRIVER_SERIAL_NS16550=y
|
||||
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
|
||||
# CONFIG_DRIVER_SERIAL_CADENCE is not set
|
||||
CONFIG_PHYLIB=y
|
||||
|
||||
#
|
||||
# Network drivers
|
||||
#
|
||||
# CONFIG_DRIVER_NET_ARC_EMAC is not set
|
||||
# CONFIG_DRIVER_NET_CALXEDA_XGMAC is not set
|
||||
CONFIG_DRIVER_NET_CPSW=y
|
||||
# CONFIG_DRIVER_NET_DESIGNWARE is not set
|
||||
# CONFIG_DRIVER_NET_ENC28J60 is not set
|
||||
# CONFIG_DRIVER_NET_KS8851_MLL is not set
|
||||
# CONFIG_DRIVER_NET_MICREL is not set
|
||||
# CONFIG_DRIVER_NET_SMC911X is not set
|
||||
# CONFIG_DRIVER_NET_SMC91111 is not set
|
||||
|
||||
#
|
||||
# phylib
|
||||
#
|
||||
|
||||
#
|
||||
# MII PHY device drivers
|
||||
#
|
||||
# CONFIG_AT803X_PHY is not set
|
||||
# CONFIG_LXT_PHY is not set
|
||||
# CONFIG_MARVELL_PHY is not set
|
||||
CONFIG_MICREL_PHY=y
|
||||
# CONFIG_NATIONAL_PHY is not set
|
||||
# CONFIG_SMSC_PHY is not set
|
||||
|
||||
#
|
||||
# MII bus device drivers
|
||||
#
|
||||
|
||||
#
|
||||
# SPI drivers
|
||||
#
|
||||
CONFIG_SPI=y
|
||||
CONFIG_DRIVER_SPI_GPIO=y
|
||||
CONFIG_DRIVER_SPI_OMAP3=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_ALGOBIT=y
|
||||
|
||||
#
|
||||
# I2C Hardware Bus support
|
||||
#
|
||||
CONFIG_I2C_GPIO=y
|
||||
CONFIG_I2C_OMAP=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_WRITE=y
|
||||
CONFIG_MTD_OOB_DEVICE=y
|
||||
# CONFIG_MTD_RAW_DEVICE is not set
|
||||
|
||||
#
|
||||
# Self contained MTD devices
|
||||
#
|
||||
# CONFIG_MTD_DATAFLASH is not set
|
||||
# CONFIG_MTD_M25P80 is not set
|
||||
# CONFIG_MTD_DOCG3 is not set
|
||||
# CONFIG_MTD_MTDRAM is not set
|
||||
# CONFIG_DRIVER_CFI is not set
|
||||
CONFIG_NAND=y
|
||||
CONFIG_NAND_ECC_SOFT=y
|
||||
# CONFIG_NAND_ECC_BCH is not set
|
||||
CONFIG_NAND_ECC_HW=y
|
||||
# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
|
||||
CONFIG_NAND_ECC_HW_SYNDROME=y
|
||||
CONFIG_NAND_ECC_HW_NONE=y
|
||||
CONFIG_NAND_INFO=y
|
||||
CONFIG_NAND_READ_OOB=y
|
||||
CONFIG_NAND_BBT=y
|
||||
# CONFIG_NAND_ALLOW_ERASE_BAD is not set
|
||||
CONFIG_NAND_OMAP_GPMC=y
|
||||
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||
CONFIG_MTD_NAND_IDS=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
||||
CONFIG_MTD_UBI_BEB_LIMIT=20
|
||||
# CONFIG_MTD_UBI_FASTMAP is not set
|
||||
# CONFIG_DISK is not set
|
||||
CONFIG_USB=y
|
||||
# CONFIG_USB_HOST is not set
|
||||
CONFIG_USB_GADGET=y
|
||||
|
||||
#
|
||||
# USB Gadget drivers
|
||||
#
|
||||
CONFIG_USB_GADGET_DFU=y
|
||||
CONFIG_USB_GADGET_SERIAL=y
|
||||
# CONFIG_USB_GADGET_FASTBOOT is not set
|
||||
CONFIG_USB_MUSB=y
|
||||
CONFIG_USB_MUSB_DSPS=y
|
||||
CONFIG_USB_MUSB_AM335X=y
|
||||
CONFIG_USB_MUSB_GADGET=y
|
||||
# CONFIG_VIDEO is not set
|
||||
# CONFIG_MCI is not set
|
||||
CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
|
||||
|
||||
#
|
||||
# MFD
|
||||
#
|
||||
# CONFIG_MFD_ACT8846 is not set
|
||||
# CONFIG_MFD_LP3972 is not set
|
||||
# CONFIG_MFD_MC13XXX is not set
|
||||
# CONFIG_MFD_MC34704 is not set
|
||||
# CONFIG_MFD_MC9SDZ60 is not set
|
||||
# CONFIG_MFD_STMPE is not set
|
||||
# CONFIG_MFD_SYSCON is not set
|
||||
# CONFIG_MFD_TWL4030 is not set
|
||||
# CONFIG_MFD_TWL6030 is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
#
|
||||
# CONFIG_JTAG is not set
|
||||
# CONFIG_SRAM is not set
|
||||
CONFIG_STATE_DRV=y
|
||||
CONFIG_BOOTSTATE_DRV=y
|
||||
CONFIG_LED=y
|
||||
CONFIG_LED_GPIO=y
|
||||
CONFIG_LED_GPIO_OF=y
|
||||
# CONFIG_LED_GPIO_RGB is not set
|
||||
# CONFIG_LED_GPIO_BICOLOR is not set
|
||||
CONFIG_LED_TRIGGERS=y
|
||||
|
||||
#
|
||||
# EEPROM support
|
||||
#
|
||||
CONFIG_EEPROM_AT25=y
|
||||
# CONFIG_EEPROM_AT24 is not set
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
CONFIG_KEYBOARD_GPIO=y
|
||||
# CONFIG_KEYBOARD_QT1070 is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_PWM is not set
|
||||
|
||||
#
|
||||
# DMA support
|
||||
#
|
||||
CONFIG_GPIOLIB=y
|
||||
|
||||
#
|
||||
# GPIO
|
||||
#
|
||||
CONFIG_GPIO_GENERIC=y
|
||||
# CONFIG_GPIO_74164 is not set
|
||||
CONFIG_GPIO_GENERIC_PLATFORM=y
|
||||
# CONFIG_GPIO_IMX is not set
|
||||
# CONFIG_GPIO_MXS is not set
|
||||
CONFIG_GPIO_OMAP=y
|
||||
# CONFIG_GPIO_PCA953X is not set
|
||||
# CONFIG_GPIO_DESIGNWARE is not set
|
||||
# CONFIG_W1 is not set
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
|
||||
#
|
||||
# Bus devices
|
||||
#
|
||||
CONFIG_BUS_OMAP_GPMC=y
|
||||
# CONFIG_REGULATOR is not set
|
||||
# CONFIG_RESET_CONTROLLER is not set
|
||||
# CONFIG_RTC_CLASS is not set
|
||||
|
||||
#
|
||||
# Firmware Drivers
|
||||
#
|
||||
# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
|
||||
|
||||
#
|
||||
# PHY Subsystem
|
||||
#
|
||||
# CONFIG_GENERIC_PHY is not set
|
||||
|
||||
#
|
||||
# Filesystem support
|
||||
#
|
||||
CONFIG_FS=y
|
||||
CONFIG_FS_AUTOMOUNT=y
|
||||
# CONFIG_FS_CRAMFS is not set
|
||||
# CONFIG_FS_EXT4 is not set
|
||||
CONFIG_FS_RAMFS=y
|
||||
CONFIG_FS_DEVFS=y
|
||||
CONFIG_FS_TFTP=y
|
||||
CONFIG_FS_NFS=y
|
||||
# CONFIG_FS_FAT is not set
|
||||
CONFIG_FS_UBIFS=y
|
||||
CONFIG_FS_UBIFS_COMPRESSION_LZO=y
|
||||
CONFIG_FS_UBIFS_COMPRESSION_ZLIB=y
|
||||
# CONFIG_FS_BPKFS is not set
|
||||
# CONFIG_FS_UIMAGEFS is not set
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
CONFIG_PARAMETER=y
|
||||
CONFIG_UNCOMPRESS=y
|
||||
CONFIG_ZLIB=y
|
||||
# CONFIG_BZLIB is not set
|
||||
# CONFIG_LZ4_DECOMPRESS is not set
|
||||
# CONFIG_XZ_DECOMPRESS is not set
|
||||
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
|
||||
CONFIG_PROCESS_ESCAPE_SEQUENCE=y
|
||||
CONFIG_LZO_DECOMPRESS=y
|
||||
CONFIG_QSORT=y
|
||||
CONFIG_LIBSCAN=y
|
||||
CONFIG_LIBUBIGEN=y
|
||||
CONFIG_LIBMTD=y
|
||||
|
||||
#
|
||||
# Library gui routines
|
||||
#
|
||||
CONFIG_CRC32=y
|
||||
CONFIG_CRC16=y
|
||||
CONFIG_DIGEST=y
|
||||
CONFIG_MD5=y
|
||||
CONFIG_SHA1=y
|
||||
# CONFIG_DIGEST_MD5_GENERIC is not set
|
||||
CONFIG_DIGEST_SHA1_GENERIC=y
|
||||
# CONFIG_DIGEST_SHA224_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA256_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA384_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA512_GENERIC is not set
|
||||
# CONFIG_DIGEST_HMAC_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA1_ARM is not set
|
||||
# CONFIG_DIGEST_SHA256_ARM is not set
|
|
@ -1,32 +0,0 @@
|
|||
require barebox.inc
|
||||
|
||||
RDEPENDS_${PN} += "${PN}-mlo"
|
||||
|
||||
SRCREV = "ec82959f054af3e4a27267290905cfd895f75331"
|
||||
SRC_URI = " \
|
||||
git://git.sysmocom.de/barebox.git;branch=v2015.06 \
|
||||
file://0001-OWHW-HACK-hard-code-the-bootstate-backend-node.patch \
|
||||
file://defconfig \
|
||||
"
|
||||
|
||||
PV = "v2015.06+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BAREBOX_IMAGE ?= "barebox-${MACHINE}-${PKGV}-${PKGR}.img"
|
||||
BAREBOX_SYMLINK ?= "barebox-${MACHINE}.img"
|
||||
|
||||
# generated using echo -n 'owhw-stop' | sha1sum
|
||||
BAREBOX_PASSWORD = "d797c986b04cdcb86206a990908e27f8c3ae96b4"
|
||||
|
||||
do_configure_append () {
|
||||
mkdir -p ${WORKDIR}/env/nv
|
||||
echo 5 > ${WORKDIR}/env/nv/login.timeout
|
||||
}
|
||||
|
||||
do_deploy_append () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install ${S}/images/barebox-am33xx-gsmk-owhw.img ${DEPLOYDIR}/${BAREBOX_IMAGE}
|
||||
cd ${DEPLOYDIR}
|
||||
rm -f ${BAREBOX_SYMLINK}
|
||||
ln -sf ${BAREBOX_IMAGE} ${BAREBOX_SYMLINK}
|
||||
}
|
|
@ -1,573 +0,0 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Barebox/arm 2015.06.0 Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_LINUX=y
|
||||
|
||||
#
|
||||
# System Type
|
||||
#
|
||||
CONFIG_BUILTIN_DTB=y
|
||||
CONFIG_BUILTIN_DTB_NAME="dm6442-sysmobts"
|
||||
# CONFIG_ARCH_AT91 is not set
|
||||
# CONFIG_ARCH_BCM2835 is not set
|
||||
# CONFIG_ARCH_CLPS711X is not set
|
||||
CONFIG_ARCH_DAVINCI=y
|
||||
# CONFIG_ARCH_DIGIC is not set
|
||||
# CONFIG_ARCH_EP93XX is not set
|
||||
# CONFIG_ARCH_HIGHBANK is not set
|
||||
# CONFIG_ARCH_IMX is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_MXS is not set
|
||||
# CONFIG_ARCH_NETX is not set
|
||||
# CONFIG_ARCH_NOMADIK is not set
|
||||
# CONFIG_ARCH_OMAP is not set
|
||||
# CONFIG_ARCH_PXA is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_SOCFPGA is not set
|
||||
# CONFIG_ARCH_S3C24xx is not set
|
||||
# CONFIG_ARCH_S5PCxx is not set
|
||||
# CONFIG_ARCH_S3C64xx is not set
|
||||
# CONFIG_ARCH_VERSATILE is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_UEMD is not set
|
||||
# CONFIG_ARCH_ZYNQ is not set
|
||||
|
||||
#
|
||||
# Processor Type
|
||||
#
|
||||
CONFIG_CPU_32=y
|
||||
CONFIG_CPU_ARM926T=y
|
||||
CONFIG_CPU_32v5=y
|
||||
|
||||
#
|
||||
# processor features
|
||||
#
|
||||
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
|
||||
CONFIG_ARCH_TEXT_BASE=0x82000000
|
||||
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
|
||||
CONFIG_ARCH_DAVINCI_DM644x=y
|
||||
CONFIG_MACH_SYSMOBTS=y
|
||||
# CONFIG_MACH_VIRT2REAL is not set
|
||||
CONFIG_AEABI=y
|
||||
# CONFIG_ARM_BOARD_APPEND_ATAG is not set
|
||||
|
||||
#
|
||||
# ARM specific settings
|
||||
#
|
||||
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
|
||||
CONFIG_ARM_EXCEPTIONS=y
|
||||
CONFIG_ARM_UNWIND=y
|
||||
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
|
||||
CONFIG_GREGORIAN_CALENDER=y
|
||||
CONFIG_HAS_KALLSYMS=y
|
||||
CONFIG_HAS_MODULES=y
|
||||
CONFIG_ENV_HANDLING=y
|
||||
CONFIG_HAS_CACHE=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_GENERIC_GPIO=y
|
||||
CONFIG_BOOTM=y
|
||||
CONFIG_FILETYPE=y
|
||||
CONFIG_BINFMT=y
|
||||
CONFIG_UIMAGE=y
|
||||
CONFIG_LOGBUF=y
|
||||
CONFIG_GLOBALVAR=y
|
||||
CONFIG_STDDEV=y
|
||||
|
||||
#
|
||||
# General Settings
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_BANNER=y
|
||||
CONFIG_MEMINFO=y
|
||||
CONFIG_ENVIRONMENT_VARIABLES=y
|
||||
|
||||
#
|
||||
# memory layout
|
||||
#
|
||||
CONFIG_HAVE_PBL_IMAGE=y
|
||||
CONFIG_HAVE_IMAGE_COMPRESSION=y
|
||||
CONFIG_PBL_IMAGE=y
|
||||
CONFIG_PBL_SINGLE_IMAGE=y
|
||||
# CONFIG_PBL_RELOCATABLE is not set
|
||||
CONFIG_IMAGE_COMPRESSION=y
|
||||
# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
|
||||
CONFIG_IMAGE_COMPRESSION_LZO=y
|
||||
# CONFIG_IMAGE_COMPRESSION_GZIP is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_NONE is not set
|
||||
CONFIG_MMU=y
|
||||
CONFIG_MMU_EARLY=y
|
||||
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
|
||||
CONFIG_TEXT_BASE=0x82000000
|
||||
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
|
||||
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
|
||||
CONFIG_STACK_SIZE=0x8000
|
||||
CONFIG_MALLOC_SIZE=0x1000000
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
CONFIG_MALLOC_DLMALLOC=y
|
||||
# CONFIG_MALLOC_TLSF is not set
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_RELOCATABLE=y
|
||||
# CONFIG_PANIC_HANG is not set
|
||||
CONFIG_PROMPT="barebox:"
|
||||
CONFIG_BAUDRATE=115200
|
||||
CONFIG_CBSIZE=1024
|
||||
CONFIG_SHELL_HUSH=y
|
||||
# CONFIG_SHELL_SIMPLE is not set
|
||||
# CONFIG_SHELL_NONE is not set
|
||||
CONFIG_GLOB=y
|
||||
CONFIG_GLOB_SORT=y
|
||||
CONFIG_PROMPT_HUSH_PS2="> "
|
||||
CONFIG_HUSH_FANCY_PROMPT=y
|
||||
CONFIG_CMDLINE_EDITING=y
|
||||
CONFIG_AUTO_COMPLETE=y
|
||||
# CONFIG_MENU is not set
|
||||
CONFIG_PASSWORD=y
|
||||
CONFIG_PASSWORD_DEFAULT=""
|
||||
# CONFIG_PASSWD_SUM_MD5 is not set
|
||||
CONFIG_PASSWD_SUM_SHA1=y
|
||||
# CONFIG_PASSWD_SUM_SHA256 is not set
|
||||
# CONFIG_PASSWD_SUM_SHA512 is not set
|
||||
# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
|
||||
CONFIG_DYNAMIC_CRC_TABLE=y
|
||||
CONFIG_ERRNO_MESSAGES=y
|
||||
CONFIG_TIMESTAMP=y
|
||||
CONFIG_IMD=y
|
||||
# CONFIG_IMD_TARGET is not set
|
||||
# CONFIG_KERNEL_INSTALL_TARGET is not set
|
||||
CONFIG_CONSOLE_FULL=y
|
||||
# CONFIG_CONSOLE_SIMPLE is not set
|
||||
# CONFIG_CONSOLE_NONE is not set
|
||||
CONFIG_CONSOLE_ACTIVATE_FIRST=y
|
||||
# CONFIG_CONSOLE_ACTIVATE_ALL is not set
|
||||
# CONFIG_CONSOLE_ACTIVATE_NONE is not set
|
||||
CONFIG_PARTITION=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT=y
|
||||
# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
|
||||
# CONFIG_DEFAULT_COMPRESSION_LZO is not set
|
||||
CONFIG_DEFAULT_COMPRESSION_NONE=y
|
||||
CONFIG_HAVE_DEFAULT_ENVIRONMENT_NEW=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_PATH=""
|
||||
# CONFIG_BAREBOXENV_TARGET is not set
|
||||
# CONFIG_BAREBOXCRC32_TARGET is not set
|
||||
CONFIG_POLLER=y
|
||||
CONFIG_STATE=y
|
||||
CONFIG_BOOTSTATE=y
|
||||
# CONFIG_RESET_SOURCE is not set
|
||||
|
||||
#
|
||||
# Debugging
|
||||
#
|
||||
CONFIG_COMPILE_LOGLEVEL=6
|
||||
CONFIG_DEFAULT_LOGLEVEL=7
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_DEBUG_LL is not set
|
||||
# CONFIG_DEBUG_INITCALLS is not set
|
||||
CONFIG_HAS_DEBUG_LL=y
|
||||
CONFIG_COMMAND_SUPPORT=y
|
||||
# CONFIG_HAS_POWEROFF is not set
|
||||
CONFIG_COMPILE_HASH=y
|
||||
CONFIG_COMPILE_MEMORY=y
|
||||
|
||||
#
|
||||
# Commands
|
||||
#
|
||||
|
||||
#
|
||||
# Information
|
||||
#
|
||||
CONFIG_CMD_ARM_CPUINFO=y
|
||||
CONFIG_CMD_DEVINFO=y
|
||||
CONFIG_CMD_DMESG=y
|
||||
CONFIG_CMD_DRVINFO=y
|
||||
CONFIG_CMD_HELP=y
|
||||
CONFIG_LONGHELP=y
|
||||
CONFIG_CMD_IOMEM=y
|
||||
CONFIG_CMD_IMD=y
|
||||
CONFIG_CMD_MEMINFO=y
|
||||
CONFIG_CMD_VERSION=y
|
||||
|
||||
#
|
||||
# Boot
|
||||
#
|
||||
CONFIG_FLEXIBLE_BOOTARGS=y
|
||||
CONFIG_CMD_BOOT=y
|
||||
CONFIG_CMD_BOOTM=y
|
||||
CONFIG_CMD_BOOTM_SHOW_TYPE=y
|
||||
CONFIG_CMD_BOOTM_VERBOSE=y
|
||||
CONFIG_CMD_BOOTM_INITRD=y
|
||||
CONFIG_CMD_BOOTM_OFTREE=y
|
||||
# CONFIG_CMD_BOOTM_OFTREE_UIMAGE is not set
|
||||
# CONFIG_CMD_BOOTM_AIMAGE is not set
|
||||
# CONFIG_CMD_BOOTU is not set
|
||||
# CONFIG_CMD_BOOTZ is not set
|
||||
CONFIG_CMD_GO=y
|
||||
# CONFIG_CMD_LOADB is not set
|
||||
# CONFIG_CMD_LOADS is not set
|
||||
# CONFIG_CMD_LOADY is not set
|
||||
CONFIG_CMD_RESET=y
|
||||
# CONFIG_CMD_UIMAGE is not set
|
||||
|
||||
#
|
||||
# Partition
|
||||
#
|
||||
CONFIG_CMD_PARTITION=y
|
||||
CONFIG_CMD_AUTOMOUNT=y
|
||||
CONFIG_CMD_MOUNT=y
|
||||
CONFIG_CMD_UBI=y
|
||||
CONFIG_CMD_UBIFORMAT=y
|
||||
CONFIG_CMD_UMOUNT=y
|
||||
|
||||
#
|
||||
# Environment
|
||||
#
|
||||
CONFIG_CMD_NV=y
|
||||
CONFIG_CMD_EXPORT=y
|
||||
CONFIG_CMD_DEFAULTENV=y
|
||||
CONFIG_CMD_GLOBAL=y
|
||||
CONFIG_CMD_LOADENV=y
|
||||
# CONFIG_CMD_PRINTENV is not set
|
||||
CONFIG_CMD_MAGICVAR=y
|
||||
CONFIG_CMD_MAGICVAR_HELP=y
|
||||
CONFIG_CMD_SAVEENV=y
|
||||
|
||||
#
|
||||
# File
|
||||
#
|
||||
CONFIG_CMD_BASENAME=y
|
||||
CONFIG_CMD_CAT=y
|
||||
CONFIG_CMD_CD=y
|
||||
CONFIG_CMD_CP=y
|
||||
# CONFIG_CMD_CMP is not set
|
||||
CONFIG_CMD_DIGEST=y
|
||||
CONFIG_CMD_DIRNAME=y
|
||||
# CONFIG_CMD_FILETYPE is not set
|
||||
# CONFIG_CMD_LN is not set
|
||||
CONFIG_CMD_LS=y
|
||||
# CONFIG_CMD_MD5SUM is not set
|
||||
CONFIG_CMD_MKDIR=y
|
||||
CONFIG_CMD_PWD=y
|
||||
CONFIG_CMD_READLINK=y
|
||||
CONFIG_CMD_RM=y
|
||||
CONFIG_CMD_RMDIR=y
|
||||
# CONFIG_CMD_SHA1SUM is not set
|
||||
# CONFIG_CMD_SHA224SUM is not set
|
||||
# CONFIG_CMD_SHA256SUM is not set
|
||||
# CONFIG_CMD_SHA384SUM is not set
|
||||
# CONFIG_CMD_SHA512SUM is not set
|
||||
# CONFIG_CMD_UNCOMPRESS is not set
|
||||
|
||||
#
|
||||
# Shell scripting
|
||||
#
|
||||
CONFIG_CMD_FALSE=y
|
||||
CONFIG_CMD_GETOPT=y
|
||||
# CONFIG_CMD_LET is not set
|
||||
# CONFIG_CMD_MSLEEP is not set
|
||||
# CONFIG_CMD_READF is not set
|
||||
CONFIG_CMD_SLEEP=y
|
||||
CONFIG_CMD_TEST=y
|
||||
CONFIG_CMD_TRUE=y
|
||||
|
||||
#
|
||||
# Network
|
||||
#
|
||||
CONFIG_CMD_DHCP=y
|
||||
# CONFIG_CMD_HOST is not set
|
||||
CONFIG_NET_CMD_IFUP=y
|
||||
CONFIG_CMD_MIITOOL=y
|
||||
CONFIG_CMD_PING=y
|
||||
# CONFIG_CMD_TFTP is not set
|
||||
|
||||
#
|
||||
# Console and Framebuffer interaction
|
||||
#
|
||||
CONFIG_CMD_CLEAR=y
|
||||
CONFIG_CMD_ECHO=y
|
||||
CONFIG_CMD_ECHO_E=y
|
||||
CONFIG_CMD_EDIT=y
|
||||
CONFIG_CMD_LOGIN=y
|
||||
CONFIG_CMD_PASSWD=y
|
||||
# CONFIG_PASSWD_MODE_HIDE is not set
|
||||
CONFIG_PASSWD_MODE_STAR=y
|
||||
# CONFIG_PASSWD_MODE_CLEAR is not set
|
||||
# CONFIG_CMD_SPLASH is not set
|
||||
CONFIG_CMD_READLINE=y
|
||||
CONFIG_CMD_TIMEOUT=y
|
||||
|
||||
#
|
||||
# Memory
|
||||
#
|
||||
CONFIG_CMD_CRC=y
|
||||
CONFIG_CMD_CRC_CMP=y
|
||||
CONFIG_CMD_MD=y
|
||||
CONFIG_CMD_MEMCMP=y
|
||||
CONFIG_CMD_MEMCPY=y
|
||||
CONFIG_CMD_MEMSET=y
|
||||
CONFIG_CMD_MEMTEST=y
|
||||
CONFIG_CMD_MM=y
|
||||
CONFIG_CMD_MW=y
|
||||
|
||||
#
|
||||
# Hardware manipulation
|
||||
#
|
||||
# CONFIG_CMD_DETECT is not set
|
||||
CONFIG_CMD_FLASH=y
|
||||
CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_LED=y
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_NANDTEST is not set
|
||||
CONFIG_CMD_LED_TRIGGER=y
|
||||
CONFIG_CMD_WD=y
|
||||
CONFIG_CMD_WD_DEFAULT_TIMOUT=60
|
||||
|
||||
#
|
||||
# Miscellaneous
|
||||
#
|
||||
# CONFIG_CMD_2048 is not set
|
||||
# CONFIG_CMD_BAREBOX_UPDATE is not set
|
||||
# CONFIG_CMD_FIRMWARELOAD is not set
|
||||
CONFIG_CMD_OF_DUMP=y
|
||||
CONFIG_CMD_OF_NODE=y
|
||||
CONFIG_CMD_OF_PROPERTY=y
|
||||
# CONFIG_CMD_OF_DISPLAY_TIMINGS is not set
|
||||
CONFIG_CMD_OFTREE=y
|
||||
CONFIG_CMD_TIME=y
|
||||
CONFIG_CMD_STATE=y
|
||||
CONFIG_CMD_BOOTCHOOSER=y
|
||||
CONFIG_NET=y
|
||||
# CONFIG_NET_NFS is not set
|
||||
# CONFIG_NET_NETCONSOLE is not set
|
||||
# CONFIG_NET_RESOLV is not set
|
||||
CONFIG_NET_IFUP=y
|
||||
|
||||
#
|
||||
# Drivers
|
||||
#
|
||||
CONFIG_OFTREE=y
|
||||
CONFIG_OFTREE_MEM_GENERIC=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_OFDEVICE=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OF_GPIO=y
|
||||
CONFIG_OF_BAREBOX_DRIVERS=y
|
||||
|
||||
#
|
||||
# serial drivers
|
||||
#
|
||||
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
|
||||
CONFIG_DRIVER_SERIAL_NS16550=y
|
||||
# CONFIG_DRIVER_SERIAL_CADENCE is not set
|
||||
CONFIG_PHYLIB=y
|
||||
|
||||
#
|
||||
# Network drivers
|
||||
#
|
||||
# CONFIG_DRIVER_NET_ARC_EMAC is not set
|
||||
# CONFIG_DRIVER_NET_CALXEDA_XGMAC is not set
|
||||
CONFIG_DRIVER_NET_DAVINCI_EMAC=y
|
||||
# CONFIG_DRIVER_NET_DESIGNWARE is not set
|
||||
# CONFIG_DRIVER_NET_KS8851_MLL is not set
|
||||
# CONFIG_DRIVER_NET_SMC911X is not set
|
||||
# CONFIG_DRIVER_NET_SMC91111 is not set
|
||||
|
||||
#
|
||||
# phylib
|
||||
#
|
||||
|
||||
#
|
||||
# MII PHY device drivers
|
||||
#
|
||||
# CONFIG_AT803X_PHY is not set
|
||||
# CONFIG_LXT_PHY is not set
|
||||
# CONFIG_MARVELL_PHY is not set
|
||||
# CONFIG_MICREL_PHY is not set
|
||||
# CONFIG_NATIONAL_PHY is not set
|
||||
# CONFIG_SMSC_PHY is not set
|
||||
|
||||
#
|
||||
# MII bus device drivers
|
||||
#
|
||||
|
||||
#
|
||||
# SPI drivers
|
||||
#
|
||||
# CONFIG_SPI is not set
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_ALGOBIT=y
|
||||
|
||||
#
|
||||
# I2C Hardware Bus support
|
||||
#
|
||||
CONFIG_I2C_GPIO=y
|
||||
# CONFIG_I2C_MV64XXX is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_WRITE=y
|
||||
CONFIG_MTD_OOB_DEVICE=y
|
||||
CONFIG_MTD_RAW_DEVICE=y
|
||||
|
||||
#
|
||||
# Self contained MTD devices
|
||||
#
|
||||
# CONFIG_MTD_DOCG3 is not set
|
||||
# CONFIG_MTD_MTDRAM is not set
|
||||
# CONFIG_DRIVER_CFI is not set
|
||||
CONFIG_NAND=y
|
||||
# CONFIG_NAND_ECC_SOFT is not set
|
||||
# CONFIG_NAND_ECC_BCH is not set
|
||||
CONFIG_NAND_ECC_HW=y
|
||||
# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
|
||||
# CONFIG_NAND_ECC_HW_SYNDROME is not set
|
||||
# CONFIG_NAND_ECC_HW_NONE is not set
|
||||
CONFIG_NAND_INFO=y
|
||||
CONFIG_NAND_READ_OOB=y
|
||||
CONFIG_NAND_BBT=y
|
||||
# CONFIG_NAND_ALLOW_ERASE_BAD is not set
|
||||
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||
CONFIG_MTD_NAND_IDS=y
|
||||
CONFIG_MTD_NAND_DAVINCI=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
||||
CONFIG_MTD_UBI_BEB_LIMIT=20
|
||||
# CONFIG_MTD_UBI_FASTMAP is not set
|
||||
# CONFIG_DISK is not set
|
||||
# CONFIG_USB_HOST is not set
|
||||
# CONFIG_USB_GADGET is not set
|
||||
# CONFIG_USB_MUSB is not set
|
||||
# CONFIG_VIDEO is not set
|
||||
# CONFIG_MCI is not set
|
||||
CONFIG_HAVE_CLK=y
|
||||
CONFIG_CLKDEV_LOOKUP=y
|
||||
CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
|
||||
|
||||
#
|
||||
# MFD
|
||||
#
|
||||
# CONFIG_MFD_ACT8846 is not set
|
||||
# CONFIG_MFD_LP3972 is not set
|
||||
# CONFIG_MFD_MC13XXX is not set
|
||||
# CONFIG_MFD_MC34704 is not set
|
||||
# CONFIG_MFD_MC9SDZ60 is not set
|
||||
# CONFIG_MFD_STMPE is not set
|
||||
# CONFIG_MFD_SYSCON is not set
|
||||
# CONFIG_MFD_TWL4030 is not set
|
||||
# CONFIG_MFD_TWL6030 is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
#
|
||||
# CONFIG_JTAG is not set
|
||||
# CONFIG_SRAM is not set
|
||||
CONFIG_STATE_DRV=y
|
||||
CONFIG_BOOTSTATE_DRV=y
|
||||
CONFIG_LED=y
|
||||
CONFIG_LED_GPIO=y
|
||||
CONFIG_LED_GPIO_OF=y
|
||||
# CONFIG_LED_GPIO_RGB is not set
|
||||
# CONFIG_LED_GPIO_BICOLOR is not set
|
||||
CONFIG_LED_TRIGGERS=y
|
||||
|
||||
#
|
||||
# EEPROM support
|
||||
#
|
||||
CONFIG_EEPROM_AT24=y
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
# CONFIG_KEYBOARD_GPIO is not set
|
||||
# CONFIG_KEYBOARD_QT1070 is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_DAVINCI=y
|
||||
# CONFIG_PWM is not set
|
||||
|
||||
#
|
||||
# DMA support
|
||||
#
|
||||
CONFIG_GPIOLIB=y
|
||||
|
||||
#
|
||||
# GPIO
|
||||
#
|
||||
CONFIG_GPIO_DAVINCI=y
|
||||
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
||||
# CONFIG_GPIO_IMX is not set
|
||||
# CONFIG_GPIO_MXS is not set
|
||||
# CONFIG_GPIO_OMAP is not set
|
||||
# CONFIG_GPIO_PCA953X is not set
|
||||
# CONFIG_GPIO_DESIGNWARE is not set
|
||||
# CONFIG_W1 is not set
|
||||
# CONFIG_PINCTRL is not set
|
||||
|
||||
#
|
||||
# Bus devices
|
||||
#
|
||||
# CONFIG_REGULATOR is not set
|
||||
# CONFIG_RESET_CONTROLLER is not set
|
||||
# CONFIG_RTC_CLASS is not set
|
||||
|
||||
#
|
||||
# Firmware Drivers
|
||||
#
|
||||
|
||||
#
|
||||
# PHY Subsystem
|
||||
#
|
||||
# CONFIG_GENERIC_PHY is not set
|
||||
|
||||
#
|
||||
# Filesystem support
|
||||
#
|
||||
CONFIG_FS=y
|
||||
CONFIG_FS_AUTOMOUNT=y
|
||||
# CONFIG_FS_CRAMFS is not set
|
||||
# CONFIG_FS_EXT4 is not set
|
||||
CONFIG_FS_RAMFS=y
|
||||
CONFIG_FS_DEVFS=y
|
||||
CONFIG_FS_TFTP=y
|
||||
CONFIG_FS_NFS=y
|
||||
# CONFIG_FS_FAT is not set
|
||||
CONFIG_FS_UBIFS=y
|
||||
CONFIG_FS_UBIFS_COMPRESSION_LZO=y
|
||||
CONFIG_FS_UBIFS_COMPRESSION_ZLIB=y
|
||||
# CONFIG_FS_BPKFS is not set
|
||||
# CONFIG_FS_UIMAGEFS is not set
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
CONFIG_PARAMETER=y
|
||||
CONFIG_UNCOMPRESS=y
|
||||
CONFIG_ZLIB=y
|
||||
# CONFIG_BZLIB is not set
|
||||
# CONFIG_LZ4_DECOMPRESS is not set
|
||||
# CONFIG_XZ_DECOMPRESS is not set
|
||||
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
|
||||
CONFIG_PROCESS_ESCAPE_SEQUENCE=y
|
||||
CONFIG_LZO_DECOMPRESS=y
|
||||
CONFIG_QSORT=y
|
||||
CONFIG_LIBSCAN=y
|
||||
CONFIG_LIBUBIGEN=y
|
||||
CONFIG_LIBMTD=y
|
||||
|
||||
#
|
||||
# Library gui routines
|
||||
#
|
||||
CONFIG_CRC32=y
|
||||
CONFIG_DIGEST=y
|
||||
CONFIG_SHA1=y
|
||||
# CONFIG_DIGEST_MD5_GENERIC is not set
|
||||
CONFIG_DIGEST_SHA1_GENERIC=y
|
||||
# CONFIG_DIGEST_SHA224_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA256_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA384_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA512_GENERIC is not set
|
||||
# CONFIG_DIGEST_HMAC_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA1_ARM is not set
|
||||
# CONFIG_DIGEST_SHA256_ARM is not set
|
|
@ -1,37 +0,0 @@
|
|||
require barebox.inc
|
||||
|
||||
SRCREV = "1d8bdd6f226df2ecbde3776b52fbc228158293fd"
|
||||
SRC_URI = " \
|
||||
git://git.sysmocom.de/barebox.git;branch=v2015.06 \
|
||||
file://defconfig \
|
||||
"
|
||||
|
||||
PV = "v2015.06+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BAREBOX_ELF_IMAGE ?= "barebox-${MACHINE}-${PKGV}-${PKGR}.elf"
|
||||
BAREBOX_ELF_SYMLINK ?= "barebox-${MACHINE}.elf"
|
||||
BAREBOX_BIN_IMAGE ?= "barebox-${MACHINE}-${PKGV}-${PKGR}.bin"
|
||||
BAREBOX_BIN_SYMLINK ?= "barebox-${MACHINE}.bin"
|
||||
|
||||
# generated using echo -n 'bts-stop' | sha1sum
|
||||
BAREBOX_PASSWORD = "5a7ef8875df28cb95a0f833906f94df8573bcc5d"
|
||||
|
||||
# Provide a replacement for calling whoami
|
||||
export KBUILD_BUILD_USER="poky"
|
||||
|
||||
do_configure_append () {
|
||||
mkdir -p ${WORKDIR}/env/nv
|
||||
echo 5 > ${WORKDIR}/env/nv/login.timeout
|
||||
}
|
||||
|
||||
do_deploy_append () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install ${S}/arch/arm/pbl/zbarebox ${DEPLOYDIR}/${BAREBOX_ELF_IMAGE}
|
||||
install ${S}/arch/arm/pbl/zbarebox.bin ${DEPLOYDIR}/${BAREBOX_BIN_IMAGE}
|
||||
cd ${DEPLOYDIR}
|
||||
rm -f ${BAREBOX_ELF_SYMLINK}
|
||||
rm -f ${BAREBOX_BIN_SYMLINK}
|
||||
ln -sf ${BAREBOX_ELF_IMAGE} ${BAREBOX_ELF_SYMLINK}
|
||||
ln -sf ${BAREBOX_BIN_IMAGE} ${BAREBOX_BIN_SYMLINK}
|
||||
}
|
|
@ -1,329 +0,0 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Barebox/arm 2015.06.0 Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
|
||||
#
|
||||
# System Type
|
||||
#
|
||||
# CONFIG_ARCH_AT91 is not set
|
||||
# CONFIG_ARCH_BCM2835 is not set
|
||||
# CONFIG_ARCH_CLPS711X is not set
|
||||
# CONFIG_ARCH_DAVINCI is not set
|
||||
# CONFIG_ARCH_DIGIC is not set
|
||||
# CONFIG_ARCH_EP93XX is not set
|
||||
# CONFIG_ARCH_HIGHBANK is not set
|
||||
# CONFIG_ARCH_IMX is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_MXS is not set
|
||||
# CONFIG_ARCH_NETX is not set
|
||||
# CONFIG_ARCH_NOMADIK is not set
|
||||
CONFIG_ARCH_OMAP=y
|
||||
# CONFIG_ARCH_PXA is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_SOCFPGA is not set
|
||||
# CONFIG_ARCH_S3C24xx is not set
|
||||
# CONFIG_ARCH_S5PCxx is not set
|
||||
# CONFIG_ARCH_S3C64xx is not set
|
||||
# CONFIG_ARCH_VERSATILE is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_UEMD is not set
|
||||
# CONFIG_ARCH_ZYNQ is not set
|
||||
|
||||
#
|
||||
# Processor Type
|
||||
#
|
||||
CONFIG_CPU_32=y
|
||||
CONFIG_CPU_V7=y
|
||||
CONFIG_CPU_32v7=y
|
||||
|
||||
#
|
||||
# processor features
|
||||
#
|
||||
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
|
||||
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
|
||||
|
||||
#
|
||||
# OMAP Features
|
||||
#
|
||||
CONFIG_ARCH_AM33XX=y
|
||||
CONFIG_OMAP_CLOCK_SOURCE_DMTIMER0=y
|
||||
CONFIG_OMAP_GPMC=y
|
||||
CONFIG_OMAP_BUILD_IFT=y
|
||||
# CONFIG_OMAP_BUILD_SPI is not set
|
||||
# CONFIG_OMAP_SERIALBOOT is not set
|
||||
CONFIG_OMAP_MULTI_BOARDS=y
|
||||
# CONFIG_MACH_AFI_GF is not set
|
||||
# CONFIG_MACH_BEAGLEBONE is not set
|
||||
CONFIG_MACH_PHYTEC_SOM_AM335X=y
|
||||
CONFIG_ARM_ASM_UNIFIED=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_THUMB2_BAREBOX=y
|
||||
|
||||
#
|
||||
# ARM specific settings
|
||||
#
|
||||
# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set
|
||||
CONFIG_ARM_EXCEPTIONS=y
|
||||
# CONFIG_ARM_UNWIND is not set
|
||||
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
|
||||
CONFIG_HAS_KALLSYMS=y
|
||||
CONFIG_HAS_MODULES=y
|
||||
CONFIG_HAS_CACHE=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_GENERIC_GPIO=y
|
||||
CONFIG_BLOCK=y
|
||||
CONFIG_FILETYPE=y
|
||||
|
||||
#
|
||||
# General Settings
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_BANNER=y
|
||||
# CONFIG_MEMINFO is not set
|
||||
# CONFIG_ENVIRONMENT_VARIABLES is not set
|
||||
|
||||
#
|
||||
# memory layout
|
||||
#
|
||||
CONFIG_HAVE_PBL_IMAGE=y
|
||||
CONFIG_HAVE_PBL_MULTI_IMAGES=y
|
||||
CONFIG_HAVE_IMAGE_COMPRESSION=y
|
||||
CONFIG_PBL_IMAGE=y
|
||||
CONFIG_PBL_MULTI_IMAGES=y
|
||||
CONFIG_PBL_RELOCATABLE=y
|
||||
CONFIG_IMAGE_COMPRESSION=y
|
||||
# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
|
||||
CONFIG_IMAGE_COMPRESSION_LZO=y
|
||||
# CONFIG_IMAGE_COMPRESSION_GZIP is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_NONE is not set
|
||||
CONFIG_MMU=y
|
||||
CONFIG_MMU_EARLY=y
|
||||
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
|
||||
CONFIG_TEXT_BASE=0x0
|
||||
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
|
||||
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
|
||||
CONFIG_STACK_SIZE=0x8000
|
||||
CONFIG_MALLOC_SIZE=0x0
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
# CONFIG_MALLOC_DLMALLOC is not set
|
||||
CONFIG_MALLOC_TLSF=y
|
||||
# CONFIG_MALLOC_DUMMY is not set
|
||||
# CONFIG_KALLSYMS is not set
|
||||
CONFIG_RELOCATABLE=y
|
||||
# CONFIG_PANIC_HANG is not set
|
||||
CONFIG_PROMPT="MLO>"
|
||||
CONFIG_BAUDRATE=115200
|
||||
CONFIG_SIMPLE_READLINE=y
|
||||
CONFIG_CBSIZE=1024
|
||||
# CONFIG_SHELL_HUSH is not set
|
||||
# CONFIG_SHELL_SIMPLE is not set
|
||||
CONFIG_SHELL_NONE=y
|
||||
# CONFIG_GLOB is not set
|
||||
# CONFIG_PASSWORD is not set
|
||||
# CONFIG_ERRNO_MESSAGES is not set
|
||||
# CONFIG_TIMESTAMP is not set
|
||||
CONFIG_IMD=y
|
||||
# CONFIG_IMD_TARGET is not set
|
||||
# CONFIG_KERNEL_INSTALL_TARGET is not set
|
||||
CONFIG_CONSOLE_FULL=y
|
||||
# CONFIG_CONSOLE_SIMPLE is not set
|
||||
# CONFIG_CONSOLE_NONE is not set
|
||||
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
|
||||
# CONFIG_CONSOLE_ACTIVATE_ALL is not set
|
||||
CONFIG_CONSOLE_ACTIVATE_NONE=y
|
||||
CONFIG_PARTITION=y
|
||||
CONFIG_PARTITION_DISK=y
|
||||
CONFIG_PARTITION_DISK_DOS=y
|
||||
# CONFIG_PARTITION_DISK_EFI is not set
|
||||
# CONFIG_DEFAULT_ENVIRONMENT is not set
|
||||
CONFIG_DEFAULT_COMPRESSION_NONE=y
|
||||
CONFIG_HAVE_DEFAULT_ENVIRONMENT_NEW=y
|
||||
# CONFIG_BAREBOXENV_TARGET is not set
|
||||
# CONFIG_BAREBOXCRC32_TARGET is not set
|
||||
# CONFIG_POLLER is not set
|
||||
|
||||
#
|
||||
# Debugging
|
||||
#
|
||||
CONFIG_COMPILE_LOGLEVEL=6
|
||||
CONFIG_DEFAULT_LOGLEVEL=7
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
# CONFIG_DEBUG_LL is not set
|
||||
CONFIG_DEBUG_OMAP_UART_PORT=1
|
||||
# CONFIG_DEBUG_INITCALLS is not set
|
||||
CONFIG_HAS_DEBUG_LL=y
|
||||
# CONFIG_HAS_POWEROFF is not set
|
||||
# CONFIG_NET is not set
|
||||
|
||||
#
|
||||
# Drivers
|
||||
#
|
||||
CONFIG_OFTREE=y
|
||||
CONFIG_OFTREE_MEM_GENERIC=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_OFDEVICE=y
|
||||
CONFIG_OF_GPIO=y
|
||||
|
||||
#
|
||||
# serial drivers
|
||||
#
|
||||
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
|
||||
CONFIG_DRIVER_SERIAL_NS16550=y
|
||||
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
|
||||
# CONFIG_DRIVER_SERIAL_CADENCE is not set
|
||||
|
||||
#
|
||||
# SPI drivers
|
||||
#
|
||||
# CONFIG_SPI is not set
|
||||
# CONFIG_I2C is not set
|
||||
CONFIG_MTD=y
|
||||
# CONFIG_MTD_WRITE is not set
|
||||
# CONFIG_MTD_OOB_DEVICE is not set
|
||||
# CONFIG_MTD_RAW_DEVICE is not set
|
||||
|
||||
#
|
||||
# Self contained MTD devices
|
||||
#
|
||||
# CONFIG_MTD_DOCG3 is not set
|
||||
# CONFIG_MTD_MTDRAM is not set
|
||||
# CONFIG_DRIVER_CFI is not set
|
||||
CONFIG_NAND=y
|
||||
# CONFIG_NAND_ECC_SOFT is not set
|
||||
# CONFIG_NAND_ECC_BCH is not set
|
||||
CONFIG_NAND_ECC_HW=y
|
||||
# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
|
||||
# CONFIG_NAND_ECC_HW_SYNDROME is not set
|
||||
# CONFIG_NAND_ECC_HW_NONE is not set
|
||||
# CONFIG_NAND_INFO is not set
|
||||
# CONFIG_NAND_BBT is not set
|
||||
CONFIG_NAND_OMAP_GPMC=y
|
||||
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||
CONFIG_MTD_NAND_IDS=y
|
||||
# CONFIG_MTD_UBI is not set
|
||||
CONFIG_DISK=y
|
||||
# CONFIG_DISK_WRITE is not set
|
||||
|
||||
#
|
||||
# drive types
|
||||
#
|
||||
# CONFIG_DISK_ATA is not set
|
||||
# CONFIG_DISK_AHCI is not set
|
||||
|
||||
#
|
||||
# interface types
|
||||
#
|
||||
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
|
||||
# CONFIG_USB_HOST is not set
|
||||
# CONFIG_USB_GADGET is not set
|
||||
# CONFIG_USB_MUSB is not set
|
||||
# CONFIG_VIDEO is not set
|
||||
CONFIG_MCI=y
|
||||
|
||||
#
|
||||
# --- Feature list ---
|
||||
#
|
||||
CONFIG_MCI_STARTUP=y
|
||||
# CONFIG_MCI_WRITE is not set
|
||||
# CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
|
||||
|
||||
#
|
||||
# --- MCI host drivers ---
|
||||
#
|
||||
# CONFIG_MCI_DW is not set
|
||||
CONFIG_MCI_OMAP_HSMMC=y
|
||||
CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
|
||||
|
||||
#
|
||||
# MFD
|
||||
#
|
||||
# CONFIG_MFD_SYSCON is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
#
|
||||
# CONFIG_JTAG is not set
|
||||
# CONFIG_SRAM is not set
|
||||
# CONFIG_BOOTSTATE_DRV is not set
|
||||
# CONFIG_LED is not set
|
||||
|
||||
#
|
||||
# EEPROM support
|
||||
#
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
# CONFIG_KEYBOARD_GPIO is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_PWM is not set
|
||||
|
||||
#
|
||||
# DMA support
|
||||
#
|
||||
CONFIG_GPIOLIB=y
|
||||
|
||||
#
|
||||
# GPIO
|
||||
#
|
||||
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
||||
# CONFIG_GPIO_IMX is not set
|
||||
# CONFIG_GPIO_MXS is not set
|
||||
CONFIG_GPIO_OMAP=y
|
||||
# CONFIG_GPIO_DESIGNWARE is not set
|
||||
# CONFIG_W1 is not set
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
|
||||
#
|
||||
# Bus devices
|
||||
#
|
||||
CONFIG_BUS_OMAP_GPMC=y
|
||||
# CONFIG_REGULATOR is not set
|
||||
# CONFIG_RESET_CONTROLLER is not set
|
||||
# CONFIG_RTC_CLASS is not set
|
||||
|
||||
#
|
||||
# Firmware Drivers
|
||||
#
|
||||
|
||||
#
|
||||
# PHY Subsystem
|
||||
#
|
||||
# CONFIG_GENERIC_PHY is not set
|
||||
|
||||
#
|
||||
# Filesystem support
|
||||
#
|
||||
CONFIG_FS=y
|
||||
# CONFIG_FS_CRAMFS is not set
|
||||
# CONFIG_FS_EXT4 is not set
|
||||
# CONFIG_FS_RAMFS is not set
|
||||
# CONFIG_FS_DEVFS is not set
|
||||
CONFIG_FS_FAT=y
|
||||
# CONFIG_FS_FAT_WRITE is not set
|
||||
CONFIG_FS_FAT_LFN=y
|
||||
# CONFIG_FS_BPKFS is not set
|
||||
# CONFIG_FS_UIMAGEFS is not set
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
# CONFIG_ZLIB is not set
|
||||
# CONFIG_BZLIB is not set
|
||||
# CONFIG_LZ4_DECOMPRESS is not set
|
||||
# CONFIG_XZ_DECOMPRESS is not set
|
||||
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
|
||||
# CONFIG_PROCESS_ESCAPE_SEQUENCE is not set
|
||||
# CONFIG_LZO_DECOMPRESS is not set
|
||||
|
||||
#
|
||||
# Library gui routines
|
||||
#
|
||||
# CONFIG_BOOTSTRAP is not set
|
||||
# CONFIG_DIGEST is not set
|
|
@ -1,21 +0,0 @@
|
|||
require barebox.inc
|
||||
|
||||
SRCREV = "34a48171a699560d8a41d00d2c07ed37a79c00d8"
|
||||
SRC_URI = " \
|
||||
git://git.sysmocom.de/barebox.git;branch=v2015.06 \
|
||||
file://defconfig \
|
||||
"
|
||||
|
||||
PV = "v2015.06+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BAREBOX_IMAGE ?= "barebox-${MACHINE}-mlo-${PKGV}-${PKGR}.img"
|
||||
BAREBOX_SYMLINK ?= "barebox-${MACHINE}-mlo.img"
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install ${S}/images/barebox-am33xx-sysmocom-odu-mlo.img ${DEPLOYDIR}/${BAREBOX_IMAGE}
|
||||
cd ${DEPLOYDIR}
|
||||
rm -f ${BAREBOX_SYMLINK}
|
||||
ln -sf ${BAREBOX_IMAGE} ${BAREBOX_SYMLINK}
|
||||
}
|
|
@ -1,625 +0,0 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Barebox/arm 2015.06.0 Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_LINUX=y
|
||||
|
||||
#
|
||||
# System Type
|
||||
#
|
||||
# CONFIG_ARCH_AT91 is not set
|
||||
# CONFIG_ARCH_BCM2835 is not set
|
||||
# CONFIG_ARCH_CLPS711X is not set
|
||||
# CONFIG_ARCH_DAVINCI is not set
|
||||
# CONFIG_ARCH_DIGIC is not set
|
||||
# CONFIG_ARCH_EP93XX is not set
|
||||
# CONFIG_ARCH_HIGHBANK is not set
|
||||
# CONFIG_ARCH_IMX is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_MXS is not set
|
||||
# CONFIG_ARCH_NETX is not set
|
||||
# CONFIG_ARCH_NOMADIK is not set
|
||||
CONFIG_ARCH_OMAP=y
|
||||
# CONFIG_ARCH_PXA is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_SOCFPGA is not set
|
||||
# CONFIG_ARCH_S3C24xx is not set
|
||||
# CONFIG_ARCH_S5PCxx is not set
|
||||
# CONFIG_ARCH_S3C64xx is not set
|
||||
# CONFIG_ARCH_VERSATILE is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_UEMD is not set
|
||||
# CONFIG_ARCH_ZYNQ is not set
|
||||
|
||||
#
|
||||
# Processor Type
|
||||
#
|
||||
CONFIG_CPU_32=y
|
||||
CONFIG_CPU_V7=y
|
||||
CONFIG_CPU_32v7=y
|
||||
|
||||
#
|
||||
# processor features
|
||||
#
|
||||
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
|
||||
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
|
||||
|
||||
#
|
||||
# OMAP Features
|
||||
#
|
||||
CONFIG_ARCH_AM33XX=y
|
||||
CONFIG_OMAP_CLOCK_SOURCE_DMTIMER0=y
|
||||
CONFIG_OMAP_GPMC=y
|
||||
# CONFIG_OMAP_BUILD_IFT is not set
|
||||
# CONFIG_OMAP_BUILD_SPI is not set
|
||||
# CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO is not set
|
||||
CONFIG_BAREBOX_UPDATE_AM33XX_NAND=y
|
||||
CONFIG_OMAP_MULTI_BOARDS=y
|
||||
# CONFIG_MACH_AFI_GF is not set
|
||||
# CONFIG_MACH_BEAGLEBONE is not set
|
||||
CONFIG_MACH_PHYTEC_SOM_AM335X=y
|
||||
CONFIG_ARM_ASM_UNIFIED=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_THUMB2_BAREBOX=y
|
||||
CONFIG_ARM_BOARD_APPEND_ATAG=y
|
||||
|
||||
#
|
||||
# ARM specific settings
|
||||
#
|
||||
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
|
||||
CONFIG_ARM_EXCEPTIONS=y
|
||||
CONFIG_ARM_UNWIND=y
|
||||
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
|
||||
CONFIG_HAS_KALLSYMS=y
|
||||
CONFIG_HAS_MODULES=y
|
||||
CONFIG_ENV_HANDLING=y
|
||||
CONFIG_HAS_CACHE=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_GENERIC_GPIO=y
|
||||
CONFIG_BOOTM=y
|
||||
CONFIG_BLOCK=y
|
||||
CONFIG_BLOCK_WRITE=y
|
||||
CONFIG_FILETYPE=y
|
||||
CONFIG_BINFMT=y
|
||||
CONFIG_UIMAGE=y
|
||||
CONFIG_LOGBUF=y
|
||||
CONFIG_GLOBALVAR=y
|
||||
CONFIG_STDDEV=y
|
||||
CONFIG_BAREBOX_UPDATE=y
|
||||
CONFIG_MENUTREE=y
|
||||
|
||||
#
|
||||
# General Settings
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_BANNER=y
|
||||
CONFIG_MEMINFO=y
|
||||
CONFIG_ENVIRONMENT_VARIABLES=y
|
||||
|
||||
#
|
||||
# memory layout
|
||||
#
|
||||
CONFIG_HAVE_PBL_IMAGE=y
|
||||
CONFIG_HAVE_PBL_MULTI_IMAGES=y
|
||||
CONFIG_HAVE_IMAGE_COMPRESSION=y
|
||||
CONFIG_PBL_IMAGE=y
|
||||
CONFIG_PBL_MULTI_IMAGES=y
|
||||
CONFIG_PBL_RELOCATABLE=y
|
||||
CONFIG_IMAGE_COMPRESSION=y
|
||||
# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
|
||||
CONFIG_IMAGE_COMPRESSION_LZO=y
|
||||
# CONFIG_IMAGE_COMPRESSION_GZIP is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
|
||||
# CONFIG_IMAGE_COMPRESSION_NONE is not set
|
||||
CONFIG_MMU=y
|
||||
CONFIG_MMU_EARLY=y
|
||||
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
|
||||
CONFIG_TEXT_BASE=0x0
|
||||
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
|
||||
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
|
||||
CONFIG_STACK_SIZE=0x8000
|
||||
CONFIG_MALLOC_SIZE=0x0
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
# CONFIG_MALLOC_DLMALLOC is not set
|
||||
CONFIG_MALLOC_TLSF=y
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_RELOCATABLE=y
|
||||
# CONFIG_PANIC_HANG is not set
|
||||
CONFIG_PROMPT="barebox> "
|
||||
CONFIG_BAUDRATE=115200
|
||||
CONFIG_CBSIZE=1024
|
||||
CONFIG_SHELL_HUSH=y
|
||||
# CONFIG_SHELL_SIMPLE is not set
|
||||
# CONFIG_SHELL_NONE is not set
|
||||
CONFIG_GLOB=y
|
||||
CONFIG_GLOB_SORT=y
|
||||
CONFIG_PROMPT_HUSH_PS2="> "
|
||||
CONFIG_HUSH_FANCY_PROMPT=y
|
||||
CONFIG_CMDLINE_EDITING=y
|
||||
CONFIG_AUTO_COMPLETE=y
|
||||
CONFIG_MENU=y
|
||||
CONFIG_PASSWORD=y
|
||||
CONFIG_PASSWORD_DEFAULT=""
|
||||
# CONFIG_PASSWD_SUM_MD5 is not set
|
||||
CONFIG_PASSWD_SUM_SHA1=y
|
||||
# CONFIG_PASSWD_SUM_SHA256 is not set
|
||||
# CONFIG_PASSWD_SUM_SHA512 is not set
|
||||
# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
|
||||
CONFIG_DYNAMIC_CRC_TABLE=y
|
||||
CONFIG_ERRNO_MESSAGES=y
|
||||
# CONFIG_TIMESTAMP is not set
|
||||
# CONFIG_BLSPEC is not set
|
||||
CONFIG_IMD=y
|
||||
CONFIG_IMD_TARGET=y
|
||||
# CONFIG_KERNEL_INSTALL_TARGET is not set
|
||||
CONFIG_CONSOLE_FULL=y
|
||||
# CONFIG_CONSOLE_SIMPLE is not set
|
||||
# CONFIG_CONSOLE_NONE is not set
|
||||
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
|
||||
CONFIG_CONSOLE_ACTIVATE_ALL=y
|
||||
# CONFIG_CONSOLE_ACTIVATE_NONE is not set
|
||||
CONFIG_PARTITION=y
|
||||
CONFIG_PARTITION_DISK=y
|
||||
CONFIG_PARTITION_DISK_DOS=y
|
||||
# CONFIG_PARTITION_DISK_EFI is not set
|
||||
CONFIG_DEFAULT_ENVIRONMENT=y
|
||||
# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
|
||||
# CONFIG_DEFAULT_COMPRESSION_LZO is not set
|
||||
CONFIG_DEFAULT_COMPRESSION_NONE=y
|
||||
CONFIG_HAVE_DEFAULT_ENVIRONMENT_NEW=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
|
||||
CONFIG_DEFAULT_ENVIRONMENT_PATH=""
|
||||
CONFIG_BAREBOXENV_TARGET=y
|
||||
# CONFIG_BAREBOXCRC32_TARGET is not set
|
||||
CONFIG_POLLER=y
|
||||
CONFIG_STATE=y
|
||||
CONFIG_BOOTSTATE=y
|
||||
CONFIG_RESET_SOURCE=y
|
||||
|
||||
#
|
||||
# Debugging
|
||||
#
|
||||
CONFIG_COMPILE_LOGLEVEL=6
|
||||
CONFIG_DEFAULT_LOGLEVEL=7
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_DEBUG_LL is not set
|
||||
CONFIG_DEBUG_OMAP_UART_PORT=1
|
||||
# CONFIG_DEBUG_INITCALLS is not set
|
||||
CONFIG_HAS_DEBUG_LL=y
|
||||
CONFIG_COMMAND_SUPPORT=y
|
||||
# CONFIG_HAS_POWEROFF is not set
|
||||
CONFIG_COMPILE_HASH=y
|
||||
CONFIG_COMPILE_MEMORY=y
|
||||
|
||||
#
|
||||
# Commands
|
||||
#
|
||||
|
||||
#
|
||||
# Information
|
||||
#
|
||||
CONFIG_CMD_ARM_CPUINFO=y
|
||||
CONFIG_CMD_DEVINFO=y
|
||||
CONFIG_CMD_DMESG=y
|
||||
CONFIG_CMD_DRVINFO=y
|
||||
CONFIG_CMD_HELP=y
|
||||
CONFIG_LONGHELP=y
|
||||
CONFIG_CMD_IOMEM=y
|
||||
CONFIG_CMD_IMD=y
|
||||
CONFIG_CMD_MEMINFO=y
|
||||
CONFIG_CMD_ARM_MMUINFO=y
|
||||
CONFIG_CMD_VERSION=y
|
||||
|
||||
#
|
||||
# Boot
|
||||
#
|
||||
CONFIG_FLEXIBLE_BOOTARGS=y
|
||||
CONFIG_CMD_BOOT=y
|
||||
CONFIG_CMD_BOOTM=y
|
||||
CONFIG_CMD_BOOTM_SHOW_TYPE=y
|
||||
CONFIG_CMD_BOOTM_VERBOSE=y
|
||||
CONFIG_CMD_BOOTM_INITRD=y
|
||||
CONFIG_CMD_BOOTM_OFTREE=y
|
||||
# CONFIG_CMD_BOOTM_OFTREE_UIMAGE is not set
|
||||
# CONFIG_CMD_BOOTM_AIMAGE is not set
|
||||
# CONFIG_CMD_BOOTU is not set
|
||||
# CONFIG_CMD_BOOTZ is not set
|
||||
CONFIG_CMD_GO=y
|
||||
CONFIG_CMD_LOADB=y
|
||||
# CONFIG_CMD_LOADS is not set
|
||||
# CONFIG_CMD_LOADY is not set
|
||||
CONFIG_CMD_RESET=y
|
||||
# CONFIG_CMD_UIMAGE is not set
|
||||
|
||||
#
|
||||
# Partition
|
||||
#
|
||||
CONFIG_CMD_PARTITION=y
|
||||
CONFIG_CMD_AUTOMOUNT=y
|
||||
CONFIG_CMD_MOUNT=y
|
||||
CONFIG_CMD_UBI=y
|
||||
CONFIG_CMD_UBIFORMAT=y
|
||||
CONFIG_CMD_UMOUNT=y
|
||||
|
||||
#
|
||||
# Environment
|
||||
#
|
||||
CONFIG_CMD_NV=y
|
||||
CONFIG_CMD_EXPORT=y
|
||||
CONFIG_CMD_DEFAULTENV=y
|
||||
CONFIG_CMD_GLOBAL=y
|
||||
CONFIG_CMD_LOADENV=y
|
||||
CONFIG_CMD_PRINTENV=y
|
||||
CONFIG_CMD_MAGICVAR=y
|
||||
CONFIG_CMD_MAGICVAR_HELP=y
|
||||
CONFIG_CMD_SAVEENV=y
|
||||
|
||||
#
|
||||
# File
|
||||
#
|
||||
CONFIG_CMD_BASENAME=y
|
||||
CONFIG_CMD_CAT=y
|
||||
CONFIG_CMD_CD=y
|
||||
CONFIG_CMD_CP=y
|
||||
# CONFIG_CMD_CMP is not set
|
||||
CONFIG_CMD_DIGEST=y
|
||||
CONFIG_CMD_DIRNAME=y
|
||||
CONFIG_CMD_FILETYPE=y
|
||||
CONFIG_CMD_LN=y
|
||||
CONFIG_CMD_LS=y
|
||||
CONFIG_CMD_MD5SUM=y
|
||||
CONFIG_CMD_MKDIR=y
|
||||
CONFIG_CMD_PWD=y
|
||||
CONFIG_CMD_READLINK=y
|
||||
CONFIG_CMD_RM=y
|
||||
CONFIG_CMD_RMDIR=y
|
||||
# CONFIG_CMD_SHA1SUM is not set
|
||||
# CONFIG_CMD_SHA224SUM is not set
|
||||
# CONFIG_CMD_SHA256SUM is not set
|
||||
# CONFIG_CMD_SHA384SUM is not set
|
||||
# CONFIG_CMD_SHA512SUM is not set
|
||||
CONFIG_CMD_UNCOMPRESS=y
|
||||
|
||||
#
|
||||
# Shell scripting
|
||||
#
|
||||
CONFIG_CMD_FALSE=y
|
||||
CONFIG_CMD_GETOPT=y
|
||||
CONFIG_CMD_LET=y
|
||||
CONFIG_CMD_MSLEEP=y
|
||||
CONFIG_CMD_READF=y
|
||||
CONFIG_CMD_SLEEP=y
|
||||
CONFIG_CMD_TEST=y
|
||||
CONFIG_CMD_TRUE=y
|
||||
|
||||
#
|
||||
# Network
|
||||
#
|
||||
CONFIG_CMD_DHCP=y
|
||||
# CONFIG_CMD_HOST is not set
|
||||
CONFIG_NET_CMD_IFUP=y
|
||||
CONFIG_CMD_MIITOOL=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_TFTP=y
|
||||
|
||||
#
|
||||
# Console and Framebuffer interaction
|
||||
#
|
||||
CONFIG_CMD_CLEAR=y
|
||||
CONFIG_CMD_ECHO=y
|
||||
CONFIG_CMD_ECHO_E=y
|
||||
CONFIG_CMD_EDIT=y
|
||||
CONFIG_CMD_LOGIN=y
|
||||
CONFIG_CMD_MENU=y
|
||||
# CONFIG_CMD_MENU_MANAGEMENT is not set
|
||||
CONFIG_CMD_MENUTREE=y
|
||||
CONFIG_CMD_PASSWD=y
|
||||
# CONFIG_PASSWD_MODE_HIDE is not set
|
||||
CONFIG_PASSWD_MODE_STAR=y
|
||||
# CONFIG_PASSWD_MODE_CLEAR is not set
|
||||
# CONFIG_CMD_SPLASH is not set
|
||||
CONFIG_CMD_READLINE=y
|
||||
CONFIG_CMD_TIMEOUT=y
|
||||
|
||||
#
|
||||
# Memory
|
||||
#
|
||||
CONFIG_CMD_CRC=y
|
||||
CONFIG_CMD_CRC_CMP=y
|
||||
CONFIG_CMD_MD=y
|
||||
CONFIG_CMD_MEMCMP=y
|
||||
CONFIG_CMD_MEMCPY=y
|
||||
CONFIG_CMD_MEMSET=y
|
||||
CONFIG_CMD_MEMTEST=y
|
||||
CONFIG_CMD_MM=y
|
||||
CONFIG_CMD_MW=y
|
||||
|
||||
#
|
||||
# Hardware manipulation
|
||||
#
|
||||
CONFIG_CMD_DETECT=y
|
||||
CONFIG_CMD_FLASH=y
|
||||
CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_LED=y
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_NANDTEST is not set
|
||||
CONFIG_CMD_LED_TRIGGER=y
|
||||
|
||||
#
|
||||
# Miscellaneous
|
||||
#
|
||||
# CONFIG_CMD_2048 is not set
|
||||
CONFIG_CMD_BAREBOX_UPDATE=y
|
||||
# CONFIG_CMD_FIRMWARELOAD is not set
|
||||
CONFIG_CMD_OF_DUMP=y
|
||||
CONFIG_CMD_OF_NODE=y
|
||||
CONFIG_CMD_OF_PROPERTY=y
|
||||
CONFIG_CMD_OF_DISPLAY_TIMINGS=y
|
||||
CONFIG_CMD_OFTREE=y
|
||||
CONFIG_CMD_TIME=y
|
||||
CONFIG_CMD_STATE=y
|
||||
CONFIG_CMD_BOOTCHOOSER=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_NET_NFS=y
|
||||
CONFIG_NET_NETCONSOLE=y
|
||||
CONFIG_NET_RESOLV=y
|
||||
CONFIG_NET_IFUP=y
|
||||
|
||||
#
|
||||
# Drivers
|
||||
#
|
||||
CONFIG_OFTREE=y
|
||||
CONFIG_OFTREE_MEM_GENERIC=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_OFDEVICE=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OF_GPIO=y
|
||||
CONFIG_OF_BAREBOX_DRIVERS=y
|
||||
|
||||
#
|
||||
# serial drivers
|
||||
#
|
||||
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
|
||||
CONFIG_DRIVER_SERIAL_NS16550=y
|
||||
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
|
||||
# CONFIG_DRIVER_SERIAL_CADENCE is not set
|
||||
CONFIG_PHYLIB=y
|
||||
|
||||
#
|
||||
# Network drivers
|
||||
#
|
||||
# CONFIG_DRIVER_NET_ARC_EMAC is not set
|
||||
# CONFIG_DRIVER_NET_CALXEDA_XGMAC is not set
|
||||
CONFIG_DRIVER_NET_CPSW=y
|
||||
# CONFIG_DRIVER_NET_DESIGNWARE is not set
|
||||
# CONFIG_DRIVER_NET_KS8851_MLL is not set
|
||||
# CONFIG_DRIVER_NET_SMC911X is not set
|
||||
# CONFIG_DRIVER_NET_SMC91111 is not set
|
||||
|
||||
#
|
||||
# phylib
|
||||
#
|
||||
|
||||
#
|
||||
# MII PHY device drivers
|
||||
#
|
||||
# CONFIG_AT803X_PHY is not set
|
||||
# CONFIG_LXT_PHY is not set
|
||||
# CONFIG_MARVELL_PHY is not set
|
||||
CONFIG_MICREL_PHY=y
|
||||
# CONFIG_NATIONAL_PHY is not set
|
||||
# CONFIG_SMSC_PHY is not set
|
||||
|
||||
#
|
||||
# MII bus device drivers
|
||||
#
|
||||
|
||||
#
|
||||
# SPI drivers
|
||||
#
|
||||
# CONFIG_SPI is not set
|
||||
CONFIG_I2C=y
|
||||
|
||||
#
|
||||
# I2C Hardware Bus support
|
||||
#
|
||||
# CONFIG_I2C_GPIO is not set
|
||||
CONFIG_I2C_OMAP=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_WRITE=y
|
||||
CONFIG_MTD_OOB_DEVICE=y
|
||||
# CONFIG_MTD_RAW_DEVICE is not set
|
||||
|
||||
#
|
||||
# Self contained MTD devices
|
||||
#
|
||||
# CONFIG_MTD_DOCG3 is not set
|
||||
# CONFIG_MTD_MTDRAM is not set
|
||||
# CONFIG_DRIVER_CFI is not set
|
||||
CONFIG_NAND=y
|
||||
CONFIG_NAND_ECC_SOFT=y
|
||||
# CONFIG_NAND_ECC_BCH is not set
|
||||
CONFIG_NAND_ECC_HW=y
|
||||
# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
|
||||
CONFIG_NAND_ECC_HW_SYNDROME=y
|
||||
CONFIG_NAND_ECC_HW_NONE=y
|
||||
CONFIG_NAND_INFO=y
|
||||
CONFIG_NAND_READ_OOB=y
|
||||
CONFIG_NAND_BBT=y
|
||||
# CONFIG_NAND_ALLOW_ERASE_BAD is not set
|
||||
CONFIG_NAND_OMAP_GPMC=y
|
||||
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||
CONFIG_MTD_NAND_IDS=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
||||
CONFIG_MTD_UBI_BEB_LIMIT=20
|
||||
# CONFIG_MTD_UBI_FASTMAP is not set
|
||||
CONFIG_DISK=y
|
||||
CONFIG_DISK_WRITE=y
|
||||
|
||||
#
|
||||
# drive types
|
||||
#
|
||||
# CONFIG_DISK_ATA is not set
|
||||
# CONFIG_DISK_AHCI is not set
|
||||
|
||||
#
|
||||
# interface types
|
||||
#
|
||||
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
|
||||
# CONFIG_USB_HOST is not set
|
||||
# CONFIG_USB_GADGET is not set
|
||||
# CONFIG_USB_MUSB is not set
|
||||
# CONFIG_VIDEO is not set
|
||||
CONFIG_MCI=y
|
||||
|
||||
#
|
||||
# --- Feature list ---
|
||||
#
|
||||
CONFIG_MCI_STARTUP=y
|
||||
CONFIG_MCI_INFO=y
|
||||
CONFIG_MCI_WRITE=y
|
||||
# CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
|
||||
|
||||
#
|
||||
# --- MCI host drivers ---
|
||||
#
|
||||
# CONFIG_MCI_DW is not set
|
||||
CONFIG_MCI_OMAP_HSMMC=y
|
||||
CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
|
||||
|
||||
#
|
||||
# MFD
|
||||
#
|
||||
# CONFIG_MFD_ACT8846 is not set
|
||||
# CONFIG_MFD_LP3972 is not set
|
||||
# CONFIG_MFD_MC13XXX is not set
|
||||
# CONFIG_MFD_MC34704 is not set
|
||||
# CONFIG_MFD_MC9SDZ60 is not set
|
||||
# CONFIG_MFD_STMPE is not set
|
||||
# CONFIG_MFD_SYSCON is not set
|
||||
# CONFIG_MFD_TWL4030 is not set
|
||||
# CONFIG_MFD_TWL6030 is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
#
|
||||
# CONFIG_JTAG is not set
|
||||
# CONFIG_SRAM is not set
|
||||
CONFIG_STATE_DRV=y
|
||||
CONFIG_BOOTSTATE_DRV=y
|
||||
CONFIG_LED=y
|
||||
CONFIG_LED_GPIO=y
|
||||
CONFIG_LED_GPIO_OF=y
|
||||
# CONFIG_LED_GPIO_RGB is not set
|
||||
# CONFIG_LED_GPIO_BICOLOR is not set
|
||||
CONFIG_LED_TRIGGERS=y
|
||||
|
||||
#
|
||||
# EEPROM support
|
||||
#
|
||||
CONFIG_EEPROM_AT24=y
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
# CONFIG_KEYBOARD_GPIO is not set
|
||||
# CONFIG_KEYBOARD_QT1070 is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_PWM is not set
|
||||
|
||||
#
|
||||
# DMA support
|
||||
#
|
||||
CONFIG_GPIOLIB=y
|
||||
|
||||
#
|
||||
# GPIO
|
||||
#
|
||||
CONFIG_GPIO_GENERIC=y
|
||||
CONFIG_GPIO_GENERIC_PLATFORM=y
|
||||
# CONFIG_GPIO_IMX is not set
|
||||
# CONFIG_GPIO_MXS is not set
|
||||
CONFIG_GPIO_OMAP=y
|
||||
# CONFIG_GPIO_PCA953X is not set
|
||||
# CONFIG_GPIO_DESIGNWARE is not set
|
||||
# CONFIG_W1 is not set
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
|
||||
#
|
||||
# Bus devices
|
||||
#
|
||||
CONFIG_BUS_OMAP_GPMC=y
|
||||
# CONFIG_REGULATOR is not set
|
||||
# CONFIG_RESET_CONTROLLER is not set
|
||||
# CONFIG_RTC_CLASS is not set
|
||||
|
||||
#
|
||||
# Firmware Drivers
|
||||
#
|
||||
|
||||
#
|
||||
# PHY Subsystem
|
||||
#
|
||||
# CONFIG_GENERIC_PHY is not set
|
||||
|
||||
#
|
||||
# Filesystem support
|
||||
#
|
||||
CONFIG_FS=y
|
||||
CONFIG_FS_AUTOMOUNT=y
|
||||
# CONFIG_FS_CRAMFS is not set
|
||||
CONFIG_FS_EXT4=y
|
||||
CONFIG_FS_RAMFS=y
|
||||
CONFIG_FS_DEVFS=y
|
||||
CONFIG_FS_TFTP=y
|
||||
CONFIG_FS_NFS=y
|
||||
CONFIG_FS_FAT=y
|
||||
CONFIG_FS_FAT_WRITE=y
|
||||
CONFIG_FS_FAT_LFN=y
|
||||
CONFIG_FS_UBIFS=y
|
||||
CONFIG_FS_UBIFS_COMPRESSION_LZO=y
|
||||
CONFIG_FS_UBIFS_COMPRESSION_ZLIB=y
|
||||
# CONFIG_FS_BPKFS is not set
|
||||
# CONFIG_FS_UIMAGEFS is not set
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
CONFIG_PARAMETER=y
|
||||
CONFIG_UNCOMPRESS=y
|
||||
CONFIG_ZLIB=y
|
||||
# CONFIG_BZLIB is not set
|
||||
# CONFIG_LZ4_DECOMPRESS is not set
|
||||
# CONFIG_XZ_DECOMPRESS is not set
|
||||
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
|
||||
CONFIG_PROCESS_ESCAPE_SEQUENCE=y
|
||||
CONFIG_LZO_DECOMPRESS=y
|
||||
CONFIG_QSORT=y
|
||||
CONFIG_LIBSCAN=y
|
||||
CONFIG_LIBUBIGEN=y
|
||||
CONFIG_LIBMTD=y
|
||||
|
||||
#
|
||||
# Library gui routines
|
||||
#
|
||||
CONFIG_CRC32=y
|
||||
CONFIG_CRC16=y
|
||||
CONFIG_DIGEST=y
|
||||
CONFIG_MD5=y
|
||||
CONFIG_SHA1=y
|
||||
# CONFIG_DIGEST_MD5_GENERIC is not set
|
||||
CONFIG_DIGEST_SHA1_GENERIC=y
|
||||
# CONFIG_DIGEST_SHA224_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA256_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA384_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA512_GENERIC is not set
|
||||
# CONFIG_DIGEST_HMAC_GENERIC is not set
|
||||
# CONFIG_DIGEST_SHA1_ARM is not set
|
||||
# CONFIG_DIGEST_SHA256_ARM is not set
|
|
@ -1,31 +0,0 @@
|
|||
require barebox.inc
|
||||
|
||||
RDEPENDS_${PN} += "${PN}-mlo"
|
||||
|
||||
SRCREV = "34a48171a699560d8a41d00d2c07ed37a79c00d8"
|
||||
SRC_URI = " \
|
||||
git://git.sysmocom.de/barebox.git;branch=v2015.06 \
|
||||
file://defconfig \
|
||||
"
|
||||
|
||||
PV = "v2015.06+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BAREBOX_IMAGE ?= "barebox-${MACHINE}-${PKGV}-${PKGR}.img"
|
||||
BAREBOX_SYMLINK ?= "barebox-${MACHINE}.img"
|
||||
|
||||
# generated using echo -n 'odu-stop' | sha1sum
|
||||
BAREBOX_PASSWORD = "45cd62a2c4b834d6f8077db04f024aec070801db"
|
||||
|
||||
do_configure_append () {
|
||||
mkdir -p ${WORKDIR}/env/nv
|
||||
echo 5 > ${WORKDIR}/env/nv/login.timeout
|
||||
}
|
||||
|
||||
do_deploy_append () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install ${S}/images/barebox-am33xx-sysmocom-odu.img ${DEPLOYDIR}/${BAREBOX_IMAGE}
|
||||
cd ${DEPLOYDIR}
|
||||
rm -f ${BAREBOX_SYMLINK}
|
||||
ln -sf ${BAREBOX_IMAGE} ${BAREBOX_SYMLINK}
|
||||
}
|
|
@ -1,50 +0,0 @@
|
|||
SUMMARY = "Barebox - a bootloader that inherits the best of U-Boot and the Linux kernel"
|
||||
HOMEPAGE = "http://www.barebox.org/"
|
||||
SECTION = "bootloaders"
|
||||
PROVIDES ?= "virtual/bootloader"
|
||||
DEPENDS += "lzop-native"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=057bf9e50e1ca857d0eb97bfe4ba8e5d"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit kernel-arch deploy
|
||||
|
||||
EXTRA_OEMAKE = "ARCH=arm CROSS_COMPILE=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}"
|
||||
|
||||
do_configure_prepend() {
|
||||
cp ${WORKDIR}/defconfig ${S}/.config
|
||||
# do not compile tools when using KERNEL_CC/KERNEL_LD
|
||||
echo CONFIG_BAREBOXENV_TARGET=n >> ${S}/.config
|
||||
echo CONFIG_BAREBOXCRC32_TARGET=n >> ${S}/.config
|
||||
echo CONFIG_KERNEL_INSTALL_TARGET=n >> ${S}/.config
|
||||
echo CONFIG_IMD_TARGET=n >> ${S}/.config
|
||||
# password
|
||||
if [ -n "${BAREBOX_PASSWORD}" ]; then
|
||||
echo -n "${BAREBOX_PASSWORD}" > ${S}/.password
|
||||
echo CONFIG_PASSWORD_DEFAULT=\".password\" >> ${S}/.config
|
||||
fi
|
||||
# extra environment files
|
||||
sed -i -e 's,^\(CONFIG_DEFAULT_ENVIRONMENT_PATH=.*\)\"$,\1 ../env\",' ${S}/.config
|
||||
oe_runmake oldconfig
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
|
||||
oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}"
|
||||
}
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOY_DIR_TOOLS}
|
||||
if [ -f ${S}/scripts/mkimage ]; then
|
||||
install -m 755 ${S}/scripts/mkimage ${DEPLOY_DIR_TOOLS}/mkimage-${PV}
|
||||
ln -sf mkimage-${PV} ${DEPLOY_DIR_TOOLS}/mkimage
|
||||
fi
|
||||
if [ -f ${S}/scripts/bareboxenv ]; then
|
||||
install -m 755 ${S}/scripts/bareboxenv ${DEPLOY_DIR_TOOLS}/bareboxenv-${PV}
|
||||
ln -sf bareboxenv-${PV} ${DEPLOY_DIR_TOOLS}/bareboxenv
|
||||
fi
|
||||
}
|
||||
|
||||
addtask deploy before do_build after do_compile
|
|
@ -1,4 +1,4 @@
|
|||
THISDIR := "${@os.path.dirname(d.getVar('FILE', True))}"
|
||||
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:"
|
||||
|
||||
PRINC="4"
|
||||
PRINC="3"
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
Welcome to
|
||||
____ _______ _____
|
||||
| _ \\__ __/ ____|
|
||||
___ _ _ ___ _ __ ___ ___ | |_) | | | | (___
|
||||
/ __| | | / __| '_ ` _ \\ / _ \\| _ < | | \\___ \\
|
||||
\\__ \\ |_| \\__ \\ | | | | | (_) | |_) | | | ____) |
|
||||
|___/\\__, |___/_| |_| |_|\\___/|____/ |_| |_____/
|
||||
__/ |
|
||||
|___/ by sysmocom GmbH
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
Welcome to
|
||||
____ _______ _____
|
||||
| _ \\__ __/ ____|
|
||||
___ _ _ ___ _ __ ___ ___ | |_) | | | | (___
|
||||
/ __| | | / __| '_ ` _ \\ / _ \\| _ < | | \\___ \\
|
||||
\\__ \\ |_| \\__ \\ | | | | | (_) | |_) | | | ____) |
|
||||
|___/\\__, |___/_| |_| |_|\\___/|____/ |_| |_____/
|
||||
__/ |
|
||||
|___/ by sysmocom GmbH
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
rootfs / auto defaults 0 1
|
||||
proc /proc proc defaults 0 0
|
||||
devpts /dev/pts devpts mode=0620,gid=5 0 0
|
||||
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
|
||||
tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
|
||||
tmpfs /var/volatile tmpfs defaults 0 0
|
|
@ -1,23 +0,0 @@
|
|||
SUMMARY = "flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers"
|
||||
HOMEPAGE = "http://sourceforge.net/projects/b-o-s-s-a/"
|
||||
LICENSE = "GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504"
|
||||
SRCREV = "05bfcc39bc0453c3028b1161175b95a81af7a901"
|
||||
SRC_URI = "git://git.code.sf.net/p/b-o-s-s-a/code"
|
||||
DEPENDS = "readline"
|
||||
|
||||
PV = "v0.0+git${SRCPV}"
|
||||
PR = "r2"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile() {
|
||||
mkdir -p obj/arm-dis
|
||||
oe_runmake -f Makefile bin/bossac bin/bossash
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}/
|
||||
install -m 0755 ${S}/bin/bossac ${D}${bindir}/bossac
|
||||
install -m 0755 ${S}/bin/bossash ${D}${bindir}/bossash
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
||||
|
||||
# The loopback interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
#eth0 is our gateway to the network.
|
||||
auto eth0
|
||||
iface eth0 inet dhcp
|
||||
|
||||
#eth1 will provide dhcp to clients
|
||||
auto eth1
|
||||
iface eth1 inet static
|
||||
address 10.23.24.1
|
||||
netmask 255.255.255.0
|
||||
network 10.23.24.0
|
||||
|
||||
auto eth1:1
|
||||
iface eth1:1 inet static
|
||||
address 10.23.123.1
|
||||
netmask 255.255.255.0
|
||||
network 10.23.123.0
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
||||
|
||||
auto lo eth0
|
||||
|
||||
# The loopback interface
|
||||
iface lo inet loopback
|
||||
|
||||
# eth0
|
||||
iface eth0 inet dhcp
|
||||
|
|
@ -1,91 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
### BEGIN INIT INFO
|
||||
# Provides: networking
|
||||
# Required-Start: mountvirtfs $local_fs
|
||||
# Required-Stop: $local_fs
|
||||
# Should-Start: ifupdown
|
||||
# Should-Stop: ifupdown
|
||||
# Default-Start: S
|
||||
# Default-Stop: 0 6
|
||||
# Short-Description: Raise network interfaces.
|
||||
### END INIT INFO
|
||||
|
||||
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
|
||||
|
||||
[ -x /sbin/ifup ] || exit 0
|
||||
|
||||
check_network_file_systems() {
|
||||
[ -e /proc/mounts ] || return 0
|
||||
|
||||
if [ -e /etc/iscsi/iscsi.initramfs ]; then
|
||||
echo "not deconfiguring network interfaces: iSCSI root is mounted."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exec 9<&0 < /proc/mounts
|
||||
while read DEV MTPT FSTYPE REST; do
|
||||
case $DEV in
|
||||
/dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
|
||||
echo "not deconfiguring network interfaces: network devices still mounted."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
case $FSTYPE in
|
||||
nfs|nfs4|smbfs|ncp|ncpfs|cifs|coda|ocfs2|gfs|pvfs|pvfs2|fuse.httpfs|fuse.curlftpfs)
|
||||
echo "not deconfiguring network interfaces: network file systems still mounted."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
exec 0<&9 9<&-
|
||||
}
|
||||
|
||||
check_network_swap() {
|
||||
[ -e /proc/swaps ] || return 0
|
||||
|
||||
exec 9<&0 < /proc/swaps
|
||||
while read DEV MTPT FSTYPE REST; do
|
||||
case $DEV in
|
||||
/dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
|
||||
echo "not deconfiguring network interfaces: network swap still mounted."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
exec 0<&9 9<&-
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Configuring network interfaces... "
|
||||
mkdir /run/network || true
|
||||
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
|
||||
ifup -a
|
||||
echo "done."
|
||||
;;
|
||||
|
||||
stop)
|
||||
check_network_file_systems
|
||||
check_network_swap
|
||||
|
||||
echo -n "Deconfiguring network interfaces... "
|
||||
ifdown -a
|
||||
echo "done."
|
||||
;;
|
||||
|
||||
force-reload|restart)
|
||||
echo "Running $0 $1 is deprecated because it may not enable again some interfaces"
|
||||
echo "Reconfiguring network interfaces... "
|
||||
ifdown -a || true
|
||||
ifup -a
|
||||
echo "done."
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: /etc/init.d/networking {start|stop}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
SYSMOCOM := "${@os.path.dirname(d.getVar('FILE', True))}"
|
||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/init-ifupdown-${PV}:${SYSMOCOM}/init-ifupdown-master:"
|
|
@ -1,7 +0,0 @@
|
|||
SYSMOCOM := "${@os.path.dirname(d.getVar('FILE', True))}"
|
||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/init-ifupdown-${PV}:${SYSMOCOM}/init-ifupdown:"
|
||||
PRINC = "13"
|
||||
|
||||
# systemd does not look at /etc/rcS.d for the script. Make sure
|
||||
# there is a symlink available
|
||||
INITSCRIPT_PARAMS = "start 40 S 2 . stop 40 0 6 1 ."
|
|
@ -1,15 +0,0 @@
|
|||
--- /home/alphaone/sysmocom/scm/backports-3.17.1-1/compat/compat-3.6.c 2014-10-25 15:39:13.000000000 +0200
|
||||
+++ ./compat/compat-3.6.c 2015-01-29 00:42:11.611124528 +0100
|
||||
@@ -148,6 +148,7 @@
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sg_alloc_table_from_pages);
|
||||
|
||||
+#if 0
|
||||
/* whoopsie ! */
|
||||
#ifndef CONFIG_COMMON_CLK
|
||||
int clk_enable(struct clk *clk)
|
||||
@@ -161,3 +162,4 @@
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(clk_disable);
|
||||
#endif
|
||||
+#endif
|
|
@ -1,17 +0,0 @@
|
|||
--- /home/alphaone/sysmocom/scm/backports-3.17.1-1/compat/crypto-ccm.c 2014-10-25 15:39:13.000000000 +0200
|
||||
+++ ./compat/crypto-ccm.c 2015-01-29 00:34:06.584003696 +0100
|
||||
@@ -247,12 +247,12 @@
|
||||
scatterwalk_start(&walk, sg_next(walk.sg));
|
||||
n = scatterwalk_clamp(&walk, len);
|
||||
}
|
||||
- data_src = scatterwalk_map(&walk);
|
||||
+ data_src = scatterwalk_map(&walk, 0);
|
||||
|
||||
compute_mac(tfm, data_src, n, pctx);
|
||||
len -= n;
|
||||
|
||||
- scatterwalk_unmap(data_src);
|
||||
+ scatterwalk_unmap(data_src, 0);
|
||||
scatterwalk_advance(&walk, n);
|
||||
scatterwalk_done(&walk, 0, len);
|
||||
if (len)
|
|
@ -1,896 +0,0 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux Backports from "Linux" "v3.17.1-0-g9db8a8b" (with backports "v3.17.1-1-0-g2ced168")
|
||||
#
|
||||
CPTCFG_ARM=y
|
||||
CPTCFG_HAVE_PWM=y
|
||||
CPTCFG_SYS_SUPPORTS_APM_EMULATION=y
|
||||
CPTCFG_HAVE_SCHED_CLOCK=y
|
||||
CPTCFG_GENERIC_GPIO=y
|
||||
CPTCFG_GENERIC_CLOCKEVENTS=y
|
||||
CPTCFG_KTIME_SCALAR=y
|
||||
CPTCFG_HAVE_PROC_CPU=y
|
||||
CPTCFG_STACKTRACE_SUPPORT=y
|
||||
CPTCFG_HAVE_LATENCYTOP_SUPPORT=y
|
||||
CPTCFG_LOCKDEP_SUPPORT=y
|
||||
CPTCFG_TRACE_IRQFLAGS_SUPPORT=y
|
||||
CPTCFG_HARDIRQS_SW_RESEND=y
|
||||
CPTCFG_GENERIC_IRQ_PROBE=y
|
||||
CPTCFG_RWSEM_GENERIC_SPINLOCK=y
|
||||
CPTCFG_ARCH_HAS_CPUFREQ=y
|
||||
CPTCFG_ARCH_HAS_CPU_IDLE_WAIT=y
|
||||
CPTCFG_GENERIC_HWEIGHT=y
|
||||
CPTCFG_GENERIC_CALIBRATE_DELAY=y
|
||||
CPTCFG_NEED_DMA_MAP_STATE=y
|
||||
CPTCFG_ARM_PATCH_PHYS_VIRT=y
|
||||
CPTCFG_GENERIC_BUG=y
|
||||
CPTCFG_HAVE_IRQ_WORK=y
|
||||
CPTCFG_EXPERIMENTAL=y
|
||||
CPTCFG_BROKEN_ON_SMP=y
|
||||
CPTCFG_LOCALVERSION_AUTO=y
|
||||
CPTCFG_HAVE_KERNEL_GZIP=y
|
||||
CPTCFG_HAVE_KERNEL_LZMA=y
|
||||
CPTCFG_HAVE_KERNEL_LZO=y
|
||||
CPTCFG_KERNEL_GZIP=y
|
||||
CPTCFG_SWAP=y
|
||||
CPTCFG_SYSVIPC=y
|
||||
CPTCFG_SYSVIPC_SYSCTL=y
|
||||
CPTCFG_POSIX_MQUEUE=y
|
||||
CPTCFG_POSIX_MQUEUE_SYSCTL=y
|
||||
CPTCFG_BSD_PROCESS_ACCT=y
|
||||
CPTCFG_FHANDLE=y
|
||||
CPTCFG_HAVE_GENERIC_HARDIRQS=y
|
||||
CPTCFG_GENERIC_HARDIRQS=y
|
||||
CPTCFG_HAVE_SPARSE_IRQ=y
|
||||
CPTCFG_GENERIC_IRQ_SHOW=y
|
||||
CPTCFG_GENERIC_IRQ_CHIP=y
|
||||
CPTCFG_IRQ_DOMAIN=y
|
||||
CPTCFG_TINY_RCU=y
|
||||
CPTCFG_IKCONFIG=y
|
||||
CPTCFG_IKCONFIG_PROC=y
|
||||
CPTCFG_CGROUPS=y
|
||||
CPTCFG_NAMESPACES=y
|
||||
CPTCFG_UTS_NS=y
|
||||
CPTCFG_IPC_NS=y
|
||||
CPTCFG_USER_NS=y
|
||||
CPTCFG_PID_NS=y
|
||||
CPTCFG_NET_NS=y
|
||||
CPTCFG_BLK_DEV_INITRD=y
|
||||
CPTCFG_RD_GZIP=y
|
||||
CPTCFG_RD_BZIP2=y
|
||||
CPTCFG_RD_LZMA=y
|
||||
CPTCFG_RD_XZ=y
|
||||
CPTCFG_RD_LZO=y
|
||||
CPTCFG_SYSCTL=y
|
||||
CPTCFG_ANON_INODES=y
|
||||
CPTCFG_UID16=y
|
||||
CPTCFG_KALLSYMS=y
|
||||
CPTCFG_HOTPLUG=y
|
||||
CPTCFG_PRINTK=y
|
||||
CPTCFG_BUG=y
|
||||
CPTCFG_ELF_CORE=y
|
||||
CPTCFG_BASE_FULL=y
|
||||
CPTCFG_FUTEX=y
|
||||
CPTCFG_EPOLL=y
|
||||
CPTCFG_SIGNALFD=y
|
||||
CPTCFG_TIMERFD=y
|
||||
CPTCFG_EVENTFD=y
|
||||
CPTCFG_SHMEM=y
|
||||
CPTCFG_AIO=y
|
||||
CPTCFG_HAVE_PERF_EVENTS=y
|
||||
CPTCFG_PERF_USE_VMALLOC=y
|
||||
CPTCFG_VM_EVENT_COUNTERS=y
|
||||
CPTCFG_COMPAT_BRK=y
|
||||
CPTCFG_SLAB=y
|
||||
CPTCFG_PROFILING=y
|
||||
CPTCFG_OPROFILE=y
|
||||
CPTCFG_HAVE_OPROFILE=y
|
||||
CPTCFG_HAVE_KPROBES=y
|
||||
CPTCFG_HAVE_KRETPROBES=y
|
||||
CPTCFG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
||||
CPTCFG_HAVE_CLK=y
|
||||
CPTCFG_HAVE_DMA_API_DEBUG=y
|
||||
CPTCFG_HAVE_GENERIC_DMA_COHERENT=y
|
||||
CPTCFG_SLABINFO=y
|
||||
CPTCFG_RT_MUTEXES=y
|
||||
CPTCFG_MODULES=y
|
||||
CPTCFG_MODULE_FORCE_LOAD=y
|
||||
CPTCFG_MODULE_UNLOAD=y
|
||||
CPTCFG_MODULE_FORCE_UNLOAD=y
|
||||
CPTCFG_MODVERSIONS=y
|
||||
CPTCFG_MODULE_SRCVERSION_ALL=y
|
||||
CPTCFG_BLOCK=y
|
||||
CPTCFG_LBDAF=y
|
||||
CPTCFG_IOSCHED_NOOP=y
|
||||
CPTCFG_IOSCHED_DEADLINE=y
|
||||
CPTCFG_IOSCHED_CFQ=y
|
||||
CPTCFG_DEFAULT_CFQ=y
|
||||
CPTCFG_INLINE_SPIN_UNLOCK=y
|
||||
CPTCFG_INLINE_SPIN_UNLOCK_IRQ=y
|
||||
CPTCFG_INLINE_READ_UNLOCK=y
|
||||
CPTCFG_INLINE_READ_UNLOCK_IRQ=y
|
||||
CPTCFG_INLINE_WRITE_UNLOCK=y
|
||||
CPTCFG_INLINE_WRITE_UNLOCK_IRQ=y
|
||||
CPTCFG_ARCH_SUPPORTS_ATOMIC_RMW=y
|
||||
CPTCFG_MMU=y
|
||||
CPTCFG_ARCH_OMAP=y
|
||||
CPTCFG_ARCH_OMAP2PLUS=y
|
||||
CPTCFG_OMAP_MUX=y
|
||||
CPTCFG_OMAP_MUX_DEBUG=y
|
||||
CPTCFG_OMAP_MUX_WARNINGS=y
|
||||
CPTCFG_OMAP_MBOX_FWK=y
|
||||
CPTCFG_OMAP_DM_TIMER=y
|
||||
CPTCFG_OMAP_PM_NOOP=y
|
||||
CPTCFG_MACH_OMAP_GENERIC=y
|
||||
CPTCFG_ARCH_OMAP2PLUS_TYPICAL=y
|
||||
CPTCFG_ARCH_OMAP3=y
|
||||
CPTCFG_SOC_OMAPAM33XX=y
|
||||
CPTCFG_MACH_PCM051=y
|
||||
CPTCFG_MACH_PCAAXS1=y
|
||||
CPTCFG_MACH_PFLA03=y
|
||||
CPTCFG_OMAP3_EDMA=y
|
||||
CPTCFG_CPU_V7=y
|
||||
CPTCFG_CPU_32v6K=y
|
||||
CPTCFG_CPU_32v7=y
|
||||
CPTCFG_CPU_ABRT_EV7=y
|
||||
CPTCFG_CPU_PABRT_V7=y
|
||||
CPTCFG_CPU_CACHE_V7=y
|
||||
CPTCFG_CPU_CACHE_VIPT=y
|
||||
CPTCFG_CPU_COPY_V6=y
|
||||
CPTCFG_CPU_TLB_V7=y
|
||||
CPTCFG_CPU_HAS_ASID=y
|
||||
CPTCFG_CPU_CP15=y
|
||||
CPTCFG_CPU_CP15_MMU=y
|
||||
CPTCFG_ARM_THUMB=y
|
||||
CPTCFG_ARM_THUMBEE=y
|
||||
CPTCFG_ARM_L1_CACHE_SHIFT_6=y
|
||||
CPTCFG_ARM_DMA_MEM_BUFFERABLE=y
|
||||
CPTCFG_MULTI_IRQ_HANDLER=y
|
||||
CPTCFG_TICK_ONESHOT=y
|
||||
CPTCFG_NO_HZ=y
|
||||
CPTCFG_HIGH_RES_TIMERS=y
|
||||
CPTCFG_GENERIC_CLOCKEVENTS_BUILD=y
|
||||
CPTCFG_VMSPLIT_3G=y
|
||||
CPTCFG_PREEMPT_NONE=y
|
||||
CPTCFG_AEABI=y
|
||||
CPTCFG_OABI_COMPAT=y
|
||||
CPTCFG_ARCH_HAS_HOLES_MEMORYMODEL=y
|
||||
CPTCFG_HAVE_ARCH_PFN_VALID=y
|
||||
CPTCFG_HIGHMEM=y
|
||||
CPTCFG_SELECT_MEMORY_MODEL=y
|
||||
CPTCFG_FLATMEM_MANUAL=y
|
||||
CPTCFG_FLATMEM=y
|
||||
CPTCFG_FLAT_NODE_MEM_MAP=y
|
||||
CPTCFG_HAVE_MEMBLOCK=y
|
||||
CPTCFG_PAGEFLAGS_EXTENDED=y
|
||||
CPTCFG_BOUNCE=y
|
||||
CPTCFG_VIRT_TO_BUS=y
|
||||
CPTCFG_NEED_PER_CPU_KM=y
|
||||
CPTCFG_ALIGNMENT_TRAP=y
|
||||
CPTCFG_USE_OF=y
|
||||
CPTCFG_CMDLINE_FROM_BOOTLOADER=y
|
||||
CPTCFG_CPU_FREQ=y
|
||||
CPTCFG_CPU_FREQ_TABLE=y
|
||||
CPTCFG_CPU_FREQ_STAT=y
|
||||
CPTCFG_CPU_FREQ_STAT_DETAILS=y
|
||||
CPTCFG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
CPTCFG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
CPTCFG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CPTCFG_CPU_FREQ_GOV_USERSPACE=y
|
||||
CPTCFG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CPTCFG_CPU_IDLE=y
|
||||
CPTCFG_CPU_IDLE_GOV_LADDER=y
|
||||
CPTCFG_CPU_IDLE_GOV_MENU=y
|
||||
CPTCFG_FPE_NWFPE=y
|
||||
CPTCFG_VFP=y
|
||||
CPTCFG_VFPv3=y
|
||||
CPTCFG_NEON=y
|
||||
CPTCFG_BINFMT_ELF=y
|
||||
CPTCFG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
|
||||
CPTCFG_BINFMT_MISC=y
|
||||
CPTCFG_PM_RUNTIME=y
|
||||
CPTCFG_PM=y
|
||||
CPTCFG_PM_DEBUG=y
|
||||
CPTCFG_PM_ADVANCED_DEBUG=y
|
||||
CPTCFG_ARCH_HAS_OPP=y
|
||||
CPTCFG_PM_OPP=y
|
||||
CPTCFG_PM_CLK=y
|
||||
CPTCFG_CPU_PM=y
|
||||
CPTCFG_ARCH_SUSPEND_POSSIBLE=y
|
||||
CPTCFG_ARM_CPU_SUSPEND=y
|
||||
CPTCFG_NET=y
|
||||
CPTCFG_PACKET=y
|
||||
CPTCFG_UNIX=y
|
||||
CPTCFG_INET=y
|
||||
CPTCFG_IP_MULTICAST=y
|
||||
CPTCFG_IP_ADVANCED_ROUTER=y
|
||||
CPTCFG_IP_ROUTE_CLASSID=y
|
||||
CPTCFG_IP_PNP=y
|
||||
CPTCFG_IP_PNP_DHCP=y
|
||||
CPTCFG_IP_PNP_BOOTP=y
|
||||
CPTCFG_IP_PNP_RARP=y
|
||||
CPTCFG_TCP_CONG_CUBIC=y
|
||||
CPTCFG_NETFILTER=y
|
||||
CPTCFG_NETFILTER_ADVANCED=y
|
||||
CPTCFG_NETFILTER_NETLINK=m
|
||||
CPTCFG_NETFILTER_NETLINK_QUEUE=m
|
||||
CPTCFG_NETFILTER_NETLINK_LOG=m
|
||||
CPTCFG_NF_CONNTRACK=m
|
||||
CPTCFG_NF_CONNTRACK_MARK=y
|
||||
CPTCFG_NETFILTER_XTABLES=m
|
||||
CPTCFG_NETFILTER_XT_MARK=m
|
||||
CPTCFG_NETFILTER_XT_CONNMARK=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_CLASSIFY=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_CONNMARK=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_CT=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_DSCP=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_HL=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_IDLETIMER=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_MARK=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_NFLOG=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_NFQUEUE=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_RATEEST=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_TEE=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_TRACE=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_TCPMSS=m
|
||||
CPTCFG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_ADDRTYPE=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_CLUSTER=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_COMMENT=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_CONNBYTES=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_CONNLIMIT=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_CONNMARK=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_CONNTRACK=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_CPU=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_DCCP=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_DEVGROUP=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_DSCP=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_ESP=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_HASHLIMIT=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_HELPER=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_HL=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_IPRANGE=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_LENGTH=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_LIMIT=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_MAC=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_MARK=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_MULTIPORT=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_OSF=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_OWNER=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_PKTTYPE=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_QUOTA=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_RATEEST=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_REALM=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_RECENT=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_SCTP=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_STATE=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_STATISTIC=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_STRING=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_TCPMSS=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_TIME=m
|
||||
CPTCFG_NETFILTER_XT_MATCH_U32=m
|
||||
CPTCFG_NF_DEFRAG_IPV4=m
|
||||
CPTCFG_NF_CONNTRACK_IPV4=m
|
||||
CPTCFG_NF_CONNTRACK_PROC_COMPAT=y
|
||||
CPTCFG_IP_NF_IPTABLES=m
|
||||
CPTCFG_IP_NF_MATCH_AH=m
|
||||
CPTCFG_IP_NF_MATCH_ECN=m
|
||||
CPTCFG_IP_NF_MATCH_TTL=m
|
||||
CPTCFG_IP_NF_FILTER=m
|
||||
CPTCFG_IP_NF_TARGET_REJECT=m
|
||||
CPTCFG_IP_NF_TARGET_LOG=m
|
||||
CPTCFG_IP_NF_TARGET_ULOG=m
|
||||
CPTCFG_NF_NAT=m
|
||||
CPTCFG_NF_NAT_NEEDED=y
|
||||
CPTCFG_IP_NF_TARGET_MASQUERADE=m
|
||||
CPTCFG_IP_NF_TARGET_NETMAP=m
|
||||
CPTCFG_IP_NF_TARGET_REDIRECT=m
|
||||
CPTCFG_IP_NF_MANGLE=m
|
||||
CPTCFG_IP_NF_TARGET_CLUSTERIP=m
|
||||
CPTCFG_IP_NF_TARGET_ECN=m
|
||||
CPTCFG_IP_NF_TARGET_TTL=m
|
||||
CPTCFG_IP_NF_RAW=m
|
||||
CPTCFG_IP_NF_SECURITY=m
|
||||
CPTCFG_IP_NF_ARPTABLES=m
|
||||
CPTCFG_IP_NF_ARPFILTER=m
|
||||
CPTCFG_IP_NF_ARP_MANGLE=m
|
||||
CPTCFG_DNS_RESOLVER=y
|
||||
CPTCFG_CAN=y
|
||||
CPTCFG_CAN_RAW=y
|
||||
CPTCFG_CAN_BCM=y
|
||||
CPTCFG_CAN_DEV=y
|
||||
CPTCFG_CAN_CALC_BITTIMING=y
|
||||
CPTCFG_CAN_D_CAN=y
|
||||
CPTCFG_CAN_D_CAN_PLATFORM=y
|
||||
CPTCFG_WIRELESS_EXT=y
|
||||
CPTCFG_WEXT_CORE=y
|
||||
CPTCFG_WEXT_PROC=y
|
||||
CPTCFG_WIRELESS_EXT_SYSFS=y
|
||||
CPTCFG_RFKILL=y
|
||||
CPTCFG_RFKILL_INPUT=y
|
||||
CPTCFG_DEVTMPFS=y
|
||||
CPTCFG_DEVTMPFS_MOUNT=y
|
||||
CPTCFG_STANDALONE=y
|
||||
CPTCFG_PREVENT_FIRMWARE_BUILD=y
|
||||
CPTCFG_FW_LOADER=y
|
||||
CPTCFG_FIRMWARE_IN_KERNEL=y
|
||||
CPTCFG_REGMAP=y
|
||||
CPTCFG_REGMAP_I2C=y
|
||||
CPTCFG_REGMAP_SPI=y
|
||||
CPTCFG_MTD=y
|
||||
CPTCFG_MTD_TESTS=m
|
||||
CPTCFG_MTD_CMDLINE_PARTS=y
|
||||
CPTCFG_MTD_CHAR=y
|
||||
CPTCFG_MTD_BLKDEVS=y
|
||||
CPTCFG_MTD_BLOCK=y
|
||||
CPTCFG_MTD_CFI=y
|
||||
CPTCFG_MTD_GEN_PROBE=y
|
||||
CPTCFG_MTD_MAP_BANK_WIDTH_1=y
|
||||
CPTCFG_MTD_MAP_BANK_WIDTH_2=y
|
||||
CPTCFG_MTD_MAP_BANK_WIDTH_4=y
|
||||
CPTCFG_MTD_CFI_I1=y
|
||||
CPTCFG_MTD_CFI_I2=y
|
||||
CPTCFG_MTD_CFI_INTELEXT=y
|
||||
CPTCFG_MTD_CFI_UTIL=y
|
||||
CPTCFG_MTD_M25P80=y
|
||||
CPTCFG_M25PXX_USE_FAST_READ=y
|
||||
CPTCFG_MTD_NAND_ECC=y
|
||||
CPTCFG_MTD_NAND=y
|
||||
CPTCFG_MTD_NAND_OMAP2=y
|
||||
CPTCFG_MTD_NAND_IDS=y
|
||||
CPTCFG_MTD_ONENAND=y
|
||||
CPTCFG_MTD_ONENAND_VERIFY_WRITE=y
|
||||
CPTCFG_MTD_ONENAND_OMAP2=y
|
||||
CPTCFG_MTD_UBI=y
|
||||
CPTCFG_DTC=y
|
||||
CPTCFG_OF=y
|
||||
CPTCFG_PROC_DEVICETREE=y
|
||||
CPTCFG_OF_FLATTREE=y
|
||||
CPTCFG_OF_EARLY_FLATTREE=y
|
||||
CPTCFG_OF_ADDRESS=y
|
||||
CPTCFG_OF_IRQ=y
|
||||
CPTCFG_OF_DEVICE=y
|
||||
CPTCFG_OF_GPIO=y
|
||||
CPTCFG_OF_I2C=y
|
||||
CPTCFG_OF_NET=y
|
||||
CPTCFG_OF_SPI=y
|
||||
CPTCFG_BLK_DEV=y
|
||||
CPTCFG_BLK_DEV_LOOP=y
|
||||
CPTCFG_BLK_DEV_RAM=y
|
||||
CPTCFG_SENSORS_LIS3LV02D=y
|
||||
CPTCFG_MISC_DEVICES=y
|
||||
CPTCFG_SENSORS_TSL2550=y
|
||||
CPTCFG_EEPROM_AT24=y
|
||||
CPTCFG_SENSORS_LIS3_I2C=y
|
||||
CPTCFG_SCSI_MOD=y
|
||||
CPTCFG_SCSI=y
|
||||
CPTCFG_SCSI_DMA=y
|
||||
CPTCFG_SCSI_PROC_FS=y
|
||||
CPTCFG_BLK_DEV_SD=y
|
||||
CPTCFG_SCSI_MULTI_LUN=y
|
||||
CPTCFG_SCSI_SCAN_ASYNC=y
|
||||
CPTCFG_SCSI_WAIT_SCAN=m
|
||||
CPTCFG_SCSI_LOWLEVEL=y
|
||||
CPTCFG_NETDEVICES=y
|
||||
CPTCFG_MII=y
|
||||
CPTCFG_TUN=y
|
||||
CPTCFG_NET_VENDOR_MICREL=y
|
||||
CPTCFG_NET_VENDOR_SMSC=y
|
||||
CPTCFG_NET_VENDOR_TI=y
|
||||
CPTCFG_TI_DAVINCI_EMAC=y
|
||||
CPTCFG_TI_DAVINCI_CPDMA=y
|
||||
CPTCFG_TI_CPSW=y
|
||||
CPTCFG_TI_CPSW_DUAL_EMAC=y
|
||||
CPTCFG_PHYLIB=y
|
||||
CPTCFG_SMSC_PHY=y
|
||||
CPTCFG_MICREL_PHY=y
|
||||
CPTCFG_WL12XX_MENU=m
|
||||
CPTCFG_WL12XX_SDIO=m
|
||||
CPTCFG_WL12XX_PLATFORM_DATA=y
|
||||
CPTCFG_INPUT=y
|
||||
CPTCFG_INPUT_POLLDEV=y
|
||||
CPTCFG_INPUT_MOUSEDEV=y
|
||||
CPTCFG_INPUT_MOUSEDEV_PSAUX=y
|
||||
CPTCFG_INPUT_EVDEV=y
|
||||
CPTCFG_INPUT_KEYBOARD=y
|
||||
CPTCFG_KEYBOARD_GPIO=y
|
||||
CPTCFG_KEYBOARD_MATRIX=y
|
||||
CPTCFG_INPUT_MOUSE=y
|
||||
CPTCFG_MOUSE_PS2=y
|
||||
CPTCFG_MOUSE_PS2_ALPS=y
|
||||
CPTCFG_MOUSE_PS2_LOGIPS2PP=y
|
||||
CPTCFG_MOUSE_PS2_SYNAPTICS=y
|
||||
CPTCFG_MOUSE_PS2_TRACKPOINT=y
|
||||
CPTCFG_INPUT_TOUCHSCREEN=y
|
||||
CPTCFG_TOUCHSCREEN_EDT_FT5X06=y
|
||||
CPTCFG_TOUCHSCREEN_TI_TSC=y
|
||||
CPTCFG_INPUT_MISC=y
|
||||
CPTCFG_SERIO=y
|
||||
CPTCFG_SERIO_LIBPS2=y
|
||||
CPTCFG_VT=y
|
||||
CPTCFG_CONSOLE_TRANSLATIONS=y
|
||||
CPTCFG_VT_CONSOLE=y
|
||||
CPTCFG_HW_CONSOLE=y
|
||||
CPTCFG_VT_HW_CONSOLE_BINDING=y
|
||||
CPTCFG_UNIX98_PTYS=y
|
||||
CPTCFG_DEVKMEM=y
|
||||
CPTCFG_SERIAL_8250=y
|
||||
CPTCFG_SERIAL_8250_CONSOLE=y
|
||||
CPTCFG_SERIAL_8250_EXTENDED=y
|
||||
CPTCFG_SERIAL_8250_MANY_PORTS=y
|
||||
CPTCFG_SERIAL_8250_SHARE_IRQ=y
|
||||
CPTCFG_SERIAL_8250_DETECT_IRQ=y
|
||||
CPTCFG_SERIAL_8250_RSA=y
|
||||
CPTCFG_SERIAL_CORE=y
|
||||
CPTCFG_SERIAL_CORE_CONSOLE=y
|
||||
CPTCFG_SERIAL_OMAP=y
|
||||
CPTCFG_SERIAL_OMAP_CONSOLE=y
|
||||
CPTCFG_I2C=y
|
||||
CPTCFG_I2C_BOARDINFO=y
|
||||
CPTCFG_I2C_COMPAT=y
|
||||
CPTCFG_I2C_CHARDEV=y
|
||||
CPTCFG_I2C_HELPER_AUTO=y
|
||||
CPTCFG_I2C_OMAP=y
|
||||
CPTCFG_SPI=y
|
||||
CPTCFG_SPI_MASTER=y
|
||||
CPTCFG_SPI_OMAP24XX=y
|
||||
CPTCFG_ARCH_REQUIRE_GPIOLIB=y
|
||||
CPTCFG_GPIOLIB=y
|
||||
CPTCFG_GPIO_SYSFS=y
|
||||
CPTCFG_GPIO_TPS65910=y
|
||||
CPTCFG_GENERIC_PWM=y
|
||||
CPTCFG_DAVINCI_EHRPWM=y
|
||||
CPTCFG_ECAP_PWM=y
|
||||
CPTCFG_HWMON=y
|
||||
CPTCFG_SENSORS_LM75=y
|
||||
CPTCFG_WATCHDOG=y
|
||||
CPTCFG_OMAP_WATCHDOG=y
|
||||
CPTCFG_MFD_CORE=y
|
||||
CPTCFG_MFD_TI_TSCADC=y
|
||||
CPTCFG_MFD_TPS65910=y
|
||||
CPTCFG_TWL4030_CORE=y
|
||||
CPTCFG_TWL4030_POWER=y
|
||||
CPTCFG_REGULATOR=y
|
||||
CPTCFG_REGULATOR_DUMMY=y
|
||||
CPTCFG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CPTCFG_REGULATOR_TPS65910=y
|
||||
CPTCFG_VIDEO_V4L2_COMMON=y
|
||||
CPTCFG_VIDEO_MEDIA=y
|
||||
CPTCFG_IR_RC5_SZ_DECODER=y
|
||||
CPTCFG_MEDIA_TUNER_CUSTOMISE=y
|
||||
CPTCFG_VIDEO_CAPTURE_DRIVERS=y
|
||||
CPTCFG_VIDEO_HELPER_CHIPS_AUTO=y
|
||||
CPTCFG_V4L_USB_DRIVERS=y
|
||||
CPTCFG_FB=y
|
||||
CPTCFG_FB_CFB_FILLRECT=y
|
||||
CPTCFG_FB_CFB_COPYAREA=y
|
||||
CPTCFG_FB_CFB_IMAGEBLIT=y
|
||||
CPTCFG_FB_MODE_HELPERS=y
|
||||
CPTCFG_FB_TILEBLITTING=y
|
||||
CPTCFG_FB_DA8XX=y
|
||||
CPTCFG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CPTCFG_LCD_CLASS_DEVICE=y
|
||||
CPTCFG_LCD_PLATFORM=y
|
||||
CPTCFG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CPTCFG_BACKLIGHT_PWM=y
|
||||
CPTCFG_BACKLIGHT_TLC59108=y
|
||||
CPTCFG_DISPLAY_SUPPORT=y
|
||||
CPTCFG_DUMMY_CONSOLE=y
|
||||
CPTCFG_FRAMEBUFFER_CONSOLE=y
|
||||
CPTCFG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
||||
CPTCFG_FONTS=y
|
||||
CPTCFG_FONT_8x8=y
|
||||
CPTCFG_FONT_8x16=y
|
||||
CPTCFG_LOGO=y
|
||||
CPTCFG_LOGO_LINUX_MONO=y
|
||||
CPTCFG_LOGO_LINUX_VGA16=y
|
||||
CPTCFG_LOGO_LINUX_CLUT224=y
|
||||
CPTCFG_SOUND=y
|
||||
CPTCFG_SND=y
|
||||
CPTCFG_SND_TIMER=y
|
||||
CPTCFG_SND_PCM=y
|
||||
CPTCFG_SND_HWDEP=y
|
||||
CPTCFG_SND_RAWMIDI=y
|
||||
CPTCFG_SND_JACK=y
|
||||
CPTCFG_SND_SUPPORT_OLD_API=y
|
||||
CPTCFG_SND_VERBOSE_PROCFS=y
|
||||
CPTCFG_SND_USB=y
|
||||
CPTCFG_SND_USB_AUDIO=y
|
||||
CPTCFG_SND_SOC=y
|
||||
CPTCFG_SND_AM33XX_SOC=y
|
||||
CPTCFG_SND_DAVINCI_SOC_MCASP=y
|
||||
CPTCFG_SND_PCM051_SOC_BOARD=y
|
||||
CPTCFG_SND_SOC_I2C_AND_SPI=y
|
||||
CPTCFG_SND_SOC_WM8974=y
|
||||
CPTCFG_HID_SUPPORT=y
|
||||
CPTCFG_HID=y
|
||||
CPTCFG_USB_HID=y
|
||||
CPTCFG_HID_A4TECH=y
|
||||
CPTCFG_HID_APPLE=y
|
||||
CPTCFG_HID_BELKIN=y
|
||||
CPTCFG_HID_CHERRY=y
|
||||
CPTCFG_HID_CHICONY=y
|
||||
CPTCFG_HID_CYPRESS=y
|
||||
CPTCFG_HID_EZKEY=y
|
||||
CPTCFG_HID_KYE=y
|
||||
CPTCFG_HID_KENSINGTON=y
|
||||
CPTCFG_HID_LOGITECH=y
|
||||
CPTCFG_HID_LOGITECH_DJ=m
|
||||
CPTCFG_HID_MICROSOFT=y
|
||||
CPTCFG_HID_MONTEREY=y
|
||||
CPTCFG_USB_SUPPORT=y
|
||||
CPTCFG_USB_COMMON=y
|
||||
CPTCFG_USB_ARCH_HAS_HCD=y
|
||||
CPTCFG_USB_ARCH_HAS_OHCI=y
|
||||
CPTCFG_USB_ARCH_HAS_EHCI=y
|
||||
CPTCFG_USB=y
|
||||
CPTCFG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CPTCFG_USB_DEVICEFS=y
|
||||
CPTCFG_USB_DEVICE_CLASS=y
|
||||
CPTCFG_USB_SUSPEND=y
|
||||
CPTCFG_USB_OTG=y
|
||||
CPTCFG_USB_MUSB_HDRC=y
|
||||
CPTCFG_USB_MUSB_TI81XX_GLUE=y
|
||||
CPTCFG_USB_MUSB_TI81XX=y
|
||||
CPTCFG_MUSB_PIO_ONLY=y
|
||||
CPTCFG_USB_STORAGE=y
|
||||
CPTCFG_USB_SERIAL=y
|
||||
CPTCFG_USB_SERIAL_FTDI_SIO=m
|
||||
CPTCFG_USB_SERIAL_PL2303=m
|
||||
CPTCFG_USB_GADGET=y
|
||||
CPTCFG_USB_GADGET_MUSB_HDRC=m
|
||||
CPTCFG_USB_GADGET_DUALSPEED=y
|
||||
CPTCFG_USB_ZERO=m
|
||||
CPTCFG_USB_ETH=m
|
||||
CPTCFG_USB_ETH_RNDIS=y
|
||||
CPTCFG_USB_FILE_STORAGE=m
|
||||
CPTCFG_USB_MASS_STORAGE=m
|
||||
CPTCFG_USB_G_SERIAL=m
|
||||
CPTCFG_USB_OTG_UTILS=y
|
||||
CPTCFG_NOP_USB_XCEIV=y
|
||||
CPTCFG_MMC=y
|
||||
CPTCFG_MMC_UNSAFE_RESUME=y
|
||||
CPTCFG_MMC_BLOCK=y
|
||||
CPTCFG_MMC_BLOCK_BOUNCE=y
|
||||
CPTCFG_SDIO_UART=y
|
||||
CPTCFG_MMC_OMAP_HS=y
|
||||
CPTCFG_NEW_LEDS=y
|
||||
CPTCFG_LEDS_CLASS=y
|
||||
CPTCFG_RTC_LIB=y
|
||||
CPTCFG_RTC_CLASS=y
|
||||
CPTCFG_RTC_HCTOSYS=y
|
||||
CPTCFG_RTC_INTF_SYSFS=y
|
||||
CPTCFG_RTC_INTF_PROC=y
|
||||
CPTCFG_RTC_INTF_DEV=y
|
||||
CPTCFG_RTC_DRV_TPS65910=y
|
||||
CPTCFG_CLKDEV_LOOKUP=y
|
||||
CPTCFG_CLKSRC_MMIO=y
|
||||
CPTCFG_EXT2_FS=y
|
||||
CPTCFG_EXT3_FS=y
|
||||
CPTCFG_EXT3_DEFAULTS_TO_ORDERED=y
|
||||
CPTCFG_JBD=y
|
||||
CPTCFG_FS_POSIX_ACL=y
|
||||
CPTCFG_EXPORTFS=y
|
||||
CPTCFG_FILE_LOCKING=y
|
||||
CPTCFG_FSNOTIFY=y
|
||||
CPTCFG_DNOTIFY=y
|
||||
CPTCFG_INOTIFY_USER=y
|
||||
CPTCFG_QUOTA=y
|
||||
CPTCFG_PRINT_QUOTA_WARNING=y
|
||||
CPTCFG_QUOTA_TREE=y
|
||||
CPTCFG_QFMT_V2=y
|
||||
CPTCFG_QUOTACTL=y
|
||||
CPTCFG_FAT_FS=y
|
||||
CPTCFG_MSDOS_FS=y
|
||||
CPTCFG_VFAT_FS=y
|
||||
CPTCFG_PROC_FS=y
|
||||
CPTCFG_PROC_SYSCTL=y
|
||||
CPTCFG_PROC_PAGE_MONITOR=y
|
||||
CPTCFG_SYSFS=y
|
||||
CPTCFG_TMPFS=y
|
||||
CPTCFG_MISC_FILESYSTEMS=y
|
||||
CPTCFG_JFFS2_FS=y
|
||||
CPTCFG_JFFS2_FS_WRITEBUFFER=y
|
||||
CPTCFG_JFFS2_SUMMARY=y
|
||||
CPTCFG_JFFS2_FS_XATTR=y
|
||||
CPTCFG_JFFS2_FS_POSIX_ACL=y
|
||||
CPTCFG_JFFS2_FS_SECURITY=y
|
||||
CPTCFG_JFFS2_COMPRESSION_OPTIONS=y
|
||||
CPTCFG_JFFS2_ZLIB=y
|
||||
CPTCFG_JFFS2_LZO=y
|
||||
CPTCFG_JFFS2_RTIME=y
|
||||
CPTCFG_JFFS2_RUBIN=y
|
||||
CPTCFG_JFFS2_CMODE_PRIORITY=y
|
||||
CPTCFG_UBIFS_FS=y
|
||||
CPTCFG_UBIFS_FS_LZO=y
|
||||
CPTCFG_UBIFS_FS_ZLIB=y
|
||||
CPTCFG_CRAMFS=y
|
||||
CPTCFG_NETWORK_FILESYSTEMS=y
|
||||
CPTCFG_NFS_FS=y
|
||||
CPTCFG_NFS_V3=y
|
||||
CPTCFG_NFS_V3_ACL=y
|
||||
CPTCFG_NFS_V4=y
|
||||
CPTCFG_ROOT_NFS=y
|
||||
CPTCFG_NFS_USE_KERNEL_DNS=y
|
||||
CPTCFG_LOCKD=y
|
||||
CPTCFG_LOCKD_V4=y
|
||||
CPTCFG_NFS_ACL_SUPPORT=y
|
||||
CPTCFG_NFS_COMMON=y
|
||||
CPTCFG_SUNRPC=y
|
||||
CPTCFG_SUNRPC_GSS=y
|
||||
CPTCFG_PARTITION_ADVANCED=y
|
||||
CPTCFG_MSDOS_PARTITION=y
|
||||
CPTCFG_NLS=y
|
||||
CPTCFG_NLS_CODEPAGE_437=y
|
||||
CPTCFG_NLS_ISO8859_1=y
|
||||
CPTCFG_PRINTK_TIME=y
|
||||
CPTCFG_ENABLE_WARN_DEPRECATED=y
|
||||
CPTCFG_ENABLE_MUST_CHECK=y
|
||||
CPTCFG_MAGIC_SYSRQ=y
|
||||
CPTCFG_DEBUG_FS=y
|
||||
CPTCFG_DEBUG_KERNEL=y
|
||||
CPTCFG_SCHED_DEBUG=y
|
||||
CPTCFG_DEBUG_BUGVERBOSE=y
|
||||
CPTCFG_DEBUG_MEMORY_INIT=y
|
||||
CPTCFG_FRAME_POINTER=y
|
||||
CPTCFG_HAVE_FUNCTION_TRACER=y
|
||||
CPTCFG_HAVE_FUNCTION_GRAPH_TRACER=y
|
||||
CPTCFG_HAVE_DYNAMIC_FTRACE=y
|
||||
CPTCFG_HAVE_FTRACE_MCOUNT_RECORD=y
|
||||
CPTCFG_HAVE_C_RECORDMCOUNT=y
|
||||
CPTCFG_RING_BUFFER=y
|
||||
CPTCFG_RING_BUFFER_ALLOW_SWAP=y
|
||||
CPTCFG_TRACING_SUPPORT=y
|
||||
CPTCFG_DYNAMIC_DEBUG=y
|
||||
CPTCFG_HAVE_ARCH_KGDB=y
|
||||
CPTCFG_DEBUG_LL=y
|
||||
CPTCFG_DEBUG_LL_UART_NONE=y
|
||||
CPTCFG_EARLY_PRINTK=y
|
||||
CPTCFG_DEBUG_JTAG_ENABLE=y
|
||||
CPTCFG_KEYS=y
|
||||
CPTCFG_SECURITY=y
|
||||
CPTCFG_DEFAULT_SECURITY_DAC=y
|
||||
CPTCFG_CRYPTO=y
|
||||
CPTCFG_CRYPTO_ALGAPI=y
|
||||
CPTCFG_CRYPTO_ALGAPI2=y
|
||||
CPTCFG_CRYPTO_AEAD=y
|
||||
CPTCFG_CRYPTO_AEAD2=y
|
||||
CPTCFG_CRYPTO_BLKCIPHER=y
|
||||
CPTCFG_CRYPTO_BLKCIPHER2=y
|
||||
CPTCFG_CRYPTO_HASH=y
|
||||
CPTCFG_CRYPTO_HASH2=y
|
||||
CPTCFG_CRYPTO_RNG=y
|
||||
CPTCFG_CRYPTO_RNG2=y
|
||||
CPTCFG_CRYPTO_PCOMP2=y
|
||||
CPTCFG_CRYPTO_MANAGER=y
|
||||
CPTCFG_CRYPTO_MANAGER2=y
|
||||
CPTCFG_CRYPTO_MANAGER_DISABLE_TESTS=y
|
||||
CPTCFG_CRYPTO_WORKQUEUE=y
|
||||
CPTCFG_CRYPTO_SEQIV=y
|
||||
CPTCFG_CRYPTO_CTR=y
|
||||
CPTCFG_CRYPTO_ECB=y
|
||||
CPTCFG_CRYPTO_CRC32C=y
|
||||
CPTCFG_CRYPTO_MICHAEL_MIC=y
|
||||
CPTCFG_CRYPTO_AES=y
|
||||
CPTCFG_CRYPTO_ARC4=y
|
||||
CPTCFG_CRYPTO_DEFLATE=y
|
||||
CPTCFG_CRYPTO_LZO=y
|
||||
CPTCFG_BITREVERSE=y
|
||||
CPTCFG_CRC_CCITT=y
|
||||
CPTCFG_CRC16=y
|
||||
CPTCFG_CRC_T10DIF=y
|
||||
CPTCFG_CRC_ITU_T=y
|
||||
CPTCFG_CRC32=y
|
||||
CPTCFG_CRC7=y
|
||||
CPTCFG_LIBCRC32C=y
|
||||
CPTCFG_ZLIB_INFLATE=y
|
||||
CPTCFG_ZLIB_DEFLATE=y
|
||||
CPTCFG_LZO_COMPRESS=y
|
||||
CPTCFG_LZO_DECOMPRESS=y
|
||||
CPTCFG_XZ_DEC=y
|
||||
CPTCFG_XZ_DEC_X86=y
|
||||
CPTCFG_XZ_DEC_POWERPC=y
|
||||
CPTCFG_XZ_DEC_IA64=y
|
||||
CPTCFG_XZ_DEC_ARM=y
|
||||
CPTCFG_XZ_DEC_ARMTHUMB=y
|
||||
CPTCFG_XZ_DEC_SPARC=y
|
||||
CPTCFG_XZ_DEC_BCJ=y
|
||||
CPTCFG_DECOMPRESS_GZIP=y
|
||||
CPTCFG_DECOMPRESS_BZIP2=y
|
||||
CPTCFG_DECOMPRESS_LZMA=y
|
||||
CPTCFG_DECOMPRESS_XZ=y
|
||||
CPTCFG_DECOMPRESS_LZO=y
|
||||
CPTCFG_GENERIC_ALLOCATOR=y
|
||||
CPTCFG_TEXTSEARCH=y
|
||||
CPTCFG_TEXTSEARCH_KMP=m
|
||||
CPTCFG_TEXTSEARCH_BM=m
|
||||
CPTCFG_TEXTSEARCH_FSM=m
|
||||
CPTCFG_HAS_IOMEM=y
|
||||
CPTCFG_HAS_IOPORT=y
|
||||
CPTCFG_HAS_DMA=y
|
||||
CPTCFG_NLATTR=y
|
||||
CPTCFG_AVERAGE=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_3=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_4=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_5=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_6=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_7=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_8=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_9=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_10=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_11=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_12=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_13=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_14=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_15=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_16=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_17=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_18=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_19=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_20=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_21=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_22=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_23=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_24=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_25=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_26=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_27=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_28=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_29=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_30=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_31=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_32=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_33=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_34=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_35=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_36=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_37=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_38=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_39=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_40=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_41=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_42=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_43=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_44=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_45=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_46=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_47=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_48=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_49=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_50=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_51=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_52=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_53=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_54=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_55=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_56=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_57=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_58=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_59=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_60=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_61=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_62=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_63=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_64=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_65=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_66=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_67=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_68=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_69=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_70=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_71=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_72=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_73=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_74=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_75=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_76=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_77=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_78=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_79=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_80=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_81=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_82=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_83=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_84=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_85=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_86=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_87=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_88=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_89=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_90=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_91=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_92=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_93=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_94=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_95=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_96=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_97=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_98=y
|
||||
CPTCFG_BACKPORT_KERNEL_3_99=y
|
||||
CPTCFG_WIRELESS=y
|
||||
CPTCFG_NET_CORE=y
|
||||
CPTCFG_EXPERT=y
|
||||
CPTCFG_BACKPORT_AVERAGE=y
|
||||
CPTCFG_BACKPORT_BUILD_DMA_SHARED_HELPERS=y
|
||||
CPTCFG_BACKPORT_BUILD_LEDS=y
|
||||
CPTCFG_BACKPORT_LEDS_TRIGGERS=y
|
||||
# CPTCFG_BACKPORT_USERSEL_BUILD_ALL is not set
|
||||
CPTCFG_BACKPORT_CRYPTO_CCM=y
|
||||
CPTCFG_BACKPORT_BUILD_CRYPTO_CCM=y
|
||||
CPTCFG_CFG80211=m
|
||||
# CPTCFG_NL80211_TESTMODE is not set
|
||||
# CPTCFG_CFG80211_DEVELOPER_WARNINGS is not set
|
||||
# CPTCFG_CFG80211_REG_DEBUG is not set
|
||||
# CPTCFG_CFG80211_CERTIFICATION_ONUS is not set
|
||||
# CPTCFG_CFG80211_DEFAULT_PS is not set
|
||||
# CPTCFG_CFG80211_DEBUGFS is not set
|
||||
# CPTCFG_CFG80211_INTERNAL_REGDB is not set
|
||||
CPTCFG_CFG80211_WEXT=y
|
||||
# CPTCFG_LIB80211 is not set
|
||||
CPTCFG_MAC80211=m
|
||||
CPTCFG_MAC80211_HAS_RC=y
|
||||
CPTCFG_MAC80211_RC_MINSTREL=y
|
||||
CPTCFG_MAC80211_RC_MINSTREL_HT=y
|
||||
CPTCFG_MAC80211_RC_DEFAULT_MINSTREL=y
|
||||
CPTCFG_MAC80211_RC_DEFAULT="minstrel_ht"
|
||||
# CPTCFG_MAC80211_MESH is not set
|
||||
CPTCFG_MAC80211_LEDS=y
|
||||
# CPTCFG_MAC80211_DEBUGFS is not set
|
||||
# CPTCFG_MAC80211_MESSAGE_TRACING is not set
|
||||
# CPTCFG_MAC80211_DEBUG_MENU is not set
|
||||
CPTCFG_WLAN=y
|
||||
# CPTCFG_LIBERTAS_THINFIRM is not set
|
||||
# CPTCFG_AT76C50X_USB is not set
|
||||
# CPTCFG_USB_NET_RNDIS_WLAN is not set
|
||||
# CPTCFG_MAC80211_HWSIM is not set
|
||||
# CPTCFG_ATH_CARDS is not set
|
||||
# CPTCFG_B43 is not set
|
||||
# CPTCFG_B43LEGACY is not set
|
||||
# CPTCFG_BRCMSMAC is not set
|
||||
# CPTCFG_BRCMFMAC is not set
|
||||
# CPTCFG_P54_COMMON is not set
|
||||
CPTCFG_RT2X00=m
|
||||
CPTCFG_RT2500USB=m
|
||||
CPTCFG_RT73USB=m
|
||||
CPTCFG_RT2800USB=m
|
||||
CPTCFG_RT2800USB_RT33XX=y
|
||||
CPTCFG_RT2800USB_RT35XX=y
|
||||
CPTCFG_RT2800USB_RT3573=y
|
||||
CPTCFG_RT2800USB_RT53XX=y
|
||||
CPTCFG_RT2800USB_RT55XX=y
|
||||
CPTCFG_RT2800USB_UNKNOWN=y
|
||||
CPTCFG_RT2800_LIB=m
|
||||
CPTCFG_RT2X00_LIB_USB=m
|
||||
CPTCFG_RT2X00_LIB=m
|
||||
CPTCFG_RT2X00_LIB_FIRMWARE=y
|
||||
CPTCFG_RT2X00_LIB_CRYPTO=y
|
||||
CPTCFG_RT2X00_LIB_LEDS=y
|
||||
# CPTCFG_RT2X00_DEBUG is not set
|
||||
# CPTCFG_RTL_CARDS is not set
|
||||
# CPTCFG_WL_TI is not set
|
||||
# CPTCFG_ZD1211RW is not set
|
||||
# CPTCFG_MWIFIEX is not set
|
||||
# CPTCFG_CW1200 is not set
|
||||
# CPTCFG_RSI_91X is not set
|
||||
# CPTCFG_ETHERNET is not set
|
||||
# CPTCFG_USB_NET_DRIVERS is not set
|
||||
CPTCFG_SSB_POSSIBLE=y
|
||||
|
||||
#
|
||||
# Sonics Silicon Backplane
|
||||
#
|
||||
# CPTCFG_SSB is not set
|
||||
CPTCFG_BCMA_POSSIBLE=y
|
||||
|
||||
#
|
||||
# Broadcom specific AMBA
|
||||
#
|
||||
# CPTCFG_BCMA is not set
|
||||
# CPTCFG_NFC is not set
|
||||
# CPTCFG_MEDIA_SUPPORT is not set
|
||||
# CPTCFG_IEEE802154 is not set
|
||||
|
||||
#
|
||||
# USB Device Class drivers
|
||||
#
|
||||
# CPTCFG_USB_WDM is not set
|
|
@ -1,53 +0,0 @@
|
|||
DESCRIPTION = "hello-world-mod tests the module.bbclass mechanism."
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
inherit sysmocom-module
|
||||
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.18.1/backports-3.18.1-1.tar.xz \
|
||||
file://dont-export-clk_enable-twice.patch \
|
||||
file://scatterwalk-api-update.patch \
|
||||
file://defconfig \
|
||||
"
|
||||
SRC_URI[md5sum] = "6cef5f2c800e12441d2cba9fa42b6a5b"
|
||||
SRC_URI[sha256sum] = "ff3d4d5192c4d57d7415dfcd60e02ea4fa21e0de224ae0ce2b5b9f2e9c815783"
|
||||
|
||||
S = "${WORKDIR}/backports-3.18.1-1"
|
||||
|
||||
|
||||
python __anonymous() {
|
||||
if d.getVar('DISTRO_VERSION', True)[0:3] == '1.5':
|
||||
d.setVar('KERNEL_BUILD_DIR', d.getVar('STAGING_KERNEL_DIR', True))
|
||||
else:
|
||||
d.setVar('KERNEL_BUILD_DIR', d.getVar('STAGING_KERNEL_BUILDDIR', True))
|
||||
}
|
||||
|
||||
KERNEL_BUILD_DIR = "${@d.getVar('KERNEL_BUILD_DIR', True)}"
|
||||
|
||||
do_configure() {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC
|
||||
cp ${WORKDIR}/defconfig ${S}/.config
|
||||
oe_runmake oldconfig KLIB_BUILD=${KERNEL_BUILD_DIR}
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
|
||||
oe_runmake KLIB_BUILD=${KERNEL_BUILD_DIR} \
|
||||
CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
|
||||
AR="${KERNEL_AR}" \
|
||||
${MAKE_TARGETS}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
|
||||
oe_runmake DEPMOD=echo KLIB="${D}" \
|
||||
KLIB_BUILD=${KERNEL_BUILD_DIR} \
|
||||
CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
|
||||
install
|
||||
}
|
||||
|
||||
|
||||
KERNEL_MODULES_META_PACKAGE = "kernel-modules-backports"
|
||||
KERNEL_MODULES_PACKAGE_PREFIX = "kernel-module-backports-%s"
|
|
@ -1,22 +0,0 @@
|
|||
SUMMARY = "small utility to set configuration of USB2514 hub chip on the sysmo-odu"
|
||||
HOMEPAGE = ""
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e6868d1ce8f058ecc5658ecebb086636"
|
||||
|
||||
SRCREV = "1103417819fe855d8d0d3e6a277870679ad01bd2"
|
||||
SRC_URI = "git://github.com/mlaurijsse/linux-mpu9150.git"
|
||||
|
||||
PV = "v0.0+git${SRCPV}"
|
||||
PR = "r1a"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -f Makefile-native
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}/
|
||||
install -m 0755 ${S}/imu ${D}${bindir}/mpu9150-imu
|
||||
install -m 0755 ${S}/imucal ${D}${bindir}/mpu9150-imu-cal
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,78 +0,0 @@
|
|||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux kernel for the LiteCell 1.5"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
require recipes-kernel/linux/linux-yocto.inc
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
COMPATIBLE_MACHINE = "(litecell15|sysmobts2100)"
|
||||
|
||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||
|
||||
KERNEL_DEVICETREE_litecell15 = "litecell15.dtb"
|
||||
KERNEL_DEVICETREE_sysmobts2100 = "litecell15.dtb"
|
||||
|
||||
RDEPENDS_kernel-devicetree += "update-alternatives-opkg"
|
||||
|
||||
LINUX_VERSION = "${PV}"
|
||||
LINUX_VERSION_EXTENSION = "-lc15"
|
||||
|
||||
RDEPENDS_kernel-image += "update-alternatives-opkg"
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
NRW_LC15_MIRROR ??= "gitlab.com/nrw_litecell15"
|
||||
|
||||
inherit gitver-pkg gitver-repo
|
||||
|
||||
REPODIR = "${THISDIR}"
|
||||
REPOFILE = "linux-litecell15_4.4.32.bb"
|
||||
PR := "r${REPOGITFN}"
|
||||
|
||||
REPODIR = "${THISDIR}/files"
|
||||
REPOFILE = ""
|
||||
PR := "${PR}.${REPOGITFN}"
|
||||
|
||||
PV = "4.4.32+git${SRCPV}"
|
||||
PKGV = "${PKGGITV}"
|
||||
|
||||
DEV_BRANCH = "${@ 'nrw/litecell15-next' if d.getVar('NRW_BSP_DEVEL', False) == "next" else 'nrw/litecell15'}"
|
||||
DEV_SRCREV = "${AUTOREV}"
|
||||
DEV_SRCURI := "git://${NRW_LC15_MIRROR}/processor-sdk-linux.git;protocol=https;branch=${DEV_BRANCH}"
|
||||
|
||||
REL_BRANCH = "nrw/litecell15"
|
||||
REL_SRCREV = "a54d64a4be25d87032a8600b97b271f255587844"
|
||||
REL_SRCURI := "git://${NRW_LC15_MIRROR}/processor-sdk-linux.git;protocol=https;branch=${REL_BRANCH}"
|
||||
|
||||
BRANCH = "${@ '${DEV_BRANCH}' if d.getVar('NRW_BSP_DEVEL', False) else '${REL_BRANCH}'}"
|
||||
SRCREV = "${@ '${DEV_SRCREV}' if d.getVar('NRW_BSP_DEVEL', False) else '${REL_SRCREV}'}"
|
||||
SRC_URI = "${@ '${DEV_SRCURI}' if d.getVar('NRW_BSP_DEVEL', False) else '${REL_SRCURI}'}"
|
||||
|
||||
addtask showversion after do_compile before do_install
|
||||
do_showversion() {
|
||||
bbplain "${PN}: ${PKGGITV} => ${BRANCH}:${PKGGITH}"
|
||||
}
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i -e 's/EXTRAVERSION =.*/EXTRAVERSION = .${PKGGITN}-lc15/g' ${S}/Makefile
|
||||
}
|
||||
|
||||
SRC_URI += "file://defconfig"
|
||||
|
||||
# autoload defaults (alphabetically sorted)
|
||||
module_autoload_fpgadl = "fpgadl"
|
||||
module_autoload_nrw_clkerr = "nrw-clkerr"
|
||||
module_autoload_nrw_vswr = "nrw-vswr"
|
||||
module_autoload_omap_remoteproc = "omap_remoteproc"
|
||||
module_autoload_rpmsg_proto = "rpmsg-proto"
|
||||
module_autoload_rpmsg_rpc = "rpmsg-rpc"
|
||||
|
||||
KERNEL_MODULE_PROBECONF_append = "fpgadl nrw_clkerr nrw_vswr omap_remoteproc rpmsg_proto rpmsg_rpc"
|
||||
KERNEL_MODULE_AUTOLOAD_append = "fpgadl nrw_clkerr nrw_vswr omap_remoteproc rpmsg_proto rpmsg_rpc"
|
||||
|
||||
RDEPENDS_kernel-module-omap-remoteproc += "lc15-firmware"
|
||||
RDEPENDS_kernel-module-fpgadl += "lc15-firmware"
|
|
@ -7,6 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
|||
# Set this to 'preempt_rt' in the local.conf if you want a real time kernel
|
||||
LINUX_KERNEL_TYPE ?= "standard"
|
||||
|
||||
module_autoload_mISDN_l1loop = "mISDN_l1loop"
|
||||
module_autoload_mISDN_dsp = "mISDN_dsp"
|
||||
module_conf_mISDN_l1loop = "options mISDN_l1loop pri=1 nchannel=20"
|
||||
|
||||
KERNEL_MODULE_PROBECONF_append = "mISDN_l1loop mISDN_dsp"
|
||||
|
||||
FILES_${PN} = ""
|
||||
|
||||
# Remove when using a Poky/OE-Core with that includes e0bf758982843ec1981b74410616b3492c599d06
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,59 +0,0 @@
|
|||
inherit kernel
|
||||
require linux-sysmocom.inc
|
||||
|
||||
DEPENDS += "bc-native"
|
||||
|
||||
# ATTENTION: Update linux-backports PR on version change. In Dora the
|
||||
# reverse dependency tracking for the kernel doesn't appear to work. So
|
||||
# please bump the PR on version changes!
|
||||
# at versions changes do not forget to update conf/machine/include/sysmobts.inc too
|
||||
LINUX_VERSION ?= "3.10.84"
|
||||
LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}"
|
||||
|
||||
# Overrides for the sysmocom bts v2
|
||||
BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2"
|
||||
|
||||
SRCREV = "60c9ebbd1a683e8691223042a12958c5dc661feb"
|
||||
|
||||
PR = "r43"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.84 \
|
||||
file://defconfig"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
COMPATIBLE_MACHINE = "(sysmobts-v2|sysmocom-bsc)"
|
||||
EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1"
|
||||
|
||||
require linux-tools.inc
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${WORKDIR}/defconfig ${B}/.config
|
||||
oe_runmake -C ${S} O=${B} oldconfig
|
||||
}
|
||||
|
||||
# autoload defaults (alphabetically sorted)
|
||||
module_autoload_davinci_mmc = "davinci_mmc"
|
||||
module_autoload_dspdl_dm644x = "dspdl_dm644x"
|
||||
module_autoload_fpgadl_par = "fpgadl_par"
|
||||
module_autoload_leds-gpio = "leds-gpio"
|
||||
module_autoload_mmc_block = "mmc_block"
|
||||
module_autoload_msgqueue = "msgqueue"
|
||||
module_autoload_rtfifo = "rtfifo"
|
||||
|
||||
KERNEL_MODULE_PROBECONF_append = "davinci_mmc dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo"
|
||||
KERNEL_MODULE_AUTOLOAD_append = "davinci_mmc dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo"
|
||||
|
||||
# module configs (alphabetically sorted)
|
||||
module_conf_dspdl_dm644x = "options dspdl_dm644x fw_name=${BTS_FIRMWARE_NAME}.out debug=0"
|
||||
module_conf_fpgadl_par = "options fpgadl_par fw_name=${BTS_FIRMWARE_NAME}.bit"
|
||||
module_conf_msgqueue = "options msgqueue fw_name=${BTS_FIRMWARE_NAME}.out"
|
||||
module_conf_rtfifo = "options rtfifo fw_name=${BTS_FIRMWARE_NAME}.out"
|
||||
|
||||
RDEPENDS_kernel-module-dspdl-dm644x += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-fpgadl-par += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-msgqueue += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-rtfifo += "sysmobts-firmware"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
|
@ -1,45 +1,62 @@
|
|||
inherit kernel
|
||||
require linux-sysmocom.inc
|
||||
|
||||
LINUX_VERSION ?= "3.2.69"
|
||||
LINUX_VERSION ?= "3.2.48"
|
||||
LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}"
|
||||
|
||||
# ATTENTION: Update linux-backports PR on version change. In Dora the
|
||||
# reverse dependency tracking for the kernel doesn't appear to work. So
|
||||
# please bump the PR on version changes!
|
||||
SRCREV = "d33286eda98596983abf9bd6420741fdfedd192f"
|
||||
BRANCH = "sob-odu/linux-3.2.69"
|
||||
# Overrides for the sysmocom bts v1
|
||||
BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1"
|
||||
|
||||
PR = "r43"
|
||||
# Overrides for the sysmocom bts v2
|
||||
BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2"
|
||||
BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2"
|
||||
|
||||
SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b"
|
||||
|
||||
# odu handling.
|
||||
SRCREV_sysmocom-odu = "aadf22be50ac2abb2a9437b9ad3bba4ccdca540b"
|
||||
LINUX_VERSION_sysmocom-odu = "3.2.63"
|
||||
|
||||
PR = "r37"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=${BRANCH} \
|
||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
|
||||
file://mISDN_loop.patch;patch=1 \
|
||||
file://defconfig"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
COMPATIBLE_MACHINE = "(sysmocom-odu)"
|
||||
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050|sysmocom-odu)"
|
||||
EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1"
|
||||
|
||||
# we do not want to have the kernel image inside the kernel
|
||||
FILES_kernel-image_sysmobts-v1 = ""
|
||||
|
||||
require linux-tools.inc
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${WORKDIR}/defconfig ${B}/.config
|
||||
oe_runmake -C ${S} O=${B} oldconfig
|
||||
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
|
||||
oe_runmake oldconfig
|
||||
}
|
||||
|
||||
# autoload defaults (alphabetically sorted)
|
||||
module_autoload_davinci_mmc = "davinci_mmc"
|
||||
module_autoload_davinci_wdt = "davinci_wdt"
|
||||
module_autoload_dspdl_dm644x = "dspdl_dm644x"
|
||||
module_autoload_fpgadl_par = "fpgadl_par"
|
||||
module_autoload_leds-gpio = "leds-gpio"
|
||||
module_autoload_mmc_block = "mmc_block"
|
||||
KERNEL_MODULE_AUTOLOAD += "leds-gpio mmc_block"
|
||||
module_autoload_msgqueue = "msgqueue"
|
||||
module_autoload_rtfifo = "rtfifo"
|
||||
|
||||
# module configs (alphabetically sorted)
|
||||
module_conf_dspdl_dm644x = "options dspdl_dm644x fw_name=${BTS_FIRMWARE_NAME}.out debug=0"
|
||||
module_conf_fpgadl_par = "options fpgadl_par fw_name=${BTS_FIRMWARE_NAME}.bit"
|
||||
module_conf_msgqueue = "options msgqueue fw_name=${BTS_FIRMWARE_NAME}.out"
|
||||
module_conf_rtfifo = "options rtfifo fw_name=${BTS_FIRMWARE_NAME}.out"
|
||||
|
||||
# Legacy for 3.2 and LCR
|
||||
module_autoload_mISDN_l1loop = "mISDN_l1loop"
|
||||
module_autoload_mISDN_dsp = "mISDN_dsp"
|
||||
module_conf_mISDN_l1loop = "options mISDN_l1loop pri=1 nchannel=20"
|
||||
KERNEL_MODULE_PROBECONF_append = "mISDN_l1loop mISDN_dsp"
|
||||
KERNEL_MODULE_AUTOLOAD += "mISDN_l1loop mISDN_dsp"
|
||||
RDEPENDS_kernel-module-dspdl-dm644x += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-fpgadl-par += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-msgqueue += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-rtfifo += "sysmobts-firmware"
|
||||
|
||||
DEFAULT_PREFERENCE = "20"
|
||||
|
|
|
@ -3,38 +3,45 @@ require linux-sysmocom.inc
|
|||
|
||||
DEPENDS += "bc-native"
|
||||
|
||||
# ATTENTION: Update linux-backports PR on version change. In Dora the
|
||||
# reverse dependency tracking for the kernel doesn't appear to work. So
|
||||
# please bump the PR on version changes!
|
||||
# at versions changes do not forget to update conf/machine/include/sysmobts.inc too
|
||||
LINUX_VERSION ?= "4.9.14"
|
||||
LINUX_VERSION ?= "3.10.50"
|
||||
LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}"
|
||||
|
||||
# Overrides for the sysmocom bts v1
|
||||
BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1"
|
||||
|
||||
# Overrides for the sysmocom bts v2
|
||||
BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2"
|
||||
|
||||
SRCREV = "8d5d275254642b70b3ecf18a5b9b9fe9d5777230"
|
||||
SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r36"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=lynxis/v4.9 \
|
||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.50 \
|
||||
file://defconfig"
|
||||
|
||||
# tmp disabled.. patch needs to be rebased for 3.10
|
||||
# file://mISDN_loop.patch;patch=1
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
COMPATIBLE_MACHINE = "(sysmobts-v2|sysmocom-bsc)"
|
||||
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmocom-bsc)"
|
||||
EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1"
|
||||
|
||||
# we do not want to have the kernel image inside the kernel
|
||||
FILES_kernel-image_sysmobts-v1 = ""
|
||||
|
||||
require linux-tools.inc
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${WORKDIR}/defconfig ${B}/.config
|
||||
oe_runmake -C ${S} O=${B} oldconfig
|
||||
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
|
||||
oe_runmake oldconfig
|
||||
}
|
||||
|
||||
# autoload defaults (alphabetically sorted)
|
||||
module_autoload_davinci_mmc = "davinci_mmc"
|
||||
module_autoload_davinci_wdt = "davinci_wdt"
|
||||
module_autoload_dspdl_dm644x = "dspdl_dm644x"
|
||||
module_autoload_fpgadl_par = "fpgadl_par"
|
||||
module_autoload_leds-gpio = "leds-gpio"
|
||||
|
@ -42,8 +49,7 @@ module_autoload_mmc_block = "mmc_block"
|
|||
module_autoload_msgqueue = "msgqueue"
|
||||
module_autoload_rtfifo = "rtfifo"
|
||||
|
||||
KERNEL_MODULE_PROBECONF_append = "davinci_mmc dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo"
|
||||
KERNEL_MODULE_AUTOLOAD_append = "davinci_mmc dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo"
|
||||
KERNEL_MODULE_PROBECONF_append = "davinci_mmc davinci_wdt dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo"
|
||||
|
||||
# module configs (alphabetically sorted)
|
||||
module_conf_dspdl_dm644x = "options dspdl_dm644x fw_name=${BTS_FIRMWARE_NAME}.out debug=0"
|
|
@ -0,0 +1,20 @@
|
|||
inherit kernel
|
||||
require linux-sysmocom.inc
|
||||
|
||||
LINUX_VERSION ?= "${PV}"
|
||||
|
||||
PR = "r15"
|
||||
SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
|
||||
ftp://ftp.servus.at/linux-kernel/patch-2.6.39.4.bz2;apply=yes;name=stablepatch \
|
||||
file://mISDN_loop.patch \
|
||||
file://defconfig"
|
||||
|
||||
COMPATIBLE_MACHINE = "(sysmocom-bsc)"
|
||||
|
||||
|
||||
require linux-tools.inc
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
|
||||
oe_runmake oldconfig
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
# TODO: When dropping netbase for edison we can rename it
|
||||
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/netbase-${PV}:${SYSMOCOM}/netbase:"
|
||||
PRINC = "4"
|
||||
|
||||
# systemd does not look at /etc/rcS.d for the script. Make sure
|
||||
# there is a symlink available
|
||||
INITSCRIPT_PARAMS = "start 40 S 2 . stop 40 0 6 1 ."
|
|
@ -4,8 +4,7 @@
|
|||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
#eth0 is our gateway to the network.
|
||||
auto eth0
|
||||
#eth0 is our gateway to the network. ifplugd will run ifup/ifdown for us
|
||||
iface eth0 inet dhcp
|
||||
|
||||
#eth0 will provide dhcp to clients
|
|
@ -1,6 +1,6 @@
|
|||
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
||||
|
||||
auto lo eth0
|
||||
auto lo eth0 eth1
|
||||
|
||||
# The loopback interface
|
||||
iface lo inet loopback
|
||||
|
@ -8,3 +8,9 @@ iface lo inet loopback
|
|||
# eth0
|
||||
iface eth0 inet dhcp
|
||||
|
||||
# eth1
|
||||
iface eth1 inet static
|
||||
address 192.168.4.11
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
SYSMOCOM := "${@os.path.dirname(d.getVar('FILE', True))}"
|
||||
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}:"
|
||||
PRINC = "21"
|
||||
PRINC = "18"
|
||||
|
||||
|
||||
# bug in poky meta/classes/base.bbclass
|
||||
|
|
|
@ -2,24 +2,24 @@
|
|||
|
||||
FLAGS="defaults 23"
|
||||
|
||||
test -f /usr/sbin/ntpd || exit 0
|
||||
test -f /usr/bin/ntpd || exit 0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting NTP server: ntpd"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/ntpd
|
||||
start-stop-daemon --start --quiet --exec /usr/bin/ntpd
|
||||
echo "."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping NTP server: ntpd"
|
||||
start-stop-daemon --stop --quiet --exec /usr/sbin/ntpd
|
||||
start-stop-daemon --stop --quiet --exec /usr/bin/ntpd
|
||||
echo "."
|
||||
;;
|
||||
restart|force-reload)
|
||||
echo -n "Restarting NTP server: ntpd... "
|
||||
start-stop-daemon --stop --quiet --exec /usr/sbin/ntpd
|
||||
start-stop-daemon --stop --quiet --exec /usr/bin/ntpd
|
||||
sleep 2
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/ntpd
|
||||
start-stop-daemon --start --quiet --exec /usr/bin/ntpd
|
||||
echo "done."
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -1,35 +1,17 @@
|
|||
#! /bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: ntp
|
||||
# Required-Start: $network $remote_fs $syslog
|
||||
# Required-Stop: $network $remote_fs $syslog
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop:
|
||||
# Short-Description: Start NTP daemon
|
||||
### END INIT INFO
|
||||
|
||||
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||||
|
||||
DAEMON=/usr/sbin/ntpd
|
||||
PIDFILE=/var/run/ntpd.pid
|
||||
|
||||
#
|
||||
# ntpd init.d script for ntpdc from ntp.isc.org
|
||||
test -x $DAEMON -a -r /etc/ntp.conf || exit 0
|
||||
|
||||
test -x /usr/bin/ntpd -a -r /etc/ntp.conf || exit 0
|
||||
# rcS contains TICKADJ
|
||||
test -r /etc/default/rcS && . /etc/default/rcS
|
||||
|
||||
# Source function library.
|
||||
. /etc/init.d/functions
|
||||
|
||||
# Functions to do individual actions
|
||||
settick(){
|
||||
# If TICKADJ is set we *must* adjust it before we start, because the
|
||||
# driftfile relies on the correct setting
|
||||
test -n "$TICKADJ" -a -x /usr/sbin/tickadj && {
|
||||
test -n "$TICKADJ" -a -x /usr/bin/tickadj && {
|
||||
echo -n "Setting tick to $TICKADJ: "
|
||||
/usr/sbin/tickadj "$TICKADJ"
|
||||
/usr/bin/tickadj "$TICKADJ"
|
||||
echo "done"
|
||||
}
|
||||
}
|
||||
|
@ -39,12 +21,12 @@ startdaemon(){
|
|||
# this. If ntpd seems to disappear after a while assume TICKADJ
|
||||
# above is set to a totally incorrect value.
|
||||
echo -n "Starting ntpd: "
|
||||
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -u ntp:ntp -p $PIDFILE "$@"
|
||||
start-stop-daemon --start -x /usr/bin/ntpd -- -p /var/run/ntp.pid "$@"
|
||||
echo "done"
|
||||
}
|
||||
stopdaemon(){
|
||||
echo -n "Stopping ntpd: "
|
||||
start-stop-daemon --stop --quiet --oknodo -p $PIDFILE
|
||||
start-stop-daemon --stop -p /var/run/ntp.pid
|
||||
echo "done"
|
||||
}
|
||||
|
||||
|
@ -71,12 +53,8 @@ case "$1" in
|
|||
stopdaemon
|
||||
startdaemon
|
||||
;;
|
||||
status)
|
||||
status /usr/sbin/ntpd;
|
||||
exit $?
|
||||
;;
|
||||
*)
|
||||
echo "Usage: ntpd { start | stop | status | restart | reload }" >&2
|
||||
echo "Usage: ntpd { start | stop | restart | reload }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue