Skip to contentSkip to conversation

Newbie question: Angstrom on at91sam9g20

DISCUSSION Mateusz Nowaczyk 3 participants 6 messages Aug 29, 2012 – Aug 30, 2012

lore
Share & tools
lore
#0 lore raw

Hi,
I've been using Angstrom 2011.03 (oe-classic) on a modified at91sam9g20ek board. Unfortunately, it seems that it is no longer updated - it contains obsolete version of dropbear (0.52) ect. I tried switching to the new oe-core based version, but it lacks adequate bsp layer.
I also tried manually changing the opkg.conf and installing packages from http://www.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/armv5te/base/ but it only caused more problems (can't login at all). How can i get an up-to-date Angstrom for this architecture? Should I stick to the classic OE and manually update recipies, or rather create a bsp layer?

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 29-08-12 19:25, Mateusz Nowaczyk schreef:

Quoted 8 lines

Hi, I've been using Angstrom 2011.03 (oe-classic) on a modified at91sam9g20ek board. Unfortunately, it seems that it is no longer updated
- it contains obsolete version of dropbear (0.52) ect. I tried switching to the new oe-core based version, but it lacks adequate bsp layer. I also tried manually changing the opkg.conf and installing packages from
http://www.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/armv5te/base/

but it only caused more problems (can't login at all).

Quoted 3 lines

How can i get an up-to-date Angstrom for this architecture? Should I stick to the classic OE and manually update recipies, or rather create a bsp layer?

Create a bsp layer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQPx5TMkyGM64RGpERAm2rAJwNh1Pa3bVvObs/5xBbXCr143E0oQCeMMpT DhVtDFKZ3TJ4TuFBMtsiXQg=
=f150
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 12 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 29-08-12 19:25, Mateusz Nowaczyk schreef:

Quoted 8 lines

Hi, I've been using Angstrom 2011.03 (oe-classic) on a modified at91sam9g20ek board. Unfortunately, it seems that it is no longer updated
- it contains obsolete version of dropbear (0.52) ect. I tried switching to the new oe-core based version, but it lacks adequate bsp layer. I also tried manually changing the opkg.conf and installing packages from
http://www.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/armv5te/base/

Quoted 6 lines

but it only caused more problems (can't login at all).

Quoted 3 lines

How can i get an up-to-date Angstrom for this architecture? Should I stick to the classic OE and manually update recipies, or rather create a bsp layer?

Create a bsp layer

OK, I found the meta-atmel layer here:
https://github.com/rascalmicro/meta-atmel

I got the following error:

~/angstrom/setup-scripts$ MACHINE=at91sam9g20ek bitbake console-image

Pseudo is not present but is required, building this first before the main build
ERROR: ParseError at /home/mn/angstrom/setup-scripts/sources/meta-atmel/recipes-bsp/u-boot/u-boot.inc:62: unparsed line: 'INSANE_SKIP_${PN} = True': --:--:--
ERROR: Command execution failed: Exited with 1
Is there any way to fix it?

#3 lore raw
Quoted 7 lines · On Thursday 30 August 2012 16:22:55 Mateusz Nowaczyk wrote:

Pseudo is not present but is required, building this first before the main build
ERROR: ParseError at /home/mn/angstrom/setup-scripts/sources/meta-atmel/recipes-bsp/u-boot/u-boot .inc:62: unparsed line: 'INSANE_SKIP_${PN} = True': --:--:--
ERROR: Command execution failed: Exited with 1
Is there any way to fix it?

Whoever maintains the meta-atmel layer needs to fix it up to use quotes around that value - also True is probably no longer an appropriate value for INSANE_SKIP_.

It sounds like meta-atmel is somewhat out of date with respect to master since the quoting change went in a few months ago.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#4 lore raw
Quoted 9 lines · Paul Eggleton
Quoted 7 lines · On Thursday 30 August 2012 16:22:55 Mateusz Nowaczyk wrote:

Pseudo is not present but is required, building this first before the main build
ERROR: ParseError at /home/mn/angstrom/setup-scripts/sources/meta-atmel/recipes-bsp/u-boot/u-boot .inc:62: unparsed line: 'INSANE_SKIP_${PN} = True': --:--:--
ERROR: Command execution failed: Exited with 1
Is there any way to fix it?

Quoted 3 lines

Whoever maintains the meta-atmel layer needs to fix it up to use quotes around that value - also True is probably no longer an appropriate value for INSANE_SKIP_.

Thx, I added quotes and it started building!

#5 lore raw

Now I get the following error:

ERROR: Function failed: Fetcher failure for URL: 'file://defconfig'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/mn/angstrom/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/at91sam9g20ek-angstrom-linux-gnueabi/linux-3.0.1-r0/temp/log.do_fetch.30370 Log data follows:

| DEBUG: Trying PREMIRRORS
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['svn', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['git', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['hg', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['osc', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['p4', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: For url ['file', '', 'defconfig', '', '', {}] comparing ['svk', '.*', '/.*', '', '', {}] to ['http', 'sources.angstrom-distribution.org', '/', '', '', {}]
| DEBUG: Trying Upstream
| ERROR: Function failed: Fetcher failure for URL: 'file://defconfig'. Unable to fetch URL from any source.

NOTE: package linux-3.0.1-r0: task do_fetch: Failed
ERROR: Task 607 (/home/mn/angstrom/setup-scripts/sources/meta-handheld/recipes-kernel/linux/linux_3.0.1.bb, do_fetch) failed with exit code '1'

Any ideas? And why does it try to build the 3.0.1 kernel instead of 2.6.30?