• 烧写BLOB KERNEL FS



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

    +++++++++++++++++++++++++++++ 烧写 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

    <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
    阅读(431) | 评论(0) | 转发(7) |
    给主人留下些什么吧!~~
    评论热议
  • 相关阅读:
    java-并发解决方案
    linux-常用快捷键
    java-进程
    vim-常用快捷键
    数据库-事务
    spring-事务实现原理
    gdb
    x86 下的 struct 變數 member 擺放位置
    du 查看 資料夾 佔用空間
    ADC 計算時,階數的選擇
  • 原文地址:https://www.cnblogs.com/ztguang/p/12648152.html
Copyright © 2020-2023  润新知