FreeBSD on Dockstar: U-Boot / ubldr?
Tom Everett
tom at 0x544745.com
Sat May 3 18:42:52 UTC 2014
For wandboard, I used this patch:
https://github.com/kientzle/crochet-freebsd/blob/master/board/Wandboard/files/uboot-2013.10_include_configs_wandboard.h.patch
I also chose to use a u-boot scr file rather than apply a pile of
patches to u-boot to set the boot config. My hope was that when it came
time to move to the next u-boot version I would not have to update as
many patch files.
The source of the scr file is here:
https://github.com/kientzle/crochet-freebsd/blob/master/board/Wandboard/files/boot.txt
The code in setup.sh to build the scr file is:
#
# build the u-boot scr file
#
strategy_add $PHASE_BOOT_INSTALL uboot_mkimage "files/boot.txt" "boot.scr"
> Ian Lepore <mailto:ian at FreeBSD.org>
> May 3, 2014 at 12:35 PM
>
> Using ubldr requires a u-boot that has the 'API' feature enabled.
> Virtually no u-boot comes that way from a vendor. I don't think the
> feature even existed when the kirkwood systems were current.
>
> To enable that, all you need to do is add the CONFIG_API option when
> building u-boot. I'm not sure that's the exact spelling, but look at
> the patches that get applied to rpi or beaglebone, it'll be like that.
>
> -- Ian
>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> Torfinn Ingolfsen <mailto:torfinn.ingolfsen at getmail.no>
> May 3, 2014 at 12:20 PM
> I'm trying to set up a crochet config for the Seagate Dockstar.
> (For some reason it seems like nobody has done this for Dockstar /
> Dreamplug already)
> Anyway, my Dockstar currently uses the built-in U-Boot and loads the
> kernel directly off a FAT partition.
> I see that the "modern" way to do it seems to be to load U-Boot and
> ubldr from a boot partition, then let ubldr figure out how to load the
> kernel and boot.
> Show it be this way for Dockstar / Dreamplug too?
>
> If so, does the Dockstar need a "special" version of U-Boot, like the
> RaspberryPi?
> And how to set that up?
More information about the freebsd-arm
mailing list