public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] newbies to u-boot
@ 2007-08-30 10:56 Bhagwat
  2007-08-30 11:10 ` Martin Krause
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Bhagwat @ 2007-08-30 10:56 UTC (permalink / raw)
  To: u-boot

Hi, 
can Anyone point me to u-boot startup documentation. I am newbie to u-boot, infact new to bootloaders. 

I am using ARM7 core. 

regards.
Bhagwat 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070830/473f9210/attachment.htm 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
  2007-08-30 10:56 [U-Boot-Users] newbies to u-boot Bhagwat
@ 2007-08-30 11:10 ` Martin Krause
  2007-08-30 11:12 ` W
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Martin Krause @ 2007-08-30 11:10 UTC (permalink / raw)
  To: u-boot

Hi Bhagwat,

u-boot-users-bounces at lists.sourceforge.net wrote on Thursday, August
30, 2007 12:57 PM: 
> Hi,
> can Anyone point me to u-boot startup documentation. I am newbie to
> u-boot, infact new to bootloaders. 

Good starting points are the DULG (http://www.denx.de/wiki/DULG/Manual),
and the README in the U-Boot sources (the current version could be found
here: http://source.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=README;h=09eb76fe4528dfedca027b119ac760fce2570e35;hb=HEAD)

Best Regards,
Martin Krause

--
TQ-Systems GmbH
Muehlstrasse 2, Gut Delling, D-82229 Seefeld
Amtsgericht Muenchen, HRB 105 018, UST-IdNr. DE 811 607 913
Geschaeftsfuehrer: Dipl.-Ing. (FH) Detlef Schneider, Dipl.-Ing. (FH) Ruediger Stahl
http://www.tq-group.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
  2007-08-30 10:56 [U-Boot-Users] newbies to u-boot Bhagwat
  2007-08-30 11:10 ` Martin Krause
@ 2007-08-30 11:12 ` W
  2007-08-30 11:53 ` Zoelgert, Anja
  2007-08-31 10:49 ` Bhagwat
  3 siblings, 0 replies; 9+ messages in thread
From: W @ 2007-08-30 11:12 UTC (permalink / raw)
  To: u-boot

Hi Bahgwat,

Hope this link can help u :

http://www.denx.de/wiki/UBootdoc/Presentation

Regards
Wildan

On 8/30/07, Bhagwat <bhagwat.masalkar@moschip.com> wrote:
>
>
> Hi,
> can Anyone point me to u-boot startup documentation. I am newbie to u-boot,
> infact new to bootloaders.
>
> I am using ARM7 core.
>
> 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
>
>


-- 
---
Person who say it cannot be done should not interrupt person doing it.
Coz.....
Miracles are closer than you think ...
------------
http://wildanm.fisika.ui.edu
HP: 08888378594
Y! : hawking_123

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
  2007-08-30 10:56 [U-Boot-Users] newbies to u-boot Bhagwat
  2007-08-30 11:10 ` Martin Krause
  2007-08-30 11:12 ` W
@ 2007-08-30 11:53 ` Zoelgert, Anja
  2007-08-31 10:49 ` Bhagwat
  3 siblings, 0 replies; 9+ messages in thread
From: Zoelgert, Anja @ 2007-08-30 11:53 UTC (permalink / raw)
  To: u-boot

Hi Bhagwat,
 
knowing one other bootloader, and being new to U-Boot, too, I welcomed
this article very much.
All things it says about bootlaoders in common is perfectly true.
http://www.informit.com/articles/article.aspx?p=674698&rl=1

This is a nice article about ARM core in case it aborts with an
exception, so you can trace back where it crashed:
http://www.embedded.com/192202641?_requestid=573826

 
Regards,
Anja

 
________________________________

Von: u-boot-users-bounces at lists.sourceforge.net
[mailto:u-boot-users-bounces at lists.sourceforge.net] Im Auftrag von
Bhagwat
Gesendet: Donnerstag, 30. August 2007 12:57
An: u-boot-users at lists.sourceforge.net
Betreff: [U-Boot-Users] newbies to u-boot


Hi, 
can Anyone point me to u-boot startup documentation. I am newbie to
u-boot, infact new to bootloaders. 
 
I am using ARM7 core. 
 
regards.
Bhagwat 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
@ 2007-08-31 10:49 ` Bhagwat
  2007-08-31 15:28   ` Craig Day
  2007-09-02  2:34   ` Hebbar
  0 siblings, 2 replies; 9+ messages in thread
From: Bhagwat @ 2007-08-31 10:49 UTC (permalink / raw)
  To: u-boot

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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070831/addbd93f/attachment.htm 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
  2007-08-31 10:49 ` Bhagwat
@ 2007-08-31 15:28   ` Craig Day
  2007-09-03 10:17     ` Bhagwat
  2007-09-02  2:34   ` Hebbar
  1 sibling, 1 reply; 9+ messages in thread
From: Craig Day @ 2007-08-31 15:28 UTC (permalink / raw)
  To: u-boot

Hi Bhagwat,

This is the basic U-Boot porting process. Start with a reference board if
you can, copy files, make adjustments, attempt to compile, and then resolve
errors.

Part of the DRAM setup involves defining bank sizes. You need to declare
PHYS_SDRAM_1 and PHYS_SDRAM_1_SIZE in your include/config/moschip.h header
file. PHYS_SDRAM_1 should be the address of your SDRAM, and
PHYS_SDRAM_1_SIZE should be the size.

You will most likely encounter many different errors as you port U-Boot to
your board. Examine the error, look at the source, determine what's wrong,
and look at other working boards/configurations to figure out what you need
to do when required. If all else fails, post an e-mail here!

cheers,
Craig

>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
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
  2007-08-31 10:49 ` Bhagwat
  2007-08-31 15:28   ` Craig Day
@ 2007-09-02  2:34   ` Hebbar
  1 sibling, 0 replies; 9+ messages in thread
From: Hebbar @ 2007-09-02  2:34 UTC (permalink / raw)
  To: u-boot


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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
  2007-08-31 15:28   ` Craig Day
@ 2007-09-03 10:17     ` Bhagwat
  2007-09-03 23:42       ` Hebbar
  0 siblings, 1 reply; 9+ messages in thread
From: Bhagwat @ 2007-09-03 10:17 UTC (permalink / raw)
  To: u-boot

Hi
thanks for your response,
I am able to compile the code, but while linking at end ie after
        -Map u-boot.map -o u-boot
I am getting getting follwing errors.

net/libnet.a(net.o)(.text+0x108): In function `ArpRequest':
/home/bhagwat/firmware/nuport/bootloader/u-boot/net/net.c:234: undefined 
reference to `eth_send'
net/libnet.a(net.o)(.text+0x24c): In function `NetLoop':
/home/bhagwat/firmware/nuport/bootloader/u-boot/net/net.c:306: undefined 
reference to `eth_halt'
net/libnet.a(net.o)(.text+0x280):/home/bhagwat/firmware/nuport/bootloader/u-boot/net/net.c:318: 
undefined reference to `eth_init'
net/libnet.a(net.o)(.text+0x3e8):/home/bhagwat/firmware/nuport/bootloader/u-boot/net/net.c:400: 
undefined reference to `eth_halt'

I am not getting any pointer to this error, as I have not done any 
modification in /net folder.
Do I need to enable somewhere conditioanl compilation flag. please suggest.

regards,
__Bhagwat
----- Original Message ----- 
From: "Craig Day" <cday@phytec.com>
To: "'Bhagwat'" <bhagwat.masalkar@moschip.com>; 
<u-boot-users@lists.sourceforge.net>
Sent: Friday, August 31, 2007 8:58 PM
Subject: RE: [U-Boot-Users] newbies to u-boot


> Hi Bhagwat,
>
> This is the basic U-Boot porting process. Start with a reference board if
> you can, copy files, make adjustments, attempt to compile, and then 
> resolve
> errors.
>
> Part of the DRAM setup involves defining bank sizes. You need to declare
> PHYS_SDRAM_1 and PHYS_SDRAM_1_SIZE in your include/config/moschip.h header
> file. PHYS_SDRAM_1 should be the address of your SDRAM, and
> PHYS_SDRAM_1_SIZE should be the size.
>
> You will most likely encounter many different errors as you port U-Boot to
> your board. Examine the error, look at the source, determine what's wrong,
> and look at other working boards/configurations to figure out what you 
> need
> to do when required. If all else fails, post an e-mail here!
>
> cheers,
> Craig
>
>>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
>>
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] newbies to u-boot
  2007-09-03 10:17     ` Bhagwat
@ 2007-09-03 23:42       ` Hebbar
  0 siblings, 0 replies; 9+ messages in thread
From: Hebbar @ 2007-09-03 23:42 UTC (permalink / raw)
  To: u-boot


Hi Bhagwat,

 If u have mentioned CONFIG_NET in your board config file then ethernet
related functions needed to be defined in your code. Have u defined
CONFIG_NET and other ethernet related defines in <board>.h in
uboot/include/configs/ directory.

Regards
Gururaja



-- 
View this message in context: http://www.nabble.com/newbies-to-u-boot-tf4353419.html#a12469400
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-09-03 23:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30 10:56 [U-Boot-Users] newbies to u-boot Bhagwat
2007-08-30 11:10 ` Martin Krause
2007-08-30 11:12 ` W
2007-08-30 11:53 ` Zoelgert, Anja
2007-08-31 10:49 ` Bhagwat
2007-08-31 15:28   ` Craig Day
2007-09-03 10:17     ` Bhagwat
2007-09-03 23:42       ` Hebbar
2007-09-02  2:34   ` Hebbar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox