From: Florian Fainelli Date: Wed, 30 May 2007 19:02:49 +0200 Subject: [U-Boot-Users] U-boot runtime detection Message-ID: <200705301902.50186.florian.fainelli@telecomint.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all, I am currently working on the adm5120 target under Linux and this board is available with at least 4 bootloaders, including U-boot. We manage getting runtime bootloader detection working using the fw_arg0-3 values for CFE, RouterBoot, Bootbase. Now I would like to do so for U-boot and I could not find any informations if U-boot fills the fw_arg0-3 with some specific values that could let us identify it at runtime. Can you indicate me if such identification is possible ? If not, would another method (like reading the first flash block) work ? Thank you very much in advance for your answer. -- Cordialement, Florian Fainelli ---------------------------------------------