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/startudev

null::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:

http://omappedia.org/wiki/Dowload_minimal-FS_Environment

- 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:

http://www.dimingo.com/slackware/arm/

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

# Build the kernel Image
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

2 Responses to “Pandaboard”


  1. [...] the others packages via NFS I had to make some changes to configuration files as indicated here: http://giovanni.wordpress.com/pandaboard/ The next step is to build a kernel and modules for omap4 by myself and use them instead of the [...]


  2. [...] Slackware ARM on the pandaboard, which is similar to the beagleboard. Here are some notes: http://giovanni.wordpress.com/pandaboard/ I hope that info can help [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.