HI Phil,

Thanks, I have followed and got it works.

Thanks again.
Ramesh

On Mon, Sep 29, 2008 at 6:07 PM, Phil Quiney <[EMAIL PROTECTED]
> wrote:

>  Hi,
>
> Normally you want the board to boot up so would do a 'saveenv' after
> setting the bootcmd so it is there on next reboot.
>
> The user is allowed to press a key to interrupt the boot - the timeout is 3
> seconds by default (bootdelay variable).
>
> For your DHCP requests - if you have an NFS root filesystem you MUST
> configure eth0. This is easily achieved with a DHCP server to allocate the
> addresses - however if you do not want to use DHCP then you need to set the
> address manually AND turn off the kernel autoconfigure.
>
>
> ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
> e.g.
> ip=172.18.1.222:172.18.1.49:172.18.0.254:255.255.0.0:::off
>
> Regards
>
> Phil Q
>
> Phil Quiney, Senior Software Engineer
> Trinity Convergence
> Cambridge Business Park
> Cowley Road
> Cambridge CB4 0WZ, UK
> T: +44(0)1223-435536
> F: +44(0)1223-435560
> www.trinityconvergence.com
>
>
>  ------------------------------
>  *From:* Ramesh [mailto:[EMAIL PROTECTED]
> *Sent:* 29 September 2008 10:41
> *To:* Phil Quiney
>
> *Cc:* [email protected]
> *Subject:* Re: EVM 6467 board doesnot bootup
>
>   Hi Phil,
>
> Thanks, Yes, after  'nboot 80700000 0 a0000 ; bootm' its getting boot up.
> Still there is an problem   'Sending DHCP requests ......,  But  I willl
> solve it.
>
> btw, am i need to enter
>
> setenv bootcmd 'nboot 80700000 0 a0000;bootm' to bootup.
>
> is there anyother way make like , if I write  boot ( press enter)  to
> bootup.
> Because , Once I enter the setenv bootcmd 'nboot 80700000 0 a0000;bootm' ,
> Its starting to bootup.
>
> Thanks
> Ramesh.
>
>
> On 9/29/08, Phil Quiney <[EMAIL PROTECTED]> wrote:
>>
>>  Hi,
>>
>> You did not tell the kernel to boot.
>>
>> All your boot command is doing is copying the kernel from NAND FLASH to
>> RAM.
>>
>> It should be 'nboot 80700000 0 a0000;bootm'
>>
>> Regards
>>
>> Phil Q
>>
>> Phil Quiney, Senior Software Engineer
>> Trinity Convergence
>> Cambridge Business Park
>> Cowley Road
>> Cambridge CB4 0WZ, UK
>> T: +44(0)1223-435536
>> F: +44(0)1223-435560
>> www.trinityconvergence.com
>>
>>
>>  ------------------------------
>> *From:* Ramesh [mailto:[EMAIL PROTECTED]
>> *Sent:* 29 September 2008 09:56
>> *To:* Phil Quiney
>> *Cc:* Viral Sachde; [email protected]
>> *Subject:* Re: EVM 6467 board doesnot bootup
>>
>>  Hi Viral sachde, Phil.
>>
>> Thanks for your reply.
>>
>> 1) The printenv , was the cut and paste error.
>> Now I tried again, this time, the badmagic error is not, but stull its not
>> getting bootup
>>
>> DM6467 EVM # printenv
>> bootdelay=3
>> baudrate=115200
>> ipaddr=192.168.1.201
>> setenv=bootcmd nboot 80700000 0 a0000
>> serverip=10.65.102.67
>> bootfile=/tftpboot/uImage
>> bootcmd=nboot 80700000 0 a0000
>> stdin=serial
>> stdout=serial
>> stderr=serial
>> ethaddr=00:0e:99:02:b3:47
>> nfshost=10.65.102.67
>> rootpath=/home/Ramesh/workdir6467/filesys
>> bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
>> nfsroot=10.65.102.67:/home/Ramesh/workdir6467/filesys, nolock mem=120M
>> ///////////////////////////////////
>>
>> Now the result after the boot up is ,
>>
>> DM6467 EVM # boot
>> Loading from NAND 128MiB 3,3V 8-bit, offset 0xa0000
>>    Image Name:   Linux-2.6.10_mvl401-davinci_evm
>>    Image Type:   ARM Linux Kernel Image (uncompressed)
>>    Data Size:    1390892 Bytes =  1.3 MB
>>    Load Address: 80008000
>>    Entry Point:  80008000    // After this , the DM6467 EVM# prompt came.
>> DM6467 EVM #
>> //////////////////////////////////////////////////////////////////////////
>>
>> Hi Phil,
>>
>> I have done the 'saveenv' command before.  But I didnot understand your
>> word  "Given that the expansion is done prior to the 'saveenv' you might
>> as well just set bootargs statically." I m sorry for that.
>>
>> What should be in bootcmd ?
>>
>> Thanks
>> Ramesh.
>>
>>
>> On 9/29/08, Phil Quiney <[EMAIL PROTECTED]> wrote:
>>>
>>>  Hi,
>>>
>>> Actually, on giivng it a second thought, I think the lines
>>>
>>> setenv nfshost 10.65.103.160
>>>
>>> setenv rootpath /home/Ramesh/workdir6467/filesys
>>>
>>> setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
>>> nfsroot=$(nfshost):$(rootpath), nolock mem=120M
>>>
>>>  ..will work if you keep typing them in each time as the 'setenv
>>> bootargs' will expand the current $nfshost & $rootpath. It would not work if
>>> you did a 'saveenv' and later tried to change 'nfshost' or 'rootpath' as the
>>> 'bootargs' variable has no variable part left. Given that the expansion is
>>> done prior to the 'saveenv' you might as well just set bootargs statically.
>>>
>>> Regards
>>>
>>> Phil Q
>>>
>>>
>>> Phil Quiney, Senior Software Engineer
>>> Trinity Convergence
>>> Cambridge Business Park
>>> Cowley Road
>>> Cambridge CB4 0WZ, UK
>>> T: +44(0)1223-435536
>>> F: +44(0)1223-435560
>>> www.trinityconvergence.com
>>>
>>>
>>>  ------------------------------
>>> *From:* davinci-linux-open-source-bounces+pquiney=trinityconvergence.com
>>> @linux.davincidsp.com 
>>> [mailto:davinci-linux-open-source-bounces+pquiney<davinci-linux-open-source-bounces%2Bpquiney>
>>> [EMAIL PROTECTED] *On Behalf Of *Phil Quiney
>>> *Sent:* 29 September 2008 08:56
>>> *To:* Viral Sachde; Ramesh
>>> *Cc:* [email protected]
>>> *Subject:* RE: EVM 6467 board doesnot bootup
>>>
>>>  Hi,
>>>
>>> Your u-boot parameters are truly broken.
>>>
>>> You have a 'setenv=bootcmd nboot 80700000 0 a0000' which is nonsense. I
>>> think that should have been bootcmd=nboot 80700000 0 a0000
>>>
>>> The reason it does not boot is because you have set 'bootcmd=bootm' As
>>> there is nothing in memory you get the bad magic number.
>>>
>>> If you set the bootcmd to nboot 80700000 0 a0000, I think it should at
>>> least try to boot.
>>>
>>> You then need to sort out the bootargs, as previously posted
>>> 'nfsroot=10.65M' is not right, it should be an IP address & path to the NFS
>>> root filesystem on your server.
>>>
>>> I guess this is either a cut'n'paste issue, or perhaps the terminal
>>> emulator is not wrapping long lines.
>>>
>>> Also you cannot put u-boot variables into the bootargs variable, they do
>>> not get expanded and the kernel will not know how to handle $(nfsroot) and
>>> $(rootpath). There is a 'trick' to do this that has been used on the
>>> DM6446.....
>>>
>>> bootcmd=setenv setboot setenv bootargs $(bootargs)
>>> video=dm64xxfb:output=$(videostd):format=component
>>> davinci-vpfe.device_type=1;run setboot;bootm 0x2200000
>>> All this did was allow the $(videostd) variable to be picked up at boot
>>> time - the 'run setboot' was the trick that caused bootargs to be reset with
>>> the expanded variables.
>>>
>>> So, you should now understand that your lines....
>>>
>>> setenv nfshost 10.65.103.160
>>>
>>> setenv rootpath /home/Ramesh/workdir6467/filesys
>>>
>>> setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
>>> nfsroot=$(nfshost):$(rootpath), nolock mem=120M
>>>
>>> ...will not work.
>>>
>>>
>>>
>>> Regards
>>>
>>> Phil Q
>>>
>>> Phil Quiney, Senior Software Engineer
>>> Trinity Convergence
>>> Cambridge Business Park
>>> Cowley Road
>>> Cambridge CB4 0WZ, UK
>>> T: +44(0)1223-435536
>>> F: +44(0)1223-435560
>>> www.trinityconvergence.com
>>>
>>>
>>>  ------------------------------
>>> *From:* [EMAIL PROTECTED] [mailto:
>>> [EMAIL PROTECTED] *On Behalf Of *Viral
>>> Sachde
>>> *Sent:* 29 September 2008 07:14
>>> *To:* Ramesh
>>> *Cc:* [email protected]
>>> *Subject:* Re: EVM 6467 board doesnot bootup
>>>
>>>
>>>
>>> 2008/9/29 Ramesh <[EMAIL PROTECTED]>
>>>
>>>> Hi ,
>>>>
>>>> After I tried to run one demo code on DM6467, I am not able to boot up
>>>> the DM6467.
>>>>
>>>> ###########################################################
>>>> DM6467 EVM # printenv
>>>> bootdelay=3
>>>> baudrate=115200
>>>> ipaddr=192.168.1.201
>>>> setenv=bootcmd nboot 80700000 0 a0000
>>>> serverip=10.65.103.160
>>>> bootfile=uImage
>>>> nfshost=10.65.102.67
>>>> rootpath=/home/Ramesh/workdir6467/filesys
>>>> bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs *
>>>> nfsroot=10.65Mstdin=serial*
>>>> stdout=serial
>>>> stderr=serial
>>>> ethaddr=00:0e:99:02:b3:47
>>>> bootcmd=bootm
>>>>
>>>>
>>>> DM6467 EVM # boot
>>>> ## Booting image at 80700000 ...
>>>> Bad Magic Number
>>>> DM6467 EVM # <INTERRUPT>
>>>>
>>>> ##########################################################
>>>> Board envirmental setup is
>>>>
>>>> setenv nfshost 10.65.103.160
>>>>
>>>> setenv rootpath /home/Ramesh/workdir6467/filesys
>>>>
>>>> setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
>>>> nfsroot=$(nfshost):$(rootpath), nolock mem=120M
>>>>
>>>> #########################################################################
>>>>
>>>> Please give me some idea to recover the board.
>>>>
>>>> Thanks
>>>> Ramesh.
>>>
>>>
>>>
>>> Check you bootargs, nfsroot parameter does not look correct.  "*
>>> nfsroot=10.65Mstdin=serial"
>>>
>>> *rgrds*
>>> *
>>> Viral
>>>
>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Davinci-linux-open-source mailing list
>>>> [email protected]
>>>> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>>>>
>>>>
>>>
>>
>
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to