Trouble installing / booting on Cherry Trail mini pc
-
I have some install / boot problems on a Cherry Trail board, a Beelink BT3
(Updated to 64bit uefi bios, same problem with all freebsd uefi enabled versions).forums.freebsd.org/threads/57321
I can patch a preinstalled usb boot stick to work by disabling uart devices in /boot/device.hints
hint.uart.0.disabled="1"
hint.uart.1.disabled="1"But its no fun if /boot/device.hints is gone after update! :)
2 Questions:
- Is it possible to have a persistent /boot/device.hints file in 2.4?
- Could someone include the following patch while upstream sleeps? :)
Source: bugs.freebsd.org/bugzilla/show_bug.cgi?id=207910
diff –git a/sys/dev/uart/uart_bus_pci.c b/sys/dev/uart/uart_bus_pci.c
index 4166222..13dd919 100644
--- a/sys/dev/uart/uart_bus_pci.c
+++ b/sys/dev/uart/uart_bus_pci.c
@@ -128,6 +128,10 @@ static const struct pci_id pci_ns8250_ids[] = {
{ 0x8086, 0x1c3d, 0xffff, 0, "Intel AMT - KT Controller", 0x10 },
{ 0x8086, 0x1d3d, 0xffff, 0, "Intel C600/X79 Series Chipset KT Controller", 0x10 },
{ 0x8086, 0x1e3d, 0xffff, 0, "Intel Panther Point KT Controller", 0x10 },
+{ 0x8086, 0x228a, 0xffff, 0, "Intel Cherryview SIO HSUART#1", 0x10,
+ 24 * DEFAULT_RCLK, 2 },
+{ 0x8086, 0x228c, 0xffff, 0, "Intel Cherryview SIO HSUART#2", 0x10,
+ 24 * DEFAULT_RCLK, 2 },
{ 0x8086, 0x2a07, 0xffff, 0, "Intel AMT - PM965/GM965 KT Controller", 0x10 },
{ 0x8086, 0x2a47, 0xffff, 0, "Mobile 4 Series Chipset KT Controller", 0x10 },
{ 0x8086, 0x2e17, 0xffff, 0, "4 Series Chipset Serial KT Controller", 0x10 }, -
Could i also set my needed uart hints in /boot/loader.conf.local instead of in device.hints in 2.4?
hint.uart.0.disabled="1"
hint.uart.1.disabled="1"analog to:
" echo "hint.acpi.0.disabled="1"" >> /boot/loader.conf.local "
https://doc.pfsense.org/index.php/Boot_Troubleshooting