Support for Waveshare NAS double deck #33
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Sysdeploy/openwrt#33
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Manufacturer page: https://www.waveshare.com/wiki/CM4-NAS-Double-Deck
lspci -d ::106
isn't empty (this detects a PCI(e) SATA controller, which then you can use withopkg install kmod-ata-ahci
)spidev
,RPi.GPIO
). Alternatively, the GPIO can also be accessed using the python'sgpiozero
package, but then the code in the demo needs to be refactored to use this library instead. I haven't investigated this in detail but the code doesn't seem to be complex.RTC driver is the same as "dualeth", just needs slightly different boot config as it's wired to I2C bus 1 instead of 10. The solution is described here as the board in that post appears to be wired the same way: https://forums.raspberrypi.com/viewtopic.php?t=293632#p1845336
Instead of
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi
it should be
dtoverlay=i2c-rtc,pcf85063a
It doesn't look like there is a way to override it from within the OS once the system has booted.
Not sure how to integrate it the best, should this really be a separate image?
Maybe edit on first boot? Your task description implies a lot of actions to do on the first boot.
I think this is a good backup option. However I'm starting to think a separate image may make it easier to manage the devices, assuming the build time doesn't increase. too much.
Yes, I'm starting to think a separate image may be a better choice.
I ticked all the checkboxes that work now. Only thing left to do is support for the LCD.
LCD works on ubuntu 22.04. This needs installing:
I'll use this with ubuntu, not needed anymore.