Gentoo Archives: gentoo-embedded

From: Jason Cooper <gentoo@××××××××××.net>
To: Rahul <rahul.thakur@×××××××××.nz>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] newbie: How to get started with PDA development
Date: Thu, 09 Sep 2004 00:23:24
Message-Id: 20040909002303.GE22627@lakedaemon.net
In Reply to: [gentoo-embedded] newbie: How to get started with PDA development by Rahul
1 Rahul (rahul.thakur@×××××××××.nz) scribbled:
2 > I am an absolute n00b with respect to Embedded development and I have been
3 > googl'ing for some days now to find some starters resources for getting
4 > started with embedded development but not happy with results.
5
6 Somewhat similar situation here. The first thing I had to realize is
7 that there was _no_ cookie-cutter method to embedded development. I've
8 seen it described as a "black art", and honestly, that's pretty on the
9 mark. Each target (pda, processor, board, whatever) needs to have a
10 toolchain, a c library, a kernel, a root environment, etc. All tuned to
11 that particular target.
12
13 I would suggest picking one target and doing a project for it first. There
14 are a lot of devices entering the market with high potential for being
15 targets. Hell, just on my desk I have a wrt54g wireless router(mips?), a
16 nslu2 network storage appliance (ARM XScale), a sharp zaurus (ARM XScale),
17 and an ipod (ARM no mmu). At work I have an embedded PowerPC board.
18 Way too many distractions. :)
19
20 And unfortunately, the powerpc board at work takes priority. There's no
21 challenge with it though as it already has a serial console (no need to
22 solder), and we got the TimeSys toolchain with it.
23
24 > I have a few queries:
25 > (1) How can I set up my gentoo installation for embedded development ? Does
26 > gentoo comes with embedded development tools ?
27
28 Simple answer: Yes, but not like emerging a package. Gentoo has crossdev,
29 which is a script for building cross-toolchains, but it takes a bit of work
30 to get success. google for 'crossdev', search bugs.gentoo.org, and the forums.
31
32 There are other scripts available out there in the wild. Hunt around
33 uclibc.org, especially if you want to use uclibc (small substitute for
34 glibc).
35
36 > (2) Where can I find literature to get started with embedded development on
37 > linux ? Where can I get tools and manuals ?
38
39 Busybox, uclibc, crossdev, and crosstool are a few good keywords.
40 O'Reilly (Publisher) has a book or two on embedded development. You may
41 want to sign up for the crossgcc mailinglist.
42
43 > (3) I am interested in developing for handhelds/PDAs using linux as an OS.
44 > Are there any emulators available that I can set up to develop for a
45 > particular target device ?
46
47 With the price of targets coming down, most folks just buy the
48 target. I haven't seen a mention of any emulators. However, keep in
49 mind, I'm about as new as you are.
50
51 Side note: I was spoiled with Gentoo being within a day or two of
52 current releases. The embedded world doesn't seem to move that fast.
53 Be prepared to try older versions of packages when building your
54 toolchains.
55
56 hth,
57
58 Cooper.
59
60 Sorry for the ramble... :)
61
62 --
63 gentoo-embedded@g.o mailing list