Skip to content

Instantly share code, notes, and snippets.

@davecheney
Last active August 29, 2015 13:56
Show Gist options
  • Save davecheney/8997968 to your computer and use it in GitHub Desktop.
Save davecheney/8997968 to your computer and use it in GitHub Desktop.
FreeBSD on BBB issues
# RELEASE image has WITNESS enabled
# autosize doesn't work on first boot
mmcsd0s2 resized
gpart: autofill: No space left on device
growfs: requested size 952MB is not larger than the current filesystem size 952MB
root@beaglebone:~ # gpart show
=> 63 15523777 mmcsd0 MBR (7.4G)
63 4095 1 !12 [active] (2.0M)
4158 15519672 2 freebsd (7.4G)
15523830 10 - free - (5.0K)
=> 0 1948959 mmcsd0s2 BSD (7.4G)
0 1948959 1 freebsd-ufs (952M)
If you reboot the host the resize works properly on bootup. Compared to the RPI which auto resized properly the first boot
# BBB clock is wedged at 550mhz, even if running with decent v5 power
am335x_prcm0: <AM335x Power and Clock Management> mem 0x44e00000-0x44e012ff on simplebus0
am335x_prcm0: Clocks: System 24.0 MHz, CPU 550 MHz
Possible workaround by manually editing the uboot config file, http://permalink.gmane.org/gmane.os.freebsd.devel.arm/6737
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment