Skip to content

Latest commit

 

History

History
107 lines (63 loc) · 2.36 KB

pandora.rst

File metadata and controls

107 lines (63 loc) · 2.36 KB

OpenPandora

Emulator handbook

Firmware update

Firmware update (old way)

Start SSH server

/etc/init.d/dropbear start

Deactivate boot splash

  • Edit /boot/autoboot.txt and append psplash=false at the end of the setenv bootargs parameter
  • Or hit Alt + D-pad right to disable it temporarily

Turn wifi off

  • pandora-ctl stop wifi

Handling PND Files

  • Run in console with pnd_run
  • Mount PND File
  • /usr/pandora/scripts/pnd_run.sh -m -p <pnd_file>

Installing software

  • opkg install <ipk-file>
  • Or use Milky (pacman for pandora)

Setting up cross-compile environment

Cross compile some source

  • Go to the source tree and Execute
pandora-dev/sdk_utils/pandora_configure.sh --prefix=/data/muh/
make
make install
pandora-dev/sdk_utils/pnd_make.sh -p zsh.pnd -d /data/muh
  • pnd_make.sh must run as root
  • Maybe you have to add -I$PNDSDK/usr/include to CFLAGS in Makefile or pandora_configure.sh

Building PND file

pandora-dev/sdk_utils/pnd_make.sh -p some-new-app.pnd -d /dir-to-compress
  • Maybe you want to edit PXML.xml to specify exec script
<exec command="scripts/install.sh"/>
  • To rebuild a mounted pnd on pandora use
mksquashfs . /tmp/new.pnd ; cat PXML.xml icon.png >> /tmp/new.pnd

Setting up complete development environment