This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm8168如何将配置外设的环境变量配置到板子上?



  板卡没有SD,只有NAND FLASH,网口,串口, 可以通过仿真器连接板子,  请问,NANDFLASH固化完uboot后,如何将设置网口,串口的配置参数配置到板子上,例如 :

#fw_setenv bootdelay 3;fw_setenv gatewayip 192.168.1.1;fw_setenv netmask 255.255.255.0;fw_setenv ipaddr 192.168.1.8;fw_setenv serverip 192.168.3.21

#fw_setenv bootcmd 'nboot 0x81000000 nand0 0x580000;bootm 0x81000000'

fw_setenv bootargs 'mem=128M console=ttyO0,115200n8 ubi.mtd=4,2048 root=ubi0:rootfs rootwait=1 rootfstype=ubifs rw ip=192.168.1.8:192.168.3.21:192.168.1.1:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBEE00000'

 因为目前只能通过仿真器和板子连接,请问,如何将这些参数固化到只有NAND_FLASH的板卡上?

  • 请参考http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/123743.aspx的回答。

    在uboot里面配置后,saveenv就可以保存配置。

    关于uboot里面的参数设置,建议你网上搜索一下相关资料。