Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add crc32 checks for fdt #1029

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ fdt addr ${fdt_addr}
fdt get value bootargs /chosen bootargs
env set bootargs "${bootargs} ${resin_kernel_root} rootwait"
fdt rm /chosen bootargs
run balena_fdt_load_crc_save;
load ${resin_dev_type} ${resin_dev_index}:${resin_root_part} ${resin_kernel_load_addr} /boot/@@KERNEL_IMAGETYPE@@
run balena_fdt_load_crc_check;
@@KERNEL_BOOTCMD@@ ${resin_kernel_load_addr} - ${fdt_addr}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ fdt addr ${fdt_addr}
fdt get value bootargs /chosen bootargs
env set bootargs "${bootargs} ${resin_kernel_root} rootwait"
fdt rm /chosen bootargs
run balena_fdt_load_crc_save;
load ${resin_dev_type} ${resin_dev_index}:${resin_root_part} ${resin_tmp_loadaddr} /boot/@@KERNEL_IMAGETYPE@@
unzip ${fileaddr} ${resin_kernel_load_addr}
run balena_fdt_load_crc_check;
@@KERNEL_BOOTCMD@@ ${resin_kernel_load_addr} - ${fdt_addr}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ fdt addr ${fdt_addr}
fdt get value bootargs /chosen bootargs
env set bootargs "${bootargs} ${resin_kernel_root} rootwait"
fdt rm /chosen bootargs
run balena_fdt_load_crc_save;
load ${resin_dev_type} ${resin_dev_index}:${resin_root_part} ${resin_tmp_loadaddr} /boot/@@KERNEL_IMAGETYPE@@
unzip ${fileaddr} ${resin_kernel_load_addr}
run balena_fdt_load_crc_check;
@@KERNEL_BOOTCMD@@ ${resin_kernel_load_addr} - ${fdt_addr}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ fdt addr ${fdt_addr}
fdt get value bootargs /chosen bootargs
env set bootargs "${bootargs} ${resin_kernel_root} rootwait"
fdt rm /chosen bootargs
run balena_fdt_load_crc_save;
load ${resin_dev_type} ${resin_dev_index}:${resin_root_part} ${resin_tmp_loadaddr} /boot/@@KERNEL_IMAGETYPE@@
unzip ${fileaddr} ${resin_kernel_load_addr}
run balena_fdt_load_crc_check;
@@KERNEL_BOOTCMD@@ ${resin_kernel_load_addr} - ${fdt_addr}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
inherit resin-u-boot
UBOOT_KCONFIG_SUPPORT = "1"

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

# Remove patch inherited from meta-resin. This needs to be rebased for v2018.07
SRC_URI:remove = " file://resin-specific-env-integration-kconfig.patch "

# Update to u-boot v2021.10 on top of which
# we apply the NVME patches for CM4.
SRCREV="d80bb749fab53da72c4a0e09b8c2d2aaa3103c91"
Expand All @@ -21,7 +17,6 @@ RPI_PATCHES = " \
"

SRC_URI += " \
file://0001-Integrate-machine-independent-resin-environment-conf.patch \
${RPI_PATCHES} \
"

Expand Down