Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Choosing the correct stage3 archive on ARM
Date: Sat, 08 Nov 2014 15:20:03
Message-Id: loom.20141108T155506-404@post.gmane.org
In Reply to: [gentoo-user] Choosing the correct stage3 archive on ARM by meino.cramer@gmx.de
1 <meino.cramer <at> gmx.de> writes:
2
3
4 > Gentoo, I need a little help in choosing the correct stage3
5 > image/archive (currently the board is on the way to me...).
6
7 > The processor of the board is a AT91SAM9G25 (softloater, no FPU or
8 > similiar) and the available stage3 images/archives are (as of my
9 > knowledge):
10
11
12 Have you looked at the "boards section" of the gentoo embedded handbook.
13
14 It's a great place to find similar boards/processors where folks
15 have run embedded gentoo.
16
17 https://www.gentoo.org/proj/en/base/embedded/handbook/?part=4&chap=5#doc_chap2
18
19
20 Look in the beginning of each board for CPU similar to yours
21 to get some ideas.
22
23 > lrwxrwxrwx 1 1000 1000 8 Nov 08 00:30
24 current-stage3-armv4tl -> 20141026
25 > lrwxrwxrwx 1 1000 1000 8 Nov 08 00:30
26 current-stage3-armv5tel -> 20141025
27 > lrwxrwxrwx 1 1000 1000 8 Nov 08 00:30
28 current-stage3-armv6j -> 20141025
29 > lrwxrwxrwx 1 1000 1000 8 Nov 08 00:30
30 current-stage3-armv6j_hardfp -> 20141024
31 > lrwxrwxrwx 1 1000 1000 8 Nov 08 00:30
32 current-stage3-armv7a -> 20141024
33 > lrwxrwxrwx 1 1000 1000 8 Nov 08 00:30
34 current-stage3-armv7a_hardfp -> 20141023
35 >
36 > The *hardfp* images/archives are not the correct ones...but the
37 > armv<n> thingy makes me a little nervous: Up to now I didn't find a
38 > clue, of what version the AT91SAM9G25 is...
39
40 http://www.atmel.com/devices/sam9g25.aspx?tab=documents
41
42 Atmel is pretty much a great company. Google for the specific version
43 of the CPU you have and the term "Atmel" and you should get
44 lots of stuff. Do not limit your searches with the gentoo keyword.
45
46
47
48
49 > What stage3 I should use?
50
51 Something with softfloat, if the cpu does not actuall have a hardware
52 Floating Point unit.
53
54 Also, on your local gentoo system go to /usr/portage/dev-embedded
55 and poke around: dev-embedded/avarice for example might be
56 useful.
57
58 Also google for overlays. Atmel likely has extensive
59 information around the net. Even if you run "embedded gentoo"
60 on the hardware, other embedded (not necessarily embedded linux)
61 sites will contain a wealth of codes to compile on your board.
62
63 Also look at "cross-compiling" and emulators.
64
65 Last, "Linaro" is pretty much state of the art in most things arm.
66 They are focused on massively parallel 64 bit arm codes, but much
67 is being "back-ported" to the older (smaller) arm CPUs that is
68 very cool. Many Android sites will have codes for all sorts of
69 arm devices too. It's like looking for the "leprecaun" that
70 wants to be found......
71
72 Don't be reluctant to boot up a binary to get it up and running,
73 particularly a well defined, non-linux RTOS.
74
75 http://www.digikey.com/catalog/en/partgroup/at91sam9g25-evaluation-board/35531
76
77 You'll most likely find that other (smaller) companies have put
78 that specific Atmel-arm chip onto different dev boards with
79 a few differences, too.
80
81 http://www.aliexpress.com/item/Free-Shipping-1pc-MDK9G25-development-board-AT91SAM9G25-USB-2-0-high-speed-Ethernet-audio/1377330746.html
82
83
84 https://eewiki.net/display/linuxonarm/AT91SAM9x5
85
86
87 Good Hunting!
88
89 James