Phase 2 of samsung/exynos_* cleanup
Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX
(well FreeBSD documents INT_MAX + 1, but in the code it is INT_MAX).
Increase ramdisk size.
Minix also has getenv_r support
escape $ in $board so this will boot on beaglebone too