After power cycle or reset, pcDuino will first try to boot from SD card. If there is no bootable SD card, pcDuino will boot from NAND flash. How can we tell if pcDuino booted from SD card or NAND flash after the system is up and running. This is important because pcDuino defaults with a bootable NAND flash. In the case we put a bootable SD card, and thought we are booting from the SD card, but actually the SD card is not working, and we end up booting from NAND flash. How can we tell?
Well. We can use a command called ‘$df -h’.
If pcDuino booted from NAND, we will get:
It will show file system /dev/nandd.
If pcDuino booted from SD card, we will get:
The file system will show up as /dev/mmcblk0p2.
I am text block. Click edit button to change this text.