All of lore.kernel.org
 help / color / mirror / Atom feed
From: himba <himba@siol.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Flawed ATAG passing
Date: Tue, 03 Aug 2004 00:07:37 +0200	[thread overview]
Message-ID: <410EBB29.1040804@siol.net> (raw)
In-Reply-To: <20040802085737.GA14549@stud4.tuwien.ac.at>

Christian Kapeller wrote:
> ## setup_start_tag
> ## setup_memory_tags start a0000000 size:04000000
> ## setup_commandling_tag size:0000001c line: root=/dev/ram0 init=/linuxrc
> ## setup_initrd_args start:00200040, end:00466a68
> ## setup_end_tag
> 
> 
>>>Machine: Intel DBPXA250 Development Platform (aka Lubbock)
>>>parse_tags number of tags: 5
>>>parsing tag: 0x54410001
>>>parse_tag: tag 0x54410001 
>>>parse_tag_core
>>>parsing tag: 0x54410002
>>>parse_tag: tag 0x54410002 
>>>parse_tag_mem32 start 0xa0000000 size 0x01000000
> 
> 	 
> 
>>So your bootloader is passing fine the tags to kernel.
> 
> 
> That's right. You can also see, that only the ATAG_CORE (0x54410001) and
> and ATAG_MEM (0x5441002) are parsed. There should be another 3 tags. After 
> the memtag is processed parsing stops. 
> 

Couple of weeks ago played a little with ATAGs and I discovered that 
in order to see printk()s I added in setup.c I had to _always_ do make 
clean; make uImage... Maybe thats where your other ATAGs are - passed 
in, just not printed.

> Also when using 2.4.19-rmk7-pxa2 i get that bootup line:
> 
> ignoring unrecognised tag 0x00000000
> 
> 
I think I got this one too, it is ATAG_NONE, just marking the end of 
list, nothing else

> 
> I experienced also the phenomenon, that the kernel commandline that is 
> set through the bootargs variable are not acepted/parsed. Only the default
> commandline is used.
> 
This happened to me also when I didn't compile uboot with 
CONFIG_CMDLINE_TAG option.
Also are you telling the kernel where to find BOOT_PARAMS?


hth,
himba

      reply	other threads:[~2004-08-02 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02  8:57 [U-Boot-Users] Re: Flawed ATAG passing Christian Kapeller
2004-08-02 22:07 ` himba [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=410EBB29.1040804@siol.net \
    --to=himba@siol.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.