public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2004-01-21 12:12 Vidya S
  2004-01-21 13:37 ` Wolfgang Denk
  0 siblings, 1 reply; 18+ messages in thread
From: Vidya S @ 2004-01-21 12:12 UTC (permalink / raw)
  To: u-boot

Hi,

As the subject says i am a new user of this uboot. I want to develop a 
bootloader, i mean i want to port this uboot to Blackfin-ADSP-BF533 
processor.

Could you pls let me know what the initial steps i need to follow to start the 
porting.

regards
Vidya

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2004-01-21 12:12 Vidya S
@ 2004-01-21 13:37 ` Wolfgang Denk
  2004-01-21 13:47   ` Vidya S
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Denk @ 2004-01-21 13:37 UTC (permalink / raw)
  To: u-boot

In message <200401211742.21869.vidya_s@lgsoftindia.com> you wrote:
> 
> Could you pls let me know what the initial steps i need to follow to start the 
> porting.

Did you read the "U-Boot Porting Guide" section in the README?

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower.                         - Terry Pratchett, _Mort_

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2004-01-21 13:37 ` Wolfgang Denk
@ 2004-01-21 13:47   ` Vidya S
  2004-01-21 21:35     ` Wolfgang Denk
  0 siblings, 1 reply; 18+ messages in thread
From: Vidya S @ 2004-01-21 13:47 UTC (permalink / raw)
  To: u-boot

Hi,

 Yes i went through the readme and just got a basic idea as to what should be 
done initially.

I think we need to create our own board specific directory and cpu specific 
directory. Am i right?

I had a few doubts. Could you pls clarify them.

As this uboot is command based, (if i am not wrong) those command parts remain 
unchanged right? I mean i dont have to do anything extra for the commands 
support? If i need to implement a Network boot i.e, NFS boot, what are the 
steps that i need to follow. If i do my processor specific ethernet setup in 
the cpu directory is that enough? 

One more thing is if i want a serial boot (serial download), what are the 
steps i need to follow. Could you pls brief me out?

Are there any other directories that i need to modify other than the board and 
cpu?

Regards
Vidya









On Wednesday 21 January 2004 07:07 pm, Wolfgang Denk wrote:
> In message <200401211742.21869.vidya_s@lgsoftindia.com> you wrote:
> > Could you pls let me know what the initial steps i need to follow to
> > start the porting.
>
> Did you read the "U-Boot Porting Guide" section in the README?
>
> Best regards,
>
> Wolfgang Denk

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2004-01-21 13:47   ` Vidya S
@ 2004-01-21 21:35     ` Wolfgang Denk
  0 siblings, 0 replies; 18+ messages in thread
From: Wolfgang Denk @ 2004-01-21 21:35 UTC (permalink / raw)
  To: u-boot

In message <200401211917.36982.vidya_s@lgsoftindia.com> you wrote:
> 
> I think we need to create our own board specific directory and cpu specific 
> directory. Am i right?

As described in the README. A new cpu directory is only  needed  when
you add support for a new processor.

> As this uboot is command based, (if i am not wrong) those command parts remain 
> unchanged right? I mean i dont have to do anything extra for the commands 

Right.

> support? If i need to implement a Network boot i.e, NFS boot, what are the 

You cannot boot over NFS - that would require TCP/IP and a lot  more.
U-Boot can only use DHCP/BOOTP/TFTP for network booting.

> steps that i need to follow. If i do my processor specific ethernet setup in 
> the cpu directory is that enough? 

Of course you have to make sure that your network driver gets  hooked
into the network routines.

> One more thing is if i want a serial boot (serial download), what are the 
> steps i need to follow. Could you pls brief me out?

Just use the commands "loads" or "loadb".

> Are there any other directories that i need to modify other than the board and 
> cpu?

Normally you don't need to do anything in a CPU  specific  directory.
Follow the instructions in the README.

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You know that feeling when you're leaning back  on  a  stool  and  it
starts to tip over? Well, that's how I feel all the time.
- Steven Wright

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2004-09-03 13:40 christophe peyronnet
  2004-09-03 15:12 ` Wolfgang Denk
  2004-09-03 17:17 ` T Michael Turney
  0 siblings, 2 replies; 18+ messages in thread
From: christophe peyronnet @ 2004-09-03 13:40 UTC (permalink / raw)
  To: u-boot

Hello,

I am new to U-Boot, and I need to port it on an custom board based on MPC852T.
As write in the Readme file of U-Boot directory, I send my first e-mail to have some information, on
how to port U-Boot on my board.

Thanks in advance.

Christophe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040903/b0f4d443/attachment.htm 

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2004-09-03 13:40 christophe peyronnet
@ 2004-09-03 15:12 ` Wolfgang Denk
  2004-09-03 17:17 ` T Michael Turney
  1 sibling, 0 replies; 18+ messages in thread
From: Wolfgang Denk @ 2004-09-03 15:12 UTC (permalink / raw)
  To: u-boot

Dear Christophe,

in message <002a01c491bb$9aebe800$9220e4d5@neomorewindows> you wrote:
> 
> I am new to U-Boot, and I need to port it on an custom board based on
> MPC852T.
> As write in the Readme file of U-Boot directory, I send my first e-mail
> to have some information, on
> how to port U-Boot on my board.

Please enter the "while (learning) { ... }" loop as documented in the
"Porting Guide" section of the  README.  Post  again  when  you  have
reached  the "if (clueless)" clause in the "while (!running) { ... }"
loop ;-)

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Man did not weave the web of life; he  is  merely  a  strand  in  it.
Whatever he does to the web, he does to himself.     - Seattle [1854]

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2004-09-03 13:40 christophe peyronnet
  2004-09-03 15:12 ` Wolfgang Denk
@ 2004-09-03 17:17 ` T Michael Turney
  1 sibling, 0 replies; 18+ messages in thread
From: T Michael Turney @ 2004-09-03 17:17 UTC (permalink / raw)
  To: u-boot


Make sure you have a JTAG debugger (e.g. BDI2000)
Find a board in .../include/configs that is close to your hardware
Make a new board file in ...include/configs for your board
Copy the starting board's files from .../board/xyz to your board's directory
.../board/myboard

With JTAG device, verify, minimally, working RAM (where u-boot image is
loaded), working serial port (for login and command line) working Ethernet
for network access.

Start making same devices work under u-boot.
Hint, try following this execution path... (arm)

.../cpu/at91rm9200/start.S
    _start -> reset
    reset -> _start_armboot

.../lib_arm/board.c

    start_armboot -> (calls a bunch of init functions)
    enters forever loop calling main_loop

.../common/main.c
    main_loop

Hope this helps
Cheers,
T.mike
  -----Original Message-----
  From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of christophe
peyronnet
  Sent: Friday, September 03, 2004 6:41 AM
  To: u-boot-users at lists.sourceforge.net
  Subject: [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?


  Hello,

  I am new to U-Boot, and I need to port it on an custom board based on
MPC852T.
  As write in the Readme file of U-Boot directory, I send my first e-mail to
have some information, on
  how to port U-Boot on my board.

  Thanks in advance.

  Christophe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040903/445f8597/attachment.htm 

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2005-11-11  7:49 Justin_Sheu at alphanetworks.com
  2005-11-11  8:44 ` Wolfgang Denk
  0 siblings, 1 reply; 18+ messages in thread
From: Justin_Sheu at alphanetworks.com @ 2005-11-11  7:49 UTC (permalink / raw)
  To: u-boot

Dear Author,

Hi, I am new to U-Boot, how do I get started?
Please help me!
Thanks!

Best Regards,

/Justin Sheu

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2005-11-11  7:49 Justin_Sheu at alphanetworks.com
@ 2005-11-11  8:44 ` Wolfgang Denk
  0 siblings, 0 replies; 18+ messages in thread
From: Wolfgang Denk @ 2005-11-11  8:44 UTC (permalink / raw)
  To: u-boot

In message <OF23ADEFF4.CB3DE748-ON482570B6.002AEC46@alphanetworks.com> you wrote:
> 
> Hi, I am new to U-Boot, how do I get started?

First of all: read the netiquette and avoid posting  stupid  messages
without at least trying to get a clue first; second: read the README,
read   the  manual  (http://www.denx.de/wiki/DULG/Manual),  read  the
source code. If then - after all these steps - there  is  a  specific
problem  where  you need help then please feel free to ask again. But
please ask specific questions.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If I have seen further it is by standing on the shoulders of  giants.
              - Isaac Newton, Letter to Robert Hooke, 5 February 1676

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2006-06-01  6:19 沈跃
  2006-06-01  7:07 ` Wolfgang Denk
  0 siblings, 1 reply; 18+ messages in thread
From: 沈跃 @ 2006-06-01  6:19 UTC (permalink / raw)
  To: u-boot

Hi,

Now I am start to port U-Boot to our board based on power pc 440Gx, How do I
get start?

Thank you!

 

Jacky

Email: jacky_shen at usish.com

2006.6.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060601/893b1bad/attachment.htm 

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2006-06-01  6:19 沈跃
@ 2006-06-01  7:07 ` Wolfgang Denk
  0 siblings, 0 replies; 18+ messages in thread
From: Wolfgang Denk @ 2006-06-01  7:07 UTC (permalink / raw)
  To: u-boot

In message <000001c68543$509c6e50$e239a8c0@usish.com.cn> you wrote:
> 
> Now I am start to port U-Boot to our board based on power pc 440Gx, How do I
> get start?

Read the README, read the manual, read the source code.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Why waste negative entropy on comments, when you could use the  same
entropy to create bugs instead?"                        - Steve Elias

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2006-06-01  7:09 Li Yang-r58472
  0 siblings, 0 replies; 18+ messages in thread
From: Li Yang-r58472 @ 2006-06-01  7:09 UTC (permalink / raw)
  To: u-boot

First you should find a reference or a baseline for your porting, which is 
a board similar to your board.  And you should focus on board/ and 
include/configs directories.  Most board porting only need to have board
initialization code under board/{board_name}/ and a config file
include/configs/{board_name}.h

ps: do not use HTML on this maillist.

Best Regards,
Leo

> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of ??
> Sent: Thursday, June 01, 2006 2:19 PM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
>
> Hi,
> Now I am start to port U-Boot to our board based on power pc 440Gx, How do
>  I get start?
> Thank you!
>?
> Jacky
> Email: jacky_shen at usish.com
> 2006.6.1

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2007-06-17  9:23 my lists
  0 siblings, 0 replies; 18+ messages in thread
From: my lists @ 2007-06-17  9:23 UTC (permalink / raw)
  To: u-boot

I had a good read of the README in version 1.2.
 Unfortunately I do not have the money to hire a guru (unless I can fire one for less than 100 USD) and obviously I do not have the money for a BDI2000.
 
 What I want to do is take over some work done by Alexander Chukov (but I doubt patches made it to the official release) for the sharp zaurus (corgi and akita).
 What Alex did is fine I just want to get it working with current stable release (he was using ver 1.1.4) and add some features (in decreasing order of importance):
 read the CONFIG_BOOTCOMMAND fom a file on an ext2 or jffs2 filesystem instead of having it hard coded in the sources,
 pick up the kernel from a ext2 or jffs2 filesystem,
 get the MMC socket working as a valid place to store config/kernel,
 get the onboard keyboard working for input,
 get the onboard lcd working for output.
 
 Is all this possible ? or is any of this ludicrus ?
 
 The first thing that is wrong is that the patches Alex made are getting rejects on the new 1.2.0 version (no wonder I guess a lot of code got changed).
 
 Secont thing: where can I get a better understanding of how things work without having to undersatnd that directly from the sources ... "read the sources Luke" is a difficult and long task for me (there is a lot of code and I get lost in it).
 I've started by looking at include/configs/corgi.h (the one that Alex made for the sharp corgi board) .... is that a good place to start ?
 
 Regards
 David
 
       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070617/7543a4c3/attachment.htm 

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2007-08-17 11:56 Arun Bothe
  0 siblings, 0 replies; 18+ messages in thread
From: Arun Bothe @ 2007-08-17 11:56 UTC (permalink / raw)
  To: u-boot

Hi,

I am new to U-Boot. Currently I am working for adm5120 board.
I read "readme" file, and "DULG.pdf",  & U-Boot mailing archive also.

ADM5120 / ADM5120P
Specs:

    * 175MHz/227MIPS 4Kc CPU with an embedded cache, 8K-byte I-cache and 8K
D-cache MIPS32
    * 5 IEEE 802.e Fast Ethernet PHY interfaces and 1 GMII/MII interface
    * Two SDRAM banks (each bank 1M-32 up to 32Mx32Bit)(support upto
2Mx32Bytes)
    * Two Flash banks up to 4MB(NOR Flash and Nand Flash), and many more.


I have few questions regarding this, are

My "config.mk" file contains
    #ROM version
    TEXT_BASE = 0x80100000
    PRE_TEXT_BASE = 0xBFC00000

Q1: TEXT_BASE is the location of U-Boot in RAM, means TEXT_BASE points to
SDRAM perticular location? or tell more about TEXT_BASE.
Q2: In my board setting CFG_MONITOR_BASE=TEXT_BASE, means my boot monitor
code reading from EEPROM?
*****************************
For my board setting
#define CFG_SDRAM_BASE             0x80000000     and
#define CFG_MEMTEST_START      0x80100000
#define CFG_MEMTEST_END          0x81000000

Q3: CFG_MEMTEST_START, and CFG_MEMTEST_END are simple memory test area, but
I don't understand purpose of this test or which test and purpose?
*****************************
In my board setting
/* addresses for switch descriptors and buffers
 * reason for those fixed address is that the adm5120 switch
 * engine can only deploy descriptors and packet buffers
 * @ address < 16MB.
 * 0x80000000 ~ 0x80100000 is now reserved, so it SHOULD be safe
 * to put the addresses within this area
 */
#define CFG_PKTBUF_ADDR         0x800C0000
#define CFG_ARPBUF_ADDR         0x800D0000
#define CFG_DESC_ADDR           0x800F0000

Q4: means?

Q5: Which are the other important configuration macro's I've to study? or
I've to pay more attention?

Q6: Where I get more help of U-Boot for ADM5120, excepts the above mentioned
files?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070817/ab37431e/attachment.htm 

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2007-11-23 11:43 yusuf khan
  2007-11-23 11:57 ` Ing.Gianfranco Morandi
  0 siblings, 1 reply; 18+ messages in thread
From: yusuf khan @ 2007-11-23 11:43 UTC (permalink / raw)
  To: u-boot

hi all

Hi, I am new to U-Boot, how do I get started? i need to port the
U-Boot to the QUICC board of motorola having mc68360 cpu,and it looks
like U-Boot does not support mc68360...so please tell me how do i
start??

as i am new to this,Please tell me in bit detail fashion.


Thanks
Yusuf

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2007-11-23 11:43 [U-Boot-Users] Hi, I am new to U-Boot, how do I get started? yusuf khan
@ 2007-11-23 11:57 ` Ing.Gianfranco Morandi
  2007-11-26 19:26   ` Ben Warren
  0 siblings, 1 reply; 18+ messages in thread
From: Ing.Gianfranco Morandi @ 2007-11-23 11:57 UTC (permalink / raw)
  To: u-boot


> hi all
>
> Hi, I am new to U-Boot, how do I get started? i need to port the
> U-Boot to the QUICC board of motorola having mc68360 cpu,and it looks
> like U-Boot does not support mc68360...so please tell me how do i
> start??

The mpc68360 is too old to be used in a new develpment. I suggest you to 
change processor.

Gianfranco 

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
  2007-11-23 11:57 ` Ing.Gianfranco Morandi
@ 2007-11-26 19:26   ` Ben Warren
  0 siblings, 0 replies; 18+ messages in thread
From: Ben Warren @ 2007-11-26 19:26 UTC (permalink / raw)
  To: u-boot

Ing.Gianfranco Morandi (portatile) wrote:
>> hi all
>>
>> Hi, I am new to U-Boot, how do I get started? i need to port the
>> U-Boot to the QUICC board of motorola having mc68360 cpu,and it looks
>> like U-Boot does not support mc68360...so please tell me how do i
>> start??
>>     
>
> The mpc68360 is too old to be used in a new develpment. I suggest you to 
> change processor.
>
>   
The 360 may be old but is by no means dead...  I can't imagine that 
Yusuf or anyone else is planning on using it in a greenfield design, but 
there are several scenarios where using an older processor makes sense.  
Telling people to switch processors is a simplistic waste of bandwidth.

Anyway, Yusuf:

Here's a link to a patch that was submitted by *Ilya* *Matvejchikov*.  I 
can't vouch for it personally, but it may be helpful:

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/25063

regards,
Ben

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

* [U-Boot-Users] Hi, I am new to U-Boot, how do I get started?
@ 2008-04-15  2:42 cheesiong
  0 siblings, 0 replies; 18+ messages in thread
From: cheesiong @ 2008-04-15  2:42 UTC (permalink / raw)
  To: u-boot

hi all,
 i read the Readme in the top directory of U-boot 1.3.2. i hope this subject
is appropriate.
 i have a question on the makefile, i want to know where is the $obj define,
but it seem it define implicitly when use it.

 sample:
VERSION = 1
PATCHLEVEL = 3
SUBLEVEL = 2
EXTRAVERSION =
U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
VERSION_FILE = $(obj)include/version_autogenerated.h

so my question is, where is the version_autogenerated.h file? because i
couldn;t find it, so i am not sure what is the purpose of this line.
please enlighten me on the usage of the the $obj if possible.
i am new to u-boot, thank you.

regards,-keo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080415/657c697a/attachment.htm 

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

end of thread, other threads:[~2008-04-15  2:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 11:43 [U-Boot-Users] Hi, I am new to U-Boot, how do I get started? yusuf khan
2007-11-23 11:57 ` Ing.Gianfranco Morandi
2007-11-26 19:26   ` Ben Warren
  -- strict thread matches above, loose matches on Subject: below --
2008-04-15  2:42 cheesiong
2007-08-17 11:56 Arun Bothe
2007-06-17  9:23 my lists
2006-06-01  7:09 Li Yang-r58472
2006-06-01  6:19 沈跃
2006-06-01  7:07 ` Wolfgang Denk
2005-11-11  7:49 Justin_Sheu at alphanetworks.com
2005-11-11  8:44 ` Wolfgang Denk
2004-09-03 13:40 christophe peyronnet
2004-09-03 15:12 ` Wolfgang Denk
2004-09-03 17:17 ` T Michael Turney
2004-01-21 12:12 Vidya S
2004-01-21 13:37 ` Wolfgang Denk
2004-01-21 13:47   ` Vidya S
2004-01-21 21:35     ` Wolfgang Denk

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