| 1 | [[PageOutline]] |
| 2 | |
| 3 | |
| 4 | [=#u-boot] |
| 5 | == U-Boot Bootloader |
| 6 | Gateworks supports the U-Boot Bootloader for the Malibu product family. |
| 7 | |
| 8 | 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. |
| 9 | |
| 10 | The following items are supported in the Gateworks U-Boot for Malibu: |
| 11 | - eth0 (RGMII) |
| 12 | - USB Host mode (USB Mass Storage and USB Networking for various USB Ethernet adapters supported by U-Boot |
| 13 | - eMMC / microSD |
| 14 | |
| 15 | The following items are not currently supported in the Gateworks U-Boot for Malibu: |
| 16 | - PCIe support |
| 17 | - USB device mode support (for USB OTG) |
| 18 | |
| 19 | |
| 20 | Additional resources: |
| 21 | * [http://dev.gateworks.com/malibu/boot_firmware/ Pre-built boot firmware (updated from U-Boot/Linux)] |
| 22 | * [http://dev.gateworks.com/malibu/images/ firmware-malibu* JTAG binaries] |
| 23 | * [https://github.com/Gateworks/uboot-malibu source] |
| 24 | |
| 25 | see [wiki:uboot] for more info |
| 26 | |
| 27 | |
| 28 | [=#default] |
| 29 | == Restoring defaults |
| 30 | The Malibu boot firmware has a copy of the original U-Boot env that was created during build time. |
| 31 | |
| 32 | To restore default bootloader environment variables: |
| 33 | |
| 34 | - At the "Hit any key to stop autoboot:" prompt press any key. |
| 35 | |
| 36 | - Execute the following command: |
| 37 | {{{#!bash |
| 38 | run restore_env && reset |
| 39 | }}} |
| 40 | |
| 41 | == Editing the environment |
| 42 | 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. |