hzyitc / armbian-onecloud

Armbian for onecloud. 玩客云用armbian
1.24k stars 239 forks source link

WiFi那个44脚的空焊盘可以自定义吗,想引出一路UART来用 #45

Closed stonegitt closed 1 year ago

stonegitt commented 2 years ago

在官方库里没有找到【patch/kernel/archive/meson-{5.10,5.18}/support-xunlei-onecloud.patch】这个内核补丁。

hzyitc commented 2 years ago

抱歉,该patch已移位,忘记更新README了。现已更新。

确实可以引出UART,但需要修改dts来切换GPIO功能。具体自行参见dts数据手册 8.2.1

注:以下引脚仅在V1.0验证过,不保证V1.3也相同。

https://github.com/armbian/build/blob/master/patch/kernel/archive/meson-5.18/board_onecloud/0001-add-dts.patch#L218-L237:

+       // 0-3 Bank GPIOX 0-3
+       "7U1_PIN_18", "7U1_PIN_19",
+       "7U1_PIN_14", "7U1_PIN_15",
+       // 4-7 Bank GPIOX 4-7
+       "7U1_PIN_27", "7U1_PIN_25",
+       "7U1_PIN_28", "7U1_PIN_26",
+       // 8 Bank GPIOX 8
+       "R_RightOf_LED",
+       // 9 Bank GPIOX 9
+       "7U1_PIN_16",
+       // 10 Bank GPIOX 10
+       "",
+       // 11 Bank GPIOX 11
+       "7U1_PIN_12",
+       // 12-16 Bank GPIOX 16-20
+       "7U1_PIN_43", "7U1_PIN_42",
+       "7U1_PIN_41(Resistor)", "7U1_PIN_44",
+       "7U1_PIN_34",
+       // 17 Bank GPIOX 21
+       "7U1_PIN_13",
stonegitt commented 2 years ago

感谢大佬,顺便问一下怎么取消系统分区校验呢,要不然经常卡98%

lanlanpy commented 2 years ago

感谢大佬,顺便问一下怎么取消系统分区校验呢,要不然经常卡98%

要修改线刷包里面的command.txt