乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      CONFIG_SYS_HUSH_PARSER

       向往~ 2011-09-09

      u-boot CONFIG_SYS_HUSH_PARSER 作用

      (2011-08-12 14:47:09)
      標(biāo)簽:

      雜談

      u-boot中配置選項(xiàng)眾多,有些配置選擇提供了很好的功能,CONFIG_SYS_HUSH_PARSER 選項(xiàng)就提供了比較實(shí)用的功能,

      看看一個(gè)例子:
      在CONFIG_SYS_HUSH_PARSER 選項(xiàng)沒有打開之前的運(yùn)行結(jié)果:
      環(huán)境變量配置如下:
       bootcmd:
      "setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath " \
              "ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
              "console=$consoledev,$baudrate $othbootargs;" \
              "tftp $loadaddr $bootfile;" \
              "tftp $fdtaddr $fdtfile;" \
              "bootm $loadaddr - $fdtaddr"
      ...
      bootfile=uImage
      loadaddr=0x01000000
              fdtaddr=0x00c00000
              fdtfile=EVM440.dtb
      ...


      EVM440:/#boot
      Setting the MAC address 0:11:3c:6e:f3:5f
      TFTP from server 10.159.201.10; our IP address is 10.141.179.215
      Filename '$bootfile'.
      Load address: 0x0
      Loading: ## Warning: gatewayip needed but not set
      T
      TFTP error: 'File not found' (1)
      Not retrying...
      Setting the MAC address 0:11:3c:6e:f3:5f
      TFTP from server 10.159.201.10; our IP address is 10.141.179.215
      Filename '$fdtfile'.
      Load address: 0x0
      Loading: ## Warning: gatewayip needed but not set

      TFTP error: 'File not found' (1)
      Not retrying...


      配置CONFIG_SYS_HUSH_PARSER選項(xiàng)后,結(jié)果是:

      EVM440:/#boot
      Setting the MAC address 0:11:3c:6e:f3:5f
      TFTP from server 10.159.201.10; our IP address is 10.141.179.215
      Filename 'uImage'.
      Load address: 0x1000000
      Loading: ## Warning: gatewayip needed but not set
      T
      TFTP error: 'File not found' (1)
      Not retrying...
      Setting the MAC address 0:11:3c:6e:f3:5f
      TFTP from server 10.159.201.10; our IP address is 10.141.179.215
      Filename 'EVM440.dtb'.
      Load address: 0xc00000
      Loading: ## Warning: gatewayip needed but not set

      TFTP error: 'File not found' (1)
      Not retrying...

      也就是說沒有配置CONFIG_SYS_HUSH_PARSER選項(xiàng)則不會解析,直接使用$loadaddr,而CONFIG_SYS_HUSH_PARSER選項(xiàng)配置后,$loadaddr被解析成0x1000000,CONFIG_SYS_HUSH_PARSER選項(xiàng)為u-boot環(huán)境變量配置提供了更靈活的機(jī)制.

        本站是提供個(gè)人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多