Hi guys,
I found that in the function parse_tag_ramdisk , the setup_ramdisk is
called. is it true that in the setup_ramdisk the location ot the
initrd is specified?
it seems that in my case the parse_tag_ramdisk is never accessed. what
might cause this?
in the parse_tag_ramdisk the tag should be specified, where to
specify the "tag" and how?
thanks your answer is appreciated.
regards,
yang
Hi Uli,
thanks for your reply.
just have a question, where is the tag list, how can i modify this?
regards,
yang
2007/8/30, Uli Luckas <[email protected]>:
> On Thursday, 30. August 2007, Xu Yang wrote:
> > Hi guys,
> >
> >
> > I found that in the function parse_tag_ramdisk , the setup_ramdisk is
> > called. is it true that in the setup_ramdisk the location ot the
> > initrd is specified?
> >
> > it seems that in my case the parse_tag_ramdisk is never accessed. what
> > might cause this?
> >
> Hi Xu,
> I didn't get down to completely debugging this problem. But for no obvious
> reason, parsing seems to ends after it hits a command line tag.
> Try putting the command line tag last in the tag list and see if that helps.
>
> Regards
> Uli
>
> --
>
> ------- ROAD ...the handyPC Company - - - ) ) )
>
> Uli Luckas
> Software Development
>
> ROAD GmbH
> Bennigsenstr. 14 | 12159 Berlin | Germany
> fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
> url: http://www.road.de
>
> Amtsgericht Charlottenburg: HRB 96688 B
> Managing directors: Hans-Peter Constien, Hubertus von Streit
>
On Thursday, 30. August 2007, Xu Yang wrote:
> Hi guys,
>
>
> I found that in the function parse_tag_ramdisk , the setup_ramdisk is
> called. is it true that in the setup_ramdisk the location ot the
> initrd is specified?
>
> it seems that in my case the parse_tag_ramdisk is never accessed. what
> might cause this?
>
Hi Xu,
I didn't get down to completely debugging this problem. But for no obvious
reason, parsing seems to ends after it hits a command line tag.
Try putting the command line tag last in the tag list and see if that helps.
Regards
Uli
--
------- ROAD ...the handyPC Company - - - ) ) )
Uli Luckas
Software Development
ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: http://www.road.de
Amtsgericht Charlottenburg: HRB 96688 B
Managing directors: Hans-Peter Constien, Hubertus von Streit
On Thursday, 30. August 2007, Xu Yang wrote:
> Hi Uli,
>
>
> thanks for your reply.
>
> just have a question, where is the tag list, how can i modify this?
>
If you don't know where the list is created, how do you now that it contains a
ramdisk tag? There is a chance, that the kernel does not even get a ram disk
tag at all. This would also explain, why it is not parsed ;-)
The tag list is supplied by your bootloader. How the bootloader creates the
list and how to change the order depends on your bootloader. You probably
have to read (and patch) it's source code.
regards,
Uli
--
------- ROAD ...the handyPC Company - - - ) ) )
Uli Luckas
Software Development
ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: http://www.road.de
Amtsgericht Charlottenburg: HRB 96688 B
Managing directors: Hans-Peter Constien, Hubertus von Streit
Hi Uli,
thanks ,
I just found in the bootloader I used "go" to access the kernel, maybe
the problem is caused by this, I will check it further.
by the way, do you know how to setup the address of the ramdisk in the
bootloader? I used bootm kernel_address ramdisk_address.
is this enough?
regards,
Yang
2007/8/30, Uli Luckas <[email protected]>:
> On Thursday, 30. August 2007, Xu Yang wrote:
> > Hi Uli,
> >
> >
> > thanks for your reply.
> >
> > just have a question, where is the tag list, how can i modify this?
> >
> If you don't know where the list is created, how do you now that it contains a
> ramdisk tag? There is a chance, that the kernel does not even get a ram disk
> tag at all. This would also explain, why it is not parsed ;-)
>
> The tag list is supplied by your bootloader. How the bootloader creates the
> list and how to change the order depends on your bootloader. You probably
> have to read (and patch) it's source code.
>
> regards,
> Uli
>
> --
>
> ------- ROAD ...the handyPC Company - - - ) ) )
>
> Uli Luckas
> Software Development
>
> ROAD GmbH
> Bennigsenstr. 14 | 12159 Berlin | Germany
> fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
> url: http://www.road.de
>
> Amtsgericht Charlottenburg: HRB 96688 B
> Managing directors: Hans-Peter Constien, Hubertus von Streit
>