Commit 11bb01b8 authored by carit.zhu@witium.com's avatar carit.zhu@witium.com

Modify mk_am335x_sdboot.sh by using new version sfdisk command which need -uM as…

Modify mk_am335x_sdboot.sh by using new version sfdisk command which need -uM as parameter to set unit of disk size.
parent 51fdf281
...@@ -14,8 +14,8 @@ KERNEL_SIZE=2048 ...@@ -14,8 +14,8 @@ KERNEL_SIZE=2048
## Erase partition table ## Erase partition table
dd if=/dev/zero of=${DEV_NODE} bs=1024 count=1 dd if=/dev/zero of=${DEV_NODE} bs=1024 count=1
sfdisk --force ${DEV_NODE} << EOF sfdisk --force -uM ${DEV_NODE} << EOF
,${KERNEL_SIZE}M,0c,* ,${KERNEL_SIZE},0c,*
,,83 ,,83
EOF EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment