Message ID | 20240501190441.496683-1-tekieli.lukasz@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] configs/visionfive2_defconfig: add hashes for linux/opensbi/u-boot | expand |
Hello Lukasz, Le 01/05/2024 à 21:04, Lukasz Tekieli a écrit : > Enable BR2_DOWNLOAD_FORCE_CHECK_HASHES and set the patch directory. > > Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com> Applied to master, thanks. Best regards, Romain > --- > board/visionfive2/patches/linux-headers/linux-headers.hash | 1 + > board/visionfive2/patches/linux/linux.hash | 2 ++ > board/visionfive2/patches/opensbi/opensbi.hash | 2 ++ > board/visionfive2/patches/uboot/uboot.hash | 2 ++ > configs/visionfive2_defconfig | 2 ++ > 5 files changed, 9 insertions(+) > create mode 120000 board/visionfive2/patches/linux-headers/linux-headers.hash > create mode 100644 board/visionfive2/patches/linux/linux.hash > create mode 100644 board/visionfive2/patches/opensbi/opensbi.hash > create mode 100644 board/visionfive2/patches/uboot/uboot.hash > > diff --git a/board/visionfive2/patches/linux-headers/linux-headers.hash b/board/visionfive2/patches/linux-headers/linux-headers.hash > new file mode 120000 > index 0000000000..5808d92afe > --- /dev/null > +++ b/board/visionfive2/patches/linux-headers/linux-headers.hash > @@ -0,0 +1 @@ > +../linux/linux.hash > \ No newline at end of file > diff --git a/board/visionfive2/patches/linux/linux.hash b/board/visionfive2/patches/linux/linux.hash > new file mode 100644 > index 0000000000..ccad8068dd > --- /dev/null > +++ b/board/visionfive2/patches/linux/linux.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 9ac322d85bcf98a04667d929f5c2666b15bd58c6c2d68dd512c72acbced07d04 linux-6.8.2.tar.xz > diff --git a/board/visionfive2/patches/opensbi/opensbi.hash b/board/visionfive2/patches/opensbi/opensbi.hash > new file mode 100644 > index 0000000000..bc4058abe6 > --- /dev/null > +++ b/board/visionfive2/patches/opensbi/opensbi.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 319b62a4186fbce9b81a0c5f0ec9f003a10c808397a72138bc9745d9b87b1eb1 opensbi-1.4.tar.gz > diff --git a/board/visionfive2/patches/uboot/uboot.hash b/board/visionfive2/patches/uboot/uboot.hash > new file mode 100644 > index 0000000000..97a2b4eaf9 > --- /dev/null > +++ b/board/visionfive2/patches/uboot/uboot.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2 > diff --git a/configs/visionfive2_defconfig b/configs/visionfive2_defconfig > index 69c44dfbdd..bb8ab082af 100644 > --- a/configs/visionfive2_defconfig > +++ b/configs/visionfive2_defconfig > @@ -1,4 +1,6 @@ > BR2_riscv=y > +BR2_GLOBAL_PATCH_DIR="board/visionfive2/patches" > +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y > BR2_SYSTEM_DHCP="eth0" > BR2_ROOTFS_OVERLAY="board/visionfive2/overlay" > BR2_ROOTFS_POST_IMAGE_SCRIPT="board/visionfive2/post-image.sh"
diff --git a/board/visionfive2/patches/linux-headers/linux-headers.hash b/board/visionfive2/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/visionfive2/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/visionfive2/patches/linux/linux.hash b/board/visionfive2/patches/linux/linux.hash new file mode 100644 index 0000000000..ccad8068dd --- /dev/null +++ b/board/visionfive2/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 9ac322d85bcf98a04667d929f5c2666b15bd58c6c2d68dd512c72acbced07d04 linux-6.8.2.tar.xz diff --git a/board/visionfive2/patches/opensbi/opensbi.hash b/board/visionfive2/patches/opensbi/opensbi.hash new file mode 100644 index 0000000000..bc4058abe6 --- /dev/null +++ b/board/visionfive2/patches/opensbi/opensbi.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 319b62a4186fbce9b81a0c5f0ec9f003a10c808397a72138bc9745d9b87b1eb1 opensbi-1.4.tar.gz diff --git a/board/visionfive2/patches/uboot/uboot.hash b/board/visionfive2/patches/uboot/uboot.hash new file mode 100644 index 0000000000..97a2b4eaf9 --- /dev/null +++ b/board/visionfive2/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2 diff --git a/configs/visionfive2_defconfig b/configs/visionfive2_defconfig index 69c44dfbdd..bb8ab082af 100644 --- a/configs/visionfive2_defconfig +++ b/configs/visionfive2_defconfig @@ -1,4 +1,6 @@ BR2_riscv=y +BR2_GLOBAL_PATCH_DIR="board/visionfive2/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_SYSTEM_DHCP="eth0" BR2_ROOTFS_OVERLAY="board/visionfive2/overlay" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/visionfive2/post-image.sh"
Enable BR2_DOWNLOAD_FORCE_CHECK_HASHES and set the patch directory. Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com> --- board/visionfive2/patches/linux-headers/linux-headers.hash | 1 + board/visionfive2/patches/linux/linux.hash | 2 ++ board/visionfive2/patches/opensbi/opensbi.hash | 2 ++ board/visionfive2/patches/uboot/uboot.hash | 2 ++ configs/visionfive2_defconfig | 2 ++ 5 files changed, 9 insertions(+) create mode 120000 board/visionfive2/patches/linux-headers/linux-headers.hash create mode 100644 board/visionfive2/patches/linux/linux.hash create mode 100644 board/visionfive2/patches/opensbi/opensbi.hash create mode 100644 board/visionfive2/patches/uboot/uboot.hash