Chinaunix首页 | 论坛 | 博客
  • 博客访问: 419148
  • 博文数量: 168
  • 博客积分: 320
  • 博客等级: 二等列兵
  • 技术积分: 955
  • 用 户 组: 普通用户
  • 注册时间: 2012-06-21 08:40
个人简介

知足却不乏追求

文章分类

全部博文(168)

文章存档

2017年(1)

2016年(6)

2015年(36)

2014年(5)

2013年(6)

2012年(114)

分类:

2012-11-05 09:26:05

原文地址:烧写BLOB KERNEL FS 作者:ztguang


***********  实验一  ***********

+++++++++++++++++++++++++++++ 烧写 linux-2.4         1-bootloader write/linux-2.4

--------------------烧写 blob
blob2.4  Jflashmm-linux  PXA270.dat  三个文件在同一个目录

[root@localhost 2.4_pxa270_linux_tools]# pwd
/share/1-bootloader write/2.4_pxa270_linux_tools
[root@localhost 2.4_pxa270_linux_tools]# ./Jflashmm-linux PXA270 blob2.4 p

------------------------------------------------------------------

[root@localhost ~]# ifdown eth1; ifconfig eth1 192.168.0.100 up
[root@localhost ~]# iptables -F
[root@localhost ~]# chmod 777 -R /tftpboot
[root@localhost ~]# restorecon -R /tftpboot
[root@localhost ~]# minicom

blob> tftp zImage --kernel
blob> fwrite 0xa0008000 0x00040000 0x00200000

blob> tftp xscale_fs.jffs2
blob> fwrite 0xa1000000 0x00240000 0x01000000

blob> tftp junk.jffs2
blob> fwrite 0xa1000000 0x01240000 0x00dc0000

blob>



***********  实验二  ***********

+++++++++++++++++++++++++++++ 烧写 linux-2.6         1-bootloader write/2.6-system_loading_source

--------------------烧写 blob
blob  Jflashmm-linux  PXA270.dat  Flash_18_2_32.dat四个文件在同一个目录

[root@localhost system_loading_source]# pwd
/root/Desktop/2008 嵌入式 tools/JFlash2.6/system_loading_source
[root@localhost system_loading_source]# ./Jflashmm-linux PXA270 blob    // 接通实验箱电源后立刻 执行该命令

------------------------------------------------------------------
由于 实验一 执行了下面命令,因此,实验二 不要 再执行了
[root@localhost ~]# ifdown eth1; ifconfig eth1 192.168.0.100 up
[root@localhost ~]# iptables -F
[root@localhost ~]# chmod 777 -R /tftpboot
[root@localhost ~]# restorecon -R /tftpboot


[root@localhost ~]# minicom

blob> tftp zImage --kernel
blob> fwrite 0xa0008000 0x00040000 0x00200000

blob> tftp rootfs.img
blob> fwrite 0xa1000000 0x00240000 0x01000000

blob>

+++++++++++++++++++++++++++++

[root@localhost ~]# ifdown eth1; ifconfig eth1 192.168.0.100 up
[root@localhost ~]# ifdown eth1; ifconfig eth1 192.168.1.101 up
[root@localhost ~]# ifdown eth1; ifup eth1

阅读(838) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~