Re: [U-Boot] Adding new U-Boot Command.

2009-09-28 Thread Tuma
On Wednesday 23 September 2009 16:44:50 you wrote: Dear Tuma, In message 200909231144.25176.chernigovs...@spb.gs.ru you wrote: Yes, I've studied the structure of cmv_-file, and here is my code: /* * (C) Copyright 2009 */

Re: [U-Boot] Adding new U-Boot Command.

2009-09-23 Thread Tuma
Hi, Detlev! Okay, I want to add some not board specific command - just some new functional. So I should put it in /common. Yes, I've studied the structure of cmv_-file, and here is my code: /* * (C) Copyright 2009 */ #include command.h int

Re: [U-Boot] Adding new U-Boot Command.

2009-09-23 Thread Wolfgang Denk
Dear Tuma, In message 200909231144.25176.chernigovs...@spb.gs.ru you wrote: Yes, I've studied the structure of cmv_-file, and here is my code: /* * (C) Copyright 2009 */ #include command.h int PrintSerialNo (cmd_tbl_t *cmdtp,

[U-Boot] Adding new U-Boot Command.

2009-09-22 Thread Tuma
Hi, All! Help me please in writting new U-Boot commands. What should I do? I should write new file in /common, something like cmd_, am I right? So where can I read about cmd_-file structure and how should new commands be added? And how can I add my new file to U-Boot binary? -- Software

Re: [U-Boot] Adding new U-Boot Command.

2009-09-22 Thread Detlev Zundel
Hi Tuma, Help me please in writting new U-Boot commands. What should I do? I should write new file in /common, something like cmd_, am I right? This really depends if you want to implement a command which is useful for all boards, then it should be below common/ or if it is special to