[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Note to bootloader developers



At Sat, 29 May 2004 09:26:35 +1000,
John Williams wrote:
[...]
> A note to the developers of these bootloaders, if you wish to add kernel 
> command line support, it's easy.  When you jump to the kernel start 
> address, just have r5 contain the address of a null-terminated string 
> that is the kernel command line.  This string could live anywhere - 
> BRAM, flash, doesn't matter. The kernel copies it away safely very early 
> in the piece, so you don't need to worry about it getting corrupted.

I have to object on this.

the current scheme we have in microblaze arch isn't the way linux gets
kernel paramters.  Yes, it's easy to use but what we need is tag based
kernel paramter passing scheme.

some other archs also have compile time kernel parameter, which we
don't yet have.  (which is way simple, and I think I have implemented
for SUZAKU.... i'll check)

so as I (as a programmer working on microblaze port; not as an
employee of Atmark Techno) am an embedded system programmer, what we
need are:

1. standard tag based kernel paramter passing scheme
2. compile time parter passing scheme
3. (if any one needs it) current string based simple parameter scheme.

comments welcome!
--
       yashi
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/