—
Run environment setting
—
CONPROSYS Linux SDK User’s Manual (Self
-Build Edition)
—
38
—
[Create a new partition in the blank area of the memory.]
1
Start the CONPROSYS.
2
Open the SD card device by fdisk to add a new Linux partition.
sudo fdisk /dev/mmcblk0
i) Add a new Linux partition by n command. Parameter is set as follows:
<Parameter>
Command (m for help): <n>
Partition type: <p>
Partition number : <3>
Last sector: <default value>
ii) Write the partition information by w command.
Command (m for help): w
3
Reboot CONPROSYS with the command below.
sudo reboot
4
Confirm the device of /dev/mmcblkk0p3 is available. Format the new created partition.
sudo mkfs -t ext4 /dev/mmcblk0p3
5
Create the destination for the new partition and mount it.
An example: mounting directory /mnt/ext_mmc
sudo mkdir /mnt/ext_mmc
sudo mount /dev/mmcblk0p3 /mnt/ext_mmc
6
Add the setting in /etc/fstab to mount automatically upon booting for the next time
succeeding.
An example: mounting directory /mnt/ext_mmc
/dev/mmcblk0p3 /mnt/ext_mmc ext4 defaults 0 0
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 ...