1 |
Christopher Friedt wrote: |
2 |
|
3 |
>> I'm not sure what I missed? |
4 |
|
5 |
> http://perpetual-notion.blogspot.com/2008/02/maverick-crunch-eabi-support-for.html |
6 |
> |
7 |
> |
8 |
> mkdir -p /usr/local/portage/maverick_overlay && |
9 |
> SRV="http://vaiprime.visibleassets.com" \ |
10 |
> LOC="~cfriedt/overlays/maverick.tar.bz2" \ |
11 |
> wget -O - ${SRV}/${LOC} | \ |
12 |
> tar xpjf - -C /usr/local/portage/maverick_overlay && |
13 |
> PORTDIR_OVERLAY="/usr/local/portage/crossdev_overlay \ |
14 |
> /usr/local/portage/maverick_overlay" \ |
15 |
> ECONF_EXTRA="--disable-nls --enable-shared \ |
16 |
> --with-system-zlib --without-included-gettext \ |
17 |
> --enable-threads=posix --enable-clocale=gnu \ |
18 |
> --with-fpu=maverick --with-float-abi=softfp \ |
19 |
> --with-cpu=ep9312 --enable-languages=c,c++" \ |
20 |
> USE="-gcj -gtk -fortran -mudflap" \ |
21 |
> crossdev -S \ |
22 |
> --l 2.5-r4 --g 4.1.2 --b 2.17-r1 \ |
23 |
> armv4t-maverick-linux-gnueabi |
24 |
|
25 |
|
26 |
SUCCESS! |
27 |
|
28 |
|
29 |
* Host Portage ARCH: amd64 |
30 |
* Target Portage ARCH: arm |
31 |
* Target System: armv4t-maverick-linux-gnueabi |
32 |
* Stage: 4 (C/C++ compiler) |
33 |
|
34 |
* binutils: binutils-2.17-r1 |
35 |
* gcc: gcc-4.1.2 |
36 |
* headers: linux-headers-[stable] |
37 |
* libc: glibc-2.5-r4 |
38 |
|
39 |
* PORTDIR_OVERLAY: /usr/local/portage/maverick_overlay |
40 |
* PORT_LOGDIR: /var/log/elog/ |
41 |
* PKGDIR: |
42 |
/usr/portage/packages/cross/armv4t-maverick-linux-gnueabi |
43 |
* PORTAGE_TMPDIR: /var/tmp/cross/armv4t-maverick-linux-gnueabi |
44 |
-------------------------------------------------------------------- |
45 |
* Using sys-devel/binutils from /usr/local/portage/maverick_overlay |
46 |
instead of /usr/portage |
47 |
* Using sys-devel/gcc from /usr/local/portage/maverick_overlay |
48 |
instead of /usr/portage |
49 |
* Forcing the latest versions of {binutils,gcc}-config/gnuconfig ... |
50 |
[ ok ] |
51 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-binutils.log |
52 |
* Emerging cross-binutils ... |
53 |
[ ok ] |
54 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-gcc-stage1.log |
55 |
* Emerging cross-gcc-stage1 ... |
56 |
[ ok ] |
57 |
* Log: |
58 |
/var/log/elog//cross-armv4t-maverick-linux-gnueabi-linux-headers.log |
59 |
* Emerging cross-linux-headers ... |
60 |
[ ok ] |
61 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-glibc.log |
62 |
* Emerging cross-glibc ... |
63 |
[ ok ] |
64 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-gcc-stage2.log |
65 |
* Emerging cross-gcc-stage2 ... |
66 |
[ ok ] |
67 |
|
68 |
|
69 |
|
70 |
I then manually downloaded your bz file : maverick.tar.bz2 |
71 |
|
72 |
uppacked it with: tar xpjf ./maverick.tar.bz2 |
73 |
into this dir: /usr/local/portage/maverick_overlay |
74 |
|
75 |
and this used this command string: |
76 |
PORTDIR_OVERLAY="/usr/local/portage/crossdev_overlay |
77 |
/usr/local/portage/maverick_overlay" ECONF_EXTRA="--disable-nls |
78 |
--enable-shared --with-system-zlib --without-included-gettext |
79 |
--enable-threads=posix --enable-clocale=gnu --with-fpu=maverick |
80 |
--with-float-abi=softfp --with-cpu=ep9312 --enable-languages=c,c++" |
81 |
USE="-gcj -gtk -fortran -mudflap" crossdev -S --l 2.5-r4 --g 4.1.2 --b |
82 |
2.17-r1 armv4t-maverick-linux-gnueabi |
83 |
|
84 |
|
85 |
Now I'm going to build a kernel, locate it per the EMAC support |
86 |
suggestion and see if I can reboot off of the SD card. From EMAC : |
87 |
|
88 |
" The only thing I would add is that you can boot filesystems from the |
89 |
SD card. This will allow you to have your 2 bootable images. |
90 |
The kernel must be stored in the flash but this takes up much less |
91 |
room and you could easily store more than one. |
92 |
|
93 |
Example redboot command for booting from an SD card: |
94 |
|
95 |
load -v -r -b 0x80000 zImage-IPAC-9302-e1.2 |
96 |
exec -c "console=ttyAM0,57600 root=/dev/mmca1 rootfstype=ext3" |
97 |
|
98 |
This will load a kernel from flash into memory (SDRAM), and execute it |
99 |
with the boot args in quotes. The boot args here will tell it which |
100 |
tty port to use for console input/output, and specify the location of |
101 |
the root filesystem as being in the mmca device on partition 1 with |
102 |
and ext3 filesystem." |
103 |
|
104 |
|
105 |
Thanks for all of the help! |
106 |
|
107 |
James |
108 |
|
109 |
-- |
110 |
gentoo-embedded@l.g.o mailing list |