Difference between revisions of "Sandbox"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Feeds)
m (Kuroboxprostuff)
Line 120: Line 120:
  
  
==Kuroboxprostuff==
+
such as:<DPL>
 
+
category=LSPro
Appendix
+
category=KuroboxPro
 
+
</DPL>
Appendix A: Example of u-boot environment variable settings
+
 
+
===Boot settings when uImage(nand /dev/mtdblock1), rootfs(nand /dev/mtdblock2)===
+
 
+
{|class=wikitable
+
|-
+
||uImage || /dev/mtdblock1 (0x00020000~0x00400000)
+
4MB arrangement excluding head 128KB
+
|-
+
|| initrd ||  ----- (Not use)
+
|-
+
|| rootfs || /dev/mtdblock2
+
|}
+
 
+
====u-boot environment variable settings====
+
 
+
<pre>
+
setenv default_kernel_addr 0x00100000
+
setenv bootargs_base console=ttyS0,115200
+
setenv bootargs_root root=/dev/mtdblock2 rw
+
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
+
setenv uImage_block 0
+
setenv uImage_offset 0x00020000
+
setenv bootcmd ‘nboot $(default_kernel_addr) $(uImage_block) $(uImage_offset); bootm $(default_kernel_addr)’
+
</pre>
+
 
+
===Boot settings when uImage(nand /dev/mtdblock1), rootfs(/dev/sda2)===
+
 
+
{|class=wikitable
+
|-
+
|| uImage || /dev/mtdblock1 (0x00020000~0x00400000)
+
4MB arrangement excluding head 128KB
+
|-
+
||initrd || -----(Not use)
+
|-
+
||rootfs ||/dev/sda2
+
|}
+
 
+
====u-boot environment settings====
+
 
+
<pre>
+
setenv default_kernel_addr 0x00100000
+
setenv bootargs_base console=ttyS0,115200
+
setenv bootargs_root root=/dev/sda2 rw
+
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
+
setenv uImage block 0
+
setenv uImage_offset 0x00020000
+
setenv bootcmd ‘nboot $(default_kernel_addr) $(uImage_block) $(uImage_offset); bootm $(default_kernel_addr)’
+
</pre>
+
 
+
===Boot settings when uImage(/dev/sda1), rootfs(/dev/sda2)===
+
 
+
{|class=wikitable
+
|-
+
||uImage || /dev/sda1
+
|-
+
||initrd || -----(Not use)
+
|-
+
||rootfs || /dev/sda2
+
|-
+
||Notes ||
+
* /dev/sdal is formatted in ext2, and uImage.buffalo is stored.
+
|}
+
====u-boot environment settings====
+
 
+
<pre>
+
setenv default_kernel_addr 0x00100000
+
setenv bootargs_base console=ttyS0,115200
+
setenv bootargs_root root=/dev/sda2 rw
+
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
+
setenv bootcmd ‘ext2load ide 0:1 $(default_kernel_addr)/$(kernel); bootm $(default_kernel_addr)’
+
</pre>
+
 
+
===Boot settings when uImage(tftp load), rootfs(nand /dev/mtdblock2)===
+
 
+
{|class=wikitable
+
|-
+
|| uImage || Load from tftp
+
|-
+
|| initrd || -----(Not use)
+
|-
+
|| rootfs || /dev/mtdblock2
+
|-
+
|| tftpserver || (e.g.) 192.168.11.100
+
|-
+
|| KUROBOX-PRO || (e.g.) 192.168.11.150
+
|-
+
|| Notes ||
+
* uImage.buffalo exists in the tftp root directory of tftpserver.
+
|}
+
 
+
====u-boot environment variable settings====
+
 
+
<pre>
+
setenv default_kernel_addr 0x00100000
+
setenv bootargs_base console=ttyS0,115200
+
setenv bootargs_root root=/dev/mtdblock2 rw
+
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
+
setenv serverip 192.168.11.100
+
setenv ipaddr 192.168.11.150
+
setenv bootcmd ‘tftp $(default_kernel_addr) $(kernel); bootm $(default_kernel_addr)
+
</pre>
+
 
+
===Boot settings when uImage(tftp load), initrd(tftp load) ===
+
 
+
{|class=wikitable
+
|-
+
||uImage  || Load from tftp
+
|-
+
|| initrd || Load from tftp
+
|-
+
|| rootfs || Exists in initrd
+
|-
+
|| tftpserver (e.g.) || 192.168.11.100
+
|-
+
|| KUROBOX-PRO (e.g.) || 192.168.11.150
+
|-
+
|| Notes ||
+
* uImage.buffalo and initrd.buffalo exist in the tftp root directory of tftpserver.
+
* rootfs exists in initrd.
+
* After expanding rootfs in initrd, it is within 32MB.
+
|}
+
 
+
====u-boot environment variable settings====
+
 
+
<pre>
+
setenv default_kernel_addr 0x00100000
+
setenv default_initrd_addr 0x02000000
+
setenv bootargs_base console=ttyS0,115200
+
setenv bootargs_root root=/dev/mtdblock2 rw
+
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
+
setenv serverip 192.168.11.100
+
setenv ipaddr 192.168.11.150
+
setenv bootcmd ‘tftp $(default_kernel_addr) $(kernel); tftp $(default_initrd_addr) $(initrd); bootm$(default_kernel_addr) $(default_initrd_addr)’
+
</pre>
+
  
 
==<small>footer</small>==
 
==<small>footer</small>==
 
{{Stubs}}
 
{{Stubs}}

Revision as of 01:01, 27 August 2007

300px-Kalabrien_Ricadi_Sandwellen_2129.jpg

Contents

Help with editing

Power-architecture-logo.png MIPS Logo color.png ARM Logo hires.png
LS1 HD-HLAN v1
HD-H(G).jpg
LS2 HD-HLAN v2
HD-H(G).jpg
HG HD-HGLAN
HD-H(G).jpg
HS
Home Server
HS-DGL
HS-LS.jpg
LSPRO
LinkStation Pro
LS-GL
LS-Pro.jpg
LSLIVE
LinkStation Live™
HS-DHGL
HS-DHGL.jpg
LS-LGL
LS-LGL
LS-LGL
LS LGL.jpg
TS
TeraStation
HD/HS-HTGL
TeraStation.jpg
TSPRO1
TeraStation Pro
TS-TGL v1
Ts-pro.jpg
TSPRO2 TS-HTGL v2
Ts-pro.jpg
TSLIVE
TeraStation Live
HS-DHTGL
TSLive.jpg
KURO/HG KUROBOX
Kuro-box.jpg
KUROPRO KUROBOX Pro
Kuro-box pro.jpg

Icons

HD-H(G).jpg HS-LS.jpg LS-Pro.jpg TeraStation.jpg Ts-pro.jpg Kuro-box.jpg Kuro-box pro.jpg

Linkstation-debdux.gif 32px-Bulbgraph.png 32px-Attention_niels_epting.svg.png

32px-Nuvola_apps_emacs.png 32px-Gnu-color-reiss-head.jpg 32px-Heckert_GNU_white.svg.png


32px-Nuvola_apps_kservices.png 32px-Tux.svg.png 32px-Nuvola_devices_3floppy_unmount.png 32px-Nuvola_apps_kcmprocessor.png 32px-Nuvola_apps_important.svg.png 32px-Nuvola_apps_krec.png 32px-Nuvola_apps_kblackbox.png


32px-Power-architecture-logo.png 32px-ARM_logo.gif 32px-Arm_muscles_front_superficial.png 32px-Toshiba_TC86R4400MC-200_9636YJA_top.jpg



32px-Phosphate.svg.png 32px-Greek_uc_mu.png


32px-Coat_of_Arms_of_Germany.svg.png 32px-Flag_of_Germany.svg.png

Feeds

<feed url="http://forum.linkstationwiki.net/generate_feed.php?content=posts&global=1">

[{PERMALINK} {TITLE}]

{DESCRIPTION}

</feed>


such as:<DPL> category=LSPro category=KuroboxPro </DPL>

footer

Link.png This article is currently a stub. You can help this Wiki by expanding it

. This template will categorize articles that include it into Category:Stubs.