-
Notifications
You must be signed in to change notification settings - Fork 5.2k
No result with poll_once on dtoverlay sdio-1bit #2401
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
Comments
I also tried using |
This is an unfortunate problem with boolean Device Tree properties and overlays. Boolean properties are defined to be TRUE if the property is present, and FALSE if it isn't - the actual value assigned to the property is irrelevant. Overlays and add properties and modify them, but they can't delete them - it is a fundamental limitation of the overlay representation. The MMC block on a Pi3 is used to control the WiFi interface via SDIO. We were advised by Broadcom to disable usual card status polling on the interface, hence the presence of the There is an ugly workaround - it should be possible to modify the sdio overlays to disable the existing node (rather than patching it) and create a new one alongside it that only contains non-removable if poll_once is true. I'll post a DTBO here for testing. |
Can you test this .dtbo for me? Download it somewhere, then:
and reboot. |
It worked great, thanks! Can you post the dts file as well? |
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
Here you go: https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/overlays/sdio-1bit-overlay.dts |
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
kernel: Fix GCC 6.4.0 and 7.3.0 warnings See: raspberrypi/linux#2413 kernel: audioinjector-octo: Add continuous clock feature See: raspberrypi/linux#2409 kernel: overlays: Add 'upstream' overlay See: raspberrypi/linux#2393 kernel: overlays: Add overlay for PiBell soundcard See: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=99784&p=1279490#p1278971 kernel: Removing (broken) RaspiDac3 support kernel: i2c: bcm2835: Set up the rising/falling edge delays See: raspberrypi/linux#2407 kernel: overlays: Add updated mmc1 alias to sdio overlays kernel: config: Enable CONFIG_GPIO_MOCKUP module See: raspberrypi/linux#2410 kernel: overlays: Rework sdio overlays to allow polling See: raspberrypi/linux#2401 kernel: firmware/raspberrypi: Add a get_throttled sysfs file See: raspberrypi/linux#2397 firmware: dtoverlay: Also allow fragment-<n> in overlays firmware: i2c_gpio: Optimise and run clients faster
kernel: Fix GCC 6.4.0 and 7.3.0 warnings See: raspberrypi/linux#2413 kernel: audioinjector-octo: Add continuous clock feature See: raspberrypi/linux#2409 kernel: overlays: Add 'upstream' overlay See: raspberrypi/linux#2393 kernel: overlays: Add overlay for PiBell soundcard See: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=99784&p=1279490#p1278971 kernel: Removing (broken) RaspiDac3 support kernel: i2c: bcm2835: Set up the rising/falling edge delays See: raspberrypi/linux#2407 kernel: overlays: Add updated mmc1 alias to sdio overlays kernel: config: Enable CONFIG_GPIO_MOCKUP module See: raspberrypi/linux#2410 kernel: overlays: Rework sdio overlays to allow polling See: raspberrypi/linux#2401 kernel: firmware/raspberrypi: Add a get_throttled sysfs file See: raspberrypi/linux#2397 firmware: dtoverlay: Also allow fragment-<n> in overlays firmware: i2c_gpio: Optimise and run clients faster
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
Using that dtbo, it's possible to use both the SD card and the wifi on a rpi 3? Thanks! |
That's ambiguous, if one allows for less-than-perfect English. Out of the box the Pi 3 allows "both the SD card and the WiFi_" (i.e. the standard SD card interface and the WiFi) to be used, so I think you must mean "both of the SD cards and the WiFi" (i.e. two SD cards and the WiFi), in which case the answer is no. The WiFi chip occupies the SDIO interface, so it can't be used to drive a second SD card. |
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
Of course I mean secondary SD card and the built-in wifi chip. Sorry for bad explanation. So it's not possible, thanks anywhere! |
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: #2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: raspberrypi/linux#2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: raspberrypi/linux#2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: raspberrypi/linux#2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: raspberrypi/linux#2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: raspberrypi/linux#2401 Signed-off-by: Phil Elwell <[email protected]>
MMC/SD interfaces support a DT property (non-removable) that disables the usual polling required to detect card removal for a configuration that doesn't have hardware card presence detection. This property is required for the on-board SDIO WiFi interface, but other uses of the interface may want the polling to be re-enabled. 'non-removable' is a boolean DT property - true if present, false if absent - and the overlay mechanism does not allow a property in the base DTB to be deleted, so if the base DTB has non-removable set (which is true for all WiFi-equipped Pis) then an overlay cannot unset it. Modify the SDIO overlays to work around this problem by disabling the mmc node and adding a clone to which non-removable may optionally be added. N.B. The default state of poll_once is still true, and the overlay does include a non-removable property, but setting poll_once to false ("off") will remove the property from the overlay before it is applied. See: raspberrypi/linux#2401 Signed-off-by: Phil Elwell <[email protected]>
I connected a secondary SD card on my Raspberry Pi 3 B using the SDIO pins in "1 bit mode", but the system only finds the card when its already inserted on boot.
My config.txt has the following:
dtoverlay=sdio-1bit,poll_once=off
I also tried removing the
non-removable;
line from the dts file and tried compiling it again, but nothing changed.The text was updated successfully, but these errors were encountered: