From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 25 Dec 2012 21:00:32 +0100 Subject: [U-Boot] [PATCH 1/1] omap4: use plain text env file instead boot scripts In-Reply-To: <1356444923-16737-1-git-send-email-javier.martinez@collabora.co.uk> References: <1356444923-16737-1-git-send-email-javier.martinez@collabora.co.uk> Message-ID: <20121225200032.91E7C200F85@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Javier Martinez Canillas, In message <1356444923-16737-1-git-send-email-javier.martinez@collabora.co.uk> you wrote: > Based on commit cf073e49bc3502be1b48a0e3faf0cde9edbb89db for beagleboard > > Using the new env import command it is possible to use plain text files instead > of script-images. Plain text files are much easier to handle. Are you sure you want to do this in a production environment? The ease of use may be helpful during development, but please note that there is no validation of the content passed to env import in any way - and feeding it crap you can even crash the system - not to mention from the problems that can result from corrupted environment settings. Script images are checksum protected, which appears to be a significant advantage to me - also, they carry information like name and timestamp, which in production environments are often very helpful to diagnose problems (like asking your customers: which exact version of the environment script are you loading?). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Every living thing wants to survive. -- Spock, "The Ultimate Computer", stardate 4731.3