This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Booting rootfs over TFTP with RedBoot
- From: Jonas Gorski <jonas dot gorski+ecos at gmail dot com>
- To: Stephen Crocker <scrocker at ampltd dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 14 May 2010 13:48:15 +0200
- Subject: Re: [ECOS] Booting rootfs over TFTP with RedBoot
- References: <4BED360E.70906@ampltd.com>
Hello,
On 14 May 2010 13:37, Stephen Crocker <scrocker@ampltd.com> wrote:
> I am currently attempting to test a system using OpenWRT on a Gateworks
> Cambria board with an XScale CPU. ÂI have produced a new rootfs for
> experimentation purposes but I do not want to overwrite the rootfs that is
> currently in the flash.
> (...)
> Clearly the kernel and rootfs are intended to be loaded into RAM at the same
> location, but this is not possible if the rootfs is to be loaded over TFTP.
> ÂIs there any way to specify a different rootfs offset to the kernel?
Assuming you are using the buildroot from OpenWRT, you just need to
select Target Images -> ramdisk in menuconfig. That way the rootfs
will be included in the kernel image and automatically used instead of
the existing rootfs on flash.
Regards,
Jonas Gorski
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss