[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Patch submission - default kernel commandline w/no bootloader
Hi Steve, Yashi,
Yasushi SHOJI wrote:
>>Please find attached a patch submission for enabling menuconfig setup
>>of a default kernel command line w/o needing a bootloader to do it. (I
>>do a lot of my testing by downloading via a P4 cable.) Not a big deal,
>>but something I got used to doing in PPC Linux world and was missing it
>>in the MicroBlaze world.
>
> why don't we kill the CONFIG_MBVANILLA_CMDLINE all together? what we
> need, IMHO, is rewritable bootloader_buf_addr, which is pointing to a
> fixed location right now.
Sorry, I haven't had a chance to look at this yet, will try to do so
next week.
I'm still in favour of the kernel taking it's cmdline args from
whereever r5 is pointing at kernel launch time (as a null-terminated C
string). That makes it trivial to write bootloaders that pass params,
and means that the kernel doesn't need to know or assume anything about
the bootloader.
Regards,
John
___________________________
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/