element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Blog Impressions on the RIoTboard and changing its Operating System in Windows
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
RIoTboard requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: cstanton
  • Date Created: 24 Feb 2014 11:28 AM Date Created
  • Views 2530 views
  • Likes 0 likes
  • Comments 6 comments
  • android
  • flashing
  • riotboard
  • flasher
  • riot
  • windows
  • flash
  • cortex-a9
  • iot
  • arm
Related
Recommended

Impressions on the RIoTboard and changing its Operating System in Windows

cstanton
cstanton
24 Feb 2014

RIoTboard First Impressions

image


A new board was thrown my way touted as the solution for the Internet of Things and a suitable development platform for Android as an alternative to emulation, this was of course the RIoTboard.


The box is clean in its design, surprisingly simplistic and also lacking any defined details as to what is inside it, but in a pleasing way. You can see the distinctive logo on the top of the box with its name on the side, though the image of the board itself is somewhat edited and stretched the logo is portraying the typical images of power and wireless connectivity.


On the underside of the box are the standard declarations of how not to dispose of the board, along with the stated website (which possibly led you here) RIoTboard.org - the case/capitalisation of the wording being important to the product identity.

 



The box isn't difficult to get into, at least not the one I had my hands onto. I'm told that this is the production model of the box which you can now buy (MCIMX6 SOLO - RIOTBOARD | Farnell UKMCIMX6 SOLO - RIOTBOARD | Farnell UK) for the sum of £46.55


Inside we have the board itself in a warming red colour and many, many connectors. Usually connectors are expensive to add onto a development board and it is quite nice that so many are available here. Of note the LVDS connector is not the standard ribbon connector that is usually seen on boards.


In the box we also have a USB Type A to USB Mini A cable and a copy of the Quick Start Guide. It may need to be noted for some people that the board cannot be powered from the USB port alone like some other development kits and it requires  an external power supply unit. There is no external power supply unit supplied with the board.

Fullscreen 3364.contentimage_35852.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>
Fullscreen 5482.contentimage_35853.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

 

In the Quickstart Guide (QSG) I received with the development board, there is an error in that the board requires a 5 volt 4 amp power supply. After some asking around within element14 I discovered that it actually requires 5 volt 1 amp and this has now been reflected in the updated Quickstart Guide (RIoTboard: Quick User Guide for RIoTboard).


The main purpose of the QSG is to quickly familiarise yourself with the input/output on the board and to point you towards the element14 community page to find your files and support.


At the core of the board it uses an ARM Cortex A9 processor, specifically an I.MX 6 Solo, 1Ghz (MCIMX6S5DVM10AB - FREESCALE SEMICONDUCTOR - MPU, I.MX6 SOLO, 1GHZ, 624MAPBGA | Farnell UKMCIMX6S5DVM10AB - FREESCALE SEMICONDUCTOR - MPU, I.MX6 SOLO, 1GHZ, 624MAPBGA | Farnell UK) and it is possible to see the specific capabilities of this processor in the datasheet for the processor (Freescale: Datasheet for i.MX 6Solo/6DualLite Applications Processors for Consumer Products).


Unfortunately although the User Manual states that the processor has PCIe connectivity, this does not appear to be broken out to a connector on the board. The input/output pin block appears to be solely I2c/UART connectivity.

 

 

Changing from Android to Ubuntu on Windows


The RIoTboard by default comes with Android Jellybean verison 4.3, there is also a version of Ubuntu available.


After reading the User Manual and acquiring the image files, I became a little confused as to the best steps to take to flash the RIoTboard. Do I copy files over? Why isn't the MFGTool2 program working? Why are the files all over the place? What's going on? So what I'm going to cover, is the steps I took to get this working. I managed it and the board is running the Ubuntu image.


To start with, it helps to take advantage of the UART serial debug port on the RIoTboard, else you're going to struggle to find out what the status of your flash is for certain and whether or not it's working. There's only so much you can garner from the HDMI port after all and this is a good practice to get into.


In sections 2.3.12 and 3.4 of the User Manual (RIoTboard: User Manual for RIoTboard Platform) it attempts to tell you how to connect to the port. The best way, is to use a serial cable such as this one: TTL-232R-RPI - FTDI - CABLE, DEBUG, TTL-232-USB, RPI | Farnell UKTTL-232R-RPI - FTDI - CABLE, DEBUG, TTL-232-USB, RPI | Farnell UK because all you need are the Rx (Receive), Tx (Transmit) and GND (ground) pins to communicate with over USB (there are a lot of these types of cables, Analog / Power / Sensor / Wireless / Lighting Development Kits | Farnell UK | Results but you do not need to connect up a 3.3v or 5v wire).


Once you have your cable connected and plugged into your USB port, you will have to open up device manager:


  • For Windows XP: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/snap_dev_mgr.mspx
  • For Windows Vista and and above: Opening Device Manager - Microsoft Windows Help

 

Then check what the COM port is (Listed under 'Ports' typically, or similar name. This is a somewhat legacy naming convention from when we had physical serial COMmunication ports that communicated with devices such as Modems).


Now what we need is software to receive the data. I recommend PuTTy because it's free and you don't need administrative rights to run or install it.


Portable: PuTTY Portable | PortableApps.com - Portable software for USB, portable and cloud drives   

Install:     PuTTY: a free telnet/ssh client

 

When you run PuTTy you'll have to setup the COM port (as discovered via device manager instructed above) and also the flow control, data rate, etc:

 

imageimage

The key settings to take away from here are the "Speed (baud)" and the "Flow control". If there's anything set incorrectly, when you click 'Open' on the "Session" tab you're going to get a garbled mess or unknown characters.


Hopefully what you should get is an output like the following, when you power on the board with it all connected and such:


U-Boot 2009.08-00694-g632a6e0-dirty (Dec 24 2013 - 17:03:32)

 

CPU: Freescale i.MX6 family TO1.1 at 792 MHz

Thermal sensor with ratio = 186

Temperature:  37 C, calibration data 0x59951c5f

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock    : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock    : 132000000Hz

axi clock  : 198000000Hz

emi_slow clock: 99000000Hz

ddr clock    : 396000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock    : 24000000Hz

Board: i.MX6DL/Solo-SABRESD: unknown-board Board: 0x61011 [POR ]

Boot Device: MMC

I2C:  ready

DRAM:  1 GB

MMC:  FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

*** Warning - bad CRC or MMC, using default environment

 

In:    serial

Out:  serial

Err:  serial

Net:  got MAC address from IIM: 00:00:00:00:00:00

 

This is just a snapshot of the text, if you really want to you can read an entire standard boot using Android here: RIoTboard Serial Dump with Android - Pastebin.com

 

Now with the RIoTboard turned off, we need to set the DIP switches, according to section 4.1 of the User Manual, we set it to "Serial Download Mode":

 

image

There's one final setup step and that's to connect the USB cable which came with the board.

 

Confusingly there are two Mini-A USB ports on the RIoTboard, one has a specific function in that it functions for OpenSDA.


The port we're interested in is sat between the MicroSD and Ethernet (RJ45) port on the board, which if you look at the RIoTboard image explaining the DIP switches, is in the top right of the board, next to where you connect the debug serial cable. Once these are connected you'll need to turn on your RIoTboard.


Grab the image!


If you haven't already done so, download the Linux image that we're going to write/flash to the RIoTboard (http://downloads.element14.com/linux/Linux.zip?ICID=knode-riotboard-quick&COM=RIoTboard ) and extract it (7Zip is a good, free tool for this).


Once extracted you will now have a folder called 'Linux'. You're interested in the tool located in:


  • Linux\tools\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER


You now need to rename the following file:


  • Linux\tools\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER\Profiles\MX6DL Linux Update\OS Firmware\ucl2.txt


To be called:

 

  • Linux\tools\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER\Profiles\MX6DL Linux Update\OS Firmware\ucl2.xml

 

This file contains the profile details for each board that MFGTools supports. The User Manual would have you believe that now you need to copy over files from:


  • Linux\image_SVN2487

into

  • Linux\tools\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER\Profiles\MX6DL Linux Update\OS Firmware


In my experience this didn't do much, in fact I would hazard a suggestion that it has already been done in the files. Feel free to do this step if you wish, it won't harm anything. However in the file:


  • Linux\tools\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER\cfg.ini


It helps to target the onboard flash that we're going to update. My cfg.ini looked like this:

[profiles]

chip = MX6DL Linux Update

 

[platform]

board = RIOT

 

[LIST]

name = i.MX6SOLO-ubuntu-RIOT-eMMC

 

So with your serial PuTTy session running and the USB connected to the correct port, run MFGTool2 and you should be presented with a message in one of the text boxes that a "HID-compliant device" is connected. If there are any problems it will show "No Device Connected" and you will have to make sure that the RIoTboard DIP switches are set properly, the USB cable/port on your computer works and it is setup properly in Device Manager.

 

If all's well, click Start! You should be able to see its progress in Windows and also on the board via PuTTy. While flashing the device I had a message on the PuTTy terminal saying I had to power cycle the board before it would continue. I unplugged and re-connected the board to the power and the flashing continued.

 

If anything goes wrong, just start again.


Note: Don't forget to set your DIP switches back after flashing, while the board is turned off so that it boots properly:



image

 

Hope this helps, if there are any errors or if you have observations/feedback, or if this worked for you or didn't work, let me know.

 

Thanks for reading.


image

  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 11 years ago in reply to Former Member +1
    I noticed you answered your own question in another thread Root password for linaro ubuntu? but just for anyone coming across this, all administrative activities in Ubuntu are done via "sudo", which "linaro…
  • Nitin_Bhaskar
    Nitin_Bhaskar over 10 years ago in reply to tjmerics

    The issue is with the kernel. I faced similar issue but got it resolved by changing the kernel.

     

    -Nitin

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

    Tutorial is very good. Ran into a problem when the rootfs is being installed. Looks like the system has run out of memory:

     

    UTP: received command 'pipe tar --numeric-owner -zx -C /mnt/mmcblk0p1'

    pid is 2950, UTP: executing "tar --numeric-owner -zx -C /mnt/mmcblk0p1"

    UTP: sending Success to kernel for command pipe tar --numeric-owner -zx -C /mnt/mmc           blk0p1.

    tar invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0, oom_score_adj=0

    [<8004748c>] (unwind_backtrace+0x0/0xf8) from [<800bdca0>] (dump_header.isra.7+0x6c           /0x184)

    [<800bdca0>] (dump_header.isra.7+0x6c/0x184) from [<800be474>] (out_of_memory+0x288           /0x350)

    [<800be474>] (out_of_memory+0x288/0x350) from [<800c12ec>] (__alloc_pages_nodemask+           0x61c/0x640)

    [<800c12ec>] (__alloc_pages_nodemask+0x61c/0x640) from [<800bb9cc>] (grab_cache_pag           e_write_begin+0x54/0xb8)

    [<800bb9cc>] (grab_cache_page_write_begin+0x54/0xb8) from [<8010bbf0>] (simple_writ           e_begin+0x20/0xb0)

    [<8010bbf0>] (simple_write_begin+0x20/0xb0) from [<800ba39c>] (pagecache_write_begi           n+0x34/0x3c)

    [<800ba39c>] (pagecache_write_begin+0x34/0x3c) from [<800f4e84>] (__page_symlink+0x           44/0xc8)

    [<800f4e84>] (__page_symlink+0x44/0xc8) from [<80199850>] (ramfs_symlink+0x4c/0xc0)

    [<80199850>] (ramfs_symlink+0x4c/0xc0) from [<800f6548>] (vfs_symlink+0x74/0xa0)

    [<800f6548>] (vfs_symlink+0x74/0xa0) from [<800f99b4>] (sys_symlinkat+0xd0/0xe4)

    [<800f99b4>] (sys_symlinkat+0xd0/0xe4) from [<80040f40>] (ret_fast_syscall+0x0/0x30           )

    Mem-info:

    DMA per-cpu:

    CPU    0: hi:   90, btch:  15 usd:  91

    Normal per-cpu:

    CPU    0: hi:  186, btch:  31 usd: 175

    active_anon:144 inactive_anon:6 isolated_anon:0

    active_file:3 inactive_file:1 isolated_file:0

    unevictable:242443 dirty:0 writeback:0 unstable:0

    free:1842 slab_reclaimable:10706 slab_unreclaimable:976

    mapped:198 shmem:8 pagetables:24 bounce:0

    DMA free:4032kB min:732kB low:912kB high:1096kB active_anon:0kB inactive_anon:0kB a           ctive_file:0kB inactive_file:4kB unevictable:167440kB isolated(anon):0kB isolated(f           ile):0kB present:186944kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB            slab_reclaimable:6440kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unst           able:0kB bounce:0kB writeback_tmp:0kB pages_scanned:16 all_unreclaimable? yes

    lowmem_reserve[]: 0 833 833 833

    Normal free:3336kB min:3340kB low:4172kB high:5008kB active_anon:576kB inactive_ano           n:24kB active_file:12kB inactive_file:0kB unevictable:802332kB isolated(anon):0kB i           solated(file):0kB present:853440kB mlocked:0kB dirty:0kB writeback:0kB mapped:792kB            shmem:32kB slab_reclaimable:36384kB slab_unreclaimable:3896kB kernel_stack:296kB p           agetables:96kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:55495 all_un           reclaimable? yes

    lowmem_reserve[]: 0 0 0 0

    DMA: 44*4kB 32*8kB 27*16kB 3*32kB 4*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB            0*4096kB 0*8192kB 0*16384kB = 4032kB

    Normal: 252*4kB 43*8kB 4*16kB 10*32kB 3*64kB 1*128kB 1*256kB 2*512kB 0*1024kB 0*204           8kB 0*4096kB 0*8192kB 0*16384kB = 3336kB

    242457 total pagecache pages

    0 pages in swap cache

    Swap cache stats: add 0, delete 0, find 0/0

    Free swap  = 0kB

    Total swap = 0kB

    262144 pages of RAM

    2163 free pages

    3794 reserved pages

    11605 slab pages

    583 pages shared

    0 pages swap cached

    [ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name

    [ 1969]     0  1969      439      147   0     -17         -1000 udevd

    [ 2927]     0  2927      448      142   0       0             0 uuc

    [ 2950]     0  2950      547       94   0       0             0 sh

    [ 2951]     0  2951      547       94   0       0             0 tar

    [ 2952]     0  2952      547       63   0       0             0 tar

    Out of memory: Kill process 2927 (uuc) score 1 or sacrifice child

    Killed process 2950 (sh) total-vm:2188kB, anon-rss:52kB, file-rss:324kB

    tar invoked oom-killer: gfp_mask=0x800d0, order=0, oom_adj=0, oom_score_adj=0

    [<8004748c>] (unwind_backtrace+0x0/0xf8) from [<800bdca0>] (dump_header.isra.7+0x6c           /0x184)

    [<800bdca0>] (dump_header.isra.7+0x6c/0x184) from [<800be474>] (out_of_memory+0x288           /0x350)

    [<800be474>] (out_of_memory+0x288/0x350) from [<800c12ec>] (__alloc_pages_nodemask+           0x61c/0x640)

    [<800c12ec>] (__alloc_pages_nodemask+0x61c/0x640) from [<800e87b4>] (new_slab+0x1cc           /0x1e8)

    [<800e87b4>] (new_slab+0x1cc/0x1e8) from [<8044b5c0>] (__slab_alloc.isra.57.constpr           op.61+0x248/0x410)

    [<8044b5c0>] (__slab_alloc.isra.57.constprop.61+0x248/0x410) from [<800e8bd0>] (kme           m_cache_alloc+0x104/0x110)

    [<800e8bd0>] (kmem_cache_alloc+0x104/0x110) from [<801024f0>] (alloc_inode+0x54/0x9           c)

    [<801024f0>] (alloc_inode+0x54/0x9c) from [<80102540>] (new_inode+0x8/0x3c)

    [<80102540>] (new_inode+0x8/0x3c) from [<801994a8>] (ramfs_get_inode+0x18/0x13c)

    [<801994a8>] (ramfs_get_inode+0x18/0x13c) from [<8019982c>] (ramfs_symlink+0x28/0xc           0)

    [<8019982c>] (ramfs_symlink+0x28/0xc0) from [<800f6548>] (vfs_symlink+0x74/0xa0)

    [<800f6548>] (vfs_symlink+0x74/0xa0) from [<800f99b4>] (sys_symlinkat+0xd0/0xe4)

    [<800f99b4>] (sys_symlinkat+0xd0/0xe4) from [<80040f40>] (ret_fast_syscall+0x0/0x30           )

    Mem-info:

    DMA per-cpu:

    CPU    0: hi:   90, btch:  15 usd:  22

    Normal per-cpu:

    CPU    0: hi:  186, btch:  31 usd:  48

    active_anon:135 inactive_anon:6 isolated_anon:0

    active_file:3 inactive_file:0 isolated_file:0

    unevictable:242657 dirty:0 writeback:0 unstable:0

    free:1820 slab_reclaimable:10743 slab_unreclaimable:976

    mapped:198 shmem:8 pagetables:24 bounce:0

    DMA free:4020kB min:732kB low:912kB high:1096kB active_anon:0kB inactive_anon:0kB a           ctive_file:0kB inactive_file:0kB unevictable:167720kB isolated(anon):0kB isolated(f           ile):0kB present:186944kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB            slab_reclaimable:6480kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unst           able:0kB bounce:0kB writeback_tmp:0kB pages_scanned:66 all_unreclaimable? yes

    lowmem_reserve[]: 0 833 833 833

    Normal free:3260kB min:3340kB low:4172kB high:5008kB active_anon:540kB inactive_ano           n:24kB active_file:12kB inactive_file:0kB unevictable:802908kB isolated(anon):0kB i           solated(file):0kB present:853440kB mlocked:0kB dirty:0kB writeback:0kB mapped:792kB            shmem:32kB slab_reclaimable:36492kB slab_unreclaimable:3896kB kernel_stack:296kB p           agetables:96kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:84 all_unrec           laimable? yes

    lowmem_reserve[]: 0 0 0 0

    DMA: 51*4kB 41*8kB 34*16kB 4*32kB 4*64kB 0*128kB 2*256kB 2*512kB 1*1024kB 0*2048kB            0*4096kB 0*8192kB 0*16384kB = 4020kB

    Normal: 235*4kB 46*8kB 8*16kB 11*32kB 11*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 0*20           48kB 0*4096kB 0*8192kB 0*16384kB = 3260kB

    242663 total pagecache pages

    0 pages in swap cache

    Swap cache stats: add 0, delete 0, find 0/0

    Free swap  = 0kB

    Total swap = 0kB

    262144 pages of RAM

    1942 free pages

    3794 reserved pages

    11633 slab pages

    479 pages shared

    0 pages swap cached

    [ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name

    [ 1969]     0  1969      439      147   0     -17         -1000 udevd

    [ 2927]     0  2927      448      142   0       0             0 uuc

    [ 2951]     0  2951      547       94   0       0             0 tar

    [ 2952]     0  2952      547       63   0       0             0 tar

    Out of memory: Kill process 2927 (uuc) score 1 or sacrifice child

    Killed process 2927 (uuc) total-vm:1792kB, anon-rss:132kB, file-rss:436kB

    KilledKernel panic - not syncing: Attempted to kill init!

     

    [<8004748c>] (unwind_backtrace+0x0/0xf8) from [<8044a0bc>] (panic+0x74/0x18c)

    [<8044a0bc>] (panic+0x74/0x18c) from [<80077fb4>] (do_exit+0x65c/0x6e8)

    [<80077fb4>] (do_exit+0x65c/0x6e8) from [<8007829c>] (do_group_exit+0x3c/0xbc)

    [<8007829c>] (do_group_exit+0x3c/0xbc) from [<8007832c>] (__wake_up_parent+0x0/0x18           )

     

    Could there be something wrong with the board or did I miss some configuration parameter ? Used the element-14 linux.zip. Any way to get a smaller ubuntu rootfs ?

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

    Thanks for this nice tutorial. Just followed the steps - unfortunately the image can't be written.

     

    On the serial terminal I find the following messages:

     

    DVFS driver module loaded

    snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)

    List of all partitions:

    b300         3751936 mmcblk0  driver: mmcblk

      b301            8192 mmcblk0p1 00000000-0000-0000-0000-000000000000

      b302            8192 mmcblk0p2 00000000-0000-0000-0000-000000000000

      b303               1 mmcblk0p3 00000000-0000-0000-0000-000000000000

      b304         2621440 mmcblk0p4 00000000-0000-0000-0000-000000000000

      b305          524287 mmcblk0p5 00000000-0000-0000-0000-000000000000

      b306          524287 mmcblk0p6 00000000-0000-0000-0000-000000000000

      b307            8191 mmcblk0p7 00000000-0000-0000-0000-000000000000

      103:00000       8191 mmcblk0p8 00000000-0000-0000-0000-000000000000

    b310            2048 mmcblk0boot1  (driver?)

    b308            2048 mmcblk0boot0  (driver?)

    No filesystem could mount root, tried:  ext3 ext2 ext4 cramfs vfat msdos

    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)

    [<80048834>] (unwind_backtrace+0x0/0xf8) from [<80514554>] (panic+0x74/0x18c)

    [<80514554>] (panic+0x74/0x18c) from [<80008d58>] (mount_block_root+0x1e0/0x224)

    [<80008d58>] (mount_block_root+0x1e0/0x224) from [<80008e84>] (mount_root+0xe8/0x108)

    [<80008e84>] (mount_root+0xe8/0x108) from [<80008fc4>] (prepare_namespace+0x120/0x178)

    [<80008fc4>] (prepare_namespace+0x120/0x178) from [<800089b0>] (kernel_init+0x108/0x13c)

    [<800089b0>] (kernel_init+0x108/0x13c) from [<80042aa4>] (kernel_thread_exit+0x0/0x8)

     

    This happens just after uploading and starting the Linux kernel with the help of the MfgTool. The error messages claim that the onboard eMMC can't be mounted and therefore the MfgTool can't continue to flash the Ubuntu image.

     

    What can be done in this situation?

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

    I noticed you answered your own question in another thread Root password for linaro ubuntu? but just for anyone coming across this, all administrative activities in Ubuntu are done via "sudo", which "linaro" is the password if it prompts for one.

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

    Hi Ken,

     

    By Linaro do you mean the Ubuntu Linux image?

     

    I don't know what/if the default password is set to. However you can reset it if you have the debug serial cable connected which brings you to a terminal console allowing you to run 'passwd root'. I haven't got my RIoTboard setup with Linux at the moment so I cannot directly test/confirm this but give it a go.

     

    Let me know if that's ok for you?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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