[[PageOutline]] [=#u-boot] == U-Boot Bootloader Gateworks supports the U-Boot Bootloader for the Malibu product family. The purpose of a bootloader is to load the Linux kernel and execute it passing it configuration parameters such as an optional kernel command-line, an optional initial ramdisk filesystem, and a device-tree. The following items are supported in the Gateworks U-Boot for Malibu: - eth0 (RGMII) - USB Host mode (USB Mass Storage and USB Networking for various USB Ethernet adapters supported by U-Boot - eMMC / microSD The following items are not currently supported in the Gateworks U-Boot for Malibu: - PCIe support - USB device mode support (for USB OTG) Additional resources: * [http://dev.gateworks.com/malibu/boot_firmware/ Pre-built boot firmware (updated from U-Boot/Linux)] * [http://dev.gateworks.com/malibu/images/ firmware-malibu* JTAG binaries] * [https://github.com/Gateworks/uboot-malibu source] see [wiki:uboot] for more info [=#default] == Restoring defaults The Malibu boot firmware has a copy of the original U-Boot env that was created during build time. To restore default bootloader environment variables: - At the "Hit any key to stop autoboot:" prompt press any key. - Execute the following command: {{{#!bash run restore_env && reset }}} == Editing the environment If you would like to modify the default environment you can edit the [https://github.com/Gateworks/malibu-bsp/blob/main/malibu.env malibu.env] in the Malibu BSP.