From: Roy <roy@xxx.lt>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Customizing U-boot
Date: Sat, 4 Sep 2004 06:58:18 +0300 [thread overview]
Message-ID: <000f01c49233$69cee290$030aa8c0@t> (raw)
U-boot is made to suport many referense boards, but that the use of that?
it looks more like small OS than bootloader. It finaly must be customized to
support some specific design only.
But I have some problems with this. Can someone tell boot functions
sequence? they are highly scattered between c modules.
it taked very long even to find reset vector. u-boot source is not very
clear.
why random pars are in assembler and others in C ?
When init.S from /board/walnut405 directory is used?
seems it is dublicated in /board/walnut405/walnut405.c but now in c
language.
when I dissasembled the compiled image I was unable to find anything from
init.S
cpu/start.S does similar stuff and by some reason attempts to intialize some
unknnown FPGA which is clearly unrelated to cpu at all, and should be moved
to board specific module.
basicaly I would like to completely rewrite initialization procedure, and
put it all in one source file.
probably the best would be to discard all exsisting initialization source
and write new one.
but I need boot function sequence for that.
and point where the low level initialization is finished.
I need to make custom initialization for ram ,rom, blink leds on gpio.
and mainly remove al pnp stuff, like spd. probably no real board will ever
use spd for sram.
also removing everyhing unnesecary is required, flash is not hdd aftreall.
I need it for linuxAP the board is with single ppc405gp cpu with 1mb flash
and 8mb ram, uart1 pins, and probably pci interface.
so I need to fit uboot in something like 16kb or less, but first I need to
make it run at least.
(that 1mb must fit kernel , rootfs, cfgdata, and bootloader) with 486 type
cpu it is not big problem
Maybe someone know how much u-boot can be stripped?
next reply other threads:[~2004-09-04 3:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-04 3:58 Roy [this message]
2004-09-04 12:27 ` [U-Boot-Users] Customizing U-boot Wolfgang Denk
2004-09-06 4:03 ` T Michael Turney
[not found] <20040906070414.BC7E6C1430@atlas.denx.de>
2004-09-06 13:46 ` T Michael Turney
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='000f01c49233$69cee290$030aa8c0@t' \
--to=roy@xxx.lt \
--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