3 Replies Latest reply on Feb 28, 2016 6:24 PM by GerardVidal

    Creating Help Infrastructure for Learners

    Irakandjii

      The Yacto Linux distribution we have does not have man pages and other help capabilities for Linus. 

           - This makes sense for the embedded community, familiar with Linux.

           - This is difficult for another targeted user that has the device to learn.

       

      I tend to fall into the second category, and have an idea that I need help to implement.

       

      Make use of the SDcard slot on the Arduino board useable as a mass storage device with a dedicated partition for (not shared with the PC like the 800 mb we have)

      a)   /usr/share/man and

      b)   /usr/share/doc  

        or whatever is the correct standard

       

      Create an opkg installer package to load the appropriate data into these directories, ideally keep out bloat from unused things

       

      Setup the proper sym links to make man pages work as in in normal Linux.

       

      This way the regular distribution in not compromised by learners can get a solid help infrastructure,  ideally the man pages and/of help documents could be kept up to date using git, but I don't know if that is feasible.

       

      I would do this, but the specifics are out of my depth.  I am willing to learn, but not sure where to start.

       

      Regards, Irakandjii

       

      PS  I would like to mount multiple 4 gig partitions, but I have no idea how to even get started.

      for example:

      8 gig SDcard that becomes ... ???

      800 mB, shared device,

      3.2 gB partion1 = /usr/share/man, /usr/share/doc

      4.0 gB partion2  = /home/me

        • 1. Re: Creating Help Infrastructure for Learners
          GerardVidal

          Hi 

          • 2. Re: Creating Help Infrastructure for Learners
            Irakandjii

            Hi Gerald

             

            Thank you for the response, but I suspect most folks already have multiple environments connected to the Edison all of which have access to both Linux and Windows help (PDF's google etc).

             

            The proposed idea is to make the Edison a self contained tool suitable for learning.   I would think the need is even greater if you are to support multiple logins.

             

            Ideally users would power it on, wirelessly SSH into it (iPad, Surface Pro etc,) and then have all they need to compile simple c++ programs, learn the command line, simple system tasks like install a real time clock device etc.  In the case of more complex programs they would still use Eclipse or another IDE on a desktop.

             

            By way of example:

            Sorting out how to use ls "--color=tty" and the associated alias "alias ls='ls --color=tty' should be straight forward.

            • On the Edison, there is no man page for "ls" and the -h option is almost useless.  (try it )
            • So a student must use an alternate machine or text in order to find out how to set the 'ls" options.
            • Why not just implement the man page?  Which is normally an integral part of UNIX and its derivatives (Linux) anyway.

             

            The microSD card slot,  which was once required to load the system, now sits idle but is ideally suited for low use, large data like documentation.  Why not make use of it?

             

            I believe the SD card is actually a USB device, I just cannot figure out how to make it work as needed.  It does show up in the /media directory and I can "ls" the files in it, but they seem to be installation files.  Caution prevents me from playing with them.  I also cannot use all of the capacity on the card, mine is a 32 gB card (old one), it would be nice to make use of it.  I dunno what for ... but nice none the less.

             

            I suspect if I can sort out how to get access to the SD cards partitions,  I just need the man pager, the page data from an "appropriate distro", and some sym links.  And then the hard part, scrub and maintain the data to ensure it is accurate for the Edison.   ... but I am guessing.

            • 3. Re: Creating Help Infrastructure for Learners
              GerardVidal

              Hi