From 1ca87c8c2912a5b3bbde0fbe05fc6a9387858da3 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 30 Jan 2020 09:46:03 +0000 Subject: [PATCH] 2020.04 device updates, gcc 10 fix --- ...e-redundant-YYLOC-global-declaration.patch | 27 +++++++++++++++++++ aarch64-boards | 5 ++-- arm-boards | 1 + uboot-tools.spec | 1 + 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 0001-Remove-redundant-YYLOC-global-declaration.patch diff --git a/0001-Remove-redundant-YYLOC-global-declaration.patch b/0001-Remove-redundant-YYLOC-global-declaration.patch new file mode 100644 index 0000000..cc1fbf4 --- /dev/null +++ b/0001-Remove-redundant-YYLOC-global-declaration.patch @@ -0,0 +1,27 @@ +From 1e66b87f6a063d09f9fd26c9e78589d333e316e7 Mon Sep 17 00:00:00 2001 +From: Peter Robinson +Date: Thu, 30 Jan 2020 08:55:28 +0000 +Subject: [PATCH] Remove redundant YYLOC global declaration + +Same as the upstream fix for building dtc with gcc 10. + +Signed-off-by: Peter Robinson +--- + scripts/dtc/dtc-lexer.l | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l +index fd825ebba6..24af549977 100644 +--- a/scripts/dtc/dtc-lexer.l ++++ b/scripts/dtc/dtc-lexer.l +@@ -38,7 +38,6 @@ LINECOMMENT "//".*\n + #include "srcpos.h" + #include "dtc-parser.tab.h" + +-YYLTYPE yylloc; + extern bool treesource_error; + + /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ +-- +2.24.1 + diff --git a/aarch64-boards b/aarch64-boards index dd445d8..497ba8f 100644 --- a/aarch64-boards +++ b/aarch64-boards @@ -1,6 +1,5 @@ a64-olinuxino amarula_a64_relic -avnet_ultra96_rev1 bananapi_m2_plus_h5 bananapi_m64 dragonboard410c @@ -18,8 +17,10 @@ khadas-edge-rk3399 khadas-vim khadas-vim2 khadas-vim3 +khadas-vim3l libretech-ac libretech_all_h3_cc_h5 +libretech_all_h5_cc_h5 libretech-cc mvebu_espressobin-88f3720 mvebu_mcbin-88f8040 @@ -60,4 +61,4 @@ sopine_baseboard teres_i turris_mox vexpress_aemv8a_juno -xilinx_zynqmp_zcu100_revC +xilinx_zynqmp_virt diff --git a/arm-boards b/arm-boards index 19326dc..9b11dbe 100644 --- a/arm-boards +++ b/arm-boards @@ -60,6 +60,7 @@ jetson-tk1 kc1 Lamobo_R1 libretech_all_h3_cc_h2_plus +libretech_all_h3_it_h5 Linksprite_pcDuino Linksprite_pcDuino3 Linksprite_pcDuino3_Nano diff --git a/uboot-tools.spec b/uboot-tools.spec index 519e577..4a98d08 100644 --- a/uboot-tools.spec +++ b/uboot-tools.spec @@ -21,6 +21,7 @@ Patch1: uefi-distro-load-FDT-from-any-partition-on-boot-device.patch Patch2: uefi-use-Fedora-specific-path-name.patch # Board fixes and enablement +Patch3: 0001-Remove-redundant-YYLOC-global-declaration.patch Patch4: usb-kbd-fixes.patch Patch5: rpi-Enable-using-the-DT-provided-by-the-Raspberry-Pi.patch Patch6: dragonboard-fixes.patch