Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:atmel:atngw100 [2018/03/04 12:32] bobafetthotmailtoh:atmel:atngw100 [2018/06/08 16:36] – link to oldwiki removed tmomas
Line 3: Line 3:
 The [[http://www.atmel.com/tools/maturengw100networkgatewaykit.aspx|NGW100 Network Gateway Kit]] is a development board for the [[http://www.atmel.com/images/32003s.pdf|AT32AP7000]] microcontroller, a member of the [[http://www.atmel.com/products/AVR32/|AVR32]] family. The NGW100 has two Ethernet ports, a SD/MMC card reader, and connectors for USB (device mode only), serial console, and JTAG. The [[http://www.atmel.com/tools/maturengw100networkgatewaykit.aspx|NGW100 Network Gateway Kit]] is a development board for the [[http://www.atmel.com/images/32003s.pdf|AT32AP7000]] microcontroller, a member of the [[http://www.atmel.com/products/AVR32/|AVR32]] family. The NGW100 has two Ethernet ports, a SD/MMC card reader, and connectors for USB (device mode only), serial console, and JTAG.
  
-====== Supported Versions ======+===== Supported Versions =====
 ^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| - | N/A | 7.09 | See [[oldwiki:openwrtdocs:hardware:atmel:atngw100|oldwiki documentation]] |+| - | N/A | 7.09 |  |
 | - | N/A | 8.09.1 | Issues installing Squashfs. Alternate method described here | | - | N/A | 8.09.1 | Issues installing Squashfs. Alternate method described here |
  
-====== Hardware Highlights ======+===== Hardware Highlights =====
 ^ CPU          ^ Ram    ^ Flash   ^ Network   ^ USB               ^ Serial   ^ JTag   ^ ^ CPU          ^ Ram    ^ Flash   ^ Network   ^ USB               ^ Serial   ^ JTag   ^
 | AT32AP7000   | 32MB   | 8+8MB   | 2x 100M   | 1x 2.0 (device)   | Yes      | Yes    | | AT32AP7000   | 32MB   | 8+8MB   | 2x 100M   | 1x 2.0 (device)   | Yes      | Yes    |
  
-====== Installation ====== +===== Installation ===== 
-===== Prerequisites =====+==== Prerequisites ====
 The following description assumes that you have The following description assumes that you have
   * a working TFTP server   * a working TFTP server
Line 19: Line 19:
   * a serial cable to connect the serial port   * a serial cable to connect the serial port
  
-===== Upgrade UBoot =====+==== Upgrade UBoot ====
 Since 8.09, the gzip compressed kernel is by far too large: it is about 3MB, and the flash section dedicated to it (0x20000 - 0x120000) is only 1MB. Since 8.09, the gzip compressed kernel is by far too large: it is about 3MB, and the flash section dedicated to it (0x20000 - 0x120000) is only 1MB.
  
Line 34: Line 34:
 You should now have U-Boot 1.3.3 with lzma support. You should now have U-Boot 1.3.3 with lzma support.
  
-===== Installing the Kernel and the Root Image =====+==== Installing the Kernel and the Root Image ====
 Besides the boot loader, you need two more items in the flash Besides the boot loader, you need two more items in the flash
   * the compressed Linux image (''openwrt-avr32-uImage-lzma'')   * the compressed Linux image (''openwrt-avr32-uImage-lzma'')
Line 43: Line 43:
 In Uboot: (**bold** means that this is something you have to enter, //italic// means that you have to put your actual value here) In Uboot: (**bold** means that this is something you have to enter, //italic// means that you have to put your actual value here)
  
-==== Erase the flash ====+=== Erase the flash ===
 Before we can flash anything, first erase the flash:\\ Before we can flash anything, first erase the flash:\\
 Uboot> **erase 20000 7effff**\\ Uboot> **erase 20000 7effff**\\
Line 49: Line 49:
 Erased 125 sectors Erased 125 sectors
  
-==== Flashing the images ====+=== Flashing the images ===
 Flashing is a two step process Flashing is a two step process
   * first load the file to RAM via TFTP   * first load the file to RAM via TFTP
Line 96: Line 96:
 Uboot> **cp.b 10000000 120000 //430000//**   replace 430000 with the number of bytes transferred above! Uboot> **cp.b 10000000 120000 //430000//**   replace 430000 with the number of bytes transferred above!
  
-==== Setting boot parameters ====+=== Setting boot parameters ===
 **__IMPORTANT__**\\ **__IMPORTANT__**\\
 Uboot> **set bootargs console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=jffs2 init=/etc/preinit**\\ Uboot> **set bootargs console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=jffs2 init=/etc/preinit**\\
Line 104: Line 104:
 You may now boot the board. You may now boot the board.
  
-==== First boot ====+=== First boot ===
 On the first boot (and only then), you will see messages like these: On the first boot (and only then), you will see messages like these:
 <code>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x3000 id <code>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x3000 id
Line 122: Line 122:
 VFS: Mounted root (jffs2 filesystem).</code> VFS: Mounted root (jffs2 filesystem).</code>
  
-==== Result ====+=== Result ===
 You should now have a working OpenWRT on AVR32 You should now have a working OpenWRT on AVR32
 <code>BusyBox v1.11.2 (2009-09-04 18:20:59 CEST) built-in shell (ash) <code>BusyBox v1.11.2 (2009-09-04 18:20:59 CEST) built-in shell (ash)
Line 145: Line 145:
 root@OpenWrt:/#</code> root@OpenWrt:/#</code>
  
-====== Hardware ======+===== Hardware =====
  
-===== Info =====+==== Info ====
  
-| **Architecture:**     | AVR32                          | +Architecture     | AVR32                          | 
-| **Vendor:**           | Atmel                          | +Vendor           | Atmel                          | 
-| **Bootloader:**       | UBoot                          | +Bootloader       | UBoot                          | 
-| **System-On-Chip:**   | AT32AP7000                     | +System-On-Chip   | AT32AP7000                     | 
-| **CPU Speed:**        | 210 Mhz                        | +CPU Speed        | 210 MHz                        | 
-| **Flash-Chip:**       | AT49BV642D-70TU + AT45DB642D   | +Flash-Chip       | AT49BV642D-70TU + AT45DB642D   | 
-| **Flash size:**       | 8 MB parallel + 8 MB serial    | +Flash size       | 8 MB parallel + 8 MB serial    | 
-| **RAM:**              | 32 MB                          | +RAM              | 32 MB                          | 
-| **Wireless:**         | No                             | +Wireless         | No                             | 
-| **Ethernet:**         | 2                              | +Ethernet         | 2                              | 
-| **USB:**              | Yes (device)                   | +USB              | Yes (device)                   | 
-| **Serial:**           | Yes                            | +Serial           | Yes                            | 
-| **JTAG:**             | Yes                            |+JTAG             | Yes                            |
  
-===== Photos =====+==== Photos ====
  
 See [[http://avr32linux.org/twiki/bin/view/Main/ModifyTheNGW100|here]] for a photo.\\ See [[http://avr32linux.org/twiki/bin/view/Main/ModifyTheNGW100|here]] for a photo.\\
Line 174: Line 174:
 To connect stuff to the USB port, please see [[docs:guide-user:hardware:usb.overview|Connect stuff to the USB port]]. To connect stuff to the USB port, please see [[docs:guide-user:hardware:usb.overview|Connect stuff to the USB port]].
  
- +===== Tags ===== 
-{{tag>devboard}}+[[meta:tags|How to add tags]] 
 +{{tag>devboard 8flash 32ram}}
  • Last modified: 2021/10/15 09:06
  • by bobafetthotmail