Here are some notes about Pandaboard.
Angstrom
– format the SD rootfs partition with ext3 (not ext4) in order to simplify the boot (the base kernel has no driver for ext4)
– to shutdown:
– # mkfifo /dev/initctl (not really needed)
– # shutdown -hn now
– to reboot:
– # shutdown -rn now
– /etc/inittab:
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -t sysfs sysfs /sys
null::sysinit:/bin/mount -t usbfs usbfs /proc/bus/usb
null::sysinit:/bin/mount -o remount,rw /
null::sysinit:/etc/startudevnull::sysinit:/bin/mount -t devpts devpts /dev/pts
null::sysinit:/sbin/ifconfig usb0 192.168.0.65
null::sysinit:/sbin/route add default gw 192.168.0.1 usb0
null::sysinit:/etc/init.d/dropbear start#::askfirst:/bin/sh
ttyO2::respawn:/bin/sh
– /etc/resolv.conf:
nameserver 192.168.0.1
– SD card used: Maxell SDHC 8GB class 6 (ultra high speed)
– Audio:
top socket = microphone
bottom socket = speaker
– add lo (local loopback) device:
# ifconfig lo 127.0.0.1
# route add -net 127.0.0.0 gw 127.0.0.1 netmask 255.0.0.0 dev lo
Slackware
– use Angstrom kernel and modules:
– use Slackware ARM mini rootfs:
ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/roots/
– modify /etc/inittab: ttyS0 –> ttyO2
– modify /etc/securetty: ttyS0 –> ttyO2
– modify /etc/fstab
– other useful info:
ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/README.txt
– add the following lines to /etc/rc.d/rc.inet1.conf for setting a fixed IP address:
#——————————————————————————-
# Pandaboard# Config information for usb0:
IFNAME[5]=”usb0″
IPADDR[5]=”192.168.0.33″
NETMASK[5]=”255.255.255.0″
USE_DHCP[5]=””
DHCP_HOSTNAME[5]=””
– add the address of the DNS server (e.g. your router) to /etc/resolv.conf:
nameserver 192.168.0.1
– add the ntpdate to /etc/rc.d/rc.local:
ntpdate ntp.ien.it
– build a jre package using the following SlackBuild:
http://ftp.slackware.org.uk/armedslack/armedslack-current/source/l/jre/
– other Slackware ARM packages compiled for pandaboard:
How to compile Linux kernel
You can use the tree mentioned over here:
http://omappedia.org/wiki/Source_Trees
git clone git://dev.omapzoom.org/pub/scm/integration/kernel-omap4.git
Checkout L24.11 branch.
Steps for compiling a kernel for Panda:
# Clean the prebuilt kernel
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean
# Set a configuration
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap4430panda_defconfig
2 thoughts on “Pandaboard”