In my eclipse console Auto-detected Flash size: 4MB is showing but in the terminal I (55) boot: SPI Flash Size : 2MB which is giving error because the partition table requires 4MB.
And strangely this was not the problem a week ago, everything was working fine and I checked my terminal logs from a week ago (which I saved in a separate text file because of some other error) in that I (54) boot: SPI Flash Size : 4MB is written. So this changed automatically I guess because I didn't change anything in the menuconfig. I tried to find solution on the internet but couldn't find anything. Any suggestions on what should I do?