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

Re: [microblaze-uclinux] bootstrap code



Hi jozsef,

At Tue, 11 May 2004 04:38:59 +0200 (CEST),
jozsef imrek wrote:
[snip nice tutorial for space]
> with some more tweaking on the linking you can remove the entire
> mach_early_init(): this function copies the romfs into the right
> place (solved above), zeroes out the bss and sbss data sections (done by
> the loader code if a bug i left in it gets corrected :), and sets up the
> reset, interrupt, etc vectors at 0x00000000 (you just have to modify the
> linker script to put .intv section into LMB instead of OPB). some might
> want to play around with the tricks mentioned in the head of mbvanilla.ld
> too. :)

I had been somehow made to think that uClinux is moving away from elf
stuff. Arm nommu has compile time option to choose romfs or not, most
of arch (including plain linux) copy intv by itself, etc, etc.

but after I read this thread, it seems to be very nice to do it with
bootloader. do you, or any of you, have a pointer to a discussion, if
any, about whether those relocation should be done by bootloader or
the kernel itself?

thank you for your work and sorry about my ignorance.

regards,
--
            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/