Difference between revisions of "Kurobox Pro u-boot environment variable settings"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (New page: {{Articles|KuroboxPro}})
 
m
Line 1: Line 1:
 
{{Articles|KuroboxPro}}
 
{{Articles|KuroboxPro}}
 +
 +
===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>

Revision as of 05:04, 24 August 2007


Contents

Boot settings when uImage(nand /dev/mtdblock1), rootfs(nand /dev/mtdblock2)

uImage /dev/mtdblock1 (0x00020000~0x00400000)

4MB arrangement excluding head 128KB

initrd ----- (Not use)
rootfs /dev/mtdblock2

u-boot environment variable settings

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)’ 

Boot settings when uImage(nand /dev/mtdblock1), rootfs(/dev/sda2)

uImage /dev/mtdblock1 (0x00020000~0x00400000)

4MB arrangement excluding head 128KB

initrd -----(Not use)
rootfs /dev/sda2

u-boot environment settings

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)’

Boot settings when uImage(/dev/sda1), rootfs(/dev/sda2)

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

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)’ 

Boot settings when uImage(tftp load), rootfs(nand /dev/mtdblock2)

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

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)

Boot settings when uImage(tftp load), initrd(tftp load)

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

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)’