GeeXboX for Embedded Devices – Booting on Pandaboard

September 18th, 2011 Leave a comment Go to comments

To boot GeeXboX on your Pandaboard you will need to prepare a SD card. We’ll eventually provide a script to automate most of these steps, but for now you’ll have to do the preparation manually.

Connect the SD card to your host system and note the device (we will use /dev/sdd in this document).

Umount any partitions on the SD card

Erase SD card partition table

dd if=/dev/zero of=/dev/sdd bs=512 count=8

Partition the SD card

fdisk /dev/sdd

create (n) one small boot partition (100MB), and change its type (t) to FAT (0c)

create (n) a data partition in the remaining space

mark as active/bootable (a) the boot partition

save your changes and quit (w)

Create the filesystems

mkfs.vfat -n boot /dev/sdd1
mkfs.ext3 -L GEEXBOX /dev/sdd2

Fetch the GeeXboX for Pandaboard tarball and unpack it

Extract rootfs.tar.bz2 onto the data partition

mount /dev/sdd2 /mnt
tar xjf rootfs.tar.bz2 -C /mnt

Extract boot.tar.bz2 onto the boot partition

mkdir /mnt/boot
mount /dev/sdd1 /mnt/boot
tar xjf boot.tar.bz2 -C /mnt

Unmount the partitions

umount /mnt/boot
umount /mnt

Plug the SD card into your Pandaboard, connect power, HDMI and optionally ethernet, and enjoy!

Share
  1. Sven.Flyfish
    November 18th, 2011 at 01:13 | #1

    I want to make sure is the “tar xjf boot.tar.bz2 -C /mnt” will be ok?
    when I use like that, I got some error message.

  2. Sven.Flyfish
    November 18th, 2011 at 03:58 | #2

    root@flyfish-laptop:/home/flyfish/NFS_Share/download.php?id=geexbox-2.0.pandaboard# tar jfx boot.tar.bz2 -C /mnt
    tar: boot/uImage:无法将所有权改为 uid 1000,gid 1000: 不允许的操作
    tar: boot/MLO:无法将所有权改为 uid 1000,gid 1000: 不允许的操作
    tar: boot/boot.ini:无法将所有权改为 uid 1000,gid 1000: 不允许的操作
    tar: boot/u-boot.bin:无法将所有权改为 uid 1000,gid 1000: 不允许的操作
    tar: boot/boot.cfg:无法将所有权改为 uid 1000,gid 1000: 不允许的操作
    tar: boot/boot.scr:无法将所有权改为 uid 1000,gid 1000: 不允许的操作
    tar: boot:无法将所有权改为 uid 1000,gid 1000: 不允许的操作
    tar: 由于前次错误,将以上次的错误状态退出

  1. No trackbacks yet.
You must be logged in to post a comment.