-
Notifications
You must be signed in to change notification settings - Fork 14
Raspberry pi #1068
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
Raspberry pi #1068
Conversation
6ea15db to
6a9c5f7
Compare
7f435bc to
0f15b26
Compare
c755a6f to
3678132
Compare
Also increase the timeout and kick more often (required by RPI4)
Need some special handling for RPI, since RPI does not present a phandle for the USB in sysfs (PCI device)
Features availible on RPI4 so far is: * WiFi * USB * (Graphics, untested)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It builds and boots, but I get this output from the CLI at first boot. Is this normal?
admin@rpi4:/> show interfaces
[ 54.650617] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -52
Error running sysrepocfg: Command '['sysrepocfg', '-f', 'json', '-X', '-d', 'operational', '-x', '/ietf-interfaces:interfaces']' returned non-zero exit status 1.
No interface data retrieved.
admin@rpi4:/>
On the second boot (plain reboot in between) it works better:
admin@rpi4:/> show interfaces
[ 46.946022] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -52
INTERFACE PROTOCOL STATE DATA
lo loopback UP
ipv4 127.0.0.1/8 (static)
ipv6 ::1/128 (static)
eth0 ethernet DOWN dc:a6:32:42:a6:03
wifi0 ethernet DOWN dc:a6:32:42:a6:04
wifi ssid: ------, signal: ------
|
The output from the kernel i have seen (but forgotten) Should not be there. Show interfaces crashing is bad. Will have a look at that, have not seen it. What does the log say? |
|
If i remember correctly you got the output from the kernel on wpa_cli -i wifi0 scan_results |
Not much, this is the entire session from login to CLI to reboot: Also worth mentioning, it took a good while to get the prompt back when it crashed. I'm guessing up to 10 seconds. |
Unable to reproduce, disabled scan (disabled the autoscanning from finit), but my fallback (in yanger) kicked in and started scanning. Disabled the fallback, and still no crash. I can see the WiFi interface is in state DISCONNECTED (not scanning or anything), when scanning this should be SCANNING or INACTIVE |
troglobit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work on this, really great to have support integrated in our standard builds! 💪
I'm looking forward to learn more about these cool board packages. Makes things very clean and tidy 😎
Add support for raspberry pi 4 in normal aarch64 image, as well as a sdcard image for initial deployment.
Supported featureset so far:
Description
Checklist
Tick relevant boxes, this PR is-a or has-a: