Angstrom-distribution / setup-scripts

Helper scripts for setting an Angstrom development environment
http://www.angstrom-distribution.org/building-angstrom
MIT License
84 stars 108 forks source link

1.4 architecture erros #32

Closed FriedCircuits closed 10 years ago

FriedCircuits commented 10 years ago

Hi,

Now that I have switched to 1.4 I get architecture errors when I install a ipk on the BeagleBone. Didn't have these problems with the default master branch.

Also noticed the working ipk files are armv7a-vfp-neon and the non working ones are armv7ahf-vfp-neon.

Any ideas?

Thanks.

koenkooi commented 10 years ago

Are you installing random ipks from the internet or ipks from the preconfigures feeds?

FriedCircuits commented 10 years ago

I am cross compiling with bitbake after setting up the environment with the setup scrips. On Nov 5, 2013 8:12 AM, "Koen Kooi" notifications@github.com wrote:

Are you installing random ipks from the internet or ipks from the preconfigures feeds?

— Reply to this email directly or view it on GitHubhttps://github.com/Angstrom-distribution/setup-scripts/issues/32#issuecomment-27786274 .

koenkooi commented 10 years ago

And you're saying that the packages you build don't work with the image you built?

FriedCircuits commented 10 years ago

I have a Beaglebone Black with the stock image. I had setup Angstrom Build environment on a Ubuntu x86 VM. Till now, have been building recipes fine for ROS and installing them on the Beaglebone black. Up until I needed mjpeg-server which needed setup-scripts 1.4, which is now where I am at. When you first run opkg install mjpeg-server..... I get unknown package 'mjpeg-server' and then it attempts to install. I tired bitbaking known working recipes and the file name still has the armv7ahf, (Just tried installing another package recipe that worked before with the new setup-scsripts while writing this and I don't get the error so much be recipe or package problem)

I also noticed that the deploy folder used to have be deploy/tmp-arm... now its deploy/eglibc, was that changed in 1.4?

Thanks

On Tue, Nov 5, 2013 at 9:02 AM, Koen Kooi notifications@github.com wrote:

And you're saying that the packages you build don't work with the image you built?

— Reply to this email directly or view it on GitHubhttps://github.com/Angstrom-distribution/setup-scripts/issues/32#issuecomment-27791305 .

-William MobileWill http://www.mobilewill.us/ | Twitterhttp://www.twitter.com/mobilewill | FriedCircuits http://www.friedcircuits.us/

koenkooi commented 10 years ago

You can't mix packages between different releases

FriedCircuits commented 10 years ago

Here is the recipe https://github.com/FriedCircuits/meta-ros/tree/master/recipes-ros/mjpeg-server

and the package https://github.com/RobotWebTools/mjpeg_server

On Tue, Nov 5, 2013 at 9:17 AM, William Garrido william@friedcircuits.uswrote:

I have a Beaglebone Black with the stock image. I had setup Angstrom Build environment on a Ubuntu x86 VM. Till now, have been building recipes fine for ROS and installing them on the Beaglebone black. Up until I needed mjpeg-server which needed setup-scripts 1.4, which is now where I am at. When you first run opkg install mjpeg-server..... I get unknown package 'mjpeg-server' and then it attempts to install. I tired bitbaking known working recipes and the file name still has the armv7ahf, (Just tried installing another package recipe that worked before with the new setup-scsripts while writing this and I don't get the error so much be recipe or package problem)

I also noticed that the deploy folder used to have be deploy/tmp-arm... now its deploy/eglibc, was that changed in 1.4?

Thanks

On Tue, Nov 5, 2013 at 9:02 AM, Koen Kooi notifications@github.comwrote:

And you're saying that the packages you build don't work with the image you built?

— Reply to this email directly or view it on GitHubhttps://github.com/Angstrom-distribution/setup-scripts/issues/32#issuecomment-27791305 .

-William MobileWill http://www.mobilewill.us/ | Twitterhttp://www.twitter.com/mobilewill | FriedCircuits http://www.friedcircuits.us/

-William MobileWill http://www.mobilewill.us/ | Twitterhttp://www.twitter.com/mobilewill | FriedCircuits http://www.friedcircuits.us/

FriedCircuits commented 10 years ago

Then how come other recipes work fine?

So 1.4 is different than the one on the Beaglebone?

If I rebuild the system image does it still have bonescript and all the beaglebone stuff since its not the pre-built image?

On Tue, Nov 5, 2013 at 9:20 AM, Koen Kooi notifications@github.com wrote:

You can't mix packages between different releases

— Reply to this email directly or view it on GitHubhttps://github.com/Angstrom-distribution/setup-scripts/issues/32#issuecomment-27793072 .

-William MobileWill http://www.mobilewill.us/ | Twitterhttp://www.twitter.com/mobilewill | FriedCircuits http://www.friedcircuits.us/

FriedCircuits commented 10 years ago

I just checked and the release I am running is 2013.06 which is the same as setup-scripts 1.4

So it should work with the image I am running on the BeagleBone Black.

FriedCircuits commented 10 years ago

I am going to reflash the BBB with BBB-eMMC-flasher-v2013.06-2013.10.20.img.xz. I have some other issues anyway.

FriedCircuits commented 10 years ago

So here is what I found.

From: http://downloads.angstrom-distribution.org/demo/beaglebone/

BBB-eMMC-flasher-v2013.06-2013.10.20.img.xz - Seems it works if I had the dependencies install BBB-eMMC-flasher-2013.09.12.img.xz is back to architecture error

Anyway to get the boost package working for mjpeg-server to work with the latest image?

In the change log there doesn't seem to be much different between the two.

I do notice that in the 2013.06.10.20 image dropbear is missing and the bonescript website returns Cannot get / But in the lastest 09.12 everything works and dropbear is there, mjpeg-server failes/

What is the differences between the two images?