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

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (u-boot environment variable settings)
(u-boot environment variable settings)
Line 219: Line 219:
 
setenv default_initrd_addr 0x02000000  
 
setenv default_initrd_addr 0x02000000  
 
setenv bootargs_base console=ttyS0,115200  
 
setenv bootargs_base console=ttyS0,115200  
setenv bootargs_root root=/dev/mtdblock2 rw  
+
setenv bootargs_root root=/dev/ram0 rw  
 
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)  
 
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)  
 
setenv serverip 192.168.11.100  
 
setenv serverip 192.168.11.100  

Revision as of 04:49, 6 November 2007


Contents

FLASH BOOT

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

Marvell>> printenv At the time of Flash starting

baudrate=115200
loads_echo=0
ipaddr=192.168.11.150
serverip=192.168.11.1
rootpath=/nfs/arm
cpuName=926
CASset=min
MALLOC_len=4
bootargs_end=:::DB88FXX81:eth0:none
ethact=egiga0
ethaddr=00:16:01:A4:C2:4A
buffalo_ver=BOOTVER=1.091
build_time=15:59:38
initrd=initrd.buffalo
kernel=uImage.buffalo
bootargs_base=console=ttyS0,115200
bootargs_root=root=/dev/mtdblock2 rw panic=5
bootargs=$(bootargs_base) $(bootargs_root) $(buffalo_ver)
nand_uImage_offset=20000
default_kernel_addr=0x00100000
default_initrd_addr=0x02000000
def_tftp=tftp $(default_kernel_addr) $(kernel); tftp $(default_initrd_addr) $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root)  rw initrd=0x02000040,20M panic=5 $(buffalo_ver); bootm $(default_kernel_addr) $(default_initrd_addr)
nand_boot=yes
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
ethprime=egiga0
bootdelay=3
disaMvPnp=no
overEthAddr=no
usb0Mode=host
usb1Mode=host
force_tftp=1
bootcmd=tftp $(default_kernel_addr) $(kernel); tftp $(default_initrd_addr) $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root)  rw initrd=0x02000040,20M panic=5 $(buffalo_ver); bootm $(default_kernel_addr) $(default_initrd_addr)

Environment size: 1192/4092 bytes

HARD DRIVE BOOT

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

Marvell>> printenv At the time of HDD starting

baudrate=115200
loads_echo=0
ipaddr=192.168.11.150
serverip=192.168.11.1
rootpath=/nfs/arm
cpuName=926
CASset=min
MALLOC_len=4
bootargs_end=:::DB88FXX81:eth0:none
ethact=egiga0
ethaddr=00:16:01:A4:C2:4A
buffalo_ver=BOOTVER=1.091
build_time=15:59:38
initrd=initrd.buffalo
kernel=uImage.buffalo
bootargs_base=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rw panic=5
bootargs=console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
nand_uImage_offset=20000
default_kernel_addr=0x00100000
default_initrd_addr=0x02000000
def_tftp=tftp $(default_kernel_addr) $(kernel); tftp $(default_initrd_addr) $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root)  rw initrd=0x02000040,20M panic=5 $(buffalo_ver); bootm $(default_kernel_addr) $(default_initrd_addr)
nand_boot=no
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
ethprime=egiga0
bootdelay=3
disaMvPnp=no
overEthAddr=no
usb0Mode=host
usb1Mode=host
force_tftp=1
bootcmd=tftp $(default_kernel_addr) $(kernel); tftp $(default_initrd_addr) $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root)  rw initrd=0x02000040,20M panic=5 $(buffalo_ver); bootm $(default_kernel_addr) $(default_initrd_addr)

Environment size: 1197/4092 bytes


TFTP BOOT

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/ram0 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)'