Flawed ATAG passing
## 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
Quoted 10 lines
Quoted 8 lines
Machine: Intel DBPXA250 Development Platform (aka Lubbock)
parse_tagsnumber of tags: 5
parsing tag:0x54410001parse_tag: tag0x54410001parse_tag_core
parsing tag:0x54410002parse_tag: tag0x54410002parse_tag_mem32start0xa0000000size0x01000000So 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.
Also when using 2.4.19-rmk7-pxa2 i get that bootup line:
ignoring unrecognised tag 0x00000000
## setup_commandling_tag size:0000001c line: root=/dev/ram0 init=/linuxrc
Quoted 1 line
Quoted 1 line
Kernel command line: root=/dev/ram console=ttyS0,115200
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.
Quoted 4 lines
Your kernel fails to mount the ramdisk, since you have RAMDISK driver etc, then the next most likely reason is you are missing the filesystem support in your kernel. For exampel if your ramdisk in in ext2 format then make sure your kernel has ext2 support compiled in (not as a module).
I think i configured the kernel correctly. Ramdisk support/initrd support. The initial Ramdisksize is greater than the size of my initrd. ext2 is the used filesystem. I also applied the ramdisk relocation patch. It didn't solve the problem.
Quoted 18 lines · Christian Kapeller
##
setup_start_tag
##setup_memory_tagsstarta0000000size:04000000
##setup_commandling_tagsize:0000001c line: root=/dev/ram0 init=/linuxrc ##setup_initrd_argsstart:00200040, end:00466a68
##setup_end_tagQuoted 8 lines
Quoted 8 lines
Machine: Intel DBPXA250 Development Platform (aka Lubbock)
parse_tagsnumber of tags: 5
parsing tag:0x54410001parse_tag: tag0x54410001parse_tag_core
parsing tag:0x54410002parse_tag: tag0x54410002parse_tag_mem32start0xa0000000size0x01000000
Quoted 7 lines
Quoted 1 line
So your bootloader is passing fine the tags to kernel.
That's right. You can also see, that only the
ATAG_CORE(0x54410001) and andATAG_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.
Quoted 5 lines
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
Quoted 5 lines
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