• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoQuick StartHow to enable full 4GB NAND Flash Memory on new ba ...
Previous Next

How to enable full 4GB NAND Flash Memory on new batch of pcDuino

Posted by: admin , January 5, 2014

[vc_row][vc_column width=”1/1″][vc_column_text]pcDuino team decided to free upgrade the NAND flash to 4GB in latest batch of production run. If you find that the NAND flash (which is on the back of pcDuino) is of model  H27UBGxxx. Congratulation! You just  got a pcDuino with 4GB flash.

But wait a minute. When you run ‘$df -l h’, you still see 2GB.

2GB

What should we do to enable the full 4GB capacity?[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”How to check NAND capacity” tab_id=”1402942866065-2-10″][vc_column_text]We first navigate to the ‘Disk Utility’:

IMG_7257

 

Then we can check if there are space not used:

nandspace[/vc_column_text][/vc_tab][vc_tab title=”Extend rootfs to 4GB” tab_id=”1388904734-1-6″][vc_column_text]We prepared a script pcduino-nand-4g-fix to help you extend the space.

You can download it, unpack it, and run:

$chmod +x pcduino-nand-4g-fix

$ sudo ./pcduino-nand-4g-fix
it will output:
partition  0: name =   bootloader, partition start =     2048, partition size =    65536
partition  1: name =          env, partition start =    67584, partition size =     4096
partition  2: name =         boot, partition start =    71680, partition size =    32768
partition  3: name =       rootfs, partition start =   104448, partition size =  3686400
partition  4: name =        UDISK, partition start =  3790848, partition size =  3991552
5 partitions
check partition table copy 0: OK
check partition table copy 1: OK
check partition table copy 2: OK
check partition table copy 3: OK
ready to write new partition tables:
partition  0: name =   bootloader, partition start =     2048, partition size =    65536
partition  1: name =          env, partition start =    67584, partition size =     4096
partition  2: name =         boot, partition start =    71680, partition size =    32768
partition  3: name =       rootfs, partition start =   104448, partition size =  7677952
4 partitions
write new partition tables? (Y/N)
y
Press  “Y”  to confirm, the system will reboot automatically. After reboot, you will get full 4GB.

[/vc_column_text][/vc_tab][vc_tab title=”Append: How to unpack rar file” tab_id=”1388906509763-1-0″][vc_column_text]

$sudo app-get install unrar*

We can then decompress by using ‘$unrar filename.tar.rar’.

[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: Quick Start

Share!
Tweet

admin

About the author

One Response to “How to enable full 4GB NAND Flash Memory on new batch of pcDuino”

  1. Log in to Reply
    Roelf
    September 29, 2014 at 8:37 am

    I had problems with unrar the file. So did
    another solution, Download it via windows,
    unrar it in windows and put it on memory
    stick. Then plug the memory stick into the
    PCduino and copy it to the right folder.

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors