Compare commits
1 Commits
ded0c31997
...
56e9f0c5f1
Author | SHA1 | Date | |
---|---|---|---|
56e9f0c5f1 |
@ -1,4 +1,4 @@
|
|||||||
# meta-bbb
|
# meta-rpi
|
||||||
Yocto meta layer to customize the beaglebone black yocto distribution.
|
Yocto meta layer to customize the raspberrypi.
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,5 +13,6 @@ BBLAYERS ?= " \
|
|||||||
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
||||||
${TOPDIR}/../layers/meta-raspberrypi \
|
${TOPDIR}/../layers/meta-raspberrypi \
|
||||||
|
${TOPDIR}/../layers/meta-blackfinn \
|
||||||
${TOPDIR}/../layers/meta-rpi \
|
${TOPDIR}/../layers/meta-rpi \
|
||||||
"
|
"
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
MACHINE ?= "raspberrypi3-64"
|
MACHINE ?= "raspberrypi3-64"
|
||||||
|
|
||||||
#DL_DIR ?= "${TOPDIR}/../../downloads"
|
|
||||||
#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
|
||||||
#TMPDIR = "${TOPDIR}/tmp"
|
|
||||||
|
|
||||||
DISTRO ?= "poky"
|
DISTRO ?= "poky"
|
||||||
PACKAGE_CLASSES ?= "package_ipk"
|
PACKAGE_CLASSES ?= "package_ipk"
|
||||||
|
|
||||||
@ -13,8 +9,6 @@ PACKAGE_CLASSES ?= "package_ipk"
|
|||||||
|
|
||||||
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
||||||
|
|
||||||
#IMAGE_BOOT_FILES_append = " uEnv.txt"
|
|
||||||
|
|
||||||
PATCHRESOLVE = "noop"
|
PATCHRESOLVE = "noop"
|
||||||
|
|
||||||
BB_DISKMON_DIRS = "\
|
BB_DISKMON_DIRS = "\
|
||||||
@ -35,12 +29,9 @@ CONF_VERSION = "1"
|
|||||||
|
|
||||||
INHERIT += "rm_work"
|
INHERIT += "rm_work"
|
||||||
|
|
||||||
#INHERIT += "icecc"
|
|
||||||
#ICECC_PATH = "/usr/bin/icecc"
|
|
||||||
#ICECC_PARALLEL_MAKE = "-j 20"
|
|
||||||
|
|
||||||
INHERIT += "own-mirrors"
|
INHERIT += "own-mirrors"
|
||||||
SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources"
|
SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources"
|
||||||
BB_GENERATE_MIRROR_TARBALLS = "1"
|
BB_GENERATE_MIRROR_TARBALLS = "1"
|
||||||
|
|
||||||
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
||||||
|
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
#create encrypted passphrase with: wpa_passphrase '<ssid>' '<decrypted_key>'
|
#create encrypted passphrase with: wpa_passphrase '<ssid>' '<decrypted_key>'
|
||||||
country=DE
|
country=DE
|
||||||
ctrl_interface=DIR=/var/run/wpa_supplicant
|
ctrl_interface=DIR=/var/run/wpa_supplicant
|
||||||
update_config=1
|
update_config=1
|
||||||
network={
|
network={
|
||||||
ssid="FRITZ!Box 7330_EXT"
|
ssid="FRITZ!Box 7330_EXT"
|
||||||
psk=6bee2296d336ab07a1aca9f210be55095896e740225d920c0d7f15906dc35846
|
psk=6bee2296d336ab07a1aca9f210be55095896e740225d920c0d7f15906dc35846
|
||||||
id_str="home_outdoor"
|
id_str="home_outdoor"
|
||||||
priority=1
|
priority=2
|
||||||
}
|
}
|
||||||
network={
|
network={
|
||||||
ssid="FRITZ!Box 7330"
|
ssid="FRITZ!Box 7330"
|
||||||
psk=44df1640e42b8f4e4b424a39af700c817bc2b89f13c324d29c10bf7ba3028258
|
psk=44df1640e42b8f4e4b424a39af700c817bc2b89f13c324d29c10bf7ba3028258
|
||||||
id_str="home_indoor"
|
id_str="home_indoor"
|
||||||
priority=2
|
priority=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
# Offline mode (for use in constructing flash images offline)
|
# Offline mode (for use in constructing flash images offline)
|
||||||
#option offline_root target
|
#option offline_root target
|
||||||
|
|
||||||
src/gz all https://opkg.blackfinn.de/sumo/all
|
src/gz all https://opkg.blackfinn.de/thud/all
|
||||||
src/gz beaglebone https://opkg.blackfinn.de/sumo/raspberrypi3_64
|
src/gz raspberrypi3_64 https://opkg.blackfinn.de/thud/raspberrypi3_64
|
||||||
src/gz cortexa8hf-neon https://opkg.blackfinn.de/sumo/aarch64
|
src/gz aarch https://opkg.blackfinn.de/thud/aarch64
|
||||||
|
|
||||||
# Default destination for installed packages
|
# Default destination for installed packages
|
||||||
dest root /
|
dest root /
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/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