From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Stornelli Date: Thu, 06 Sep 2007 09:43:48 +0000 Subject: [U-Boot-Users] booting kernel image from jffs2 partition Message-ID: <46DFCBD4.5060306@coritel.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefano babic wrote: >Fabio Ubaldi wrote: >> We'd like to format linux kernel and rootfs image partitions (and the >> others) with jffs2, because the two images may be replaced with newer >> ones while Linux is running. >It is not a problem to replace the linux image while it is running, >because Linux runs from RAM. You can always replace the Linux image. >> A first question is: >> Is it possible to boot (bootm command) the images stored in partitions >> formatted using jffs2? >U-boot can read JFFS2 partitions, but as I said, this should not be >necessary if your goal is only to replace the kernel images. And u-boot >does not need to understand the rootfs, too. >Regards, >stefano babic Hi all, I work with Fabio Ubaldi. The problem is this: the new linux kernel image is send to system from a remote site and the system has to update the image automatically. Our ideas was this: after the system had mounted the jffs2 linux kernel partition, it copy the new image in /mnt/kernel (jffs2 linux kernel partition) and after that the system is rebooted. To perform this U-Boot must be able to boot a linux kernel image from a jffs2 partition. I hope that the problem is now more clear. Thanks. Marco Stornelli