diff --git a/opensbi b/opensbi index f30b1894..7aa6c9aa 160000 --- a/opensbi +++ b/opensbi @@ -1 +1 @@ -Subproject commit f30b18944e900174bfa9a372ed9d344256891e3a +Subproject commit 7aa6c9aa96049b741b754b7340ea96a37719de27 diff --git a/opensbi-don-t-zero-BSS.patch b/opensbi-don-t-zero-BSS.patch new file mode 100644 index 00000000..642c2f72 --- /dev/null +++ b/opensbi-don-t-zero-BSS.patch @@ -0,0 +1,26 @@ +From a553b141d5519d5429e67d28981177b4303eaffb Mon Sep 17 00:00:00 2001 +From: Stefan +Date: Thu, 12 Aug 2021 16:11:48 +0200 +Subject: [PATCH] don't zero BSS + +Signed-off-by: Stefan +--- + firmware/fw_base.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/firmware/fw_base.S b/firmware/fw_base.S +index 1569e60..0f499d7 100644 +--- a/firmware/fw_base.S ++++ b/firmware/fw_base.S +@@ -222,7 +222,7 @@ _relocate_done: + _bss_zero: + REG_S zero, (s4) + add s4, s4, __SIZEOF_POINTER__ +- blt s4, s5, _bss_zero ++ /* blt s4, s5, _bss_zero */ /* ZERO IS DEFAULT! */ + + /* Setup temporary trap handler */ + lla s4, _start_hang +-- +2.32.0 +