17 Replies Latest reply on Sep 18, 2014 12:31 PM by radiatortwo

    To everyone visiting this site

    radiatortwo

      I figured that here are always the same questions asked.

      Since downloads are still down at this time and all the information is scattered all over the place, a lot of people here are having problems on getting the board to run with a Linux system.

       

      So I thought I´d write a series of Blog Posts on how to get everything together, for those who want to get the board running with Linux.

       

      I know it´s an Android development board. However most people here seem to want to use it with Linux.

      Also now there seems to be some focus on yocto.

       

      What I would write would be on how to get the mainline stuff running. (Mainline u-boot, kernel and Debian)
      Basically what selsinork already did and then was deleted, but with more recent and correct info. (Like the correct git repos for example.)

       

      That then would include the following points:

      1. Building the bootloader U-Boot

      2. Building the Kernel and Device Tree

      3. Creating an Debian Root File System

      4. Flashing everything on the board with MFGTool in Windows

      5. Flashing everything on a SDCard with Linux

       

      I have some time next week for this. But I wanted to ask first if that´s really needed.

       

      If so then you can also tell me to include stuff I forgot or anything you want to know.

       

      Hope I get some feedback on this. If so I will write and post everything during the next week.

        • Re: To everyone visiting this site
          John Beetem

          I don't have a RIoTboard so this is a general comment.  I'm not a Linux kernel programmer and I don't want to be.  I just want to take a GNU/Linux board like BeagleBoard/Bone, Raspberry Pi, or whatever and do user-space programming as easily as possible.[*]  So what I need is a stable, "blessed" OS release and instructions on how to blast it onto an SDcard in the fewest steps possible.

           

          My experience has been that RasPi has done the best job of doing this.  With BeagleBoard I downloaded an early Ångström "demo" and I'm still using it.  Similarly, for my BeagleBone I'm using the Ångström that came with it.  I could never figure out what I should upgrade to, since most of the announcements were for the latest "unblessed" release, so I had no idea what was stable.  I think Beagle may be better now that they've switched to Debian, but I haven't checked yet.

           

          So along with the rest of your plan, it might be of great benefit to many people to have an easy-to-install stable image so non-kernel people can just use GNU/Linux or program in user space.

           

          [*]  Just because I want to do user-space programming on GNU/Linux (and Windows) doesn't mean I don't like device level programming.  I love device-level programming, but I want to do it at the bare metal without a mainframe operating system getting in my way.

           

          JMO/YMMV

            • Re: To everyone visiting this site
              radiatortwo

              Thanks for the reply.

               

              That´s also the same as I think about this.

               

              There were problems from the start here providing the packages to just flash the system on the board.

              (False named files, unneeded and doubled files in the archives for example)

              I also would appreciate a simple image.

               

              What I don´t like here is the lack of information and how long it takes.

              Tusharp is the only one really active as it seems.

               

              Also I don´t like that there is being worked on different systems before actually one is working right.

              At least that´s my perception on this right now, since tusharp announced a yocto based image.

               

              But my intention with this is not providing an image everyone can just flash and that´s it.

              I don´t think that I should do that either way. The people from E14 have to do that since they know what is needed for the board.

              I could only create a generic image. Maybe that would already been enough for some people. But that wouldn´t be anything official.

               

              But I could show with that how everything would be working together.

              And maybe someone would be able to use his own favorite system with that, since everyone has his own favourite system. (Mine is debian obviously)

               

              So that´s the reason why I started this discussion here.

                • Re: To everyone visiting this site
                  DAB

                  I am in the same boat as John.

                  I just do not want to have to dig into Linux just to use the board.

                  I would prefer it come setup out of the box so that all I have to do is plug in the accessories.

                   

                  So I have been procrastinating waiting for someone to come up with a simple download for the board or the SD card.

                   

                  Until then, it remains on my to do list.

                   

                  DAB

              • Re: To everyone visiting this site
                omeier

                Hello,

                 

                I work on the RIoT with the ubuntu Image (image_SVN2591_001).

                It works for now, but it has a large footprint. I develop an embedded application that don't use the Desktop (and much more of the Ubuntu configuration).

                -> So I am VERY interested in an Debian or Yocto build that can be easyly customized.

                 

                I don't try the to build a Yocto myself since there is no BSP on the Yocto page that supports the I.MX6 or RIoT.

                 

                -> Is the sourcecode for the LVDS- and Touchscreen-Driver available?

                I need the LVDS and Touch support und I plan to change the Display-Type in future. So I think I must eventually modify the driver...

                 

                Regards,

                Oliver

                  • Re: To everyone visiting this site
                    FreescaleTools_and_Software

                    Hi Oliver

                    Are you sure that there is no i.MX6 support in the Yocto BSP tool ? The latest Freescale official release should be linux 3.10.

                    According to the information that I have, Yocto tool includes i.MX6 support and other i.MX6 board profiles like Wandboard.
                    Element14 is currently working to get the RiOT available in the board profiles which have already been precompiled (which means that user will not have to recompile all the kernel when they just change some options which is really time consuming).

                    • Re: To everyone visiting this site
                      tushar panda

                      I don't try the to build a Yocto myself since there is no BSP on the Yocto page that supports the I.MX6 or RIoT.

                        Freescale have yocto support for i.MX platform.

                        more details here and here.

                       

                        Freescale have came up with a book on yocto development.

                        They demonstrate yocto using  i.MX board in that book.

                        • Re: To everyone visiting this site
                          radiatortwo

                          Since the weekend is just over and today is Monday, I hope I get some more replies to this till tomorrow.

                           

                          But after the replies so far I think I will write the Blog posts.

                           

                          I will also try to provide a simple image. Don't know right now if I can use MFGTool in the package or not. Would there be some copyright problems with that?

                          But at least there will be a SDCard image.

                           

                          I think it'll help some people.

                          But you have to keep in mind that I can't provide guaranteed functionality for the accessories like the LVDS display in these images, since I don't have them and also don't intend to use them in the future.

                          So this won't be for everyone.

                        • Re: To everyone visiting this site
                          tushar panda

                          I work on the RIoT with the ubuntu Image (image_SVN2591_001).

                             There is Yocto release for RIotboard here.

                             we are working to get it stable and it comes with a 3.10.17 kernel.

                           

                           

                          It works for now, but it has a large footprint

                            Agrees , the ubuntu has a large footprint, but debian based rootfs has their own benefits .

                            ubuntu & debian  are  supported with lots of deb packages.

                           

                          but yocto gets a customised image for you and thats why we are moving towards yocto.

                        • Re: To everyone visiting this site
                          FreescaleTools_and_Software

                          Hi Otto

                           

                          First of all, thank you for your precious contribution on the community.

                          Thanks to generous users like you, sharing their experience about a solution, other community users can quickly educate themselves with a new product and maybe create some innovative applications.

                           

                          I fully agree with you, Android is nice for hobbyist and consumer applications and Linux is more recommended to create some serious applications.

                          Since Riotboard has been launched, many users complimented the quality of the hardware design but the software associated has been a little bit delayed (Android 4.3 and Linux 3.0 old BSPs).

                          So if you can easily teach users how generate a Linux BSP or share some basic Linux image for the RiOTboard with sources, I am sure that thanks to the individual contribution of each community user we should be able to get soon a complete RiOTboard image based on the latest linux version and including all the peripheral options.

                           

                          Thank you again for offering to start this community support

                            • Re: To everyone visiting this site
                              omeier

                              @ tushar_panda

                                Freescale have came up with a book on yocto development.

                                They demonstrate yocto using  i.MX board in that book.

                              Yes, you are right, I have seen this too.

                              But this referes to sabre board (or the wandboard). I dont know these boards in detail, especially the difference to the RIoT, but I belive that an sabre build dont work on the RIoT.

                              And I am not able (and willing) to create the necessary configuration on my own.

                               

                                Agrees , the ubuntu has a large footprint, but debian based rootfs has their own benefits .

                                ubuntu & debian  are  supported with lots of deb packages.

                              Yes, this is the reason I like the ubuntu build. gcc and most libs were installed, the rest was easyly installd with apt-get.

                              I use DirectFB to create the gui and it was easy to compile on the RIoT.

                               

                              but yocto gets a customised image for you and thats why we are moving towards yocto.

                              I agree. And If there will be an yocto BSP including LVDS and touch, I look forward to build it with my custom recieps!

                              I check out your link to the SVN2777. I tryed the SVN2652 bevore, but this seems not even have an gcc installed...

                            • Re: To everyone visiting this site
                              pfinucan

                              I totally agree with . I am a mechanical engineer trying to pick between development boards for some one off prototypes and very small run projects.  I really like the capabilities of the Riotboard, but I have a rasp pi, beaglebone, cubie board, hummingboard etc all sitting on my desk so if I can't get it to work I will have to move on.

                               

                              That being said, the help so far on this board has been great so thank you every one.  I got Riotboard up and running with Linux (with a lot of help) but having everything in one place would help a lot. 

                               

                              Now all I have to do is get that touch screen to work.