Re: hdprefix - Load etherboot directly from a harddrive

Per Dalgas Jakobsen <[email protected]> Mon, 01 Aug 2005 17:42:51 +0200
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
Hmmm, perhaps it should be mentioned that the hdprefix patch allows for 
up to 32KB (+512B) images per default.
There's a define in the start of hdprefix.S that defines the maximum size.
Perhaps it should increased to 64KB or by other means set to the size of 
the compiled image? Can the linker do that somehow?

~Per


Marty Connor wrote:
> On Jul 30, 2005, at 5:19 AM, Per Dalgas Jakobsen wrote:
> 
>> Hmm, perhaps I should hint that the patch has been uploaded ;-)
>> http://sourceforge.net/tracker/index.php? 
>> func=detail&aid=1247871&group_id=4233&atid=304233
>> ~Per
> 
> 
> Per,
> 
> Thank you very much for this patch.  It seems like quite useful  
> functionality.
> 
> Now normally I'd tend to want to put it in the development branch, but  
> since that branch is not yet ready for release, I think this should go  
> into 5.4.1, with perhaps an "Experimental" tag, to alert people that it  
> is new.
> 
> As I'm testing 5.4.1 I'll give it a try.  It looks like it just  
> replaces the boot blocks on an HD partition.
> 
> Are there any limitations we should be aware of (things like "Must be  
> within the first N GB of the disk" or "requires fairly modern BIOS") ?
> 
> All in all it looks quite useful, and the patch seems to be unlikely to  
> break anything else, so I'd be inclined to include it.
> 
> Can some other developers take a look and make any comments?
> 
> Thanks,
> 
> Marty
> 
>> Per Dalgas Jakobsen wrote:
>>
>>> Hi all,
>>> A few days ago I tried to get a development board up and running 
>>> with  Etherboot loading from a flashdrive (IDE interface).
>>> The only thing I found was a depricated boot1a, which I didn't get 
>>> to  work (I might have done something wrong at that point).
>>> Anyway, I decided to take the quest of making a IDE-bootsector  
>>> prefix, so etherboot can be started directly from a harddrive.
>>> I e-mailed with the original author of the code that I used as basis  
>>> for this, just to be sure that there would be no Copyright issues -  
>>> He agreed happily.
>>> I have tested the patch on one system only, but I hope and think it  
>>> will work on most systems - I wonder why it hasn't been made before;  
>>> I probably have forgot to think about something... or it may already  
>>> be supported, but I couldn't find any hints on google.
>>> For a eepro100 driver:
>>> * make bin/eepro100.hd
>>> or
>>> * make bin/eepro100.zhd (makeable but not tested on system)
>>> The binary should be placed in the bootsector of the partition on  
>>> question.
>>> * dd if=/<pathtofil>/eepro100.hd of=/dev/hda2
>>> If one wants it in the second partition. The partition has to be  
>>> marked active, but I guess that is logical ;-)
>>> I hope the patch is acceptable.
>>> Perhaps it can even make it to 5.4.1? :-p
>>> ~Per
>>> -------------------------------------------------------
>>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>>> informative Webcasts and more! Get everything you need to get up to
>>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>> _______________________________________________
>>> Etherboot-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/etherboot-developers
>>
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>> _______________________________________________
>> Etherboot-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/etherboot-developers
>>
> 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click