[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.
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’:
Then we can check if there are space not used:
[/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
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
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
[/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]
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.