From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2450 invoked by alias); 18 Jul 2005 05:47:04 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 2403 invoked by uid 22791); 18 Jul 2005 05:46:57 -0000 Received: from serv0.rtunet.com (HELO serv0.rtunet.com) (67.107.78.234) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 18 Jul 2005 05:46:57 +0000 Received: from [192.168.1.71] ([203.57.166.22]) (authenticated bits=0) by serv0.rtunet.com (8.13.1/8.13.1) with ESMTP id j6I5kCjb005460 for ; Mon, 18 Jul 2005 00:46:54 -0500 From: Benny Chen To: ecos-discuss@sources.redhat.com Content-Type: text/plain Message-Id: <1121665613.31422.5930.camel@Vigor4> Mime-Version: 1.0 Date: Mon, 18 Jul 2005 05:47:00 -0000 Content-Transfer-Encoding: 7bit Subject: [ECOS] Redboot Image Download Design Question. X-SW-Source: 2005-07/txt/msg00161.txt.bz2 Hi there, I am trying to achieve the ability for our application to define what image and on which server Redboot is going to download the image from. 1). What I have in mind was a simple config file that specifies the load information that will be created by my application and store in the JFFS2 partition. Then I will add a custom command in Redboot say 'exec_cust_config' to -mount the jffs2, -exit if no config file else -read and parse this file -load the images from the specified location and server. -Delete the old ramdisk and zImage from flash -burn the new images into flash -remove the config file -umount the jffs2 partition. This 'exec_cust_config' command will be added to the boot script. E.g. >>exec_cust_config >>fis load ramdisk . . >>exec -r 0x800000 2). The other option is to have the ramdisk.gz and zImage download by the application and stored in another JFFS2 partition and have redboot mount that partition and download the image into ram and execute it. Does this way require a lot more runtime memory due to mounting the additional JFFS2 partition? I am not sure if which of the above possible solutions is the right way of doing what I am trying to do or even if they will work. Could anyone help? Regards, Benny -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss