Pandaboard

From Funtoo
Jump to navigation Jump to search

The PandaBoard is a low-power, low-cost single-board computer development platform based on the Texas Instruments OMAP4430 system on a chip (SoC). The board has been available to the public since 27 October 2010. It is a community supported development platform.

The PandaBoard ES is a newer version based on the OMAP4460 SoC, with the CPU and GPU running at higher clock rates. The board has been available to the public since 16 November 2011. Like its predecessor, it is a community supported development platform.

Features

The OMAP4430 SoC on the PandaBoard features a dual-core 1 GHz ARM Cortex-A9 MPCore CPU, a 304 MHz PowerVR SGX540 graphics processing unit (GPU), a Texas Instruments TMS320C6400 digital signal processor (DSP), and 1 GiB of DDR2 SDRAM.

The PandaBoard ES uses a newer SoC, with a dual-core 1.2 GHz CPU and 384 MHz GPU. Primary persistent storage is via an Secure Digital (SD) Card slot allowing SDHC cards up to 32 GB to be used. The board includes wired 10/100 Ethernet as well as wireless Ethernet and bluetooth connectivity. The board can output video signals via Digital Visual Interface (DVI) and HDMI interfaces. It also has 3.5 mm audio connectors. It has two Universal Serial Bus (USB) host ports and one USB On-The-Go port, supporting USB 2.0.

CPUinfo

  • Pandaboard
Processor       : ARMv7 Processor rev 2 (v7l)
processor       : 0
BogoMIPS        : 599.22

processor       : 1
BogoMIPS        : 582.68

Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x1
CPU part        : 0xc09
CPU revision    : 2

Hardware        : OMAP4 Panda board
Revision        : 0020
Serial          : 0000000000000000

Funtoo Linux Instalation

First of all you have to prepare/format your SD card (ALL DATA WILL BE LOST!).

sdcardsetup.sh 
# sdcardsetup.sh script
#!/bin/sh

if [ ! "$1" = "/dev/sda" ] ; then
        DRIVE=$1
        if [ -b "$DRIVE" ] ; then
                dd if=/dev/zero of=$DRIVE bs=1024 count=1024
                SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`
                echo DISK SIZE - $SIZE bytes
                CYLINDERS=`echo $SIZE/255/63/512 | bc`
                echo CYLINDERS - $CYLINDERS
                {
                echo ,9,0x0C,*
                echo ,,,-
                } | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE
                mkfs.vfat -F 32 -n "boot" ${DRIVE}1
                mke2fs -j -L "rootfs" ${DRIVE}2
        fi 
fi

Follow the general steps from Funtoo on ARM#Installing Funtoo.

These steps include:

  • Extract stage3 to the 2nd partition of the SD card
  • Extract portage snapshot (required to emerge things and ntp(see below))
  • Setup fstab
  • Setup root password
  • Configure hostname and networking (optional, but recommended)
  • Enable SSH access (optional, but recommended)
  • Enable serial console access (optional, but recommended)
  • Correct RTC "bug" with swclock


Enabling serial console access

These are instructions specific for Pandaboard.

nano -w /mnt/SD_root/etc/inittab
s0:12345:respawn:/sbin/agetty 115200 ttyO2 vt100

Kernel and bootloader

Here you can find kernel and bootloader files for a quick start. Put these on first partition of your SD card. Archive name boot.tar.xz

Of course you can build your own kernel and U-Boot files, but these are provided here so you don't have to go through the cross-compiling pains and can use your Pandaboard to do native compiling once running.

Modules and firmware

Put these inside /lib folder on second partition. Archive name modules.tar.xz