Command (m for help): 1
1: unknown command
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
1.3
然后,进入: sd_fusing 目录:
修改了 sd_fusing.sh 的文件 为 uboot_inand.bin
执行烧录如下:
hanson@hanson-desktop:~/x210_ics_rtm_v13/uboot/sd_fusing$ sudo ./sd_fusing_inand.sh /dev/sdb
/dev/sdb reader is identified.
make sd card partition
./sd_fdisk /dev/sdb
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.0123921 s, 41.3 kB/s
mkfs.vfat -F 32
mkfs.vfat 3.0.14 (23 Jan 2023)
No device specified!
Usage: mkdosfs [-a][-A][-c][-C][-v][-I][-l bad-block-file][-b backup-boot-sector]
[-m boot-msg-file][-n volume-name][-i volume-id]
[-s sectors-per-cluster][-S logical-sector-size][-f number-of-FATs]
[-h hidden-sectors][-F fat-size][-r root-dir-entries][-R reserved-sectors]
/dev/name [blocks]
BL1 fusing
8+0 records in
8+0 records out
4096 bytes (4.1 kB) copied, 0.14146 s, 29.0 kB/s
u-boot fusing
16+0 records in
16+0 records out
8192 bytes (8.2 kB) copied, 0.248244 s, 33.0 kB/s
768+0 records in
768+0 records out
393216 bytes (393 kB) copied, 7.47073 s, 52.6 kB/s
U-boot image is fused successfully.
Eject SD card and insert it again.