Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Sep 16, 2023
2 parents 61625a6 + ad98915 commit f56df16
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package/libs/mbedtls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=mbedtls
PKG_VERSION:=2.28.3
PKG_VERSION:=2.28.4
PKG_RELEASE:=1
PKG_USE_MIPS16:=0

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/ARMmbed/mbedtls/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=bdf7c5bbdc338da3edad89b2885d4f8668f9a6fffeba6ec17a60333e36dade6f
PKG_HASH:=578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac

PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=gpl-2.0.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Signed-off-by: Glenn Strauss <[email protected]>
#include <windows.h>
#else
#include <time.h>
@@ -2995,6 +2999,61 @@ find_parent:
@@ -3001,6 +3005,61 @@ find_parent:
}
}

Expand Down Expand Up @@ -95,7 +95,7 @@ Signed-off-by: Glenn Strauss <[email protected]>
/*
* Check for CN match
*/
@@ -3015,24 +3074,51 @@ static int x509_crt_check_cn(const mbedt
@@ -3021,24 +3080,51 @@ static int x509_crt_check_cn(const mbedt
return -1;
}

Expand Down Expand Up @@ -158,7 +158,7 @@ Signed-off-by: Glenn Strauss <[email protected]>
}

/*
@@ -3043,31 +3129,23 @@ static void x509_crt_verify_name(const m
@@ -3049,31 +3135,23 @@ static void x509_crt_verify_name(const m
uint32_t *flags)
{
const mbedtls_x509_name *name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
led-upgrade = &led_sys;
};

chosen {
bootargs-append = " ubi.block=0,1 root=/dev/ubiblock0_1";
};

soc {
rng@22000 {
status = "okay";
Expand Down Expand Up @@ -306,7 +310,7 @@
};

partition@b80000 {
label = "ubi";
label = "rootfs";
reg = <0xb80000 0x7480000>;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
#include <dt-bindings/leds/common.h>

/ {
chosen {
bootargs-append = " ubi.mtd=ubi root=/dev/ubiblock0_1";
};

aliases {
led-boot = &led_sys;
led-failsafe = &led_sys;
Expand All @@ -19,6 +15,10 @@
label-mac-device = &gmac0;
};

chosen {
bootargs-append = " root=/dev/ubiblock0_1";
};

soc {
rng@22000 {
status = "okay";
Expand Down Expand Up @@ -212,7 +212,7 @@
#size-cells = <1>;

nand_rootfs: partition@0 {
label = "ubi";
label = "rootfs";
/* reg defined in 64M/128M variant dts. */
};
};
Expand Down

0 comments on commit f56df16

Please sign in to comment.