Getting Started help with i.MX28 EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting Started help with i.MX28 EVK

2,152 Views
FredHebert
Contributor I

New to embedded Linux and starting with i.MX28 EVK board, could use a few pointers.

What I have accomplished:
- Put the

pre-built images on my SD card.  yea!!! (not really)
- Compiled a simple app that blinks a LED and start it as a service during boot.  I did this by modifying files under the "
rootfs" directory and copying my new app there.  Then I used mk_mx28_sd to put it on the SD card. (may not be the correct way to do it but it worked)

What I can't figure out:
- noticed that the network was not coming up. Used
ifconfig to set the MAC address, was all 0's, then was able to bring up eth0 but no IP address.  Trying to resolve this with ltib, but this seems to only update the "rootfs_image" not the "rootfs" directory tree.  OK so how do I get this rootfs_image on the SD card?

If I could just get a nudge in the right direction...  Suggested reading, upcoming training?

Labels (1)
0 Kudos
Reply
6 Replies

1,276 Views
YS
Contributor IV

Hi Fred,

Sorry for late response -  I'm on biz trip and can't access to net so often...

I haven't tried on Ubuntu 11.10, however I remember I encountered similar weird missing library issue

on my old Debian 5 (Linux debian 2.6.26-2-686); I remember it was related some kind of font data.

My current IMX28 development VM is Ubuntu 9.04 (uname Linux ubuntu 2.6.28-11-generic #42-Ubuntu

SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux). I believe I downloaded VM image from

the Freescale support website.

0 Kudos
Reply

1,275 Views
FredHebert
Contributor I

OK I went through the files and found the installation instructions.  Seems pretty strait forward except for one thing.  In "

ltib_build_host_setup.pdf" it indicates that this only works on Ubuntu 9.04.  I tried installing it on my new Ubuntu 11.10 VM but when I try to run "./ltib -m config" it complains about some missing libraries...

Anyhow does everybody that used LTIB use
Ubuntu 9.04?  By the way I did not see 9.05 on the download site.

0 Kudos
Reply

1,276 Views
FredHebert
Contributor I

OK I'm dumb.  I downloaded EVERYTHING for the

iMX.28 from the freescale site.  I also created a new Ubuntu virtual machine using an ISO image from Ubuntu.  I wanted to start clean with the latest software an try to understand the process better.  (good/bad idea?)

I think these are the important files:
12/14/2011  02:16 PM            95,370 L2.6.31_10.08.01_SDK_IEEE1588_MX28.tar.
gz
12/14/2011  02:17 PM            14,574 L2.6.31_10.08.01_SDK_patches_MX28.tar.
gz
12/14/2011  02:16 PM            22,951 L2.6.31_10.08.01_SDK_scripts.tar.
gz
12/14/2011  02:18 PM       198,257,764 L2.6.35_10.12.01_SDK_images_MX28.tar.
gz
12/14/2011  02:30 PM       740,429,368 L2.6.35_10.12.01_SDK_source_bundle.tar.
gz

I was unable to find any installation instructions.

Any idea of where to look?

0 Kudos
Reply

1,276 Views
FredHebert
Contributor I

Thanks for the info about the all-zero MAC address.  That is exactly the problem I am encountering.

Let me see if I can get a newer SDK.  Right now I am using what was on the VMWare image that came with the board.

0 Kudos
Reply

1,276 Views
YS
Contributor IV

I remember that the original iMX28 Linux SDcard image came with EVK kit has MAC address all-zero problem.

(SDK 10.08, Linux freescale 2.6.31-816-g3866bec #2 Wed Aug 18 15:13:58 MDT 2010)

It was fixed by download and install new SDK version 10.12. My current Kernel uname says;

Linux freescale 2.6.35.3-571-gcca29a0 #1 PREEMPT Fri Aug 26 00:36:57 MDT 2011 armv5tejl GNU/Linux

Good luck.

0 Kudos
Reply

1,276 Views
iMxGuy
Contributor II

The network config can be set from within LTIB and then when the new rootfs image is made by LTIB you can create the new SD card by using the mk_mx28_sd. The networking should be started up automatically at boot. Make sure you have a fixed mk_mx28_sd script, because there is a bug in the one that was shipped with the SDK. You can find it on this site by searching. Also, make sure you have the kernel configured to support the networking correctly. I hope this was helpful to you.

0 Kudos
Reply