-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PandaBoard bring up guide #108
Comments
we are going to remove that step from install dependencies since the new makefiles compile the library themselves when you compile the first project or whenever there are changes to any dependency. might be good though to note in the setup guide that you can use make -j2 (or even 3 or 4) to get faster compiles |
@pizthewiz Project Generator is not working at the moment for the Pandaboard . i m working on it https://github.com/kalwalt/openFrameworks/tree/bugfix-kalwalt-projectGenerator and the issue #3 i have to update this basically because i don't understand why i can't get it to works. |
perhaps for e-linux we can do a simple script that just copies the makefile, config.make and src and bin foldersfrom the templates folder to the project location passed as an argument. since most development is going to be done from the console, at least the project creation, this could be easier and even more useful than the graphical project generator |
@arturoc i remember that this kind of script was already for previous OF version for 'standard' platform. Would be useful this script until we have or not PG. |
At the last IRC meeting Zach was talking about creating a command line PG. On Wed, Jan 9, 2013 at 8:03 AM, Walter Perdan [email protected]:
"I believe in science. Unlike mathematical theorems, scientific results I cannot prove that electrons exist, but I believe fervently in their -- Seth Lloyd: Quantum Mechanical Engineer, MIT /. |
great, thanks for the discussion guys it really helps to get an idea of how this is coming together. let me know if and how i can help and i'll be there, in the interim i'll update the PandaBoard Getting Started page with some of the comments here and wait until the new Makefile stuff lands to provide more specifics. |
after copying the template Makefile into the emptyExample via
and oddly |
currently g++ is fed |
yes this happens because it doesn't find the ./../../export/linuxarmv7l/libs. if you create that folder the issue disappear(at list worked for me) also this is an issue. |
is that something generic the Makefiles or build process should do, or something we just need to setup in the raspberrypi-develop branch? |
I hope that this is temporary! this not happens with linux64 or linux in general , but i think we are in a develop stage... |
@pizthewiz and @kalwalt just pushed these files into the develop-rapsberrypi branch. This is an odd issue, but that should prevent the issue for others until we figure out what to do about shared libs. |
hi @bakercp @arturoc @pizthewiz i have updated the wiki doc with our job (mine and of @Meach) , please check if they are English grammatical errors(will be..) or other and if we can improve it. |
The experienced Beagle/Panda developer in me squirms at the mention of |
so you does not recommend this? You have had bad experiences doing the upgrade @DamianNZ ? |
The reason why we put the 'apt-get dist-upgrade' is because it is recommended before installing the TI OMAP PPA (https://groups.google.com/forum/?fromgroups=#!topic/pandaboard/vKunvhMNV8k) |
The problem with TL;DR: yes. If the purpose of DO NOT try and write for flexibility, as flexibility=fuckup, especially for people who've a) never worked with an ARM board, b) never worked with a computer that doesn't have a hard disk and c) are not very familiar with Terminal. Make a single, as short as possible list of steps to make stuff work from zero (ie blank SDcard) that DOES NOT rely on the state of external dependencies ( For reference, here's my bring-up guide for my linux-pandaboard branch: https://github.com/damiannz/openFrameworks/blob/damian_linuxarm7_softfp/readme.arm.pandaboardubuntu That is the shortest set of steps I came up with that was 100% reliable, and I reached it by fucking up with all sorts of other versions. (At the time there were no hardfloat graphics drivers). |
actually dist-upgrade in ubuntu doesn't change the version, only upgrades all the packages to the latest version in the current OS version, the one you have configured in /etc/apt/sources if you change that and then do a dist-upgrade then it'll update to the next version but it's safe to do it if you don't change that config file |
@arturoc doesn't that also depend on your settings how dist-upgrade behaves? By default ubuntu does not automatically upgrade to a new distro but you can by enabling it in the update settings? |
hmm, I'm 99% certain I've run dist-ugrade and had my 11.10 replaced with 12.04 thereby breaking my pandaboard. |
Actually come to think of it, if you log in with a terminal and there's a new Ubuntu version available, the terminal says on login 'There's a new Ubuntu version available! Run sudo apt-get dist-upgrade to install it'. |
@DamianNZ i remove that line "dist-upgrade" if think it's not necessry at all. |
Though, now that I think of it, isn't the command to do a release upgrade the following: sudo do-release-upgrade |
for clarification look at this for dist upgrade: http://www.linuxquestions.org/questions/fedora-35/apt-get-question-dist-upgrade-vs-upgrade-219920/ and seems that you are right @underdoeg do-release-upgrade do the upgrade from one version to one higher: http://www.ubun2.com/question/1266/how_upgrade_ubuntu_1110_1204 |
@kalwalt cool, did you verify that it works? @arturoc / @kalwalt / @underdoeg right, seems I was confusing |
No worry @dammianz i want verify this . i will do a fresh install of everythingh in a new sdcard . For safety, I will not try with the sdcard that actually am using. Aniway i think that the wiki can shotened a bit and improved in clarity. I m sorry this is my first time that i collaborate for a wiki page! |
Hey, no problem, thanks for contributing! |
to help get our PandaBoard comrades up and running on the RPi branches, i started noting the steps i followed in the PandaBoard Getting Started to get everything up and running. it is far from complete and along the way i hit a few snags and inconsistencies with the RPi bring-up and thought it might be worth seeking some help from @arturoc and @kalwalt.
granted i guessed the build steps, i had a few questions:
scripts/linux/ubuntu/install_dependencies.sh
internally callscripts/linux/compileOF.sh
andscripts/linux/compilePG.sh
?install_dependencies.sh
to do this as well?LIBSPATH
was undefined withincompileOF.sh
is that expected?-j2
or would that just complicatecompileOF.sh
as it would need to know more about the target platform capabilities?compilePG.sh
failed to build with the make errormake: *** No rule to make target 'Debug'. Stop.
The text was updated successfully, but these errors were encountered: