-
Notifications
You must be signed in to change notification settings - Fork 172
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
Check for contiguity #75
Comments
Thank you for the issue. What kind of DTS do you use? What arguments does the dd command specify? |
The DTS is as follows
The command is as follows
|
Hey I am able to resolve it by But when I use it like this 3154116608 is 0xbc000000 |
/dev/udmabuf is treated as a file of the size specified by the size property. An error will occur if you specify an area that exceeds the size. I don't know why /dev/mem fails. |
Hi,
Is there a way to check that memory allocated is contagious?
For example, in Ubuntu VM (CMA enabled and disabled CONFIG_STRICT_DEVMEM)
I could test this by dumping the physical memory from the ubuntu vm as
sudo dd if=/dev/mem bs=1 count=8388608 skip=9057599488
But on an embedded board where I reserved the memory via DTS (instead of CMA) and when tested in the similar fashion it says dd: /dev/udmabuf0: cannot skip invalid argument
The text was updated successfully, but these errors were encountered: