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

Re: [microblaze-uclinux] bootstrap code



Hi Jozsef,

jozsef imrek wrote:
> On Wed, 12 May 2004, Greg Ungerer wrote: 
>>Ok, interresting. Can objcopy also create/set values in the program
>>headers?
> 
> i just did not have too much time to spend on this, and found no positive
> answer up to now. anyone else with more expereince?
> 
> i think some post linking solution would be prefered, so that the kernel
> would not depend on an already built filesystem (and thus compiled
> applications, which themselves depend on kernel headers...).

I really don't like link methods that rely on building applications
first. They should be avoided at all costs.


> i'am also thinking of a solution where the filesystems are not bundled
> with the kerenl image, but they get get initialized directly from a flash
> partition.
> 
> the kernel could get the mtd partition name/major,minor for
> device/direct memory address within flash via command line.

That is easy, and many targets do it this way.

But on many targets it is _very_ convienient to have a build
that gives you just 1 image file to be loaded. It is somewhat
annoying to have to load a kernel and filesystem if you must
load into RAM.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg@snapgear.com
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
___________________________
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/