The easiest way to do this with OpenEmbedded would be to write an
IMAGE_CMD_ext2 that uses genext2fs to make the initrd.bin file from the
rootfs. You can use the existing IMAGE_CMD_jffs2 as a template to
follow.
p.
On Thu, 2004-07-15 at 11:19, Michael Opdenacker wrote:
> Hi Peter,
>
> I confirm what Koen said...
> Our current rootfs was built by a sequence of manual steps and day after
> day refinements. The best way to generate one from scratch is to use
> OpenEmbedded now.
>
> About the initrd file, it was created in a similar fashion. However, I
> don't know yet how this can be done with OpenEmbedded.
>
> Here a few words about how you could create it from scratch by hand:
>
> mkdir /mnt/initrd
> dd if=/dev/zero of=initrd.img bs=1k count=2048
> mkfs.ext2 -F initrd.img
> mount -o loop initrd.img /mnt/initrd
> <populate: busybox, modules, linuxrc script>
> umount /mnt/initrd
> cat initrd.img | gzip -9 > initrd
>
> :-)
>
> Michael.
>
> >I think OpenEmbedded is what you are looking for. Michael have the .conf file for the 2210 online somewhere.
> >
> >Regards,
> >
> >Koen
> >
> >-----Original Message-----
> > >From: "Peter Vicman"<peter.vicman@uni-mb.si>
> > >Sent: 15-7-04 10:43:12
> > >To: "h2200-port@handhelds.org"<h2200-port@handhelds.org>
> > >Subject: [H2200-port] Initrd and rootfs build process
> > >
> > >Hello all,
> > >
> > >I have Ipaq 2210 few monts now. Linux port for this device seems quite
> > >promising. I already managed to get it on with instructions on
> > >http://www.handhelds.org/z/wiki/HpIpaqH2200ssh. But I still don't know how
> > >can I make initrd and rootfs from source. I mean not just change already
> > >builded one, like this on http://opdenacker.org/pda/ipaq/starterkit/. Can
> > >someone give me some useful instructions for that? I am familiar with basic
> > >steps in building embedded systems.
> > >
> > >Best regards,
> > > Peter Vicman
> > >
> > >_______________________________________________
> > >H2200-port mailing list
> > >H2200-port@handhelds.org
> > >https://handhelds.org/mailman/listinfo/h2200-port
> > >
> >
> >_______________________________________________
> >H2200-port mailing list
> >H2200-port@handhelds.org
> >https://handhelds.org/mailman/listinfo/h2200-port
> >
> >
> >
> >
>
Received on Thu Jul 15 06:35:52 2004
This archive was generated by hypermail 2.1.8 : Thu Jul 15 2004 - 06:36:14 EDT