<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>u-boot &#8211; richliu&#039;s blog</title>
	<atom:link href="https://richliu.com/tag/u-boot/feed/" rel="self" type="application/rss+xml" />
	<link>https://richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Thu, 19 Jan 2012 05:36:58 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>U-boot 下如何計算傳輸檔案的 crc32</title>
		<link>https://richliu.com/2010/07/30/973/u-boot-%e4%b8%8b%e5%a6%82%e4%bd%95%e8%a8%88%e7%ae%97%e5%82%b3%e8%bc%b8%e6%aa%94%e6%a1%88%e7%9a%84-crc32/</link>
					<comments>https://richliu.com/2010/07/30/973/u-boot-%e4%b8%8b%e5%a6%82%e4%bd%95%e8%a8%88%e7%ae%97%e5%82%b3%e8%bc%b8%e6%aa%94%e6%a1%88%e7%9a%84-crc32/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Fri, 30 Jul 2010 05:44:14 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[crc32]]></category>
		<category><![CDATA[u-boot]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=973</guid>

					<description><![CDATA[<p>常常會在 u-boot 下使用 TFTP 傳檔案, 但是怎麼知道傳檔的 crc32 是正確的? 首先, 在 u [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2010/07/30/973/u-boot-%e4%b8%8b%e5%a6%82%e4%bd%95%e8%a8%88%e7%ae%97%e5%82%b3%e8%bc%b8%e6%aa%94%e6%a1%88%e7%9a%84-crc32/">U-boot 下如何計算傳輸檔案的 crc32</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>常常會在 u-boot 下使用 TFTP 傳檔案, 但是怎麼知道傳檔的 crc32 是正確的?<br />
<span id="more-973"></span><br />
首先, 在 ubuntu 下裝這個套件 libarchive-zip-perl</p>
<p>[BASH]</p>
<p>$ sudo apt-get install libarchive-zip-perl</p>
<p>[/BASH]</p>
<p>接下來計算檔案 crc32<br />
[BASH]<br />
$ crc32 /home/tftp/bootpImage<br />
c2b97265<br />
[/BASH]</p>
<p>傳到 u-boot 上<br />
usage : crc32 [address] [length]<br />
[TEXT]<br />
# tftp 0x4000000 bootpImage<br />
TFTP from server 172.20.10.101; our IP address is 172.20.10.102<br />
Filename &#8216;bootpImage&#8217;.<br />
Load address: 0x4000000<br />
done<br />
Bytes transferred = 25027306 (17de2ea hex)<br />
CNS3000 # crc32 0x4000000 0x17de2ea<br />
CRC32 for 04000000 &#8230; 057de2e9 ==&gt; c2b97265<br />
[/TEXT]<br />
這樣就可以了</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2010/07/30/973/u-boot-%e4%b8%8b%e5%a6%82%e4%bd%95%e8%a8%88%e7%ae%97%e5%82%b3%e8%bc%b8%e6%aa%94%e6%a1%88%e7%9a%84-crc32/">U-boot 下如何計算傳輸檔案的 crc32</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2010/07/30/973/u-boot-%e4%b8%8b%e5%a6%82%e4%bd%95%e8%a8%88%e7%ae%97%e5%82%b3%e8%bc%b8%e6%aa%94%e6%a1%88%e7%9a%84-crc32/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
