Hmmm... what about these additional steps: 1) Add .o file to COBJS in ./common/Makefile 2) Add CFG_CMD_<MY_COMMAND> to CONFIG_COMMANDS macro in ./include/configs/<board_name>.h 3) Add CFG_CMD_<MY_COMMAND> 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 at 3:20 PM, Jerry Van Baren <[email protected]>wrote: > Excellent, but... > > Deepak Gopalakrishnan wrote: > > [snip] > > > this is the content of firrst u-boot command i wrote: > > > > cmd_dgprint.c > > <code> > > /* > > * (C) Copyright 2005 > > * Wolfgang Denk, DENX Software Engineering, [email protected]. > > * > > * See file CREDITS for list of people who contributed to this > > * project. > > * > > * This program is free software; you can redistribute it and/or > > * modify it under the terms of the GNU General Public License as > > * published by the Free Software Foundation; either version 2 of > > * the License, or (at your option) any later version. > > ...you should put your own copyright with the correct year in it. > > Note also that u-boot is licensed using the GPLv2 so, if you distribute > u-boot with your modifications linked into it, you must use a GPLv2 > compatible license for your code. > <http://www.gnu.org/philosophy/license-list.html> > <http://en.wikipedia.org/wiki/License_compatibility> > > Welcome and enjoy your stay in u-boot-land, :-) > gvb > _______________________________________________ > U-Boot mailing list > [email protected] > http://lists.denx.de/mailman/listinfo/u-boot >
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

