The Nitrogen6X is a low cost development platform designed by Boundary Devices. The board is available with a variety of accessories including: 5MP OV5642 Camera, 7” 800×480 TTL display with 4-wire resistive touch, 7” 1024×600 LVDS display with PCAP multi-touch, Android Button board, and more. The i.MX6 processor sports a wider and faster memory bus (64-bit DDR3 1066), integrated HDMI, Gigabit ethernet and additional display channels with a high level of integration. Some additional highlights of the board include:
- Three display ports (PRGB, LVDS, HDMI)
- Multi-stream-capable HD video engine delivering 1080p60 decode, 1080p30 encode and 3-D video playback in HD
- 3D graphics with quad shaders for up to 200 Mt/s with separate 2D acceleration engines
- Dual SDHC card slots
- PCI express port
- Analog audio in/out
- Power over Ethernet support
- ARMv7 Cortex-A9
- Freescale i.MX6 Quad 1GHz
- Micro SD
- These instructions only apply to the quad-core, 1GB RAM Nitrogen6x model.
- This process will erase any U-Boot environment stored in flash.
- 6x_bootscript is no longer sourced. Make any customizations within /boot/boot.txt and run ./mkscr within /boot to convert it to the boot.scr file.
- Download the bootloader upgrade tarball and extract it to a temporary location.
- Create a single partition formatted ext2/3/4 or FAT on a micro SD card or USB drive.
- Copy the contents of the upgrade folder to the SD card or USB drive.
- Insert the micro SD card into either slot, or plug in the USB drive to either port. Remove any other attached storage device.
- Connect to the debug serial on the board in order to monitor U-Boot output.
- Set the boot switches next to the power jack for USB boot. Switch 1 should be off, and switch 2 should be on.
- Connect a USB to micro USB cable between another computer and the micro USB port next to the ethernet port.
- Apply power to the board. There should be no output on the serial console.
- Inspect lsusb to ensure that the board has been recognized. A line similar to this should be present:
Bus 001 Device 077: ID 15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip in RecoveryMode
- Change into the tools/linux directory from the extracted upgrade tarball.
- Run the imx_usb (or imx_usb_32bit for 32-bit hosts) as the root user or with sudo to boot the provided U-Boot image. This will run the script on the SD card or USB drive to write the SPI flash module with the U-Boot image.
- Watch the serial console for any error messages. A message will print when flashing is complete.
- Power off the board, remove the SD card or USB drive, and set both boot switches to the off position.
Install to SD/USB/SATA
Replace sdX in the following instructions with the device name for the drive as it appears on your computer.
- Zero the beginning of the drive:
dd if=/dev/zero of=/dev/sdX bs=1M count=8
- Start fdisk to partition the drive:
- At the fdisk prompt, delete old partitions and create a new one:
- Type o. This will clear out any partitions on the drive.
- Type p to list partitions. There should be no partitions left.
- Now type n, then p for primary, 1 for the first partition on the drive, 2048 for the first sector, and then press ENTER to accept the default last sector.
- Write the partition table and exit by typing w.
- Create the ext4 filesystem:
- Mount the filesystem:
mount /dev/sdX1 mnt
- Download and extract the root filesystem (as root, not via sudo):
bsdtar -xpf ArchLinuxARM-armv7-latest.tar.gz -C mnt
- Download the boot.scr script for U-Boot and place it in the /boot directory:
wget http://os.archlinuxarm.org/os/imx6/boot/boundary/boot.scr -O mnt/boot/boot.scr
- Unmount the drive:
- Attach the drive to the board, connect ethernet, and apply 5V power.
- 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.
- Initialize the pacman keyring and populate the Arch Linux ARM package signing keys:
pacman-key --populate archlinuxarm
Install the U-Boot package
- Remove the boot.scr file manually downloaded previously:
- Install the U-Boot package:
pacman -Sy uboot-boundary
- When prompted, press y and hit enter to flash the latest bootloader to the SPI flash.