📄 gs.html
字号:
<li> <a href="GS.html#Hardware"> Hardware</a></li> <li> <a href="GS.html#Software"> Software</a></li></ul> </li> <li> <a href="GS.html#Flashing_a_demo_on_AT91_boards"> Flashing a demo on AT91 boards</a></li> <li> <a href="GS.html#Playing_with_the_demo"> Playing with the demo</a></li> <li> <a href="GS.html#Going_Forward"> Going Forward</a></li></ul> </div><p /><p /><h2><a name="Requirements"></a> Requirements </h2><p /><h3><a name="Hardware"></a> Hardware </h3><p /> <ul><li> a Windows XP host (or above) to run the SAM-BA tool ;</li> <li> power supply stocked with the Evaluation Kit ;</li> <li> USB Device Cable ;</li> <li> serial Cross Cable (Female-Female) ;</li> <li> eventually a DataFlash Card => check <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/AT91Bootstrap#Boot_capabilities_matrix" class="twikiAnchorLink">Boot capabilities matrix</a> (for AT91SAM9263-EK for example) ;</li> <li> AT91SAM926x-EK Evaluation Kit. Check below how kits look like and how to connect them :</li></ul> <p /><center><table width="100%" style="border-width:1px;" cellspacing="0" cellpadding="0" class="twikiTable" border="1"><tr class="twikiTableEven"><th bgcolor="#6b7f93" align="center" valign="top" style="text-align:center;vertical-align:top;" class="twikiFirstCol" maxcols="0"> <span style="color:#ffffff"> <strong> AT91SAM9260-EK </strong> </span> </th><th bgcolor="#6b7f93" align="center" valign="top" style="text-align:center;vertical-align:top;" maxcols="0"> <span style="color:#ffffff"> <strong> AT91SAM9261-EK </strong> </span> </th><th bgcolor="#6b7f93" align="center" valign="top" style="text-align:center;vertical-align:top;" maxcols="0"> <span style="color:#ffffff"> <strong> AT91SAM9263-EK </strong> </span> </th></tr><tr class="twikiTableOdd"><td bgcolor="#ffffff" align="center" valign="top" style="vertical-align:top;" class="twikiFirstCol twikiLast"> <a href="../GettingStarted/9260_board_presentation.png"><img src="../GettingStarted/9260_board_presentation_tiny.png" alt="AT91SAM9260-EK" border="0" /></a> </td><td bgcolor="#ffffff" align="center" valign="top" style="vertical-align:top;" class="twikiLast"> <a href="../GettingStarted/9261_board_presentation.png"><img src="../GettingStarted/9261_board_presentation_tiny.png" alt="AT91SAM9261-EK" border="0" /></a> </td><td bgcolor="#ffffff" align="center" valign="top" style="vertical-align:top;" class="twikiLast"> <a href="../GettingStarted/9263_board_presentation.png"><img src="../GettingStarted/9263_board_presentation_tiny.png" alt="AT91SAM9263-EK" border="0" /></a> </td></tr></table></center><p /><p /><h3><a name="Software"></a> Software </h3><p /> <ul><li> a serial terminal emulator (HyperTerminal, minicom, etc.) :</li></ul> <p />Serial communication parameters <code>115200 8-N-1</code> :<table style="border-width:1px;" cellspacing="0" cellpadding="0" class="twikiTable" border="1"><tr class="twikiTableEven"><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiFirstCol"> Baud rate </td><td bgcolor="#ffffff" valign="top" style="vertical-align:top;"> 115200 </td></tr><tr class="twikiTableOdd"><td bgcolor="#edf4f9" valign="top" style="vertical-align:top;" class="twikiFirstCol"> Data </td><td bgcolor="#edf4f9" valign="top" style="vertical-align:top;"> 8 bits </td></tr><tr class="twikiTableEven"><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiFirstCol"> Parity </td><td bgcolor="#ffffff" valign="top" style="vertical-align:top;"> None </td></tr><tr class="twikiTableOdd"><td bgcolor="#edf4f9" valign="top" style="vertical-align:top;" class="twikiFirstCol"> Stop </td><td bgcolor="#edf4f9" valign="top" style="vertical-align:top;"> 1 bit </td></tr><tr class="twikiTableEven"><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiFirstCol twikiLast"> Flow control </td><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiLast"> None </td></tr></table><p /> <ul><li> AT91 ISP 1.10 (or higher) ; containing the SAM-BA tool => Check the <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/SoftwareTools" class="twikiLink">SoftwareTools</a> page ;</li> <li> the demo archive provide <a href="GS.html#DemoArchiveBinaries" class="twikiCurrentTopicLink twikiAnchorLink">just below</a>. This archive contains : <ul><li> all 4 components binaries : AT91Bootstrap, u-boot, Linux kernel, root filesystem ;</li> <li> a TCL/SAM-BA script that interfaces with the SAM-BA tool to flash the demo ;</li> <li> a .bat script able to run the flashing script calling SAM-BA itself.</li></ul> </li></ul> <p /><a name="DemoArchiveBinaries"></a> <p /><table width="100%" style="border-width:1px;" cellspacing="0" cellpadding="0" class="twikiTable" border="1"><tr class="twikiTableEven"><th bgcolor="#6b7f93" align="center" valign="top" style="text-align:center;vertical-align:top;" class="twikiFirstCol" maxcols="0"> <span style="color:#ffffff"> <strong> Board </strong> </span> </th><th bgcolor="#6b7f93" align="center" valign="top" style="text-align:center;vertical-align:top;" maxcols="0"> <span style="color:#ffffff"> <strong> Description </strong> </span> </th><th bgcolor="#6b7f93" align="center" valign="top" style="text-align:center;vertical-align:top;" maxcols="0"> <span style="color:#ffffff"> <strong> Binary </strong> </span> </th><th bgcolor="#6b7f93" align="center" valign="top" style="text-align:center;vertical-align:top;" maxcols="0"> <span style="color:#ffffff"> <strong> Sources location </strong> </span> </th></tr><tr class="twikiTableOdd"><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiFirstCol"> at91sam9260ek </td><td bgcolor="#ffffff" valign="top" style="vertical-align:top;"> Linux4SAM console demo archive </td><td bgcolor="#ffffff" valign="top" style="vertical-align:top;"> <a href="../demo/linux4sam-angstrom-at91sam9260ek.zip" target="_top">linux4sam-angstrom-at91sam9260ek.zip</a> (~ 8 MB) </td><td bgcolor="#ffffff" rowspan="3" valign="top" style="vertical-align:top;" class="twikiLast"> <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild" class="twikiLink">OpenEmbeddedAngstromBuild</a> </td></tr><tr class="twikiTableEven"><td bgcolor="#edf4f9" valign="top" style="vertical-align:top;" class="twikiFirstCol"> at91sam9261ek </td><td bgcolor="#edf4f9" valign="top" style="vertical-align:top;"> Linux4SAM graphical demo archive </td><td bgcolor="#edf4f9" valign="top" style="vertical-align:top;"> <a href="../demo/linux4sam-angstrom-at91sam9261ek.zip" target="_top">linux4sam-angstrom-at91sam9261ek.zip</a> (~ 26 MB) </td></tr><tr class="twikiTableOdd"><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiFirstCol twikiLast"> at91sam9263ek </td><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiLast"> Linux4SAM graphical demo archive </td><td bgcolor="#ffffff" valign="top" style="vertical-align:top;" class="twikiLast"> <a href="../demo/linux4sam-angstrom-at91sam9263ek.zip" target="_top">linux4sam-angstrom-at91sam9263ek.zip</a> (~ 26 MB) </td></tr></table><h2><a name="Flashing_a_demo_on_AT91_boards"></a> Flashing a demo on AT91 boards </h2><p />Before flashing the demo, make sure that you have installed the <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/SoftwareTools#SAM_BA" class="twikiAnchorLink">SAM-BA tool</a> on your host computer.<p /> <ul><li> connect a USB cable on the board</li> <li> connect a serial link on DBGU connector and open the terminal emulator program</li></ul> <p /><p /><table style="border-width:1px;" cellspacing="0" cellpadding="0" class="twikiTable" border="1"><tr class="twikiTableEven"><th width="33%" bgcolor="#6b7f93" align="center" valign="top" style="width:33%;text-align:center;vertical-align:top;" class="twikiFirstCol" maxcols="0"> <span style="color:#ffffff"> <strong> AT91SAM9260-EK </strong> </span> </th><th width="33%" bgcolor="#6b7f93" align="center" valign="top" style="width:33%;text-align:center;vertical-align:top;" maxcols="0"> <span style="color:#ffffff"> <strong> AT91SAM9261-EK </strong> </span> </th><th width="33%" bgcolor="#6b7f93" align="center" valign="top" style="width:33%;text-align:center;vertical-align:top;" maxcols="0"> <span style="color:#ffffff"> <strong> AT91SAM9263-EK </strong> </span> </th></tr><tr class="twikiTableOdd"><td width="33%" bgcolor="#ffffff" valign="top" style="width:33%;vertical-align:top;" class="twikiFirstCol twikiLast"> <ul> <li>J7 must be opened (BMS=1) to boot from the on-chip Boot ROM</li> <li>follow the <a href="../Linux4SAM/AT91SAM9260EKSamBaRecovery.html" class="twikiLink">AT91SAM9260EKSamBaRecovery</a> recovery method, if needed</li> <li>power up the board</li> <li>verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)</li> </ul> </td><td width="33%" bgcolor="#ffffff" valign="top" style="width:33%;vertical-align:top;" class="twikiLast"> <ul> <li>J4 must be opened (BMS=1) to boot from the on-chip Boot ROM</li> <li>remove DataFlash Jumper (J21)</li> <li>power up the board</li> <li>verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)</li> <li>plug DataFlash Jumper (J21) back in position 1-2</li> </ul> </td><td width="33%" bgcolor="#ffffff" valign="top" style="width:33%;vertical-align:top;" class="twikiLast"> <ul> <li>J5-6 must be opened (BMS=1) to boot from the on-chip Boot ROM</li> <li>remove DataFlash Card (J9)</li> <li>power up the board</li> <li>verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)</li> <li>reinsert the DataFlash Card in J9 </li> </ul> </td></tr></table><p /><p /> <ul><li> launch the <code>.bat</code> file : this script will run SAM-BA with proper parameters</li> <li> when the programmation <code>logfile.log</code> appears (this will take a few minutes), remove the USB cable </li> <li> power cycle the board</li> <li> look the system booting on the LCD screen or trough the serial line</li> <li> calibrate accurately the LCD screen (if needed) </li></ul> <p /><h2><a name="Playing_with_the_demo"></a> Playing with the demo </h2><p />Ok, now you should have the Linux demo up'n running on your board ! <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/OeDemo" class="twikiLink">Have a walk</a> through applications of this demo.<p /><center><img alt="Screenshot-6.png" src="../GettingStarted/Screenshot-6.png" /></center><p /><p /><h2><a name="Going_Forward"></a> Going Forward </h2><p />If you want to rebuild this demo from sources, go <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/WebHome" class="twikiCurrentWebHomeLink twikiLink">through each component topic</a> and you will have a comprehensive explanation of it role and how to build it.<p />For people in a hurry, there is a summary page which collects all material to build from sources : it allows you <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/GoingForward" class="twikiLink">GoingForward</a> quickly.<p /> </div> </td></tr> <tr> <td class="natMainFooter natMiddle natMiddleRight natMainFooterRight " valign="bottom"> <div class="natMainFooterContents"><div class="natTopicAttachments"> </div><div class="natRevision"> r1 - 16 Oct 2007 - 09:34:52 - <a href="http://www.linux4sam.org/twiki/bin/view/Main/" class="twikiLink"></a> </div></div> </td> </tr> </table> <div class="natBottomBar natBottomBarRight "> <div class="natBottomBarContents"> <div class="natCopyRight"><span class="twikiRight"> <a class="natExternalLink" target="_blank" href="http://twiki.org/"><img src="../TWikiLogos/T-logo-80x15.gif" alt="This site is powered by the TWiki collaboration platform" width="80" height="15" title="This site is powered by the TWiki collaboration platform" border="0" /></a></span>Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries. <br /> Atmel® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.<br /> ARM® and others are registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.<br />Ideas, requests, contributions ? Connect to <a href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/LinksToCommunities" class="twikiLink">LinksToCommunities</a> page. </div> <div class="natSyndicate"> Syndicate this site <a class="natFeedIcon" href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/WebRss">RSS</a><a class="natFeedIcon" href="http://www.linux4sam.org/twiki/bin/view/Linux4SAM/WebAtom">ATOM</a> </div> </div> </div> </div> </td> <td class="natBoxBorderRight"></td></tr><tr><td class="natBoxBorderBottomLeft"> </td><td class="natBoxBorderBottomRight"> </td></tr></table><a name="PageBottom"></a></body></html><!-- template: page.nat.tmpl --><!-- template: strings.nat.tmpl --><!-- template: defaultbody.nat.tmpl --><!-- template: defaultsidebar.nat.tmpl --><!-- template: defaulttopbar.nat.tmpl --><!-- template: defaultjavascript.nat.tmpl --><!-- template: view.nat.tmpl --><!-- include viewbody --><!-- include viewtopicactions --><!-- template: viewtopicaction.nat.tmpl --><!-- include viewsidebar --><!-- include viewjavascript --><!-- include viewjavascript --><!-- include viewjavascript --><!-- template: searchbox.nat.tmpl -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -