[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel in JFFS. Possible?




Le 2001.03.06 10:30:29 +0100, Jonas Aaberg a écrit :
> 
> Hi!
> 
> Do you think it would be possible to have the linux kernel as a
> file in a JFFS partition and load it with a "lilo"-look-alike loader?
> Is JFFS partitions defragmented? 
> 
> Example of use: when you want to upgrade the kernel, you remove the old 
> kernel file and download the new one and save it as a file and then run
> something like lilo which tells the boot loader where the kernel image
> starts.
> Then you would save some space(no padding lost) and it would be easier
> to
> upgrade the system.

I did something like this. You just have to copy the (gzipped) kernel file
to the filesystem, the loader find it by its name and (unzip and) copy it
in mem before setting cmdline and running it. It was really easy because
JFFS was simple to parse on disk. I don't think it has much changed now.

Xav

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com