udev: disable uSD card mounting for the CCMP1
This commit disables the uSD mounting, due to issues detected during the boot process when UBIFS starts with the wear-leveling process to erase NAND blocks. https://onedigi.atlassian.net/browse/DEL-8415 Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
eb49d927a5
commit
a3af0c8597
|
|
@ -0,0 +1,2 @@
|
|||
# Disable all SD devices
|
||||
SUBSYSTEMS=="mmc", ATTRS{type}=="SD", RUN:="/bin/true"
|
||||
|
|
@ -9,6 +9,7 @@ SRC_URI += " \
|
|||
"
|
||||
SRC_URI:append:ccmp1 = " \
|
||||
file://99-ext-rtc-wakeup.rules \
|
||||
file://00-disable-sd.rules \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
|
|
@ -59,6 +60,9 @@ do_install:append() {
|
|||
|
||||
do_install:append:ccmp1() {
|
||||
install -m 0644 ${WORKDIR}/99-ext-rtc-wakeup.rules ${D}${sysconfdir}/udev/rules.d/
|
||||
# Disables all SD device but keeps on mounting other external memory devices like USB.
|
||||
# This is currently needed for the CCMP1 platform as a workaround to fix a boot issue.
|
||||
install -m 0644 ${WORKDIR}/00-disable-sd.rules ${D}${sysconfdir}/udev/rules.d/
|
||||
}
|
||||
|
||||
FILES:${PN}:append = " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue