PPDDR 发表于 2017-6-21 10:54:21

IMX6Q更新系统受阻 平台IMX6Q-C,底板V1.1

UBNUTU 下执行SD卡更新盘提示不成功.我将BIN SYSTEM两个文件夹的内容直接复制到SD卡上,拨码到SD卡,复位或重上电,串口上输也的是全0X00,就没有后续了。
UBNUTU 用FORLINX网盘提供的那个12.04
   ################################################################################
This script will create a bootable SD card from custom or pre-built binaries.

The script must be run with root permissions and from the bin directory of
the SDK

Example:
$ sudo ./create-sdcard.sh

Formatting can be skipped if the SD card is already formatted and
partitioned properly.

################################################################################


Availible Drives to write images to:

#major   minor    size   name
1:   8       16   976896 sdb

Enter Device Number: 1


sdb was selected

Checking the device is unmounted
unmounted /dev/sdb1
unmounted /dev/sdb2

sdb1sdb2   sdb3
321268 642600


################################################################################

   Detected device has 1 partitions already

   Re-partitioning will allow the choice of 1 partitions

################################################################################

Would you like to re-partition the drive anyways : y


Now partitioning sdb ...


################################################################################

                Now ** 1 partitions

################################################################################

记录了2048+0 的读入
记录了2048+0 的写出
1048576字节(1.0 MB)已复制,0.626457 秒,1.7 MB/秒
DISK SIZE - 1000341504 bytes
Checking that no-one is using this disk right now ...
OK

磁盘 /dev/sdb:121 个柱面,255 个磁头,63 个扇区/磁道
Old situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   IdSystem
/dev/sdb1   *   0+   313-   314-    321268+   cW95 FAT32 (LBA)
/dev/sdb2       321+   949-   628-    642600   83Linux
/dev/sdb3         0      -      0          0    0空
/dev/sdb4         0      -      0          0    0空
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   IdSystem
/dev/sdb1         7+   949-   942-    963900    cW95 FAT32 (LBA)
/dev/sdb2         0      -      0          0    0空
/dev/sdb3         0      -      0          0    0空
/dev/sdb4         0      -      0          0    0空
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
成功写入了新分区表

正在重新读取分区表...;

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

################################################################################

                Partitioning Boot

################################################################################
mkfs.vfat 3.0.12 (29 Oct 2011)

Mount the partitions

Emptying partitions

################################################################################

        Copying files now... will take minutes

################################################################################

Copying boot partition
untar update.tar.bz2 to boot partition
tar: update.tar.bz2:无法 open: 没有那个文件或目录
tar: Error is not recoverable: exiting now
Buring th u-boot.bin to sdcard
记录了500+0 的读入
记录了500+0 的写出
512000字节(512 kB)已复制,0.374236 秒,1.4 MB/秒
dd: 正在打开"boot/bin/u-boot.bin": 没有那个文件或目录

Syncing....


Un-mount the partitions

Remove created temp directories

Operation Finished


usb otg 也用不成功。 提示 iitialize operation failed,please refer to " mfgtool.log" for detailed information,error code:4

PPDDR 发表于 2017-6-21 11:20:52

IMX6Q系统信息图片汇总

飞凌-unix 发表于 2017-7-3 10:34:50

您好,您的ubuntu环境设置成root用户权限,然后再进行制卡操作,您可以参考linux用户手册先要执行./pack-update.sh,然后再执行./createSdCard.sh脚本,您执行的脚本的名字和我们的名字也有些差异,建议您核对一下开发板的信息以及下载的资料的信息是否一致。

飞凌-chongzi 发表于 2017-7-3 10:45:20

您好:
    这个烧写工具报的错应该是cfg文件配置的有问题,您打开该目录下cfg.ini文件看看是如何配置的,如下是会报您的那个错误的,应将ubuntu改为qt或Android

name = ubuntu-SabreSD-eMMC

PPDDR 发表于 2017-7-4 18:12:59

通过USB OTG烧写成功并运行成功。SD卡用1G、8G没无更新系统。2G可以更新系统。但是更新系统后没法从MMC上启动。

PPDDR 发表于 2017-7-4 18:17:11

SD 卡更新

wangwei707 发表于 2019-11-19 00:12:30

楼上的问题解决了吗?
我的也是UBNUTU 下执行SD卡更新盘提示不成功?
################################################################################

This script will create a bootable SD card from custom or pre-built binaries.

The script must be run with root permissions and from the bin directory of
the SDK

Example:
$ sudo ./create-sdcard.sh

Formatting can be skipped if the SD card is already formatted and
partitioned properly.

################################################################################


Availible Drives to write images to:

#major   minor    size   name
1:   8       16    1921024 sdb

Enter Device Number: 1


sdb was selected

Checking the device is unmounted
unmounted /dev/sdb1

sdb1sdb2   sdb3
1918976


################################################################################

   Detected device has 1 partitions already

   Re-partitioning will allow the choice of 1 partitions

################################################################################

Would you like to re-partition the drive anyways : y


Now partitioning sdb ...


################################################################################

                Now ** 1 partitions

################################################################################

1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 0.0292023 s, 35.1 kB/s
Disk /dev/sdb doesn't contain a valid partition table
DISK SIZE - 1967128576 bytes
Checking that no-one is using this disk right now ...
OK

Disk /dev/sdb: 1015 cylinders, 61 heads, 62 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/sdb: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   IdSystem
/dev/sdb1         9+   509-   501-    512461    cW95 FAT32 (LBA)
/dev/sdb2         0      -      0          0    0Empty
/dev/sdb3         0      -      0          0    0Empty
/dev/sdb4         0      -      0          0    0Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table

Re-reading the partition table ...

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

################################################################################

                Partitioning Boot

################################################################################
mkfs.vfat 3.0.12 (29 Oct 2011)

Mount the partitions

Emptying partitions

################################################################################

        Copying files now... will take minutes

################################################################################

Copying boot partition
untar update.tar.bz2 to boot partition
tar: update.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Buring th u-boot.imx to sdcard
129+0 records in
129+0 records out
132096 bytes (132 kB) copied, 0.452729 s, 292 kB/s
dd: opening `boot/sdrun/u-boot.imx': No such file or directory

Syncing....


Un-mount the partitions

请问“您可以参考linux用户手册先要执行./pack-update.sh”,应该如何找到pack-update.sh???
页: [1]
查看完整版本: IMX6Q更新系统受阻 平台IMX6Q-C,底板V1.1