background image

Marvell.

 Moving Forward Faster

Marvell Semiconductor, Inc.

5488 Marvell Lane

Santa Clara, CA 95054, USA

Tel: 1.408.222.2500

Fax: 1.408.752.9028

www.marvell.com

Back Cover

Содержание ARMADA 16 Series

Страница 1: ...Marvell Moving Forward Faster Doc No MV S400320 00 Rev December 2010 Cover Marvell ARMADA 16x Plug Computer Development Kit User Manual ...

Страница 2: ... or source code controlled for national security reasons by the U S Export Control Regulations EAR to a national of EAR Country Groups D 1 or E 2 2 Not to export the direct product of such technology or such software to EAR Country Groups D 1 or E 2 if such technology or software and direct products thereof are controlled for national security reasons by the EAR and 3 In the case of technology con...

Страница 3: ...DA 168 Features 8 1 5 Operating System Support 8 2 Unpacking the gplugD 9 2 1 Kit Contents 9 2 2 External Connectors 12 3 Getting Started with the gplugD 15 3 1 Console Access 15 3 2 Remote Access with Secure Shell SSH 18 3 3 Using a Keyboard Mouse and HDMI Display 19 3 4 Remote Access with VNC 21 4 File Systems and Partitions 25 4 1 Where are the microSDHC cards in dev 25 4 2 Mounting Partitions ...

Страница 4: ...Marvell ARMADA 16x Plug Computer Development Kit Users Manual Doc No MV S400320 00 Rev Copyright 2010 Marvell Page 4 December 2010 ...

Страница 5: ...assword Entry 23 Figure 16 TightVNC Viewer Screen Scaling 23 Figure 17 TightVNC Server Shutdown 24 4 File Systems and Partitions 25 Figure 18 dev Directory Listing 25 Figure 19 Power On microSDHC Slot Assignment 26 Figure 20 Warm Boot microSDHC Assignment 26 Figure 21 Mounting Kernel Partition on Boot microSDHC Device 27 Figure 22 Root File System Mounted on dev mmcblk0p2 in etc mtab 27 Figure 23 ...

Страница 6: ...ounting the FAT16 Partition 35 Figure 37 Mount the ext3 Partition 35 Figure 38 Launch the Terminal 36 Figure 39 Copy the Kernel zImage File to the FAT16 Partition 36 Figure 40 Change Directory to the ext3 Partition for the Root File System 37 Figure 41 Decompress and Extract the Root File System Tarball 37 Figure 42 Safely Remove the microSDHC Card 38 Figure 43 Wait for Linux to Finish Before Remo...

Страница 7: ...lity Unlike other plug computers which are limited to running applications that either are non interactive or deliver content via terminal console or web browser the gplugD can drive a HDMI capable display with both bit mapped graphics and sound This makes it an ideal platform for developing energy efficient interactive kiosks and smart displays Without any optimization the gplugD running MPlayer ...

Страница 8: ...eripheral device request sources NAND Flash Controller for 1 8V and 3V SLC and MLC devices 2 chip select static memory and VLIO Bus Controller LPDDR1 DDR2 LVDDR2 DDR3 Dynamic Memory Controller Flexible LCD Controller with hardware color conversion capable of driving up to WUXGA 1920 x 1200 class smart or dumb panels Programmable 2D graphics accelerator with intelligent hardware color management un...

Страница 9: ...0 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 2 Unpacking the gplugD 2 1 Kit Contents The GuruPlug Display gplugD Development Kit comes in a compact white box from Marvell partner Globalscale Technologies Inc A full complement of accessories comes with the kit including all of the cables needed to connect to the various I O ports such as HDMI ...

Страница 10: ...v Copyright 2010 Marvell Page 10 December 2010 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Ethernet A bendable USB extension gooseneck for a Wi Fi or Bluetooth dongle ...

Страница 11: ...4 55 56 57 58 A pair for USB OTG micro AB plug to standard A receptacle and micro AB plug to standard A plug And a pair of USB mini B one for the console serial port and the other for the JTAG debug adapter Just like other plug computers the gplugD can be plugged directly into a wall outlet operating discretely and out of the way The desktop adapter and extension cord keep the gplugD within easy r...

Страница 12: ...sing one of two enclosed adapters The first is for use with existing JTAG hardware and is a passive circuit board that simply maps the appropriate signals to the standard 20 pin debug header The second is a miniature USB debug module that is based on the Future Technology Devices International FT2232H multi purpose high speed USB converter chip Software support for this hardware is in development ...

Страница 13: ...6 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 While not immediately obvious from these photographs the printed circuit boards inside the gplugD are mounted in such a way that the HDMI high speed USB and microSDHC connectors are inverted Cables must be plugged in accordingly and microSDHC cards must be inserted with contacts up ...

Страница 14: ...t Users Manual Doc No MV S400320 00 Rev Copyright 2010 Marvell Page 14 December 2010 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ...

Страница 15: ...ial port on the gplugD The following instructions assume a PC running Windows XP with appropriate user rights and a terminal program such as a recent version of TeraTerm 1 Visit http www prolific com tw to download the PL 2303 drivers for the then run the installer 2 Connect an available PC USB port to the gplugD serial port the USB mini B receptacle above the Ethernet RJ 45 jack using one of the ...

Страница 16: ...5 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 6 Launch TeraTerm and select Serial port from the Setup menu Choose the COM port assigned to the Prolific driver in the Device Manager from the Port drop down menu Figure 3 Figure 2 COM Port Assignment Figure 3 TeraTerm Serial Port Setup ...

Страница 17: ... the serial port is configured start up messages scroll by as Linux boots until the login prompt is reached see Figure 4 Login as root with nosoup4u as the password From this default shell typical command line programs are available For example dpkg l more lists the installed software packages U Boot provides a short delay before loading the Linux kernel and launching the operating system From the...

Страница 18: ...cted to a network The steps that follow assume either a that the Plug has been reconfigured to use a static IP address or b that its dynamically assigned IP address is known Any client that supports Version 2 of the SSH protocol can be used which makes TeraTerm a particularly convenient choice for this example 1 Select New connection from the File menu enter the Plug s IP address select the SSH ra...

Страница 19: ...se and flat panel display with HDMI the gplugD can be used as a standalone Linux machine Follow these steps to boot the gplugD and use the Linux desktop 1 With the gplugD powered down plug in a USB mouse USB keyboard and a flat panel display with a free HDMI input using the provided cable Connect the RJ 45 jack to a wired Ethernet network Do not connect power to the Plug yet 2 Turn on the display ...

Страница 20: ... 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Although the desktop icons and toolbar disappear nothing else on the display indicates that the Plug has shut down On the console however status messages continue to be output with a final System halted message appearing after about 20 seconds Figure 10 Figure 9 gplugD Shutdown Figure 10 System Halted Mes...

Страница 21: ... TightVNC Server before continuing 2 With the gplugD powered up and connected to a wired Ethernet network with Internet access get to the shell command prompt using the console serial port or SSH Install TightVNC Server by entering apt get install tightvncserver at the command prompt and approve the installation of the xbase clients and tightvncserver packages see Figure 11 3 Launch TightVNC Serve...

Страница 22: ...dress must be known to connect with VNC If using the console serial port enter ifconfig eth0 at the command prompt and note the IP address see Figure 13 5 Now run TightVNC Viewer Start Menu Programs TightVNC TightVNC Viewer Enter the IP address of the gplugD followed by 1 in the TightVNC Server box when prompted see Figure 14 6 When prompted for the password enter nosoup4u just as was done in Step...

Страница 23: ... 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 7 If the remote desktop is too large to fit in the window click the Connection options button at the left of the TightVNC Viewer toolbar and choose a suitable level from the Scale by dropdown see Figure 16 Figure 15 TightVNC Password Entry Figure 16 TightVNC Viewer Screen Scaling ...

Страница 24: ...22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 8 Shutdown VNC by entering tightvncserver kill 1 at the shell command prompt When TightVNC Server is next launched it uses the password created in Step 3 If this is not preferred remove the local password file with rm vnc passwd see Figure 17 Figure 17 TightVNC Server Shutdown ...

Страница 25: ...h cards present in both external microSDHC slots and the internal slot Figure 18 Each partition on a microSDHC card also has its own dev node For example the card from which Linux boots which is always instantiated as dev mmcblk0 has two partitions dev mmcblk0p1 and dev mmcblk0p2 The dev assignment of the internal and second external microSDHC card slots is not consistent each time the gplugD boot...

Страница 26: ... 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Upon warm boot for example pressing the reset button or issuing the shell reboot command however the assignment is reversed internal dev mmcblk2 and external dev mmcblk1 See Figure 20 Figure 19 Power On microSDHC Slot Assignment Figure 20 Warm Boot microSDHC Assignment ...

Страница 27: ...DHC device see Figure 21 1 Create a mount point in a suitable directory In the screen shot above this task is performed by issuing mkdir mnt plug_kernel Placing storage mount points in the mnt directory is standard Linux practice 2 Use mount dev mmcblk0p1 mnt plug_kernel to mount the kernel partition Listing the mnt plug_kernel directory shows that it holds a readme file and the compressed kernel ...

Страница 28: ...ately 7 2 GB of free space Figure 23 External USB mass storage devices hard drives flash drives and memory card readers are mounted in a similar fashion but they use the Linux SCSI driver and use the dev sdX naming convention dev sda dev sdb etc When using the console serial port information about USB hot plug events is shown these same messages can be read with dmesg tail 20 when logged into the ...

Страница 29: ... the boot media The only additional requirement is some means of reading and writing a microSDHC card In the steps that follow a USB card reader is used Integrated SD card readers are found on many notebook computers and may be used along with a microSD to SD adapter The gplugD boot card is a 4 GB microSDHC card so when rebuilding it the card reader must be SDHC compatible However the gplugD kerne...

Страница 30: ...3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 2 3 Navigate to System Administration and select GParted Partition Editor Figure 27 Figure 26 Ubuntu Automounts the New microSDHC Card Figure 27 Run the GParted Partition Editor ...

Страница 31: ...ry in the devices drop down menu corresponds to the new microSDHC card as long as it was inserted after Linux boots On notebook computers with integrated SD card readers look for dev mmcblk0 on the drop down menu See Figure 28 3 Before the partition table on the SD card can be modified any mounted partitions must be unmounted Right click on each partition listed new cards and those used in digital...

Страница 32: ...5 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 5 Create a new FAT16 partition for the kernel zImage file by right clicking on the unallocated space and selecting New from the menu Figure 31 Figure 30 Delete Existing Partitions Figure 31 Creating a FAT16 Partition for the Linux Kernel ...

Страница 33: ...e MiB big enough to hold the zImage file 4 MiB is sufficient for the stock gplugD kernel b select fat16 for the File system c use plug_kernel for the new partition Label and d click the Add button Figure 32 7 Repeat the same procedure for all of the remaining unallocated space GParted will default to all of the remaining space for the new partition size Select ext3 for the File system use plug_roo...

Страница 34: ... 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 8 Now click the green check mark in the toolbar to execute the chosen partition modifications Figure 34 9 Once GParted finishes the new partitions must be mounted in order to copy the kernel image and root file system onto them Navigate to System Administration and select Disk Utility Figure 35 Figure 34 Apply Pending Partition Modificat...

Страница 35: ...Select the SD card reader under peripheral devices A graphical representation of the two partitions created on the microSDHC will be shown Select the plug_kernel partition then click the Mount Volume button Notice that the FAT16 partition is mounted at media plug_kernel see Figure 36 11 Now click the plug_rootfs partition and mount it Notice that the EXT3 partition is mounted at media plug_rootfs ...

Страница 36: ...Accessories and select Terminal to get to the command shell Figure 38 13 At the command prompt enter cp cdrom gplugD zImage media plug_kernel see Figure 39 The zImage file resides in cdrom gplugD when using the Ubuntu Linux 10 10 live trial with the kernel image and file system archive placed in a folder named gplugD in the root directory of the bootable SD card or USB drive The path to these file...

Страница 37: ...file name if a new release of the gplugD root file system has been made available Version 0 3 of the root file system is about 470 MB and depending upon the write speed of the microSDHC card used it may take around 10 minutes to extract all of the files see Figure 41 16 When all of the files have been extracted the SD card must be safely removed from the reader If using an integrated SD card reade...

Страница 38: ...stem writes to the microSDHC card may still be pending in the disk cache and Ubuntu Linux displays an activity message if this is the case Do not remove the microSDHC card until this window is dismissed see Figure 43 The Plug can now be booted with the newly created card Be sure to insert the contacts up into the microSD socket on the right nearest the reset button before applying power Figure 42 ...

Страница 39: ...d Setup Copyright 2010 Marvell Doc No MV S400320 00 Rev December 2010 Page 39 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ...

Страница 40: ...Marvell Moving Forward Faster Marvell Semiconductor Inc 5488 Marvell Lane Santa Clara CA 95054 USA Tel 1 408 222 2500 Fax 1 408 752 9028 www marvell com Back Cover ...

Отзывы: