I want to be able to print the MMC 2 Addresses before and after a code block to check what are the changes that have been made by that code block.
What is the process to do this?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to be able to print the MMC 2 Addresses before and after a code block to check what are the changes that have been made by that code block.
What is the process to do this?
void __iomem *reg_1;
reg_1 = ioremap(0xFA2000E, 4); // address of register to read and register size
pr_info("Printing the value at required address: %08x\n", readb(reg_1));
iounmap(reg_1);ums 0 mmc 1
make -sj<n> linux
sudo DESTDIR=/media/yashraj/root BOOTFS=/media/yashraj/boot make linux_install
reset
These can then be viewed using the
dmesgcommand after booting.