From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hebbar Date: Sat, 1 Sep 2007 19:34:14 -0700 (PDT) Subject: [U-Boot-Users] newbies to u-boot In-Reply-To: <086601c7ebbc$a6d340b0$9c02a8c0@socpassion> References: <07a401c7eaf4$7be937b0$9c02a8c0@socpassion> <086601c7ebbc$a6d340b0$9c02a8c0@socpassion> Message-ID: <12445873.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Bhagwat If u r working on arm926ejs, then i recommend u to check with versatile config. its a very good starting point for arm926ejs. i too started with the same. u can get good docs for this board from net. download the pdf and check the memory map of versatile board and compare the same with versatile config file inside include/configs directory. U will know how to setup ur board. Regards Gururaja Bhagwat-2 wrote: > > HI all, > > I got the U-boot code and I am trying to compile it for my SOC. > I am using ARM926EJS core. > I have done follwing steps > 1. In makefile I have added below lines > moschip_config : unconfig > @./mkconfig $(@:_config=) arm arm926ejs moschip > 2. I have copied header file in include dir > $ cp include/configs/armadillo.h include/configs/moschip.h > > 3. Then I have copied dir > $cp board/armadillo/ board/moschip/ > > after doing > $make moschip_config > $make > > I am getting follwoing errs.. > armadillo.c: In function `dram_init': > armadillo.c:58: error: `PHYS_SDRAM_1' undeclared (first use in this > function) > armadillo.c:58: error: (Each undeclared identifier is reported only once > armadillo.c:58: error: for each function it appears in.) > armadillo.c:59: error: `PHYS_SDRAM_1_SIZE' undeclared (first use in this > function) > make[1]: *** [armadillo.o] Error 1 > > Can anyone tell me, If i am missing any steps for compilation. > > > Regards, > __Bhagwat > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > > -- View this message in context: http://www.nabble.com/newbies-to-u-boot-tf4353419.html#a12445873 Sent from the Uboot - Users mailing list archive at Nabble.com.