D3Plug

The D3 is an evolution of the D2 Plug. Based upon the same Marvell Armada 510 CPU, the D3 offers upgraded an upgraded clock speed from 800mhz to 933mhz. It provides the same 1080 HDMI display out and the availability of USB 3.0 as opposed to just 2.0. In addition, the D3 has internal mini PCIe and mSATA slots for greater platform expansion.

Architecture
ARMv7 PJ4
Processor
Marvell Armada 510 933MHz
RAM
1GB
USB
3
SATA
1
Ethernet
Gigabit

USB Drive Creation

Replace sdX in the following instructions with the device name for the USB drive as it appears on your computer.

  1. Zero the beginning of the drive:
    dd if=/dev/zero of=/dev/sdX bs=1M count=8
  2. Start fdisk to partition the drive:
    fdisk /dev/sdX
  3. At the fdisk prompt, create the new partitions:
    1. Type o. This will clear out any partitions on the drive.
    2. Type p to list partitions. There should be no partitions left.
    3. Type n, then p for primary, 1 for the first partition on the drive, and enter twice to accept the default starting and ending sectors.
    4. Write the partition table and exit by typing w.
  4. Create the ext3 filesystem:
    mkfs.ext3 /dev/sdX1
  5. Mount the filesystem:
    mkdir root
    mount /dev/sdX1 root
  6. Download and extract the root filesystem (as root, not via sudo):
    wget http://os.archlinuxarm.org/os/ArchLinuxARM-d3plug-latest.tar.gz
    bsdtar -xpf ArchLinuxARM-d3plug-latest.tar.gz -C root
  7. Unmount the partition:
    umount root
  8. Insert the USB drive into the USB 2.0 slot on the back of the D3Plug.

Modify U-Boot Environment

  1. Connect a USB cable between your computer and the mini-USB port on the back of the D3Plug to establish a connection to the serial debug terminal. Connect to it on your computer with the speed settings 115200-8n1.
  2. Power on the D3Plug, and interrupt the boot process when you see "Hit any key to stop autoboot: 3.. 2.. 1.. 0". This will give you a prompt that looks like "Marvell>>"
  3. Run these commands to set up booting from the USB 2.0 port:
    setenv bootcmd 'usb start; ext2load usb 0 0x6400000 /boot/uImage; bootm 0x6400000'
    setenv bootargs 'console=ttyS0,115200 root=/dev/sda1 rw rootwait'
    saveenv
    reset
  4. After issuing reset, the D3Plug will reboot and will boot into Arch Linux ARM located on the USB drive you created above.
  5. Use the serial console or SSH to the IP address given to the board by your router.
    • Login as the default user alarm with the password alarm.
    • The default root password is root.

Install to the internal SD card

Note: This will completely delete the stock filesystem that comes with the D3Plug.

  1. Start fdisk to partition the SD card:
    fdisk /dev/mmcblk1
  2. At the fdisk prompt, delete old partitions and create a new one:
    1. Type o. This will clear out any partitions on the drive.
    2. Type p to list partitions. There should be no partitions left.
    3. Now type n, then p for primary, 1 for the first partition on the drive, and then press ENTER, accepting default values.
    4. Write the partition table and exit by typing w.
  3. Create and mount the ext3 filesystem:
    mkfs.ext3 /dev/mmcblk1p1
    mount /dev/mmcblk1p1 /mnt
  4. Install wget:
    pacman -Sy wget
  5. Download and reinstall the root filesystem:
    wget http://os.archlinuxarm.org/os/ArchLinuxARM-d3plug-latest.tar.gz
    bsdtar -xf ArchLinuxARM-d3plug-latest.tar.gz -C /mnt
    sync
    umount /mnt
  6. Ensure you're connected to the serial debug terminal, then reboot. Interrupt the boot process like above, and issue these commands to change the D3Plug to boot from the internal SD card:
    setenv bootcmd 'mmcinfo; ext2load mmc 0:1 0x6400000 /boot/uImage; bootm 0x6400000'
    setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk1p1 rw rootwait'
    saveenv
    reset
  7. After issuing reset, the D3Plug will reboot and will boot into Arch Linux ARM located on the internal SD card.
    • Login as the default user alarm with the password alarm.
    • The default root password is root.

Copyright ©2009-2017 Arch Linux ARM
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.