—
Run environment setting
—
CONPROSYS Linux SDK User’s Manual (Self
-Build Edition)
—
40
—
iv) Display the changed partition information by p command.
Check whether the End address and Blocks of /dev/mmcblk0p2 are changed.
A display example: a SD card with 4GByte is run by Ubuntu20.04]
Command (m for help): p
Disk /dev/mmcblk0: 7746 MB, 7746879488 bytes
255 heads, 63 sectors/track, 941 cylinders, total 15130624 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device
Boot
Start
End
Blocks
Id
System
/dev/mmcblk0p1 *
63
144584
72261
c
W95 FAT32 (LBA)
/dev/mmcblk0p2
144585 15130623 7484987
83
Linux
v) Write the partition information by w command.
Command (m for help): w
3
Reboot CONPROSYS with the command below.
sudo reboot
4
Resize the partition that was changed by resize2fs command.
sudo resize2fs /dev/mmcblk0p2
*It may take quite a long time to complete the resizing.
(several to several dozen minutes depending on the memory size)
After resize2fs command is completed, confirm whether the memory size is expanded by df
command.
df
Summary of Contents for CONPROSYS Linux SDK
Page 4: ... 4 Introduction ...
Page 11: ... 11 Safety Precautions ...
Page 15: ... 15 SDK preparation ...
Page 19: ... 19 Starting CONPROSYS ...
Page 24: ... 24 Run environment setting ...
Page 44: ...Appendix ...