Device reference: WDBCTL0030HWT-EESN
Board reference: WD_Glacier_DB-88F6720-V2
- Marvell SoC Armada 375 (88F6720)
- Macronix flash memory: MX25L8006E
- Samsung DDR3 SDRAM: 1x 512 MB K4B4G1646D-BCK0
- Western Digital hard drive: WD30EFRX.
I am not responsible for any damage or waranty loss. This is not supported by Western Digital.
Instructions lead to data loss. Consider backing up data. Think twice before running scripts.
- Trial and error show that the bootloader looks for two files on partition 3 (and then partition 5 if the first startup fails):
- uImage (kernel and dtb files),
- uRamdisk (compressed ramdisk).
/linuxrc
(initrd) is executed,/bin/busybox
takes over, reads/etc/inittab
and executes/etc/rc.sh
,- special filesystems are mounted and
scripts/system_init
fromimage.cfs
is run.
For more, see partitions.
mkimage
from U-Boot (uboot-tools)arm-none-eabi-gcc
from ARM (gcc-arm-none-eabi-bin)
- Create an ext2 partition with number 3 (U-Boot looks in 3 and then 5)
Number Start (sector) End (sector) Size Code Name
3 2048 264191 128.0 MiB 8300 Linux filesystem
mke2fs -t ext2 -m 0 <device>
- Generate
uImage
anduRamdisk
(optionally edit the kernel configuration inconfig
and theinit
script for initramfs)
make
- Copy the files to the folder
/boot
mount /dev/sdb3 /mnt
cp uImage /mnt/boot/
cp uRamdisk /mnt/boot/
umount /mnt
- Boot the device
Instructions in root/README.md.
- SATA to USB adapter (partition and write to the hard drive)
- UART to USB adapter and soldering material for a U-Boot prompt
- lock the root account
- configure the partition to save data
- set up rsync
- the hard drive does not automatically go to standby mode