*********** 实验一 ***********
+++++++++++++++++++++++++++++ 烧写 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
阅读(1040) | 评论(0) | 转发(0) |