Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1289633
  • 博文数量: 632
  • 博客积分: 2778
  • 博客等级: 大尉
  • 技术积分: 3387
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-31 09:09
个人简介

123

文章分类

全部博文(632)

文章存档

2014年(36)

2013年(33)

2012年(563)

分类:

2012-09-05 19:39:33

原文地址:烧写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

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