Diff for /wikisrc/ports/sandpoint/instsynology.mdwn between versions 1.3 and 1.4

version 1.3, 2014/01/06 14:45:54 version 1.4, 2014/01/06 15:15:38
Line 9  supported: Line 9  supported:
 <table>  <table>
 <tbody>  <tbody>
 <tr class="odd">  <tr class="odd">
 <td align="left">**Model**</td>  <td align="left"><strong>Model</strong>td>
 <td align="left">**CPU**</td>  <td align="left"><strong>CPU</strong>td>
 <td align="left">**Clock**</td>  <td align="left"><strong>Clock</strong>td>
 <td align="left">**Disk**</td>  <td align="left"><strong>Disk</strong>td>
 <td align="left">**RAM**</td>  <td align="left"><strong>RAM</strong>td>
 </tr>  </tr>
 <tr class="even">  <tr class="even">
 <td align="left">DS-101g+</td>  <td align="left">DS-101g+</td>
Line 150  models: Line 150  models:
 <td align="left"><table>  <td align="left"><table>
 <tbody>  <tbody>
 <tr class="odd">  <tr class="odd">
 <td align="left">**Pin number**</td>  <td align="left"><strong>Pin number</strong>td>
 <td align="left">**Function**</td>  <td align="left"><strong>Function</strong>td>
 </tr>  </tr>
 <tr class="even">  <tr class="even">
 <td align="left">1</td>  <td align="left">1</td>
Line 289  and `serverip` environment variables wit Line 289  and `serverip` environment variables wit
 TFTP and DHCP ([read below](#altboot_install)) you can download  TFTP and DHCP ([read below](#altboot_install)) you can download
 `altboot` like this:  `altboot` like this:
   
     _MPC824X > **setenv ipaddr=192.168.0.106**      _MPC824X > <strong>setenv ipaddr=192.168.0.106</strong>
     _MPC824X > **setenv serverip=192.168.0.5**      _MPC824X > <strong>setenv serverip=192.168.0.5</strong>
     _MPC824X > **setenv netmask=255.255.255.0**      _MPC824X > <strong>setenv netmask=255.255.255.0</strong>
     _MPC824X > **tftpboot 0x1000000 altboot.bin**      _MPC824X > <strong>tftpboot 0x1000000 altboot.bin</strong>
     ARP broadcast 1      ARP broadcast 1
     TFTP from server 192.168.0.5; our IP address is 192.168.0.106      TFTP from server 192.168.0.5; our IP address is 192.168.0.106
     Filename 'altboot.bin'.      Filename 'altboot.bin'.
Line 322  argument to `kermit`. Line 322  argument to `kermit`.
 Load `altboot` into memory using Kermit protocol. The binary is  Load `altboot` into memory using Kermit protocol. The binary is
 relocated at `0x1000000`, so type:  relocated at `0x1000000`, so type:
   
     _MPC824X > **loadb 1000000**      _MPC824X > <strong>loadb 1000000</strong>
     ## Ready for binary (kermit) download ...      ## Ready for binary (kermit) download ...
   
 Now quit your terminal program and launch `kermit cmdfile`. When you are  Now quit your terminal program and launch `kermit cmdfile`. When you are
Line 362  OS/sandpoint distribution and copy it in Line 362  OS/sandpoint distribution and copy it in
 Then start the DHCP, NFS or TFTP server and boot the installation kernel  Then start the DHCP, NFS or TFTP server and boot the installation kernel
 from the firmware either with  from the firmware either with
   
     _MPC824X > **go 1000000 tftp:netbsd-INSTALL**      _MPC824X > <strong>go 1000000 tftp:netbsd-INSTALL</strong>
   
 or from NFS:  or from NFS:
   
     _MPC824X > **go 1000000 nfs:netbsd-INSTALL**      _MPC824X > <strong>go 1000000 nfs:netbsd-INSTALL</strong>
   
 Our bootloader configures the hardware, determines the IP address, loads  Our bootloader configures the hardware, determines the IP address, loads
 the kernel via network and launches it:  the kernel via network and launches it:
Line 475  chosen a different address. Line 475  chosen a different address.
 Load `altboot.bin` into memory at `0x1000000` again, as explained above.  Load `altboot.bin` into memory at `0x1000000` again, as explained above.
 Then execute the following commands to write it to Flash ROM:  Then execute the following commands to write it to Flash ROM:
   
     _MPC824X > **protect off all**      _MPC824X > <strong>protect off all</strong>
     Un-Protect Flash Bank # 1      Un-Protect Flash Bank # 1
     _MPC824X > **erase ff400000 ff41ffff**      _MPC824X > <strong>erase ff400000 ff41ffff</strong>
     Erase Flash from 0xff400000 to 0xff41ffff       Erase Flash from 0xff400000 to 0xff41ffff 
     . done      . done
     Erased 1 sectors      Erased 1 sectors
     _MPC824X > **cp.b 1000000 ff400000 18000**      _MPC824X > <strong>cp.b 1000000 ff400000 18000</strong>
     Copy to Flash... done      Copy to Flash... done
     _MPC824X > **protect on all**      _MPC824X > <strong>protect on all</strong>
     Protect Flash Bank # 1      Protect Flash Bank # 1
   
 Finally adapt the `bootcmd` environment string to auto-boot `altboot`  Finally adapt the `bootcmd` environment string to auto-boot `altboot`
 and start the `netbsd` kernel (which is the default name) from `wd0` on  and start the `netbsd` kernel (which is the default name) from `wd0` on
 each reboot:  each reboot:
   
     _MPC824X > **setenv bootcmd cp.b ff400000 1000000 18000\; go 1000000 wd0:**      _MPC824X > <strong>setenv bootcmd cp.b ff400000 1000000 18000\; go 1000000 wd0:</strong>
     _MPC824X > **saveenv**      _MPC824X > <strong>saveenv</strong>
     Saving Environment to Flash...      Saving Environment to Flash...
     unProtect FFF40000 ... FFF5FFFF      unProtect FFF40000 ... FFF5FFFF
     Un-Protected 1 sectors      Un-Protected 1 sectors
Line 525  explained [above](#altboot). You might w Line 525  explained [above](#altboot). You might w
 image first. Then execute the following commands to overwrite it with  image first. Then execute the following commands to overwrite it with
 `altboot.img`:  `altboot.img`:
   
     _MPC824X > **protect off all**      _MPC824X > <strong>protect off all</strong>
     Un-Protect Flash Bank # 1      Un-Protect Flash Bank # 1
     _MPC824X > **erase ffc00000 ffc1ffff**      _MPC824X > <strong>erase ffc00000 ffc1ffff</strong>
     Erase Flash from 0xffc00000 to 0xffc1ffff       Erase Flash from 0xffc00000 to 0xffc1ffff 
     . done      . done
     Erased 1 sectors      Erased 1 sectors
     _MPC824X > **cp.b 1000000 ffc00000 18000**      _MPC824X > <strong>cp.b 1000000 ffc00000 18000</strong>
     Copy to Flash... done      Copy to Flash... done
     _MPC824X > **protect on all**      _MPC824X > <strong>protect on all</strong>
     Protect Flash Bank # 1      Protect Flash Bank # 1
   
 Optionally you may think about replacing the Linux RAM disk image at the  Optionally you may think about replacing the Linux RAM disk image at the

Removed from v.1.3  
changed lines
  Added in v.1.4


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb