Sunday, December 21, 2014

pcDuino3 Nano - Creating a Bootable SD Card from NAND

This is another in the series documenting my setup of a new home server with the Linksprite pcDuino3 Nano.  A listing for the entire series can be found here.  More information on the pcDuino3 Nano can be found at Linksprite’s website and the pcDuino website.

The pcDuino family of systems can boot from the onboard NAND storage or from an SD card.  There are reasons for why you may want to boot from and SD card rather than NAND.  One significant reason is that you may need more than 4 GB of storage for the root file system on your system which exceeds the amount of NAND.

One of the very nice value added features that pcDuino provides is a utility that allows you to copy the kernel and operating system files to an SD card which is bootable.  The utility is part of the board-config.sh script which can be run from a terminal window using the sudo board-config.sh command and then following the prompts.

The process also includes instructions for expanding the root file system so that you can access the additional storage capacity of your SD card.

10 comments:

Anonymous said...

So basically you can recover your pcduino3 from a bad nand flash using a recovery image on shdc card? That might be quite important when trying out new experimental images. Does it check the sdhc first for a bootable medium, then check nand flash?

digitalhack said...

Anonymous,

Yes, the pcDuino3 Nano will check flash before booting from NAND.

digitalhack

Anonymous said...

what is the boot time for linux with nand flash

Anonymous said...

I have a problem when trying to boot from the SD card. I followed the instructions in the link you posted but I can`t get the option "make_mmc_boot" once I havve updated the system. I am using pcDuino 3. Do you have any idea of what could be happening?

Thank you!

digitalhack said...

Anonymous,

What happens when you type sudo board-config.sh?

digitalhack

Ron Simpson said...

I have the same problem. Ubuntu 12 has "make mmc boot" it works.
In the terminal type sudo board-config.sh and pick the last option.
Ubuntu 14 does not. Not under Terminal or [ctrl][alt][F1].

Anonymous said...

After I do the "make_mmc_boot",my Ralink 5370 USB wireless adapter doesn't work any more.Do the "lsmod" and "lsusb" both show "rt5370...",but just can not show any wifi to be connected.I am using Pcduino v3 nano and Ubuntu NAND Image 12-31-2014.

Muhamed said...

Your link is dead, or at least it points to a wrong place.

Muhamed said...

Your link is dead, or at least it points to a wrong place.

digitalhack said...

Muhamed,

Thanks. It looks like they updated the pcDuino website and the information I was pointing to no longer exists. I h ave removed the link.

digitalhack