Skip to content

PandaBoard bring up guide #108

Open
Open

Description

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:

Activity

  1. arturoc commented on Jan 9, 2013

    @arturoc

    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

  2. kalwalt commented on Jan 9, 2013

    @kalwalt

    @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.
    Also me and @Meach are working on setup guide for the sd-card so i think we can collaborate.

  3. arturoc commented on Jan 9, 2013

    @arturoc

    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

  4. kalwalt commented on Jan 9, 2013

    @kalwalt

    @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.

  5. danzeeeman commented on Jan 9, 2013

    @danzeeeman

    At the last IRC meeting Zach was talking about creating a command line PG.
    Maybe we can start that? But the project generation is rather simple for
    this platform basically just copying files into a new directory.

    On Wed, Jan 9, 2013 at 8:03 AM, Walter Perdan notifications@github.comwrote:

    @arturoc https://github.com/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.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/108#issuecomment-12043392.

    "I believe in science. Unlike mathematical theorems, scientific results
    can't be proved. They can only be tested again and again, until only a fool
    would not believe them.

    I cannot prove that electrons exist, but I believe fervently in their
    existence. And if you don't believe in them, I have a high voltage cattle
    prod I'm willing to apply as an argument on their behalf. Electrons speak
    for themselves."

    -- Seth Lloyd: Quantum Mechanical Engineer, MIT

    /.

  6. kalwalt commented on Jan 9, 2013

    @kalwalt

    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.

  7. kalwalt commented on Jan 9, 2013

    @kalwalt

    I hope that this is temporary! this not happens with linux64 or linux in general , but i think we are in a develop stage...

  8. bakercp commented on Jan 9, 2013

    @bakercp
    Member

    @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.

  9. kalwalt commented on Apr 2, 2013

    @kalwalt

    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.

  10. damian0815 commented on Apr 3, 2013

    @damian0815

    The experienced Beagle/Panda developer in me squirms at the mention of apt-get dist-upgrade in https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/PandaBoard-Getting-Started. In my experience certain things like sound and 3d acceleration are extremely release-specific, which makes apt-get dist-upgrade a bad idea. It will make the guide likely out of date very soon.

  11. kalwalt commented on Apr 3, 2013

    @kalwalt

    so you does not recommend this? You have had bad experiences doing the upgrade @DamianNZ ?

  12. Meach commented on Apr 4, 2013

    @Meach

    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)
    But if you think it would bring some trouble soon, we can omit this step and instead add a comment for the user to be sure that he is using Ubuntu 12.04 version?

  13. damian0815 commented on Apr 5, 2013

    @damian0815

    The problem with dist-upgrade is that once Ubuntu 12.10 or 13.04 comes out, dist-upgrade will upgrade the whole system to the latest version, which will possibly break everything else in the guide. I think the issue is that given the lack of documentation elsewhere, time-specific forum posts (like the one you link to) that are supposed to have a short lifetime, become tutorials or bring-up guides that stick around for years, meaning some poor bastard in the future goes and downloads Ubuntu 12.04 because the guide told them it worked against that, runs apt-get dist-upgrade and suddenly finds themselves using Ubuntu 14.04, with everything broken.

    TL;DR: yes. If the purpose of dist-upgrade in that post is to make sure the user has 12.04, then tell them at the start of the guide to install a fresh copy of 12.04, and omit the dist-upgrade step. (You should verify that that works, though). This will ensure that this guide will work at least until you can no longer download 12.04.

    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 (dist-upgrade is such an external dependency). I would suggest that the guide is overly long, and could be shortened -- the discussion at the top about versions is confusing at best, it should just say YOU MUST USE UBUNTU 12.04 OR ELSE, without going into detail why.

    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).

  14. arturoc commented on Apr 5, 2013

    @arturoc

    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

  15. underdoeg commented on Apr 5, 2013

    @underdoeg

    @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?

  16. damian0815 commented on Apr 5, 2013

    @damian0815

    hmm, I'm 99% certain I've run dist-ugrade and had my 11.10 replaced with 12.04 thereby breaking my pandaboard.

  17. damian0815 commented on Apr 5, 2013

    @damian0815

    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'.

  18. kalwalt commented on Apr 5, 2013

    @kalwalt

    @DamianNZ i remove that line "dist-upgrade" if think it's not necessry at all.

  19. underdoeg commented on Apr 5, 2013

    @underdoeg

    Though, now that I think of it, isn't the command to do a release upgrade the following: sudo do-release-upgrade

  20. kalwalt commented on Apr 5, 2013

    @kalwalt

    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

  21. damian0815 commented on Apr 5, 2013

    @damian0815

    @kalwalt cool, did you verify that it works?

    @arturoc / @kalwalt / @underdoeg right, seems I was confusing do-release-upgrade with dist-upgrade, sorry, my bad.

  22. kalwalt commented on Apr 5, 2013

    @kalwalt

    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!

  23. damian0815 commented on Apr 5, 2013

    @damian0815

    Hey, no problem, thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions