From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot r1 machine type value to AT91RM9200 2.6.12 kernel
Date: Thu, 23 Jun 2005 11:12:25 +0200 [thread overview]
Message-ID: <42BA7CF9.9010707@imc-berlin.de> (raw)
In-Reply-To: <22079.1119517567@www73.gmx.net>
Sascha,
> I tried to use the linux 2.6.12 release for AT91RM9200, but when I started
> with u-boot 1.1.2 the Kernel stopped.
It is a custom board? Did you register a MACH_NUMBER?
> I can configure a working kernel with the option 'config NAKED_Boot= y ',
> but
> with this option it's not possible to pass any bootarguments to the kernel.
> How can I pass the corret R1 value for the machine type ('0xfb') from u-boot
> 1.1.2 to the kernel?
In you board_init() do something like:
/* arch number of AT91RM9200 */
/*gd->bd->bi_arch_number = 251;*/
gd->bd->bi_arch_number = MACH_TYPE_MULTIIO;
/* adress of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
> The last working kernel in combination with u-boot was 2.6.12rc4. What
> changes in the u-boot source do I have to maintain relating to these boot
> options? Or is it possible to pass the r1 value in between the 'bootargs' of
> the u-boot enviroment?
No.
Just make sure your board_init() sets the correct (TM) arch_number.
See kernel sources
linux-2.6.12/arch/arm/boot/compressed/head-at91rm9200.S
--
Steven
prev parent reply other threads:[~2005-06-23 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-23 9:06 [U-Boot-Users] u-boot r1 machine type value to AT91RM9200 2.6.12 kernel Dikhoff at gmx.de
2005-06-23 9:12 ` Steven Scholz [this message]
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=42BA7CF9.9010707@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--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