Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a9415ac8 authored by Robert Nelson's avatar Robert Nelson
Browse files

bb.org: jessie: iot example (first pass)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 90e49d31
No related merge requests found
##
release="8.3"
image_type="iot"
##
##Debootstrap: https://wiki.debian.org/Debootstrap
##
##debootstrap --arch=${deb_arch} --include=${deb_include} --exclude=${deb_exclude} \
##--components=${deb_components} --foreign ${deb_codename} /tmp/tmp.dir/ http://${deb_mirror}
##
##Debian Jessie (Testing) armhf
##
deb_distribution="debian"
deb_codename="jessie"
deb_arch="armhf"
#
deb_include="alsa-utils apache2 autoconf automake avahi-daemon bash-completion \
bc bison bluetooth build-essential ca-certificates connman cpufrequtils curl \
dbus-x11 debhelper dnsmasq dosfstools fakeroot file firmware-atheros \
firmware-ralink firmware-realtek firmware-zd1211 flex gdb git-core hdparm \
hexedit hostapd htop i2c-tools info initramfs-tools iperf iw libnss-mdns \
libusb-1.0-0-dev libncurses5-dev libtool linux-base locales lshw lsof \
lzma lzop openssh-server pkg-config ppp python-minimal rfkill \
rsync ruby ruby-dev screen ssl-cert sudo systemd tmux \
u-boot-tools usb-modeswitch usbutils v4l-utils vim wget wireless-tools \
wpasupplicant wvdial zd1211-firmware"
#
deb_exclude=""
#
deb_components="main contrib non-free"
deb_mirror=""
##
##Some packages fail to install via debootstrap: deb_additional_pkgs="<comma|space>"
##
#python-2.7: due to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769106
#
deb_additional_pkgs="bmap-tools libopencv-dev libpython2.7-dev lsb-release nodejs \
npm pastebinit pylint python-dbus python-flask python-dev python-opencv \
python-pip vim-nox"
##
rfs_username="debian"
rfs_fullname="Demo User"
rfs_password="temppwd"
rfs_hostname="beaglebone"
rfs_startup_scripts="enable"
rfs_opt_scripts="https://github.com/RobertCNelson/boot-scripts"
rfs_default_desktop=""
rfs_desktop_background=""
rfs_default_locale="en_US.UTF-8"
rfs_etc_dogtag="BeagleBoard.org Debian Image"
rfs_console_banner="Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian"
rfs_console_user_pass="enable"
rfs_ssh_banner="Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian"
rfs_ssh_user_pass="enable"
##
##enable kernel repo: http://repos.rcn-ee.com/(debian|ubuntu)
repo_rcnee="enable"
repo_rcnee_pkg_list="linux-image-4.1.17-ti-rt-r48 linux-headers-4.1.17-ti-rt-r48 \
bb-customizations bb-node-red-installer bb-bonescript-installer-beta \
doc-beaglebone-getting-started \
am335x-pru-package \
c9-core-installer create-ap device-tree-compiler dsptop \
haveged libsoc-dev \
libsoc2 nodejs-v0.12.x nodejs-v0.12.x-legacy \
rcn-ee-archive-keyring \
ti-pru-cgt-installer ti-wlconf tiomapconf"
#
repo_rcnee_pkg_version="4.1.17-ti-rt-r48"
include_firmware="enable"
#
chroot_COPY_SETUP_SDCARD="enable"
chroot_before_hook=""
chroot_after_hook=""
chroot_script="beagleboard.org-jessie.sh"
chroot_post_uenv_txt="post_beagleboard.org.txt"
chroot_tarball="enable"
...@@ -15,6 +15,7 @@ fi ...@@ -15,6 +15,7 @@ fi
./RootStock-NG.sh -c machinekit-debian-wheezy ./RootStock-NG.sh -c machinekit-debian-wheezy
./RootStock-NG.sh -c bb.org-debian-jessie-lxqt-2gb-v4.1 ./RootStock-NG.sh -c bb.org-debian-jessie-lxqt-2gb-v4.1
./RootStock-NG.sh -c bb.org-debian-jessie-lxqt-4gb-v4.1 ./RootStock-NG.sh -c bb.org-debian-jessie-lxqt-4gb-v4.1
./RootStock-NG.sh -c bb.org-debian-jessie-iot-v4.1.conf
./RootStock-NG.sh -c bb.org-debian-jessie-console-v4.1 ./RootStock-NG.sh -c bb.org-debian-jessie-console-v4.1
./RootStock-NG.sh -c bb.org-debian-jessie-usbflasher ./RootStock-NG.sh -c bb.org-debian-jessie-usbflasher
#./RootStock-NG.sh -c bb.org-debian-jessie-lxqt-4gb-nodejs-4.2.x-v4.1 #./RootStock-NG.sh -c bb.org-debian-jessie-lxqt-4gb-nodejs-4.2.x-v4.1
...@@ -22,6 +23,7 @@ fi ...@@ -22,6 +23,7 @@ fi
debian_wheezy_machinekit="debian-7.9-machinekit-armhf-${time}" debian_wheezy_machinekit="debian-7.9-machinekit-armhf-${time}"
debian_jessie_lxqt_2gb="debian-8.3-lxqt-2gb-armhf-${time}" debian_jessie_lxqt_2gb="debian-8.3-lxqt-2gb-armhf-${time}"
debian_jessie_lxqt_4gb="debian-8.3-lxqt-4gb-armhf-${time}" debian_jessie_lxqt_4gb="debian-8.3-lxqt-4gb-armhf-${time}"
debian_jessie_iot="debian-8.3-iot-armhf-${time}"
debian_jessie_console="debian-8.3-console-armhf-${time}" debian_jessie_console="debian-8.3-console-armhf-${time}"
debian_jessie_usbflasher="debian-8.3-usbflasher-armhf-${time}" debian_jessie_usbflasher="debian-8.3-usbflasher-armhf-${time}"
debian_jessie_lxqt_4gb_nodejs="debian-8.3-lxqt-4gb-nodejs-4.2.x-armhf-${time}" debian_jessie_lxqt_4gb_nodejs="debian-8.3-lxqt-4gb-nodejs-4.2.x-armhf-${time}"
...@@ -146,6 +148,12 @@ base_rootfs="${debian_jessie_lxqt_2gb}" ; blend="lxqt-2gb" ; extract_base_rootfs ...@@ -146,6 +148,12 @@ base_rootfs="${debian_jessie_lxqt_2gb}" ; blend="lxqt-2gb" ; extract_base_rootfs
options="--img-2gb BBB-eMMC-flasher-\${base_rootfs} ${beaglebone} --bbb-flasher" ; generate_img options="--img-2gb BBB-eMMC-flasher-\${base_rootfs} ${beaglebone} --bbb-flasher" ; generate_img
###iot image
base_rootfs="${debian_jessie_iot}" ; blend="iot" ; extract_base_rootfs
options="--img-4gb BBB-eMMC-flasher-\${base_rootfs} ${beaglebone} --bbb-flasher" ; generate_img
options="--img-4gb bone-\${base_rootfs} ${beaglebone}" ; generate_img
###console images: (also single partition) ###console images: (also single partition)
base_rootfs="${debian_jessie_console}" ; blend="console" ; extract_base_rootfs base_rootfs="${debian_jessie_console}" ; blend="console" ; extract_base_rootfs
...@@ -172,6 +180,7 @@ options="--img-4gb bbx15-\${base_rootfs} ${am57xx_beagle_x15}" ; generate_img ...@@ -172,6 +180,7 @@ options="--img-4gb bbx15-\${base_rootfs} ${am57xx_beagle_x15}" ; generate_img
base_rootfs="${debian_wheezy_machinekit}" ; blend="machinekit" ; archive_base_rootfs base_rootfs="${debian_wheezy_machinekit}" ; blend="machinekit" ; archive_base_rootfs
base_rootfs="${debian_jessie_lxqt_4gb}" ; blend="lxqt-4gb" ; archive_base_rootfs base_rootfs="${debian_jessie_lxqt_4gb}" ; blend="lxqt-4gb" ; archive_base_rootfs
base_rootfs="${debian_jessie_lxqt_2gb}" ; blend="lxqt-2gb" ; archive_base_rootfs base_rootfs="${debian_jessie_lxqt_2gb}" ; blend="lxqt-2gb" ; archive_base_rootfs
base_rootfs="${debian_jessie_iot}" ; blend="iot" ; archive_base_rootfs
base_rootfs="${debian_jessie_console}" ; blend="console" ; archive_base_rootfs base_rootfs="${debian_jessie_console}" ; blend="console" ; archive_base_rootfs
base_rootfs="${debian_jessie_usbflasher}" ; blend="usbflasher" ; archive_base_rootfs base_rootfs="${debian_jessie_usbflasher}" ; blend="usbflasher" ; archive_base_rootfs
base_rootfs="${debian_jessie_lxqt_4gb_nodejs}" ; blend="lxqt-4gb-nodejs-4.2.x" ; archive_base_rootfs base_rootfs="${debian_jessie_lxqt_4gb_nodejs}" ; blend="lxqt-4gb-nodejs-4.2.x" ; archive_base_rootfs
...@@ -196,6 +205,12 @@ base_rootfs="${debian_jessie_lxqt_2gb}" ; blend="lxqt-2gb" ...@@ -196,6 +205,12 @@ base_rootfs="${debian_jessie_lxqt_2gb}" ; blend="lxqt-2gb"
wfile="BBB-eMMC-flasher-\${base_rootfs}-2gb" ; archive_img wfile="BBB-eMMC-flasher-\${base_rootfs}-2gb" ; archive_img
#
base_rootfs="${debian_jessie_iot}" ; blend="iot"
wfile="BBB-eMMC-flasher-\${base_rootfs}-4gb" ; archive_img
wfile="bone-\${base_rootfs}-4gb" ; archive_img
# #
base_rootfs="${debian_jessie_console}" ; blend="console" base_rootfs="${debian_jessie_console}" ; blend="console"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment