Installing Wheezy on the Open Pandora
What You will need
- An Open Pandora (I have the 1 Ghz Model)
- A PC with Debian installed
- An SD Card (I am using a 16 GB card, but I imagine that you can install it on an 8 GB Card)
On The PC
- Format the SD card to have an ext3 partition (I used gparted to do this)
- Install debootstrap
# apt-get install debootstrap
- Now run debootstrap. I choose to use the armhf port, as the Open Pandora has a hardware FPU. Others have used the armel port, but that uses a software FPU so it may not be as fast. Since I live in the US, I also choose to use a US based repository
#debootstrap --arch armhf --foreign wheezy /tmp/pandora-debian http://ftp.us.debian.org/debian/
- Now copy that directory you just made into the SD card, unmount it, and put it into your Pandora.
#cd /tmp/pandora-debian #cp -R -v * /media/chris/Debian/ #umount /media/chris/Debian/
- Now on your Pandora, you will have to do the second stage. This will take a little bit of time:
sudo chroot /media/Debian /debootstrap/deboostrap --second-stage
- After that, you need to add your repositories into this new install.
# nano /etc/apt/sources.list
Contents of /etc/apt/sources.list
# wheezy deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy main contrib # wheezy updates deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib # Wheezy Backports deb http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy-backports main contrib
- Now update and upgrade. I don't think you will get anything for the upgrade, but it doesn't hurt.
# apt-get update # apt-get dist-upgrade
- Now, lets install a kernel (NOTE: The firmware-ti-connectivity is non-free):
apt-get install linux-image-omap linux-headers-omap firmware-ti-connectivity
- Now to make the pandora boot into it, we must make a bootable image for it to boot from.
*NOTE: I am working on that now.
- You must also create a boot.txt or autoboot.txt. If you make a boot.txt, you must manually load it from the bootmenu, but autoboot.txt will boot this before the NAND image:
#nano /boot.txt OR #nano /autoboot.txt
Contents of boot.txt/autoboot.txt:
setenv bootargs root=/dev/mmcblk0p1 rw rootwait vram=6272K omapfb.vram=0:3000K mmc_core.removable=0 ext2load mmc 0:1 0x80300000 /boot/uImage bootm 0x80300000