1 |
Yuri Vasilevski wrote: |
2 |
|
3 |
> I intend to write two HOWTOs, first one on how to |
4 |
> configure and run softgun on Gentoo (I hope to post |
5 |
> this one in a day or so), and another one on how to |
6 |
> bootstrap and run Gentoo on softgun (this one will |
7 |
> take a little bit longer). |
8 |
|
9 |
That'd be great. |
10 |
|
11 |
>>I've tried using the image at sourceforge, but running 'emerge' always |
12 |
>>crashes it, I'm assuming it runs out of memory. |
13 |
> |
14 |
> |
15 |
> I think that this is probably because souftgun does not |
16 |
> implement any math coprocessor nor can give exceptions |
17 |
> about that to the kernel, so you can not run anything |
18 |
> that is not softfloat compiled (like Gentoo's stages) |
19 |
> |
20 |
> Yuri. |
21 |
|
22 |
I've used uclibc's buildroot to build a softfloat root, including |
23 |
portage and python, and am able to nfs mount it and chroot into it. |
24 |
|
25 |
Running emerge always gives me something like this: |
26 |
|
27 |
[root@hello /]# emerge portage |
28 |
oom-killer: gfp_mask=0x1d2 |
29 |
DMA per-cpu: |
30 |
cpu 0 hot: low 2, high 6, batch 1 |
31 |
cpu 0 cold: low 0, high 2, batch 1 |
32 |
Normal per-cpu: empty |
33 |
HighMem per-cpu: empty |
34 |
|
35 |
Free pages: 256kB (0kB HighMem) |
36 |
Active:1786 inactive:864 dirty:0 writeback:0 unstable:0 free:64 slab:504 |
37 |
mapped:1370 pagetables:23 |
38 |
DMA free:256kB min:128kB low:256kB high:384kB active:7144kB |
39 |
inactive:3456kB present:16384kB |
40 |
protections[]: 64 64 64 |
41 |
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB |
42 |
protections[]: 0 0 0 |
43 |
HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB |
44 |
present:0kB |
45 |
protections[]: 0 0 0 |
46 |
DMA: 0*4kB 0*8kB 2*16kB 1*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB |
47 |
0*2048kB 0*4096kB = 256kB |
48 |
Normal: empty |
49 |
HighMem: empty |
50 |
Swap cache: add 0, delete 0, find 0/0, race 0+0 |
51 |
Out of Memory: Killed process 51 (emerge). |
52 |
Terminated |
53 |
|
54 |
Anyway, I look forward to reading your HOWTOs. |
55 |
|
56 |
Cheers, |
57 |
Tim |
58 |
-- |
59 |
gentoo-embedded@g.o mailing list |