Skip to content
gmacario.github.io
Go back

Building a Yocto image for the UDOO Neo

Introduction

In a previous post I described how to run a prebuilt Yocto Project image on my UDOO Neo.

This post explains how to build the micro SD card image directly from sources.

References

Step-by-step instructions

Building the image from sources

Testing the image on the target


  [Complete logfile](/images/20151115-1206-core-image-minimal-udooneo-20151114142058.txt)

- When getting the `udooneo login:` prompt

Poky (Yocto Project Reference Distro) 1.7.1 udooneo /dev/ttymxc0

udooneo login:

login as `root` (the default image has no password)

### Some commands to inspect the target

#### df -h

root@udooneo:# df -h Filesystem Size Used Available Use% Mounted on /dev/root 6.7M 4.7M 1.6M 75% / devtmpfs 337.0M 0 337.0M 0% /dev tmpfs 497.1M 88.0K 497.0M 0% /run tmpfs 497.1M 56.0K 497.1M 0% /var/volatile root@udooneo:#


#### cat /proc/cpuinfo

root@udooneo:~# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 10 (v7l) Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 10

Hardware : Freescale i.MX6 SoloX (Device Tree) Revision : 0000 Serial : 0000000000000000 root@udooneo:~#


#### cat /proc/version

root@udooneo:# cat /proc/version Linux version 3.14.28_1.0.0_ga-udooboard+gb15f827 (root@148b793524e5) (gcc version 4.9.1 (GCC) ) #1 SMP PREEMPT Sat Nov 14 14:51:58 UTC 2015 root@udooneo:#


#### ifconfig -a

root@udooneo:~# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:C0:08:8C:14:E6 inet addr:192.168.64.107 Bcast:192.168.64.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:264 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30071 (29.3 KiB) TX bytes:684 (684.0 B)

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@udooneo:~#


**NOTE:** The (wired) Ethernet cable was connected to my home network, so I can test Internet connection:

root@udooneo:~# ping -c 5 www.cisco.com PING www.cisco.com (95.100.224.170): 56 data bytes 64 bytes from 95.100.224.170: seq=0 ttl=55 time=7.091 ms 64 bytes from 95.100.224.170: seq=1 ttl=55 time=103.499 ms 64 bytes from 95.100.224.170: seq=2 ttl=55 time=23.828 ms 64 bytes from 95.100.224.170: seq=3 ttl=55 time=7.683 ms 64 bytes from 95.100.224.170: seq=4 ttl=55 time=7.321 ms

--- www.cisco.com ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 7.091/29.884/103.499 ms root@udooneo:~#


<!-- markdown-link-check-enable -->
<!-- EOF -->

Share this post:

Previous Post
Installing OpenWrt on Kingston MLWG2
Next Post
Installing Terminator on Ubuntu 14.04