element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Ubuntu 14.04
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 23 replies
  • Subscribers 26 subscribers
  • Views 2700 views
  • Users 0 members are here
Related

Ubuntu 14.04

Former Member
Former Member over 11 years ago

How can I install an the actual Ubuntu 14.04 or at least how can i fix the reboot problem at ubuntu 12.04.

Has anybody a finished image available for download, in order to use with the riotboard.?

  • Sign in to reply
  • Cancel

Top Replies

  • radiatortwo
    radiatortwo over 11 years ago in reply to Former Member +1
    Just came home but selsinork did help already. I´m glad it´s working now.
Parents
  • radiatortwo
    radiatortwo over 11 years ago

    Only alternative right now is compiling the Kernel yourself.

    There is a branch of the original Kernel in which the reboot error is corrected.

     

    I described here how to compile the Kernel.

    Re: Linux : Where is UART's

     

    You then just have to replace the Kernel image file when flashing Ubuntu.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to radiatortwo

    Hallo Mr. Römer sadly copy and paste didn't work at all.

    I always receive following error

    linaro@linaro-ubuntu-desktop:~/linux-imx$ sudo make ARCH=arm CROS_COMPILE=arm-linux-gnueabihf- uImage

    make: arm-fsl-linux-gnueabi-gcc: Command not found

    scripts/kconfig/conf --silentoldconfig Kconfig

    make: arm-fsl-linux-gnueabi-gcc: Command not found

      CHK     include/linux/version.h

      CHK     include/generated/utsrelease.h

    make[1]: `include/generated/mach-types.h' is up to date.

      CC      kernel/bounds.s

    /bin/sh: 1: arm-fsl-linux-gnueabi-gcc: not found

    make[1]: *** [kernel/bounds.s] Error 127

    make: *** [prepare0] Error 2

    linaro@linaro-ubuntu-desktop:~/linux-imx$

     

     

    I tried to do i tby manual and replaced u-boot and linux to embest_imx_3.0.35_4.1.0. and also downloaded the compiler from toochain.

    Make u-boot worked fine, but creating kernel image delivered still the same error.

    I tried on ubuntu 11. now on 12.11 but still the same problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to Former Member

    I have a typo in the text it´s not "CROS_COMPILE=..." it´s "CROSS_COMPILE=...".

    Sorry for that.

    I´ll correct it in that post.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to radiatortwo

    Yes I've seen.

    But this didn't solve.

    May you could dd your RIoTboard, so I'd be able to place it on mine? or to replace the existing Linux and burn with the mergetool.

    I am gonna to use it in commercial way. Have already running 10 Pi's successfully with gsm and RS485 transmission since a year (a little workaround with GPIO, reboot..) and they still work.

    But want to get more stable, for example without sd card. But actually it's sad to provide an old version on the official website.,

    which can't once reboot or shutdown.

    So please hurry up:). RioTBoardTeam.

     

    P.S in the Usermanual is described make mx6solo_riot_config,

    but the boards name has been changed. I just not remember how. Pls.correct.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 11 years ago in reply to radiatortwo

    Yes I've seen.

    But this didn't solve.

    May you could dd your RIoTboard, so I'd be able to place it on mine? or to replace the existing Linux and burn with the mergetool.

    I am gonna to use it in commercial way. Have already running 10 Pi's successfully with gsm and RS485 transmission since a year (a little workaround with GPIO, reboot..) and they still work.

    But want to get more stable, for example without sd card. But actually it's sad to provide an old version on the official website.,

    which can't once reboot or shutdown.

    So please hurry up:). RioTBoardTeam.

     

    P.S in the Usermanual is described make mx6solo_riot_config,

    but the boards name has been changed. I just not remember how. Pls.correct.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • radiatortwo
    radiatortwo over 11 years ago in reply to Former Member

    If you can wait some more:
    Selsinork is going to post a description on how to compile the newest mainline kernel.

    What I described to compile is a rather old Kernel 3.0.35.

    He already posted the description of compiling and using the mainline u-boot yesterday.

     

    I will then also compile and test the new Kernel. I could also provide some space for an image on my server.

    I can´t provide an image myself. Just because it would take mo too damn long to upload it...

    I have a really slow connection.

    If someone wants to upload it I could give a ftp account for that.

     

    What I can do is to provide the Kernel Image file itself. I made no changes in the kernel code and I only tested it with a minimal debian rootfs so far.

    But it should work with an Ubuntu rootfs I think.

     

    I can upload it as soon as I´m back from work, because it´s on my notebook and I don´t have it with me right now. This will take a few hours from now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to radiatortwo

    Here is the Kernel Image in which the reboot should be fixed.
    Just replace your old image with this one.

     

    Like I said.

    Only tested with Debian rootfs.

    Attachments:
    uImage3.0.35_4.1.0.working.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to radiatortwo

    Hallo Herr Römlich,

    i replaced the file in the boot directory?

    uname -a shows

    Linux linaro-ubuntu-desktop 3.0.35-02871-ga35ffe3 #1 SMP PREEMPT Wed Oct 30 15:27:47 CST 2013 armv7l armv7l armv7l GNU/Linux

     

    is this now the updated version?

    Reboot still don't work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Former Member

    It appears that Ottos working version is Linux-3.0.35-03023-ga0660f4

     

    Unfortunately, the file in the boot directory is never used.

    Assuming you're using the MFG_Tool, you'd need to replace the uimage in the correct subdirectory and reflash completely. (I don't have a windows machine, so really can't help with MFG_Tool)

     

    The reason it doesn't use the file in the boot directory can be found in the embedded script in u-boot which does this:

     

    bootdelay=3
    baudrate=115200
    ipaddr=192.168.1.103
    serverip=192.168.1.101
    netmask=255.255.255.0
    loadaddr=0x10800000
    rd_loadaddr=(0x10800000 + 0x300000)
    netdev=eth0
    ethprime=FEC0
    uboot=u-boot.bin
    kernel=uImage
    nfsroot=/opt/eldk/arm
    bootargs=console=ttymxc1,115200 nosmp video=mxcfb0:dev=hdmi,1280x720M@60,bpp=32 video=mxcfb1:off
    bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
    bootcmd_net=run bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm
    bootargs_mmc=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait
    bootcmd_mmc=run bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2000; bootm
    bootcmd=run bootcmd_mmc

    the bit in bold is what loads the kernel and what it's doing is reading raw data directly from the mmc card starting at  1,048,576 bytes into the card, and a length of 4,194,304 bytes.

     

    Theoretically you could use dd to write the new uimage to the card in the correct location with something like:

    dd if=/boot/uImage of=/dev/mmcblk0 bs=1M seek=1

    However, I've never done that and can't guarantee it'll work, so you should be prepared to have to reflash using the MFG_Tool

     

    Note that there's an implicit problem with the u-boot setup that's being used - if you recompile a kernel and it ends up being bigger than 4MB then it won't be able to boot since u-boot will only partially load the kernel image.  I'm sure it's obvious why the way this is currently being done is a bad idea.  The worst part is that there's no need to do this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Former Member

    well done. dd worked fine.

    Now reboot works.

    why no need to this? "The worst part is that there's no need to do this."

    Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Former Member

    basically because u-boot can be setup in such a way that it will read the uImage from the file in /boot which eliminates an extra step and removes any confusion people have with the file being there.  From a technical point of view, reading the file from the filesystem also means the kernel can grow outside the current hard limit of 4MB without requiring any changes.

     

    There are several typical u-boot usage patterns that are not necessary today, probably they still happen due to historic reasons.  I think it's good to drop those things that are not needed, it removes confusion and means nobody has to answer the 'why am I doing this unnecessary step?' type of question image

     

    Anyway, glad the dd command worked!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to Former Member

    Just came home but selsinork did help already.
    I´m glad it´s working now.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • GregC
    GregC over 11 years ago in reply to Former Member

    Eugen

    As suggested by Otto, can you please share your stable Linux Ubuntu 12.04 image with the community ?

    I have limited Linux experience and a slow computer but I would like test it on my RiOT board image

    Thanks in advance
    Greg

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • radiatortwo
    radiatortwo over 11 years ago in reply to GregC

    You can use the official Linux download and just replace the kernel image in the files folder with mine.

    Then flash it normally with mfgtools.

     

    You then have the same image as Eugen.

    I don't think we need a whole system image for this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to radiatortwo

    I agree, however mfgtool is a difficulty for a lot of people. Especially with the file in the current download needing renamed before it will work!

     

    In a lot of ways, I think it could be preferable to have simple img files that can be written to SD card, or a BBB style 'flasher' SD card image. Most people can handle win32diskimager by now as it's a common thing to use for most boards. RIoT being different by using mfgtool just adds an obstacle that could easily be removed..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube