1 |
>From: "Xabier Yeregi (BIC BERRILAN)" <xyeregi@×××××××××××.com> |
2 |
>Reply-To: gentoo-embedded@l.g.o |
3 |
>To: gentoo-embedded@l.g.o |
4 |
>Subject: Re: [gentoo-embedded] x86 SBC Gentoo Embedded HotTo version 0.09 |
5 |
>Date: Tue, 11 Oct 2005 13:37:50 +0200 |
6 |
> |
7 |
>The command for installing the kernel modules didn't work correctly for me. |
8 |
>When I typed |
9 |
>ROOT=/embedded_rootfs make modules_install |
10 |
>the modules where installed in my development host's /lib/modules. |
11 |
> |
12 |
>I could instruct the Makefile to install the modules in embedded_rootfs |
13 |
>using: |
14 |
>make INSTALL_MOD_PATH=/embedded_rootfs modules_install |
15 |
> |
16 |
>-Xabier |
17 |
> |
18 |
> |
19 |
>> |
20 |
>> |
21 |
>>#---- Step 5 - Build and install a kernel to the embedded_rootfs |
22 |
>>------------- |
23 |
>> |
24 |
>># Install a kernel into embedded_rootfs. |
25 |
>># First we will emerge it into our development_rootfs, then configure and |
26 |
>># build it. |
27 |
>># ** Warning ** |
28 |
>># There appears to be a bug in kernel version >2.6.12 that prevents us |
29 |
>># from "make menuconfig" in the chroot environment. I don't know when it # |
30 |
>>will be fixed (I'll assume it has to do with uclibc, right ??). |
31 |
>># A simple work around would be to compile a kernel outside of the |
32 |
>># development_rootfs environment and copy the image over to the |
33 |
>>embedded_rootfs |
34 |
>># boot directory. I'm leaving the how-to as is for now, because I feel |
35 |
>>that |
36 |
>># this "bug" be eventually be fixed upstream. |
37 |
>>emerge vanilla-sources |
38 |
>>cd /usr/src/ |
39 |
>>cd linux |
40 |
>>make menuconfig |
41 |
>># Configure your kernel for your TARGET SBC here. I HIGHLY suggest you |
42 |
>># configure the kernel to compile everything into the kernel, and nothing |
43 |
>># as a module. |
44 |
>>make |
45 |
>>ROOT=/embedded_rootfs make modules_install |
46 |
>>cp /usr/src/linux/arch/i386/boot/bzImage |
47 |
>>/embedded_rootfs/boot/vmlinuz-2.6.x |
48 |
>> |
49 |
>># A few notes on compiling your kernel. |
50 |
>># If deploying to Compact Flash/DiskOnChip/SD use ext2, as the journaling |
51 |
>># filing systems "write" to much for a flash device. |
52 |
>># If deploying to a hard drive use a journaling filing system, such as |
53 |
>># ext3 or reiserfs. |
54 |
>> |
55 |
>> |
56 |
>> |
57 |
> |
58 |
>-- |
59 |
>gentoo-embedded@g.o mailing list |
60 |
> |
61 |
|
62 |
|
63 |
That's the right way to go Xabier Yeregi ;) |
64 |
|
65 |
For the maintainer of the howto: |
66 |
the contributors: Kammi Cazze == Pierre Cassimans. Kammi Cazze is my |
67 |
nickname ;) |
68 |
|
69 |
|
70 |
-- |
71 |
gentoo-embedded@g.o mailing list |