AnsweredAssumed Answered

How to access spi nor flash from rootfs

Question asked by Chaitanya Raju on Apr 5, 2018
Latest reply on Apr 5, 2018 by igorpadykov


I have imx6 solo custom board. It boots from spi nor flash (m25p80). In uboot i can read/write and erase the flash. But i'm not sure how to access the nor flash after booting from rootfs. 


I have enabled m25p80 driver in the dts. But i dont see any device node created in the /dev to access this. 

Is there any sysfs entries to access this or do i need to create  a device node for the same. if creating device node. what would be the major & minor number for this


When i check /proc/mtd , it seems to be blank.