# Beaglebone missing default u-boot environment in MMC

**URL:** <https://hub.mender.io/t/beaglebone-missing-default-u-boot-environment-in-mmc/1505>\
**Category:** General Discussions\
**Tags:** yocto, beaglebone-black, warrior, u-boot\
**Created:** [February 5, 2020, 8:43pm UTC](https://hub.mender.io/t/beaglebone-missing-default-u-boot-environment-in-mmc/1505 "2020-02-05T20:43:52Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![pacpowmatthew](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/pacpowmatthew/32/494_2.png) [@pacpowmatthew](https://hub.mender.io/u/pacpowmatthew)\
**Post date:** [November 11, 2020, 5:40pm UTC](https://hub.mender.io/t/beaglebone-missing-default-u-boot-environment-in-mmc/1505/15 "2020-11-11T17:40:16Z")

</div>

Hi! I’m also relatively new to Yocto and Mender, so this may not be an optimal solution, but it’s working for us.

In my `meta-myproject` layer I created a `recipes-bsp/` directory containing these files:

`./u-boot/u-boot_%.bbappend`:

```auto
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append += "file://no_config_env_is_in_fat.cfg"

```

This is a relatively simple bbappend file that adds the `./files/` directory to the search path, and then tells the recipe to include the new `no_config_env_is_in_fat.cfg` file, which it somehow knows is a config file (maybe it assumes that for `.cfg` files, maybe it parses the file, I’m not sure).

`./u-boot/files/no_config_env_is_in_fat.cfg`:

```auto
CONFIG_ENV_IS_IN_FAT=n

```

This KCONF snippet changes the compilation options for u-boot, to disable support for storing the env in fat.

Hope that helps!

---

_[View the full topic](https://hub.mender.io/t/beaglebone-missing-default-u-boot-environment-in-mmc/1505)._
