sunxi-tools/tests/patches/temp_fex_fixes.patch
Andre Przywara e70b70eb45 checks: fix .fex files to pass checks
"make check" uses the .fex files in the sunxi-boards repository to
verify the validity of our FEX compiler.

To overcome an existing issue, there was one patch file applied to the
mainline repository content. However this was merged into mainline
sunxi-boards a while ago, so remove that patch file, as trying to apply
the patch actually fails the current test early.

Also some new files (H6 boards) have been added meanwhile, but they are
apparently buggy:
- pine64_h64.fex contains some apparently bogus characters before the
  leading comment, possibly an artefact of its extraction.
- One DRAM TPR6 parameter seems to contain an extra trailing 0, making
  the value larger than 32 bit, and not matching the TPR6 values for
  other A31 boards. Just remove that, as the compiler rightfully
  complains about that.

This allows the "make check" command to pass again.

Signed-off-by: Andre Przywara <osp@andrep.de>
2022-02-23 01:21:14 +00:00

24 lines
1.1 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff --git a/sunxi-boards/sys_config/a31/mixtile_loftq.fex b/sunxi-boards/sys_config/a31/mixtile_loftq.fex
index 583b02e..2310b18 100644
--- a/sunxi-boards/sys_config/a31/mixtile_loftq.fex
+++ b/sunxi-boards/sys_config/a31/mixtile_loftq.fex
@@ -87,7 +87,7 @@ dram_tpr2 = 0x39a70140
dram_tpr3 = 0xa092e74c
dram_tpr4 = 0x2948c209
dram_tpr5 = 0x8944422c
-dram_tpr6 = 0x300284800
+dram_tpr6 = 0x30028480
dram_tpr7 = 0x2a3279
dram_tpr8 = 0x5034fa8
dram_tpr9 = 0x36353d8
diff --git a/sunxi-boards/sys_config/h6/pine64_h64.fex b/sunxi-boards/sys_config/h6/pine64_h64.fex
index 9caaecc..eb585b7 100644
--- a/sunxi-boards/sys_config/h6/pine64_h64.fex
+++ b/sunxi-boards/sys_config/h6/pine64_h64.fex
@@ -1,4 +1,4 @@
-gma;sun50iw6p1 application
+;sun50iw6p1 application
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
; 描述gpio的形式Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>