Gentoo Archives: gentoo-embedded

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] x86 Howto
Date: Tue, 28 Jun 2005 09:37:02
Message-Id: 1119951364.16677.13.camel@neuromancer.home.net
In Reply to: [gentoo-embedded] x86 Howto by Pierre Cassimans
1 On Tue, 2005-06-28 at 09:05 +0000, Pierre Cassimans wrote:
2 > Hi,
3 >
4 > i tried out the x86 howto, and i have to say it is a great document. But i
5 > still have problems booting my device.
6 >
7 > The device boots, but once it have to init, it stays there right after
8 > Freeing unused memory. The device doesn't generate a kernel panic, and i can
9 > reboot it with ctrl-alt-delete, so i guess there was some king of init done.
10
11 So.. you mean you don't get a login prompt?? Funny. I can get a
12 login-prompt using that howto
13
14
15 > I tried putting init=linuxrc as kernel option in my grub conf but that gave
16 > me the same status.
17
18 kernel /boot/vmlinuz root=/dev/hda1 video=vesafb:ywrap,mtrr,800x600-16@60
19
20
21 > Any clues?
22 >
23 > In the howto is a little error. Here are the 2 fact that are not correct i
24 > think
25 >
26 > ROOT=/embedded_rootfs make modules_install
27 > cp /usr/src/linux/arch/i386/boot/bzImage
28 > /embedded_rootfs/boot/vmlinuz-2.6.x
29 >
30
31 For me, the above command didn't work. I had to do the module copies on
32 my own.
33
34
35 > Another tip i can give is for grub. If you want to make a cf bootable with
36 > grub and want to install grub on your cf from you develop station, you could
37 > do it this way:
38 > In grub shell:
39 >
40 > device (hd0) /dev/hdg /*where /dev/hdg is your cf card. This could be
41 > /dev/sdb */
42 > root (hd0,0)
43 > setup (hd0)
44
45 Yeah.. Grub was a little hard to get into the MBR. I had to re-emerge
46 grub a few times before I could Grub my HD. (i installed into vmware)
47 and that also using grub and noto grub-install.
48
49 > What also would be nice is to give some examples of booting the embedded
50 > device, like working from ram or with initrd, cramfs, squashfs, root pivots,
51 > using unionfs, overlays, etc. I know this is not easy, but it would help the
52 > noobs (like me) alot.
53
54 Currently I'm booting it from a simulated HD and yet to explore anything
55 further than that. I've still not worked on it since I last reported
56 success with it. Dropbear still has not worked due to no /dev/ptys
57 (IIRC)
58
59
60
61 --
62 Ow Mun Heng
63 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
64 98% Microsoft(tm) Free!!
65 Neuromancer 17:19:44 up 4:06, 5 users, load average: 0.70, 0.92, 0.72
66
67
68 --
69 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] x86 Howto Ned Ludd <solar@g.o>