프로그램 사용/u-boot

uboot filesize 환경변수

구차니 2016. 11. 17. 18:38

filesize 라는 변수가 매번 바뀌나 궁금해서 검색

한마디로.. bootp나 dhcp tftp로 받은 마지막 파일 사이즈 라는 의미


filesize: Size (as hex number in bytes) of the file downloaded using the last bootp, dhcp, or tftp command.

[링크 : http://www.denx.de/wiki/DULG/UBootEnvVariables]



+

nand에 구울때

nand write.yaffs ${fileaddr} 0x400000 ${filesize};

이런식으로 하는게 안전할 듯(tftp로 받아와서 쓰는데 용량 크기가 안 맞아서.. ㅠㅠ