Gonzo has a blog entry about this:
https://kernelnomicon.org/?p=306
Covered here too:
https://wiki.freebsd.org/FreeBSDMarvell
tftpboot 900000 mv5281/kernel.bin
The article looks to be written in short-hand, and seems to be designed for those who have previously set up the whole process. I can see myself struggling to make this work.
I have pfSense and FreeNAS set up to provide DHCP, TFTPD and NFS, although I'm not sure how easy it is to configure them as suggested in the article.
I'd be interested to know where this 'Marvell U-Boot' comes from and how I would get it installed on my GoFlexHome unit...
but I'm principally interested in what file to fetch from the tftp server and how to execute it.
This line seems to be what I need...
tftpboot 900000 mv5281/kernel.bin
Prepare a drive
I’m using a slow, generic 2GB flash drive, but anything with at least a GiB or so of space should do.
Delete any existing partitions.
[LIST=1]
[*]gpart delete -i 1 da0
[*]gpart destroy da0
[/LIST]
Create a 32MiB FAT partition and fill the rest of the drive with a FreeBSD slice.
[LIST=1]
[*]gpart create -s MBR da0
[*]gpart add -s 32M -t freebsd da0
[*]gpart add -t freebsd da0
[/LIST]
Format the FAT partition.
[LIST=1]
[*]newfs_msdos /dev/da0s1
[/LIST]
Label the UFS slice, create the filesystem, and add a filesystem volume label so the kernel can find it later.
[LIST=1]
[*]bsdlabel -w /dev/da0s2
[*]newfs -n da0s2a
[*]tunefs -L kirkwoodroot /dev/da0s2a
[/LIST]
Install the kernel
[LIST=1]
[*]mount -t msdosfs /dev/da0s1 /root/usb
[*]cp /usr/obj/arm/usr/src/sys/DOCKSTAR-COOLTRAINER/kernel.bin /root/usb
[*]umount /root/usb
[/LIST]
make -j 8 buildworld TARGET_ARCH=arm -DWITH_FDT
make -j 8 buildkernel TARGET_ARCH=arm KERNCONF=DB-88F6XXX