嵌入式爱好者

查看: 21750|回复: 6

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

[复制链接]

3

主题

7

帖子

28

积分

i.MX6UL通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2017-6-21 10:54:21 | 显示全部楼层 |阅读模式
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

sdb1  sdb2   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/n] : 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   Id  System
/dev/sdb1   *     0+   313-   314-    321268+   c  W95 FAT32 (LBA)
/dev/sdb2       321+   949-   628-    642600   83  Linux
/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   Id  System
/dev/sdb1         7+   949-   942-    963900    c  W95 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
ERR.png
回复

使用道具 举报

0

主题

1

帖子

10

积分

i.MX6UL通行证

发表于 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

sdb1  sdb2   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/n] : 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   Id  System
/dev/sdb1         9+   509-   501-    512461    c  W95 FAT32 (LBA)
/dev/sdb2         0      -      0          0    0  Empty
/dev/sdb3         0      -      0          0    0  Empty
/dev/sdb4         0      -      0          0    0  Empty
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???
点评回复 支持 反对

使用道具 举报

3

主题

7

帖子

28

积分

i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2017-7-4 18:17:11 | 显示全部楼层
SD 卡更新
sd.png
点评回复 支持 反对

使用道具 举报

3

主题

7

帖子

28

积分

i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2017-7-4 18:12:59 | 显示全部楼层
通过USB OTG烧写成功并运行成功。SD卡用1G  、8G没无更新系统。2G可以更新系统。但是更新系统后没法从MMC上启动。
点评回复 支持 反对

使用道具 举报

1

主题

3669

帖子

3887

积分

发表于 2017-7-3 10:45:20 | 显示全部楼层
您好:
    这个烧写工具报的错应该是cfg文件配置的有问题,您打开该目录下cfg.ini文件看看是如何配置的,如下是会报您的那个错误的,应将ubuntu改为qt或Android
[LIST]
name = ubuntu-SabreSD-eMMC
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

153

主题

3910

帖子

4207

积分

AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证TCU通行证FCU1401通行证FCU1301通行证FCU11xx通行证

发表于 2017-7-3 10:34:50 | 显示全部楼层
您好,您的ubuntu环境设置成root用户权限,然后再进行制卡操作,您可以参考linux用户手册先要执行./pack-update.sh,然后再执行./createSdCard.sh脚本,您执行的脚本的名字和我们的名字也有些差异,建议您核对一下开发板的信息以及下载的资料的信息是否一致。
技术支持电话:0312-3119192
技术支持邮箱:Linux@forlinx.com
点评回复 支持 反对

使用道具 举报

3

主题

7

帖子

28

积分

i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2017-6-21 11:20:52 | 显示全部楼层
IMX6Q系统信息图片汇总
ERR1.png
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-3-29 19:28

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表