1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-12-24 05:56:24 +01:00

initial commit

This commit is contained in:
Dany LE
2021-12-17 20:30:04 +01:00
commit 28c0bca1d6
110 changed files with 909 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
fatload usb 0:1 ${kernel_addr_r} @@KERNEL_IMAGETYPE@@
if test ! -e usb 0:1 uboot.env; then saveenv; fi;
@@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr}

View File

@@ -0,0 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
BOOT_SRC_FILE = "${@bb.utils.contains('ENABLE_USB_U_BOOT', '1', 'usb-boot.cmd.in', 'boot.cmd.in', d)}"
SRC_URI = "file://${BOOT_SRC_FILE}"
do_configure() {
([ -e "${WORKDIR}/usb-boot.cmd.in" ] && mv "${WORKDIR}/usb-boot.cmd.in" "${WORKDIR}/boot.cmd.in") || true
}