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

deleting bootcmd boot argument

Hello friends,

    Currently iam facing with a problem on OMAP 2430.

   The problem is as follows:

   - I have set the u-boot environment variable "bootcmd" with the booting
     address of Kernel from flash
       i.e. setenv bootcmd bootm 0x04060000.
   - I have also set one more u-boot environment variable "bootdelay" to 0
       i.e. set bootdelay 0

Due to these settings as soon as the board is switched ON, the linux kernel from flash address
   is getting booted automatically through U-boot.

   Now, iam not able to boot the linux kernel from TFTP server.
   Even iam not able to set the following TFTP boot arguments:
    i.e. setenv bootargs
         set server ip
    because the kernel from flash gets booted automatically.

   Now, i wanna delete the bootcmd environment variable. May i know how can
i delete it so that i can set these TFTP boot arguments??

Thanks in advance,

----- Original Message ----- From: "James Steward" <jamessteward@optusnet.com.au>
To: "Junior" <ejr@inbox.com>
Cc: <linux-arm@lists.arm.linux.org.uk>; <debian-embedded@lists.debian.org>
Sent: Thursday, July 13, 2006 7:40 AM
Subject: Re: flash updating

On Wed, 2006-07-12 at 13:02 -0800, Junior wrote:
I'm trying to implement a way to update file (remotely) that resides
on my file system which is currently up and running. It seems that the
best way to do this is to update the entire compressed filesystem in
flash through some user level app.
Since the bootloader does not exist as far as the kernel is concern
(once the kernel is decompressed), I figure their's only two other
alternatives: reboot and enter some update mode, or a user app.

My questions are, Do I need to give the app some special permission to
be able to write to flash? Or is this a good approach at all? Is their
an already existing method to do this sort of thing?

Any thoughts on the subject will be appreciated. I'm on an ARM9
platform with 2.6 kernel.

What is the root filesystem?  Isn't it the flash?  If not, what about
mounting the flash and using tradish methods for manipulating files?
Something like..
mount -tjffs2 /dev/mtdblock{0..X} /mnt

...Assuming there is a filesystem there on the partition you want to
access and it's a Linux filesystem...

You would probably need to be root.

Anyways, before you get shot down, it is frowned upon to post to two
different lists, and please wrap your lines of text at 70 chars.


List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

Reply to: