Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import FreeBSD fixes for Intel Atom Cherry Trail SOCs #1680

Closed
fraenki opened this issue Jun 12, 2017 · 17 comments
Closed

Import FreeBSD fixes for Intel Atom Cherry Trail SOCs #1680

fraenki opened this issue Jun 12, 2017 · 17 comments
Assignees
Labels
upstream Third party issue
Milestone

Comments

@fraenki
Copy link
Member

fraenki commented Jun 12, 2017

I've tried running OPNsense (amd64) on an Intel Atom x5 Z8350 SOC (UP board), but it won't boot.

A workaround is to set the following boot options:

set hint.uart.0.flags=0x10
set hint.uart.1.flags=0x10

There's already a patch available from FreeBSD:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207910

It would be nice to get the fixes ready for OPNsense 17.7.

(The internal eMMC drive is still not being recognized, but I was able to install OPNsense on an USB flash drive instead.)

@fichtner fichtner self-assigned this Jun 12, 2017
@fichtner fichtner added the upstream Third party issue label Jun 12, 2017
@fichtner fichtner added this to the 17.7 milestone Jun 12, 2017
@fichtner
Copy link
Member

opnsense/src@0357654fe95

I'll add this with the next kernel update for 17.1.x, likely not 17.1.9

@Halino
Copy link

Halino commented Jul 15, 2017

Whas this fix imported into the 17.7 RC1 ?

@fichtner
Copy link
Member

17.1.9 :)

@FlorianHeigl
Copy link

FlorianHeigl commented Jan 6, 2018

@fraenki did you additionally set hint.uart.1.disabled=1?
I couldn't ever get it to boot without that.

@fraenki
Copy link
Member Author

fraenki commented Jan 12, 2018

did you additionally set hint.uart.1.disabled=1

Yes, I have this setting in my /boot/loader.conf.local.

@jo3rg
Copy link

jo3rg commented Jun 4, 2018

Seems this issue is still persistent in the latest release: 18.1.9
Breaks after each and every upgrade...

@fichtner
Copy link
Member

fichtner commented Jun 4, 2018

Sure, makes sense since the ticket is still open. ;)

@fichtner
Copy link
Member

fichtner commented Jun 4, 2018

Oh wait it isn’t. I mixed up this with the Apollo Lake ticket. Nevermind.

@jo3rg
Copy link

jo3rg commented Jun 6, 2018

I'm confused now. :)
What can we do to fix this issue sustainable?

@fichtner
Copy link
Member

fichtner commented Jun 6, 2018

@jo3rg hmm, @fraenki asked for a commit to be included that would fix this and it was imported so it was closed. It seems there may be another commit in the wild or a new PCI type not yet recognised by FreeBSD because you have "the same issue" on a different hardware base?

@jo3rg
Copy link

jo3rg commented Jun 8, 2018

@fichtner what do you need to identify the exact hardware?

@fichtner
Copy link
Member

fichtner commented Jun 8, 2018

Not sure yet. I’ll be back on Monday to check where this info can be found in your system.

@fichtner
Copy link
Member

@jo3rg this should help identify it:

# pciconf -l

@fichtner
Copy link
Member

PS: I could not find any new UART devices in FreeBSD that would fit your description.

It would be interesting to know what hardware you are using and how "it breaks after each update", because if you use /boot/loader.conf.local it shouldn't. Since 18.1.6 we also have support in system: setting: tunables for this.

@fraenki
Copy link
Member Author

fraenki commented Jul 3, 2018

(FWIW, this works for me, at least on the hardware listed in first post.)

@jo3rg
Copy link

jo3rg commented Jul 16, 2018

@fichtner
root@OPNsense:~ # pciconf -l hostb0@pci0:0:0:0: class=0x060000 card=0x72708086 chip=0x22808086 rev=0x36 hdr=0x00 vgapci0@pci0:0:2:0: class=0x030000 card=0x72708086 chip=0x22b08086 rev=0x36 hdr=0x00 none0@pci0:0:11:0: class=0x118000 card=0x72708086 chip=0x22dc8086 rev=0x36 hdr=0x00 xhci0@pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x22b58086 rev=0x36 hdr=0x00 none1@pci0:0:26:0: class=0x108000 card=0x72708086 chip=0x22988086 rev=0x36 hdr=0x00 pcib1@pci0:0:28:0: class=0x060400 card=0x72708086 chip=0x22c88086 rev=0x36 hdr=0x01 isab0@pci0:0:31:0: class=0x060100 card=0x72708086 chip=0x229c8086 rev=0x36 hdr=0x00 re0@pci0:1:0:0: class=0x020000 card=0x012310ec chip=0x816810ec rev=0x0c hdr=0x00

@jo3rg
Copy link

jo3rg commented Sep 16, 2018

@fichtner any feedback on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Third party issue
Development

No branches or pull requests

5 participants