Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:user:kylek [2009/11/11 02:40]
kylek
wiki:user:kylek [2010/05/16 00:02] (current)
kylek fix link to proxydhcp page, [[ProxyDHCP]] -> [[/ProxyDHCP]]
Line 21: Line 21:
 </​code>​ </​code>​
 ===== embedding keys onto the rom image ===== ===== embedding keys onto the rom image =====
-<​del>​For starters the boot script gets changed a little bit</​del> ​Nothing needs to get changed. ​I'm not sure what happens ​in the event of collision, a file with the same name in both the initrd and in embed.img+Nothing needs to get changed. ​Files in the initrd provided via dhcp overwrite identically named files from the embedded initrd archive. It's still good idea to segregate ​the embedded files for example /embed/*
 <​code>​ <​code>​
 #!gpxe #!gpxe
Line 36: Line 36:
  
 Formats: Formats:
-gzipped ​cpio - works\\ +cpio archive compressed with gzip is the classic default, but I've seen support recently for bzip2 lzma  
-gzipped tar - not tested yet\\ +<​code>​ 
 +In make menuconfig under General Settings 
 +[*]   ​Support initial ramdisks compressed using gzip 
 +[*]   ​Support initial ramdisks compressed using bzip2 
 +[*]   ​Support initial ramdisks compressed using LZMA 
 +</​code>​
 Note: My assumption of the default gpxe script might be incorrect. Note: My assumption of the default gpxe script might be incorrect.
 <​code>​ <​code>​
 echo \#\!gpxe > default.gpxe echo \#\!gpxe > default.gpxe
 echo autoboot >> default.gpxe</​code>​ echo autoboot >> default.gpxe</​code>​
-Build the desired image+Build the desired image (cwd = gpxe/src) 
 +<​code>​ 
 +mkdir embed 
 +put files in embed directory 
 +# Check permissions,​ ssh private keys wont get used if they'​re not set to be -rw-r--r-- 
 +find embed -xdev |sort| cpio --quiet -H newc -o |TIME gzip > embed.img 
 +</​code>​ 
 <​code>​make EMBEDDED_IMAGE=./​default.gpxe,​./​embed.img bin/​pcnet32.pxe</​code>​ <​code>​make EMBEDDED_IMAGE=./​default.gpxe,​./​embed.img bin/​pcnet32.pxe</​code>​
 <​code>​make EMBEDDED_IMAGE=./​default.gpxe,​./​embed.img bin/​10ec8139.rom</​code>​ <​code>​make EMBEDDED_IMAGE=./​default.gpxe,​./​embed.img bin/​10ec8139.rom</​code>​
  
-Note: running rset8139 with a 1mbit eeprom in the socket while the 8139 was set to not have a boot rom caused rset8139 to hang. +
 ===== Burning an eeprom ​ ===== ===== Burning an eeprom ​ =====
-I fired up RSET8139 in freedos with the bootrom socket empty and set the bootrom size to 128kb. RSET8139 has options for 8kb 16kb 32kb 64kb and 128kb. ​+Burning an eeprom is two steps, enabling bootrom with rset8139 and programming it 
 +I fired up RSET8139 in freedos with the bootrom socket empty and set the bootrom size to 128kb. RSET8139 has options for 8kb 16kb 32kb 64kb and 128kb. This appears to work if multiple cards are plugged in.
  
 Note: running rset8139 with a 1mbit eeprom in the socket while the 8139 was set to not have a boot rom caused rset8139 to hang.  Note: running rset8139 with a 1mbit eeprom in the socket while the 8139 was set to not have a boot rom caused rset8139 to hang. 
Line 57: Line 69:
 ===== Issues so far ===== ===== Issues so far =====
 cifs client doesn'​t appear to watch connections as well as it should cifs client doesn'​t appear to watch connections as well as it should
 +
 +there is not much documentation on [[/​ProxyDHCP]] concept

QR Code
QR Code wiki:user:kylek (generated for current page)