Compare commits
1 Commits
56e9f0c5f1
...
ded0c31997
Author | SHA1 | Date | |
---|---|---|---|
ded0c31997 |
@ -1,4 +1,4 @@
|
||||
# meta-rpi
|
||||
Yocto meta layer to customize the raspberrypi.
|
||||
# meta-bbb
|
||||
Yocto meta layer to customize the beaglebone black yocto distribution.
|
||||
|
||||
|
||||
|
@ -13,6 +13,5 @@ BBLAYERS ?= " \
|
||||
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
||||
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
||||
${TOPDIR}/../layers/meta-raspberrypi \
|
||||
${TOPDIR}/../layers/meta-blackfinn \
|
||||
${TOPDIR}/../layers/meta-rpi \
|
||||
"
|
||||
|
@ -1,5 +1,9 @@
|
||||
MACHINE ?= "raspberrypi3-64"
|
||||
|
||||
#DL_DIR ?= "${TOPDIR}/../../downloads"
|
||||
#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
||||
#TMPDIR = "${TOPDIR}/tmp"
|
||||
|
||||
DISTRO ?= "poky"
|
||||
PACKAGE_CLASSES ?= "package_ipk"
|
||||
|
||||
@ -9,6 +13,8 @@ PACKAGE_CLASSES ?= "package_ipk"
|
||||
|
||||
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
||||
|
||||
#IMAGE_BOOT_FILES_append = " uEnv.txt"
|
||||
|
||||
PATCHRESOLVE = "noop"
|
||||
|
||||
BB_DISKMON_DIRS = "\
|
||||
@ -29,9 +35,12 @@ CONF_VERSION = "1"
|
||||
|
||||
INHERIT += "rm_work"
|
||||
|
||||
#INHERIT += "icecc"
|
||||
#ICECC_PATH = "/usr/bin/icecc"
|
||||
#ICECC_PARALLEL_MAKE = "-j 20"
|
||||
|
||||
INHERIT += "own-mirrors"
|
||||
SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources"
|
||||
BB_GENERATE_MIRROR_TARBALLS = "1"
|
||||
|
||||
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
||||
|
||||
|
@ -6,12 +6,12 @@ network={
|
||||
ssid="FRITZ!Box 7330_EXT"
|
||||
psk=6bee2296d336ab07a1aca9f210be55095896e740225d920c0d7f15906dc35846
|
||||
id_str="home_outdoor"
|
||||
priority=2
|
||||
priority=1
|
||||
}
|
||||
network={
|
||||
ssid="FRITZ!Box 7330"
|
||||
psk=44df1640e42b8f4e4b424a39af700c817bc2b89f13c324d29c10bf7ba3028258
|
||||
id_str="home_indoor"
|
||||
priority=1
|
||||
priority=2
|
||||
}
|
||||
|
||||
|
@ -24,9 +24,9 @@
|
||||
# Offline mode (for use in constructing flash images offline)
|
||||
#option offline_root target
|
||||
|
||||
src/gz all https://opkg.blackfinn.de/thud/all
|
||||
src/gz raspberrypi3_64 https://opkg.blackfinn.de/thud/raspberrypi3_64
|
||||
src/gz aarch https://opkg.blackfinn.de/thud/aarch64
|
||||
src/gz all https://opkg.blackfinn.de/sumo/all
|
||||
src/gz beaglebone https://opkg.blackfinn.de/sumo/raspberrypi3_64
|
||||
src/gz cortexa8hf-neon https://opkg.blackfinn.de/sumo/aarch64
|
||||
|
||||
# Default destination for installed packages
|
||||
dest root /
|
||||
|
40
tools/scripts/flash_bbb.sh
Executable file
40
tools/scripts/flash_bbb.sh
Executable file
@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Remove old partitions on emmc.
|
||||
dd if=/dev/zero of=/dev/mmcblk1 bs=512 count=1
|
||||
|
||||
# Create new partition table.
|
||||
echo "n
|
||||
p
|
||||
1
|
||||
|
||||
+70M
|
||||
a
|
||||
t
|
||||
c
|
||||
n
|
||||
p
|
||||
|
||||
|
||||
|
||||
w" | fdisk /dev/mmcblk1
|
||||
|
||||
# Create file systems.
|
||||
mkfs.vfat -F 32 -n "boot" /dev/mmcblk1p1
|
||||
yes | mkfs.ext4 -L "rootfs" /dev/mmcblk1p2
|
||||
|
||||
|
||||
# Flash boot partition.
|
||||
mount /dev/mmcblk1p1 /media
|
||||
cp MLO /media
|
||||
cp u-boot.img /media
|
||||
cp uExt.txt /media
|
||||
sync
|
||||
umount /dev/mmcblk1p1
|
||||
|
||||
# Flash rootfs partition
|
||||
mount /dev/mmcblk1p2 /media
|
||||
tar -C /media -xf rootfs.tar.bz2
|
||||
sync
|
||||
umount /dev/mmcblk1p2
|
||||
|
9
tools/scripts/sync_ipk_up.sh
Executable file
9
tools/scripts/sync_ipk_up.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress tmp/deploy/ipk/ tkl@e320:/srv/ipk/$1
|
||||
else
|
||||
echo "Which branch?"
|
||||
exit -1
|
||||
fi
|
||||
|
3
tools/scripts/sync_src_up.sh
Executable file
3
tools/scripts/sync_src_up.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress downloads/ tkl@e320:/srv/files/mirror/sources
|
||||
|
Loading…
Reference in New Issue
Block a user