linux-mips
[Top] [All Lists]

Re: Advice needed.

To: linux-mips@linux-mips.org
Subject: Re: Advice needed.
From: "Sergio Aguayo" <sergio@amilda.org>
Date: Fri, 2 Feb 2007 08:43:46 -0500 (PET)
Importance: Normal
In-reply-to: <45C1FE3D.8080304@wp.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <45C0C956.2050009@wp.pl> <20916.201.240.249.124.1170279547.squirrel@www.amilda.org> <200701312302.05473.florian.fainelli@int-evry.fr> <45C11812.9050808@wp.pl> <10879.201.240.249.124.1170335347.squirrel@www.amilda.org> <45C1FE3D.8080304@wp.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: SquirrelMail/1.4.6-rc1
> Thanks, i'll look at this (just finished downloading source). But my
> question was NOT concerning GENERATING image (that part
> of toolchain works, so let it be), but FLasing it. Normally done by webs
> app. And as i see in Amilda, it uses the same scheme -> webs-buried C
> function. And I would have an alternative, because of: first -> have no
> source for webs-buried functions supplied by Edimax, so I have only
> choice of using built binary no chance to simply add some functionality,
> second -> webs is quite heavyweight, approx 450kb -> it is a lot on
> system with 2M Flash expanded to 5M Ramdisk.
>

The flash memory is represented under Linux as a block device driven by
the mtd driver. Therefore it behaves as a normal block device that can be
read or written to. Basically, webs does a write to that block device.
Earlier versions of the source code released by Edimax included the webs
functions. I think the source download is getting more and more useless on
every revision.

Remember that the whole ramdisk (which has data of less than 3MB) is BZIP2
compressed, and it is concatenated with the kernel and then compressed in
GZIP. That makes 450KB not-so-big in 2MB.


> BTW maybe someone reading this knows what Edimax devices have 4M flash?
>

check this: http://www.linux-mips.org/wiki/Adm5120

Sergio



<Prev in Thread] Current Thread [Next in Thread>