[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    Re: [uClinux-dev] what i did..samsung s3c4510b
From:       "Greg Holdren" <greghol () sbcglobal ! net>
Date:       2006-01-27 5:32:59
Message-ID: 00be01c62303$2318cde0$0200a8c0 () main2
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Here is the basic instructions on how to add an application to the build. Its pretty \
straight forward when following the instructions.

http://www.lumit.org/download/document/lumit-uclinux-addapp-readme.txt

Greg
  ----- Original Message ----- 
  From: nidhi 
  To: uclinux development list 
  Sent: Thursday, January 26, 2006 8:38 PM
  Subject: [uClinux-dev] what i did..samsung s3c4510b


  Dear all: i would like to tell you all the steps what i tried,so that you can \
sujjest me where i am goin wrong. 

  1. copied uclinux-Samsung xxxxxx.tar.gz and arm-elf-tools.sh to /usr 
  2. installed the toolchain by the command   sh arm-elf-tools20040427.sh
  3. untared the source by tar -xzvf uclinux-Samsungxxxx.tar.gz
  4. created a folder hello in uclinux-Samsung/user
  5. in hello folder created two files a Makefile and a hello.c

  hello.c:
  include<stdio.h>
  int main(void)
  {
   printf(" hello");
  return (0);
  }

  Makefile:
  EXEC = hello
  OBJS = hello.o
  all: $(EXEC)
  $(EXEC): $(OBJS)
  $(CC) $(LDFLAGS) o $@ $(OBJS) $(LDLIBS)
  romfs: $(ROMFSINST) /bin/$(EXEC)
  clean: rm romfs:

  6.in the user/Makefile added this line
     DIR_$(CONFIG_USER_HELLO_HELLO) += hello
  7.configure/config.help added line 
    CONFIG_USER_HELLO_HELLO
     sample test hello
  8.in configure/config.in under miscellaneous applications added
  'bool' hello  CONFIG_USER_HELLO_HELLO

  9. make menuconfig 
      i have selected update vendor settings,update kernel settings
   and checkmarked (selected) the 'hello' under miscellaneous applications.
  10. make dep
  11. make user_only 
  12.make lib_only
  13.make romfs
  14.make image
  15.make

  but while making romfs it says that cannot'stat' hello file or folder not found.

  here the file 'hello' in romfs/bin is not found

  later i found that. it is not creating any binary executable file...coz one sample \
example is already attatched in the dist and if i remove it , the same lines appear \
saying"cannot stat'sample' the file or foldr is not found"and it is not creating it \
again.  here also the 'sample' under romfs/bin is not found.


  please help me ......

  or if you want me to try out some more.. please.....
  regards,
  nidhi.







------------------------------------------------------------------------------


  _______________________________________________
  uClinux-dev mailing list
  uClinux-dev@uclinux.org
  http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
  This message was resent by uclinux-dev@uclinux.org


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Here is the basic instructions on how to add an 
application to the build. Its pretty straight forward when following the 
instructions.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A 
href="http://www.lumit.org/download/document/lumit-uclinux-addapp-readme.txt">http://www.lumit.org/download/document/lumit-uclinux-addapp-readme.txt</A></FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Greg</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV>  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=nidhi@galieosoft.com href="mailto:nidhi@galieosoft.com">nidhi</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=uclinux-dev@uclinux.org 
  href="mailto:uclinux-dev@uclinux.org">uclinux development list</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 26, 2006 8:38 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [uClinux-dev] what i 
  did..samsung s3c4510b</DIV>
  <DIV><BR></DIV>Dear all: i would like to tell you all the steps what i 
  tried,so that you can sujjest me where i am goin wrong. <BR><BR>1. copied 
  uclinux-Samsung xxxxxx.tar.gz and arm-elf-tools.sh to /usr <BR>2. installed 
  the toolchain by the command&nbsp;&nbsp; sh arm-elf-tools20040427.sh<BR>3. 
  untared the source by tar -xzvf uclinux-Samsungxxxx.tar.gz<BR>4. created a 
  folder hello in uclinux-Samsung/user<BR>5. in hello folder created two files a 
  Makefile and a hello.c<BR><BR>hello.c:<BR>include&lt;stdio.h&gt;<BR>int 
  main(void)<BR>{<BR>&nbsp;printf(" hello");<BR>return 
  (0);<BR>}<BR><BR>Makefile:<BR><FONT face="Arial, Helvetica">EXEC = 
  hello<BR>OBJS = hello.o<BR>all: $(EXEC)<BR>$(EXEC): $(OBJS)<BR>$(CC) 
  $(LDFLAGS) o $@ $(OBJS) $(LDLIBS)<BR>romfs: $(ROMFSINST) 
  /bin/$(EXEC)<BR>clean: rm romfs:<BR><BR></FONT>6.in the user/Makefile added 
  this line<BR>&nbsp;<B>&nbsp; </B><FONT 
  face="Arial, Helvetica">DIR_$(CONFIG_USER_HELLO_HELLO) += 
  hello<BR>7.configure/config.help added line <BR>&nbsp; 
  CONFIG_USER_HELLO_HELLO<BR>&nbsp;&nbsp; sample test hello<BR>8.in 
  configure/config.in under miscellaneous applications added<BR>'bool' 
  hello&nbsp; CONFIG_USER_HELLO_HELLO<BR><BR>9. make menuconfig 
  <BR>&nbsp;&nbsp;&nbsp; i have selected update vendor settings,update kernel 
  settings<BR>&nbsp;and checkmarked (selected) the 'hello' under miscellaneous 
  applications.<BR>10. make dep<BR>11. make user_only <BR>12.make 
  lib_only<BR>13.make romfs<BR>14.make image<BR>15.make<BR><BR>but while making 
  romfs it says that cannot'stat' hello file or folder not found.<BR><BR>here 
  the file 'hello' in romfs/bin is not found<BR><BR>later i found that. it is 
  not creating any binary executable file...coz one sample example is already 
  attatched in the dist and if i remove it , the same lines appear saying"cannot 
  stat'sample' the file or foldr is not found"and it is not creating it 
  again.<BR>here also the 'sample' under romfs/bin is not 
  found.<BR><BR><BR>please help me ......<BR><BR>or if you want me to try out 
  some more.. please.....<BR>regards,<BR>nidhi.<BR><BR><BR><BR><BR></FONT>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>uClinux-dev mailing 
  list<BR>uClinux-dev@uclinux.org<BR>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<BR>This \
  message was resent by uclinux-dev@uclinux.org</BLOCKQUOTE></BODY></HTML>



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic