1. 怎么烧写imx6里的efuse
efuse的烧写这部分FSL是没有公开的,就看手册里面的描述,可能会在你真正烧写的时候对芯片造成损坏。最好联系FSL进行解决。
2. FLASH 和EFUSE有什么区别
efuse的烧写这部分FSL是没有公开的,就看手册里面的描述,可能会在你真正烧写的时候对芯片造成损坏。最好联系FSL进行解决。来自 珠海鼎芯科技,最内IMX6核心板开发板解决方案最大提供商
3. imx6怎么将uboot烧写到emmc
eMMC芯片的可用Flash区域是有三个区域的:User区、Boot1区、Boot2区,用烧录器很方便的就可以把uboot放到相应的区域里面。
4. imx6 怎么更新 文件系统 压缩包
由于项目需要,把玩了半年的DSP(c陆漆四吧),扔到了一边,玩起了IMX陆Q。本人使用的开发板是imx陆q_sarbe_sd(MCIMX陆Q-SDB),以下记录如何通过u-boot设置SD,NFS启动。由于IMX陆Q的linux包建议在ubuntu9.0四下,非root用户下使用,首先ubuntu9.0四有bug,其次非root用户,操作起来很不方便。 一:SD卡启动 SD卡启动,需要先把uboot,kernel,filesystem烧写到SD卡上。SD卡烧写前,可以先在windows下把它格式化。板子启动时SW陆设置为吧‘b0一00_00一0 以下几步为SD卡烧写步骤: 一,SD卡烧写 一.一,烧写uboot sudo dd if=u-boot.bin of=/dev/sdb bs=5一二 seek=二 skip=二 conv=fsync 一.二,烧写uImage sudo dd if=uImage of=/dev/sdb bs=5一二 seek=二0四吧 conv=fsync 一.三,烧写filesystem 首先需要把SD卡分一个区来保存文件系统。操作步骤如下: (一)分区 $ fdisk /dev/sdb u [switch the unit to sectors instead of cylinders] d [repeat this until no partition is reported by the 'p' command ] n [create a new partition] p [create a primary partition] 一 [the first partition] 一陆三吧四 [starting at offset sector #一陆三吧四, i.e. 吧MB, which leaves enough space for the kernel, the boot loader and its configuration data] [using the default value will create a partition that spans to the last sector of the medium] w [ this writes the partition table to the medium and fdisk exits] (二)卸载分区 $ sudo umount /dev/sdb一 (三)格式化分区,可以是ext三格式,或ext四 $ sudo mkfs.ext三 /dev/sdb一 Or $ sudo mkfs.ext四 /dev/sdb一 (四)挂载sdb一 $ mkdir /home/user/Freescale/mountpoint $ sudo mount /dev/sdb一 /home/user/Freescale/mountpoint (5)复制文件系统 $ cd /home/user/Freescale/rootfs $ sudo cp -a * /home/user/Freescale/mountpoint 二,uboot变量设置 setenv loadaddr 0x一0吧00000 setenv bootargs_base 'setenv bootargs console=ttymxc0,一一5二00' setenv bootargs_mmc 'setenv bootargs ${bootargs} ip=${ipaddr} root=/dev/mmcblk一p一 rootwait rw setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 二;mmc read ${loadaddr} 0x吧00 0x二000;bootm' //注意这里的mmc dev 二,dev 二 对应板子上是slot三 setenv bootcmd 'run bootcmd_mmc' saveenv 二:NFS启动 中国络启动是在uboot起来后才能完成,因此必须先有SD卡进行uboot引导。uboot起来后,通过串口设置uboot变量,达到自己想要的启动方式。由于开发的过程kernel文件会不端更新,因此需要通过中国络加载镜像文件,以下介绍使用tftpboot方式加载。 一,tftp下载uImage 一.一,设置ubuntu (一) Setup tftp server files # apt-get install tftpd tftp openbsd-inetd (二) make a tftp directory Here we make /opt/tftpboot be a tftp directory. # mkdir /opt/tftpboot # chmod 漆漆漆 /opt/tftpboot (三) Open /etc/inetd.conf and edit it # gedit /etc/inetd.conf Add this line: tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /opt/tftpboot (四)Restarting tftp service #sudo /etc/init.d/openbsd-inetd restart 可以根据你的uImage文件放在路径,修改上述路径;也可以在/opt/tftpboot目录下生成一个目标连接文件。 一.二,tftp下载uImage MX陆Q SABRESD U-Boot >tftpboot uImage 二,文件系统以NFS方式加载 二.一 ,设置ubuntu (一), Install NFS server package # apt-get install nfs-kernel-server (二), Configure portmap # dpkg-reconfigure portmap Select “NO” (三) ,Configure mounted directory and authority # gedit /etc/exports Add the following line at the end of the file: /home/usr/ltib/rootfs *(rw,sync,no_root_squash) (四) ,Restart the NFS service #sudo /etc/init.d/portmap restart #sudo /etc/init.d/nfs-kernel-server restart 二.二,通过串口设置uboot变量设置 setenv ipaddr 一9二.一陆吧.二.xxx setenv serverip 一9二.一陆吧.二.xxx setenv bootfile uImage setenv nfsroot /home/carmili/ltib/rootfs setenv bootargs_base 'setenv bootargs console=ttymxc0,一一5二00' setenv bootargs_nfs 'setenv bootargs ${bootargs} root=/dev/nfs rw ip=${ipaddr }:${serverip }:一9二.一陆吧.二.一:二55.二55.二55.0::eth0:off nfsroot=${serverip}:${nfsroot},v三,tcp setenv bootcmd_net 'run bootargs_base bootargs_nfs;bootm' setenv bootcmd 'tftpboot uImage; run bootcmd_net
5. 如何参看或配置DDR工作频率?IMX6Q的SD卡IMX6D能直接用吗
由于项目需要,把玩了半年的DSP(c6748),扔到了一边,玩起了IMX6Q。本人使用的开发板是imx6q_sarbe_sd(MCIMX6Q-SDB),以下记录如何通过u-boot设置SD,NFS启动。由于IMX6Q的linux包建议在ubuntu9.04下,非root用户下使用,首先ubuntu9.04有bug,其次非root用户,操作起来很不方便。
一:SD卡启动
SD卡启动,需要先把uboot,kernel,filesystem烧写到SD卡上。SD卡烧写前,可以先在windows下把它格式化。板子启动时SW6设置为8‘b0100_0010
以下几步为SD卡烧写步骤:
1,SD卡烧写
1.1,烧写uboot
sudo dd if=u-boot.bin of=/dev/sdb bs=512 seek=2 skip=2 conv=fsync
1.2,烧写uImage
sudo dd if=uImage of=/dev/sdb bs=512 seek=2048 conv=fsync
1.3,烧写filesystem
首先需要把SD卡分一个区来保存文件系统。操作步骤如下:
(1)分区
$ fdisk /dev/sdb
u [switch the unit to sectors instead of cylinders]
d [repeat this until no partition is reported by the 'p' command ]
n [create a new partition]
p [create a primary partition]
1 [the first partition]
16384 [starting at offset sector #16384, i.e. 8MB, which leaves enough space for the kernel, the boot loader and its configuration data]
[using the default value will create a partition that spans to the last sector of the medium]
w [ this writes the partition table to the medium and fdisk exits]
(2)卸载分区
$ sudo umount /dev/sdb1
(3)格式化分区,可以是ext3格式,或ext4
$ sudo mkfs.ext3 /dev/sdb1 Or $ sudo mkfs.ext4 /dev/sdb1
(4)挂载sdb1
$ mkdir /home/user/Freescale/mountpoint
$ sudo mount /dev/sdb1 /home/user/Freescale/mountpoint
(5)复制文件系统
$ cd /home/user/Freescale/rootfs
$ sudo cp -a * /home/user/Freescale/mountpoint
2,uboot变量设置
setenv loadaddr 0x10800000
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_mmc 'setenv bootargs ${bootargs} ip=${ipaddr} root=/dev/mmcblk1p1 rootwait rw
setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 2;mmc read ${loadaddr} 0x800 0x2000;bootm'
//注意这里的mmc dev 2,dev 2 对应板子上是slot3
setenv bootcmd 'run bootcmd_mmc'
saveenv
二:NFS启动
网络启动是在uboot起来后才能完成,因此必须先有SD卡进行uboot引导。uboot起来后,通过串口设置uboot变量,达到自己想要的启动方式。由于开发的过程kernel文件会不端更新,因此需要通过网络加载镜像文件,以下介绍使用tftpboot方式加载。
1,tftp下载uImage
1.1,设置ubuntu
(1) Setup tftp server files
# apt-get install tftpd tftp openbsd-inetd
(2) make a tftp directory Here we make /opt/tftpboot be a tftp directory.
# mkdir /opt/tftpboot
# chmod 777 /opt/tftpboot
(3) Open /etc/inetd.conf and edit it
# gedit /etc/inetd.conf
Add this line:
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /opt/tftpboot
(4)Restarting tftp service
#sudo /etc/init.d/openbsd-inetd restart
可以根据你的uImage文件放在路径,修改上述路径;也可以在/opt/tftpboot目录下生成一个目标连接文件。
1.2,tftp下载uImage
MX6Q SABRESD U-Boot >tftpboot uImage
2,文件系统以NFS方式加载
2.1 ,设置ubuntu
(1), Install NFS server package
# apt-get install nfs-kernel-server
(2), Configure portmap
# dpkg-reconfigure portmap
Select “NO”
(3) ,Configure mounted directory and authority
# gedit /etc/exports
Add the following line at the end of the file:
/home/usr/ltib/rootfs *(rw,sync,no_root_squash)
(4) ,Restart the NFS service
#sudo /etc/init.d/portmap restart
#sudo /etc/init.d/nfs-kernel-server restart
2.2,通过串口设置uboot变量设置
setenv ipaddr 192.168.2.xxx
setenv serverip 192.168.2.xxx
setenv bootfile uImage
setenv nfsroot /home/carmili/ltib/rootfs
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_nfs 'setenv bootargs ${bootargs} root=/dev/nfs rw ip=${ipaddr }:${serverip }:192.168.2.1:255.255.255.0::eth0:off nfsroot=${serverip}:${nfsroot},v3,tcp
setenv bootcmd_net 'run bootargs_base bootargs_nfs;bootm'
setenv bootcmd 'tftpboot uImage; run bootcmd_net'
6. imx6有没有测试flash的工具
efuse的烧写这部分FSL是没有公开的,就看手册里面的描述,可能会在你真正烧写的时候对芯片造成损坏。最好联系FSL进行解决。来自 珠海鼎芯科技,最内IMX6核心板开发板解决方案最大提供商
7. imx6q 关于X server 怎么设置
由于项目需要,把玩了半年的DSP(c6748),扔到了一边,玩起了IMX6Q。本人使用的开发板是imx6q_sarbe_sd(MCIMX6Q-SDB),以下记录如何通过u-boot设置SD,NFS启动。由于IMX6Q的linux包建议在ubuntu9.04下,非root用户下使用,首先ubuntu9.04有bug,其次非root用户,操作起来很不方便。
一:SD卡启动
SD卡启动,需要先把uboot,kernel,filesystem烧写到SD卡上。SD卡烧写前,可以先在windows下把它格式化。板子启动时SW6设置为8‘b0100_0010
以下几步为SD卡烧写步骤:
1,SD卡烧写
1.1,烧写uboot
sudo dd if=u-boot.bin of=/dev/sdb bs=512 seek=2 skip=2 conv=fsync
1.2,烧写uImage
sudo dd if=uImage of=/dev/sdb bs=512 seek=2048 conv=fsync
1.3,烧写filesystem
首先需要把SD卡分一个区来保存文件系统。操作步骤如下:
(1)分区
$ fdisk /dev/sdb
u [switch the unit to sectors instead of cylinders]
d [repeat this until no partition is reported by the 'p' command ]
n [create a new partition]
p [create a primary partition]
1 [the first partition]
16384 [starting at offset sector #16384, i.e. 8MB, which leaves enough space for the kernel, the boot loader and its configuration data]
[using the default value will create a partition that spans to the last sector of the medium]
w [ this writes the partition table to the medium and fdisk exits]
(2)卸载分区
$ sudo umount /dev/sdb1
(3)格式化分区,可以是ext3格式,或ext4
$ sudo mkfs.ext3 /dev/sdb1 Or $ sudo mkfs.ext4 /dev/sdb1
(4)挂载sdb1
$ mkdir /home/user/Freescale/mountpoint
$ sudo mount /dev/sdb1 /home/user/Freescale/mountpoint
(5)复制文件系统
$ cd /home/user/Freescale/rootfs
$ sudo cp -a * /home/user/Freescale/mountpoint
2,uboot变量设置
setenv loadaddr 0x10800000
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_mmc 'setenv bootargs ${bootargs} ip=${ipaddr} root=/dev/mmcblk1p1 rootwait rw
setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 2;mmc read ${loadaddr} 0x800 0x2000;bootm'
//注意这里的mmc dev 2,dev 2 对应板子上是slot3
setenv bootcmd 'run bootcmd_mmc'
saveenv
二:NFS启动
网络启动是在uboot起来后才能完成,因此必须先有SD卡进行uboot引导。uboot起来后,通过串口设置uboot变量,达到自己想要的启动方式。由于开发的过程kernel文件会不端更新,因此需要通过网络加载镜像文件,以下介绍使用tftpboot方式加载。
1,tftp下载uImage
1.1,设置ubuntu
(1) Setup tftp server files
# apt-get install tftpd tftp openbsd-inetd
(2) make a tftp directory Here we make /opt/tftpboot be a tftp directory.
# mkdir /opt/tftpboot
# chmod 777 /opt/tftpboot
(3) Open /etc/inetd.conf and edit it
# gedit /etc/inetd.conf
Add this line:
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /opt/tftpboot
(4)Restarting tftp service
#sudo /etc/init.d/openbsd-inetd restart
可以根据你的uImage文件放在路径,修改上述路径;也可以在/opt/tftpboot目录下生成一个目标连接文件。
1.2,tftp下载uImage
MX6Q SABRESD U-Boot >tftpboot uImage
2,文件系统以NFS方式加载
2.1 ,设置ubuntu
(1), Install NFS server package
# apt-get install nfs-kernel-server
(2), Configure portmap
# dpkg-reconfigure portmap
Select “NO”
(3) ,Configure mounted directory and authority
# gedit /etc/exports
Add the following line at the end of the file:
/home/usr/ltib/rootfs *(rw,sync,no_root_squash)
(4) ,Restart the NFS service
#sudo /etc/init.d/portmap restart
#sudo /etc/init.d/nfs-kernel-server restart
2.2,通过串口设置uboot变量设置
setenv ipaddr 192.168.2.xxx
setenv serverip 192.168.2.xxx
setenv bootfile uImage
setenv nfsroot /home/carmili/ltib/rootfs
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_nfs 'setenv bootargs ${bootargs} root=/dev/nfs rw ip=${ipaddr }:${serverip }:192.168.2.1:255.255.255.0::eth0:off nfsroot=${serverip}:${nfsroot},v3,tcp
setenv bootcmd_net 'run bootargs_base bootargs_nfs;bootm'
setenv bootcmd 'tftpboot uImage; run bootcmd_net'
8. imx6板子(天嵌E9或者SabreLite)如何能做的只烧写内核?
这里建议你使用NFS来启动比较好。 查看更多答案>>