public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Frederic Kwiatkowski <stagedrt@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Adding devices' init in board.c
Date: Thu, 2 Mar 2006 11:58:14 +0100	[thread overview]
Message-ID: <5fb065d90603020258p421ff5f8n@mail.gmail.com> (raw)
In-Reply-To: <7826EB01AD927140A1DCF898FE63325D3D8497@ExchangeSrv.Prodrive.nl>

Hi, thanks for your indication

Concerning the U-Boot's prompt, we haven't any prompt, that the main
problem concerning the text debugging of my piece of code


With regards

Frederic Kwiatkowski

2006/3/2, Martijn de Gouw <martijn.de.gouw@prodrive.nl>:
>
>
> > -----Original Message-----
> > From: u-boot-users-admin at lists.sourceforge.net
> > [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf
> > Of Frederic Kwiatkowski
> > Sent: woensdag 1 maart 2006 15:56
> > To: u-boot-users at lists.sourceforge.net
> > Subject: [U-Boot-Users] Adding devices' init in board.c
> >
> > Hello all
> >
> > I'm looking to init an external device (an lcd screen through a RM9200
> > based board) while starting U-Boot. So i've write a binary file to
> > check if my .C sources were right and load it into the RAM. Typing the
> > go 20000000 command (after a tftp transfer) get success and my device
> > is initialised.
>
> Does u-boot return to the command prompt after this init?
>
> >
> > So i've tryed to put a function call in my arm board.c and while i'm
> > building the new U-Boot.bin, everything is right (the .o file is
> > created and u-boot.bin is build), but nothing is running (there is no
> > message and prompt on my RS232 Debug display and the board is not
> > booting).
>
> Hook up the bdi and start debugging
>
> > Is there something specific to do to init a device using board.c? or
> > is there any possiblity to include and launch the binary file in
> > U-Boot?
> >
>
> #define CONFIG_BOARD_EARLY_INIT_F 1         /* Call
> board_early_init_f(lash) from $board.c  */
> #define CONFIG_MISC_INIT_R      1           /* Call misc_init_r(am) from
> $board.c        */
>
> Regards, martijn
>

  reply	other threads:[~2006-03-02 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02  8:12 [U-Boot-Users] Adding devices' init in board.c Martijn de Gouw
2006-03-02 10:58 ` Frederic Kwiatkowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-01 14:55 Frederic Kwiatkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5fb065d90603020258p421ff5f8n@mail.gmail.com \
    --to=stagedrt@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox