Command syntax netbootloader, Fdisk – Kontron NetBootLoader User Manual
Page 47

ID 1022-8317, Rev. 2.0
Command Syntax
NetBootLoader
Page 39
DESCRIPTION:
This command is used to specify the partitioning of the NAND Flash
and control the setting of the partition boot flag.
A maximum of four partitions are definable whereby only one partition
at a time may have the boot flag set.
The cylinders specified for partition creation are inclusive. Use the “-p”
option to obtain exact information concerning the status of the NAND
Flash.
USAGE:
Display status of NAND Flash
COMMAND / RESPONSE:
NetBtLd> fdisk -p
Disk /dev/cfdisk/: 512 MB, 512483328 bytes
16 heads, 63 sectors/track, 993 cylinders
Cylinder size 1008 * 512 = 516096 bytes
Partition Boot Start End Size[kiB] Ident Mounted
to
/dev/cfdisk/1 yes 200 400 101304 6 /cf1
/dev/cfdisk/2 no 522 993 237888 83
NetBtLd>
Create a third primary partition on the NAND Flash
COMMAND / RESPONSE:
NetBtLd> fdisk -n 3 401 521
Disk /dev/cfdisk/: 512 MB, 512483328 bytes
16 heads, 63 sectors/track, 993 cylinders
Cylinder size 1008 * 512 = 516096 bytes
Partition Boot Start End Size[kiB] Ident Mounted
to
/dev/cfdisk/1 yes 200 400 101304 6 /cf1
/dev/cfdisk/2 no 522 993 237888 83
/dev/cfdisk/3 no 401 521 60984 6
NetBtLd>
FDISK