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

FS#846 - MT7628 : MMC driver not reading the mmc partition table #5816

Closed
openwrt-bot opened this issue Jun 14, 2017 · 2 comments
Closed

FS#846 - MT7628 : MMC driver not reading the mmc partition table #5816

openwrt-bot opened this issue Jun 14, 2017 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

hitech95:

Hi
I have a WRTNode 2p Based on the mt7628an.

By inserting a sd on the board and installing the appropriate kernel module, the chip recognizes the SD card, but the partitions are not. (Obviously mmcblk0 is not mountable)

At this point thinking that my sd was not formatted I formatted it from LEDE, I have created a partition and formatted it.
I removed and re-inserted the sd, at this point the partition was recognized and I could mount it and copy data on it.

I than removed the SD and connected it to a PC, the pc does not see the partitions I just created.
I tried to put the sd back on the device and LEDE recognizes it and also finds the partitions.

Thinking that it was my PC I changed with another one but also in that case the card remains inaccessible.

I then partitioned again and formatted the card from a PC. LEDE does not see the partition.
I have no idea where the problem might be.

I also tested this with the stable release of LEDE and the problem still occurs.

[[https://pastebin.com/s5TJJ4AG|dmesg]]

Regards,
hitech95

@openwrt-bot
Copy link
Author

lynxis:

try to read certain amount of megabytes

dd if=/dev/mmcblk0 of=/tmp/foo bs=1M count=4
sha256sum /tmp/foo

do the same using a desktop/laptop to verify the result. You should take care the filesystem is NOT automounted by the desktop as it might falsefy the result, because mounting a filesystem usually modify timestamps.

@openwrt-bot
Copy link
Author

hitech95:

Looks like it is an error on the hardware. The board have swapped d3 and d2.

After swapping those pins all works fine.
[[https://pastebin.com/6RtJ8WKp|Bootlog]]
[[https://snag.gy/aJGkHe.jpg|Hardware Mod]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant