This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to make the command exec on the RedBoot to work?
- From: "peng"<crocodilian at 21cn dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Cc:
- Date: Mon, 5 Jul 2004 23:13:54 +0800 (CST)
- Subject: [ECOS] Re: how to make the command exec on the RedBoot to work?
hi Gary Thomas,
I am sorry that I need your help again,
on the RedBoot User's Guide, the description of the command exec is started with:
The exec command is used to execute a non-eCos application, typically a Linux kernel. Additional information may be passed to the kernel at startup time.
at the same time, on the file: \packages\hal\arm\arch\current\src\redboot_linux_exec.c
there are some contents related to the exec as the following that;
// FIXME: This should be a CDL variable, and CYGSEM_REDBOOT_ARM_LINUX_BOOT
//active_if CYGHWR_HAL_ARM_REDBOOT_MACHINE_TYPE>0
#ifdef HAL_PLATFORM_MACHINE_TYPE
#define CYGHWR_REDBOOT_ARM_MACHINE_TYPE HAL_PLATFORM_MACHINE_TYPE
// Exported CLI function(s)
static void do_exec(int argc, char *argv[]);
RedBoot_cmd("exec",
"Execute an image - with MMU off",
"[-w timeout] [-b <load addr> [-l <length>]]\n"
" [-r <ramdisk addr> [-s <ramdisk length>]]\n"
" [-c \"kernel command line\"] [<entry_point>]",
do_exec
);
but I can not completely uderstands the first two notes started with '//' ^_^
can you tell me what to do ? thanks a lot
peng
----------------------------------------------
[ƯÁÁMM]ÐÎÏó´óʹÌùͼ´óÈü¿ªÊ¼Í¶Æ±À²
http://free.21cn.com/huodong/plmm/vote.html
Òƶ¯¿¨À²ok£¬¶À¼ÒÊÔ³ª
http://mms.21cn.com/ring/ring.jsp
±»³ÇÊÐÀÓÓ¡µÄÅ®ÈË µ¥ÉíÇé¸è³ª¶à¾Ã£¿
http://news.21cn.com/social/
21CNÉÌÎñÓÊÏäÎåÒ»8ÕÛÓŻݣ¬·áºñ½±Æ·µÈÄãÄÃ
http://mail.21cn.com/huodong/0405/business/detail.html
ÆóÒµÓÊÏäÏÄÈÕ´óÓŻݣ¬ÊÖ»ú¡¢MP3¼´Ê±ËÍ
http://mail.21cn.com/huodong/0405/corpmail/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss