Hmmm... what about these additional steps:
1) Add .o file to COBJS in ./common/Makefile
2) Add CFG_CMD_ to CONFIG_COMMANDS macro in
./include/configs/.h
3) Add CFG_CMD_ definition to ./include/cmd_confdefs.h
are they necesarry? I think that I had to do these also.
BR,
Drasko
On Fri, May 8, 2009
Excellent, but...
Deepak Gopalakrishnan wrote:
[snip]
> this is the content of firrst u-boot command i wrote:
>
> cmd_dgprint.c
>
> /*
> * (C) Copyright 2005
> * Wolfgang Denk, DENX Software Engineering, w...@denx.de.
> *
> * See file CREDITS for list of people who contributed to this
> *
thanks to everyone first.
im able to write a new command for the u-boot and load it on to the board
and it works like a charm.
Im explaining the steps here so that it would be helpful in the future:
im using a MPC8313e RDB and u-boot-1.3.0.
1) First of all the commands are defined in files present
.
/Subodh
> -Original Message-
> From: u-boot-boun...@lists.denx.de
> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Deepak
> Gopalakrishnan
> Sent: Thursday, May 07, 2009 7:00 AM
> To: Jerry Van Baren
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] Add
the makefile and placing it in the common
folder...wat shud i do..?
thanks alot...
Regards,
Deepak
Jerry Van Baren
05/07/2009 07:10 PM
To
Deepak Gopalakrishnan
cc
u-boot@lists.denx.de
Subject
Re: [U-Boot] Add a new command to U-Boot
Deepak Gopalakrishnan wrote:
> HI
> I am workin
Deepak Gopalakrishnan wrote:
> HI
> I am working with Freescale MPC8313E-RDB and with it comes their BSP. This
> provides a u-boot. I want to understand how the u-boot commands work as in
> where are they defined and in which files.
> My utlimate goal is to add new u-boot commands and to modify the
HI
I am working with Freescale MPC8313E-RDB and with it comes their BSP. This
provides a u-boot. I want to understand how the u-boot commands work as in
where are they defined and in which files.
My utlimate goal is to add new u-boot commands and to modify the exsisting
commands (if needed)
Im a t
7 matches
Mail list logo