Quantcast

OS issues with gumstix

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

OS issues with gumstix

srinath
Hi

Here are some basic doubts that i have. I installed the following profile on a sdcard

I succesfully boot from sdcard
Booting from mmc ...
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.5.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3462040 Bytes = 3.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
But apparently it's Ubuntu
dmesg | grep "Linux version"
[    0.000000] Linux version 3.5.0 (ubuntu@ip-10-252-89-38) 
1)So what's going on? I am happy with Ubuntu but why would someone label Ubuntu as Angstrom and put it up for download?

2) Everytime i need to create following directory
mkdir -p /var/cache/apt/archives/partial

The next boot it's gone.

3)I can't seem to install anything using apt-get.

root@overo:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package build-essential









------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OS issues with gumstix

Arne Lie

Hi!

 

I am having the same experience. Is it so that the Yocto project has abandoned Angstrom, and is now on Ubuntu?

 

I am also puzzled by that runlevel is returning "1", I would expect 3 or 5.

 

There is no /etc/inittab, so how do we customize?

 

There is nothing in /etc/init.d/

 

Best regards

 

Arne

 

 

 

From: Srinath M [mailto:[hidden email]]
Sent: 17. januar 2013 10:47
To: General mailing list for gumstix users.
Subject: [Gumstix-users] OS issues with gumstix

 

Hi

 

Here are some basic doubts that i have. I installed the following profile on a sdcard

 

I succesfully boot from sdcard

Booting from mmc ...

## Booting kernel from Legacy Image at 82000000 ...

   Image Name:   Linux-3.5.0

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3462040 Bytes = 3.3 MiB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

But apparently it's Ubuntu

dmesg | grep "Linux version"

[    0.000000] Linux version 3.5.0 (ubuntu@ip-10-252-89-38) 

1)So what's going on? I am happy with Ubuntu but why would someone label Ubuntu as Angstrom and put it up for download?

 

2) Everytime i need to create following directory

mkdir -p /var/cache/apt/archives/partial

 

The next boot it's gone.

 

3)I can't seem to install anything using apt-get.

 

root@overo:~# apt-get install build-essential

Reading package lists... Done

Building dependency tree... Done

E: Couldn't find package build-essential

 

 

 

 

 

 

 

 


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OS issues with gumstix

Ryan
srinath, I believe most of the yocto images are built with rpm or opkg instead of apt as a package manager because they are smaller. I don't know why creating that folder isn't persisting, but I don't think the image is using apt anyways.

Arne, most of the yocto images are built with systemd instead of the usual SysV init scripts. That's the reason the inittab and /etc/init.d/ scripts are gone. It's also the reason why the runlevel is reported as 1. Systemd doesn't have the same concept of runlevels. You can read up on the differences here: http://www.freedesktop.org/wiki/Software/systemd.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OS issues with gumstix

Ryan
I've also had some better luck using Steve Sakoman's prebuilt images. I think he has the package managers setup to use his feeds website as a repository as well.

http://feeds.sakoman.com/feeds/yocto/images/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OS issues with gumstix

srinath
In reply to this post by Ryan
Ryan

opkg doesn't work on this build.
I get a command not recognized error.
apt-get doesn't work for other reasons. But it seems to recognize the command at least


On Thu, Jan 17, 2013 at 7:39 PM, Ryan <[hidden email]> wrote:
srinath, I believe most of the yocto images are built with rpm or opkg
instead of apt as a package manager because they are smaller. I don't know
why creating that folder isn't persisting, but I don't think the image is
using apt anyways.

Arne, most of the yocto images are built with systemd instead of the usual
SysV init scripts. That's the reason the inittab and /etc/init.d/ scripts
are gone. It's also the reason why the runlevel is reported as 1. Systemd
doesn't have the same concept of runlevels. You can read up on the
differences here:  http://www.freedesktop.org/wiki/Software/systemd
<http://www.freedesktop.org/wiki/Software/systemd>  .



--
View this message in context: http://gumstix.8.n6.nabble.com/OS-issues-with-gumstix-tp4966488p4966495.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OS issues with gumstix

Scott Ellis
In reply to this post by srinath
> dmesg | grep "Linux version"
> [    0.000000] Linux version 3.5.0 (ubuntu@ip-10-252-89-38)
> 1)So what's going on? I am happy with Ubuntu but why would someone label Ubuntu as Angstrom and > put it up for download?

That just means your kernel was built on host "ip-10-252-89-38" under the user name "ubuntu"

For instance, booting one of my boards

Linux version 3.6.0 (scott@hex) (gcc version 4.6.4 20120303 (prerelease) (GCC) ) #1 SMP Thu Jan 17 07:06:57 EST 2013

"hex" is the machine name, "scott" is the user

You are likely running a version of Poky Linux if you downloaded from
the Gumstix site.

/var is probably mounted as a temp directory, that's why your changes go away
on reboot.


You should take Ryan's advice and go download an image with more features now
that you know your hardware works.

I'll let others make suggestions. I always build my own.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Booting to a give run level?

Fritz Sonnichsen
I have an out of the box Overo earthstorm and made some changes to the
rc3.d

The loaders is: U-Boot 2010.09 (Oct 20 2010 - 10:11:49)

The boot up now hangs. I want to boot to run level 2 or less but I don't
see how to do this from the uboot process (or anywhere else). (boot 1
did not work from the prompt) .

Couldn't find any documentation on this. Can any one help here?

Thanks
Fritz


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

custom board ( latest chestnut based ) ethernet issue and usb question / sakoman oe repo replacement ?

kris duff
Hello,

I'm testing a custom board for overo Fire.

My first issue is with the smsc lan9221. I based my design on the chestnut almost everything is the same as in the chestnut design.

The eeprom has not the mac address written yet.  When the gumstix starts, in dmesg I can see that linux complain about the fact the lan9221 did not answer in 100ms. But, in u-boot, it tells me that the chip is an LAN911x-0 ( but the chip is an lan9221 ) but at least u-boot detect a chip. How to debug this issue ?  I have read that the ethernet module would be more helpfull to explain the issue, so I have began to download the linux kernel but I don't understand how to natively recompile my kernel...

I did tried to download the linux kernel from git://www.sakoman.com/git/linux and checkout the branch 3.6 but no luck when I try to make oldconfig ...

Right now, I'm re-installing on a new computer the openembedded build system and trying to bitbake omap3-console-image I get complains about not able to download linux-omap-2.6.git from sakoman git repository. As steve sakoman said in a previous thread, he does not maintain anymore the oe repo since he switched to yocto ... where to get the files ? ( bitbake complain about :
resolving www.angstrom-distribution.org/unstable/sources/git_www.sakoman.com.git.linux-omap-2.6.git ...
fatal : remote error: access denied or repository not exported

Finally, I also have problems to connect an ftdi ft232hl to my board.  The ftdi is self powered to 3.3V. I uses a level converter ( Ti TXB0108RGYR (http://www.digikey.ca/product-detail/en/TXB0108RGYR/296-21528-1-ND/1305704) ) which is a bidirectional 100MBPS level converter,   to convert the DP et DM from 1.8 V to 3.3 V. The DP and DM are connected to the USBH_DP and USBH_DM on the gumstix. The VCCcore and VCCa pins output no voltage ! ( should be the 1.8V regulator output ).  When I analyse the chestnut, the voltage output to the usb is 5V and the usbh_dp and usbh_dm are connected directly to the connector. Does it mean that I don't need the level converter ?

finally, does somebody knows what is the name of the driver / daemon that light the blinking LED on the chesnut device ?

Thank you

I appreciate your hints :-)

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [update] custom board ( latest chestnut based ) ethernet issue and usb question / sakoman oe repo replacement ?

kris duff
Hello,

I have solved my ftdi usb problem. Had to remove the level translator, add a 3.3V to the usbh_vbus on the gumstix.  And the regin of the ft232hl needs to be 5V.

Now, I can see the device when starting lsusb

Still have no clue on other problems.

Thank you.


From: kris duff <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Friday, January 18, 2013 8:27:08 AM
Subject: [Gumstix-users] custom board ( latest chestnut based ) ethernet issue and usb question / sakoman oe repo replacement ?

Hello,

I'm testing a custom board for overo Fire.

My first issue is with the smsc lan9221. I based my design on the chestnut almost everything is the same as in the chestnut design.

The eeprom has not the mac address written yet.  When the gumstix starts, in dmesg I can see that linux complain about the fact the lan9221 did not answer in 100ms. But, in u-boot, it tells me that the chip is an LAN911x-0 ( but the chip is an lan9221 ) but at least u-boot detect a chip. How to debug this issue ?  I have read that the ethernet module would be more helpfull to explain the issue, so I have began to download the linux kernel but I don't understand how to natively recompile my kernel...

I did tried to download the linux kernel from git://www.sakoman.com/git/linux and checkout the branch 3.6 but no luck when I try to make oldconfig ...

Right now, I'm re-installing on a new computer the openembedded build system and trying to bitbake omap3-console-image I get complains about not able to download linux-omap-2.6.git from sakoman git repository. As steve sakoman said in a previous thread, he does not maintain anymore the oe repo since he switched to yocto ... where to get the files ? ( bitbake complain about :
resolving www.angstrom-distribution.org/unstable/sources/git_www.sakoman.com.git.linux-omap-2.6.git ...
fatal : remote error: access denied or repository not exported

Finally, I also have problems to connect an ftdi ft232hl to my board.  The ftdi is self powered to 3.3V. I uses a level converter ( Ti TXB0108RGYR (http://www.digikey.ca/product-detail/en/TXB0108RGYR/296-21528-1-ND/1305704) ) which is a bidirectional 100MBPS level converter,   to convert the DP et DM from 1.8 V to 3.3 V. The DP and DM are connected to the USBH_DP and USBH_DM on the gumstix. The VCCcore and VCCa pins output no voltage ! ( should be the 1.8V regulator output ).  When I analyse the chestnut, the voltage output to the usb is 5V and the usbh_dp and usbh_dm are connected directly to the connector. Does it mean that I don't need the level converter ?

finally, does somebody knows what is the name of the driver / daemon that light the blinking LED on the chesnut device ?

Thank you

I appreciate your hints :-)

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Loading...