Compare commits

..

1 Commits

Author SHA1 Message Date
a97be384e5 meta-blackfinn: Unify layer structure
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
2019-03-12 14:56:35 +01:00
3 changed files with 36 additions and 1 deletions

View File

@ -38,7 +38,8 @@ fi
print_config $MACHINE $BUILD_DIR
rm -rf build/conf
rm -f build/conf/bblayers.conf \
build/conf/templateconf.cfg
mkdir -p $BUILD_DIR

View File

@ -0,0 +1,26 @@
# boot from sd card
bootpart=0:2
# boot from emmc
#bootpart=1:2
bootdir=/boot
bootfile=zImage
console=ttyO0,115200n8
fdtaddr=0x88000000
fdtfile=am335x-boneblack.dtb
loadaddr=0x82000000
# rootfs on sd card
mmcroot=/dev/mmcblk0p2 ro
# rootfs on emmc
#mmcroot=/dev/mmcblk1p2 ro
mmcrootfstype=ext4 rootwait
optargs=consoleblank=0
mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot}
findfdtfile=setenv fdtfile ${fdtfile}
rootfstype=${mmcrootfstype}
loadfdt=run findfdtfile; load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
uenvcmd=if run loadfdt; then echo Loaded ${fdtfile}; if run loadimage; then run mmcargs; bootz ${loadaddr} - ${fdtaddr}; fi; fi;

View File

@ -0,0 +1,8 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
UBOOT_ENV = "uEnv"
SRC_URI_append_beaglebone-yocto += " \
file://uEnv.txt \
"