diff options
author | Warner Losh <imp@FreeBSD.org> | 2014-02-28 01:31:35 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2014-02-28 01:31:35 +0000 |
commit | 2705fd8194e6e475c7d6f1846fbea5ec1b704df2 (patch) | |
tree | a920b1a0700cd46df969cbba13d6b62b8875283b /sys/contrib/dts/FreeBSD-upgrade | |
parent | 6afdadfd932067b057db5853bd38c92016fd5f69 (diff) | |
download | src-2705fd8194e6e475c7d6f1846fbea5ec1b704df2.tar.gz src-2705fd8194e6e475c7d6f1846fbea5ec1b704df2.zip |
Initial import of Linux/Vendor DTS files for various embedded boards.
Notes
Notes:
svn path=/head/; revision=262591
Diffstat (limited to 'sys/contrib/dts/FreeBSD-upgrade')
-rw-r--r-- | sys/contrib/dts/FreeBSD-upgrade | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/contrib/dts/FreeBSD-upgrade b/sys/contrib/dts/FreeBSD-upgrade new file mode 100644 index 000000000000..428972dfba96 --- /dev/null +++ b/sys/contrib/dts/FreeBSD-upgrade @@ -0,0 +1,24 @@ +#/bin/sh +# $FreeBSD$ +# +# These files are imported from Ian Campbell's git tree mirroring the linux +# kernel. +# +# git clone git://xenbits.xen.org/people/ianc/device-tree-rebasing.git +# +# will grab the latest tree. It is imported into vendor/device-tree/dist and tagged +# with the svn cp command, per the handbook. +# +# We only import those files from here that we know work with some kernel, rather than +# all of them. This means we have an 'opt in' list rather than an 'opt out' list +# that's more typical for FreeBSD. The opt-in list should be relative to the top level +# directory (so a bunch of lines starting with src). We import src/$ARCH/foo into +# sys/contrib/dts/$ARCH/foo with the goal being to use as many of these files as possible +# unmodified for FreeBSD. This isn't always possible, but there are workarounds. +# +# This script should take care of all that the first time... + +s=svn+ssh://svn.freebsd.org/base/vendor/device-tree/ + +args=$(grep -v ^# FreeBSD-list | sed -e"s=^=$s=") +svn cp -m "Initial import of DTS files from Linux" ${args} svn+ssh://svn.freebsd.org/base/head/sys/contrib/dts/arm |