www.00778.com
设为首页 | 加入收藏

哈尔滨市爱思电子有限公司

贩卖在线服务:

0451-86403347、86403348

FAX :0451-86202768

邮箱:sjt-777@163.com

地址:哈尔滨市南岗区邮政街446号

   神舟名邸A2栋601室

 

 
威尼斯8040com OMAP系列

MINI Board常见问题解答-Mini板开辟情况利用

更新工夫:2014-05-07 17:04:33点击次数:1171次
威尼斯官方网址
相干引见
 

-如何准确设置编译途径
请查抄PATH变量,假如PATH项与上面差别则持续停止,不然您的编译途径曾经设置好了
     davinci@davinci-desktop:~$ export
     ...
     declare -x PATH="/opt/codesourcery/arm-none-linux-gnueabi/arm-2007q3/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
     ...
     davinci@davinci-desktop:~$

在ICETEK-OMAP3530-Mini体系所配的Ubuntu开辟情况中停止以下操纵:
     davinci@davinci-desktop:~$PATH="/opt/codesourcery/arm-none-linux-gnueabi/arm-2007q3/bin/:$PATH"

编纂/home/davinci/.bashrc文件
     davinci@davinci-desktop:~$gedit .bashrc

在文件开端增加如下行并保留退出
     export PATH="/opt/codesourcery/arm-none-linux-gnueabi/arm-2007q3/bin/:$PATH"

-如何规复ICETEK-OMAP3530-Mini系统配置的DemoSD卡
需求利用ICETEK-OMAP3530-Mini体系配的开辟情况
筹办一块SD卡,根据上面引见的将SD制成双分区并格式化好,将它插入读卡器并毗连到开辟主机上
在【uBuntu】中以下操纵:
     davinci@davinci-desktop:~$ cd ICETEKWork/Demos
     davinci@davinci-desktop:~/ICETEKWork/Demos$ sudo cp DemoSD/fat32/MLO /media/FAT32
     davinci@davinci-desktop:~/ICETEKWork/Demos$ sync
     davinci@davinci-desktop:~/ICETEKWork/Demos$ sudo cp DemoSD/fat32/* /media/FAT32
     davinci@davinci-desktop:~/ICETEKWork/Demos$ sudo cp -a DemoSD/ext3/* /media/EXT3
     davinci@davinci-desktop:~/ICETEKWork/Demos$ sync

www.00778.com

www.00778.com

注:本阐明是针对ICETEK-OMAP3530-MINI-V3的软件开辟包,具体阐明请参照ICETEK-OMAP3530-MINI-V3随附光盘中使用说明。这里我们将ICETEKWork/software/v3下的内容复制到ICETEKWork/projects下再停止以下操纵。
1...假如曾经做过启动卡,可将此卡插入读卡器后在Ubuntu顶用文件浏览器删除卡上FAT32分区中除MLO文件,bootmode文件和u-boot00.bin,uImage00外所有文件,删除EXT3分区中所有文件及子目录.
2...翻开project/xloader/include/configs/omap3530mini.h修正#define NAND_UBOOT_END 0x0160000为#define NAND_UBOOT_END 0x0260000;再将#define CONFIG_MMC 1正文掉,从头编译XLoader,天生新的x-load.bin.ift。
3...在Ubuntu中插入读卡器,使体系辨认FAT32分区和EXT3分区并在桌面上显现响应图标(假如分区称号有差别,请鄙人面操纵中按照响应的映射位置调解号令内容中相干部门)启动Ubuntu中终端,停止以下操纵
     ...$ sync
     ...$cd ICETEKWork/projects/xloader/
     ...$sudo cp x-load.bin.ift /media/FAT32/(新天生的x-load.bin.ift)
     ...$cd ../busybox-1.12.2/
     ...$sudo cp -a _install/* /media/EXT3/
     ...$sudo mkdir -p /media/EXT3/work/fs
     ...$sudo cp _install/* /media/EXT3/work/fs/ -a
     ...$sync
4...卸载SD卡
5...在断电状况下,将SD卡插入Mini板,毗连串口,在Windows中翻开超等终端法式,接通电源启动ICETEK-OMAP3530-Mini体系,察看超等终端中的显现,在UBoot计数时按空格键截至.
6... 烧写XLoader到NandFlash:
      OMAP3 Miniboard # mw.b 80000000 ff 80000
      OMAP3 Miniboard # mmcinit
      OMAP3 Miniboard # fatload mmc 0:1 80000000 x-load.bin.ift
      reading x-load.bin.ift
      11412 bytes read
      OMAP3 Miniboard # nandecc hw
      OMAP3 Miniboard # nand erase 0 80000
      NAND erase: device 0 offset 0x0, size 0x80000
      Erasing at 0x60000 -- 100% complete.
      OK
      OMAP3 Miniboard # nand write 80000000 0 80000
      NAND write: device 0 offset 0x0, size 0x80000
      524288 bytes written: OK
7... 烧写UBoot到NandFlash:
      OMAP3 Miniboard # mw.b 80000000 ff 200000
      OMAP3 Miniboard # mmcinit
      OMAP3 Miniboard # fatload mmc 0:1 80000000 u-boot00.bin
      reading u-boot.bin
      212880 bytes read
      OMAP3 Miniboard # nandecc sw
      OMAP3 Miniboard # nand erase 80000 1e0000
      NAND erase: device 0 offset 0x80000, size 0x1e0000
      Erasing at 0x240000 -- 100% complete.
      OK
      OMAP3 Miniboard # nand write 80000000 80000 1e0000
      NAND write: device 0 offset 0x80000, size 0x1e0000
      1966080 bytes written: OK
8... 烧写Kernel到NandFlash:
      OMAP3 Miniboard # mw.b 80000000 ff 400000
      OMAP3 Miniboard # mmcinit
      OMAP3 Miniboard # fatload mmc 0:1 80000000 uImage00
      reading uImage
      1856668 bytes read
      OMAP3 Miniboard # nandecc sw
      OMAP3 Miniboard # nand erase 280000 400000
      NAND erase: device 0 offset 0x280000, size 0x400000
      Erasing at 0x660000 -- 100% complete.
      OK
      OMAP3 Miniboard # nand write 80000000 280000 400000
      NAND write: device 0 offset 0x280000, size 0x400000
      4194304 bytes written: OK
      OMAP3 Miniboard # nand erase 680000 7980000
      NAND erase: device 0 offset 0x680000, size 0x7980000
      Skipping bad block at  xxxxxxxx
      Erasing at 0x7fe0000 -- 100% complete.
      OK
      OMAP3 Miniboard # setenv bootcmd 'nand read 80200000 280000 400000;bootm 80200000'
      OMAP3 Miniboard # setenv bootargs console=ttyS2,115200n8 console=ttyS0 noinitrd root=/dev/mmcblk0p2 rootfstype=ext3 rw rootdelay=3 nohz=off
      OMAP3 Miniboard # save
      OMAP3 Miniboard # boot
9...烧写文件系统到NandFlash:(在系统启动后提醒Please press Enter to activate this console.此时按一下回车键进入控制台)
      [MiniBoard]# mkdir /mnt
      [MiniBoard]# mkdir /mnt/nand
      [MiniBoard]# mount -t jffs2 /dev/mtdblock4 /mnt/nand
      [MiniBoard]# cd /mnt/nand
      [MiniBoard]# cp -a /work/fs/* .
      [MiniBoard]# sync
      [MiniBoard]# cd /
      [MiniBoard]# umount /mnt/nand
10...从NandFlash启动体系 给ICETEK-OMAP3530-Mini体系从头加电,截至UBoot法式运转,进入UBoot的命令行形态
      OMAP3 Miniboard # setenv bootargs 'console=ttyS2,115200N8 console=ttyS0 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2'
      OMAP3 Miniboard # save
11...断电,去掉SD卡,上电重新启动体系。

-SDK内里Linux kernal的原代码在什么位置
~/ICETEKWork/software/2.6_kernel
-UBoot内里的bootloader的利用说明书
包罗在软件包中,次要是根目录下的readme.txt

友情链接:
公司地址:哈尔滨市南岗区邮政街446号 神舟名邸A2栋601室 贩卖在线服务:0451-86403347、86403348 技术支持:
大客户:
0451-86412412
元器件部:
0451-86417537
仪器部:
0451-86403347