请问这个 烧录成功了没?求经验分享 我现在 都不知道怎么下手!? |
sd 烧录 uboot的打印如下: hanson@hanson-desktop:~/x210_ics_rtm_v13/uboot/sd_fusing$ ls C110-EVT1-mkbl1.c Makefile sd_fdisk sd_fusing2.sh sd_fusing.sh c110.signedBL1_bin mkbl1 sd_fdisk.c sd_fusing_inand.sh hanson@hanson-desktop:~/x210_ics_rtm_v13/uboot/sd_fusing$ sudo ./sd_fusing_inand.sh /dev/sdb [sudo] password for hanson: /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.00641723 s, 79.8 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.0448634 s, 91.3 kB/s u-boot fusing 16+0 records in 16+0 records out 8192 bytes (8.2 kB) copied, 0.0969936 s, 84.5 kB/s 768+0 records in 768+0 records out 393216 bytes (393 kB) copied, 4.78313 s, 82.2 kB/s U-boot image is fused successfully. Eject SD card and insert it again. d |
上面的问题我修改的sd_fusing.sh的代码如下: #################################### # make partition echo "make sd card partition" echo "./sd_fdisk $1" ./sd_fdisk $1 dd iflag=dsync oflag=dsync if=sd_mbr.dat of=$1 rm sd_mbr.dat #################################### # format umount $partition1 2> /dev/null umount $partition2 2> /dev/null umount $partition3 2> /dev/null umount $partition4 2> /dev/null echo "mkfs.vfat -F 32 $partition1" mkfs.vfat -F 32 $partition1 #echo "mkfs.ext2 $partition2" #mkfs.ext2 $partition2 #echo "mkfs.ext2 $partition3" #mkfs.ext2 $partition3 #echo "mkfs.ext2 $partition4" #mkfs.ext2 $partition4 #################################### # mount #umount /media/sd 2> /dev/null #mkdir -p /media/sd #echo "mount -t vfat $partition1 /media/sd" #mount -t vfat $partition1 /media/sd #################################### #<BL1 fusing> signed_bl1_position=1 bl2_position=9 uboot_position=57 echo "BL1 fusing" dd iflag=dsync oflag=dsync if=c110.signedBL1_bin of=$1 seek=$signed_bl1_position #################################### #<u-boot fusing> echo "u-boot fusing" dd iflag=dsync oflag=dsync if=../uboot_inand.bin of=$1 seek=$bl2_position count=16 dd iflag=dsync oflag=dsync if=../uboot_inand.bin of=$1 seek=$uboot_position #################################### #<Message Display> echo "U-boot image is fused successfully." echo "Eject SD card and insert it again." |
和USB线无关,我想先试试看DNW,为什么我这边的驱动无法安装呢? 提示是MTP 而不是X210,然后无法安装驱动 DNW 因此找不到合适的USB端口 我用的系统是XP,这是什么问题呢? 板子是ANDROID4.0 |
事实证明和线无关 |
fastboot支持inand,这种现象可能是USB延长线质量较差造成的,请使用官方标配的延长线,USB口要接到PC机屁股后面 |
|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2 )
GMT+8, 2024-5-20 11:42 , Processed in 0.023000 second(s), 21 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.