HighWire HW400c/2 User Reference Guide Rev 1.0
5.5.3.2 Creating a uRamdisk Image
uRamdisk is a tiny kernel image needed to boot uImage from the Disk on Chip.
ng
# /sbin/m
mkdir -p /
mount -o loop ramdisk.image /mnt/ramdisk
Copy everything that is need th mdis disk. Then...
# umount /mnt/ramdisk
# gzip ramdi
Ramdisk can be written t with the docshell utility.
5.5.3.3 Booting from DoC
U-boot, the bootargs
# set bootargs ip=bootp root=/dev/ram0 rw console=ttyMM0,9600n8
ramdisk_siz
# saveenv oot variables to NVRAM
Then boot from disk-on-chip as follows:
docload
# bootm 400000 800000
Alternately, rese
uRamdisk has the same intent as a ramdisk on other linux platforms. It brings up
necessary drivers needed to access the real kernel image (uImage). After booti
the HW400c/2, the following commands will create uRamdisk.
# dd if=/dev/zero of=ramdisk.image bs=1024 count=32768
kfs.ext2 ramdisk.image
# mnt/ramdisk
#
ed in e ra k to /mnt/ram
sk.image
# mkimage -T ramdisk -C gzip -d ramdisk.image.gz uRamdisk
u
o disk-on-chip
In variable should be set as follows:
e=65536
# Save the U-B
#
t the card and let auto boot run.
October 10, 2006 Copyright 2006, SBE, Inc. Page 85