DoubleDash
Member
- Joined
- Jan 30, 2011
- Messages
- 122
Last week I managed to compile one of my apps directly on the pandora using Codeblocks which I use already on the PC in Ubuntu. Qudos to the person that compiled and packaged up Codeblocks That application has now moved from windoze, to Ubuntu, to Pandora (it's intended and final destination!). All I actually had to do was take out one link reference!
Let's be honest doing any development on the pandora is tough, screen estate-wise! So I wanted to develop in Codeblocks on my PC and compile directly to the pandora. This would give me:
- large screen area (well two!)
- very quick compiling using the PCs processor(s)
- no need for cross-compiling ("bollocks" )
- no need for newbie scary stuff like extends
- no need to worry about space issues/memory on pandora
- something that works if booting from nand or SD card
I am in no way suggesting that this is the only or best way to develop, it's just the way that I have stumbled upon and will use for the moment, perhaps indefinitely unless something better and easy enough for a newbie like myself comes along! A lot of the super smart devs are possibly using other methods but this works for me atm.
So here it is, how to mount your pandora's filing system securely to your PC:
Hopefully this will help more people to overcome early obstacles and get started doing some pandora development
More knowledgeable forum members please chip in to add/suggest/correct for the benefit of us newbies
PS
Thanks torpor for your guide on compiling directly on the pandora, this was what got me started!
torpor's guide to compiling on the pandora
I will try to edit this post if I think of anything else useful/relevant.
Let's be honest doing any development on the pandora is tough, screen estate-wise! So I wanted to develop in Codeblocks on my PC and compile directly to the pandora. This would give me:
- large screen area (well two!)
- very quick compiling using the PCs processor(s)
- no need for cross-compiling ("bollocks" )
- no need for newbie scary stuff like extends
- no need to worry about space issues/memory on pandora
- something that works if booting from nand or SD card
I am in no way suggesting that this is the only or best way to develop, it's just the way that I have stumbled upon and will use for the moment, perhaps indefinitely unless something better and easy enough for a newbie like myself comes along! A lot of the super smart devs are possibly using other methods but this works for me atm.
So here it is, how to mount your pandora's filing system securely to your PC:
Code:
1. [Ubuntu - add myself to FUSE user group ...not sure if this is necessary?]
System/Admin/User Groups/Manage Groups/fuse/properties/]
2. [Ubuntu - install SSHFS]
Ubuntu Software Centre...just type sshfs...should be enough to find the file system client..install
3. [Ensure that your pandora is willing to serve!]
- Settings/Startup/Enable services/Start Dropbear (SSH login) on bootup
- Turn on WIFI
4. [Create a directory on your PC for your mount point...mine in my home folder which I think avoids permission issues..unless you chmod]
mkdir ~/mnt
mkdir ~/mnt/pandoradisk
5. Create a secure mount point from your PC to your pandora!
sshfs chris@192.168.1.148:/media ~/mnt/pandoradisk
UNMOUNTING
If the mount point is stored in fstab (probably won't be if you just followed these instructions!) you can unmount as follows....
6. In ubuntu neebies like myself can unmount using the file browser's eject button:)
If not....
7.sudo umount ~/mnt/pandoradisk
I would think that steps 4-7 should apply to any *nix PC setup.
Hopefully this will help more people to overcome early obstacles and get started doing some pandora development
More knowledgeable forum members please chip in to add/suggest/correct for the benefit of us newbies
PS
Thanks torpor for your guide on compiling directly on the pandora, this was what got me started!
torpor's guide to compiling on the pandora
I will try to edit this post if I think of anything else useful/relevant.
Last edited by a moderator: