Das U-Boot
Das U-Boot (the universal bootloader), is arguably the richest, most flexible, and most actively developed FOSS bootloader available. It's released under the GNU GPL and maintained at http://www.denx.de/wiki/U-Boot/.
Uboot can be build with OpenWrt Buildroot, Embedded Linux Development Kit, and others. For documentation see ELDK-4 / ELDK-5.
U-Boot version | Purpose |
---|---|
u-boot-..._brn | Meant to be loaded from brnboot (stock bootloader) as a 2nd stage bootloader into RAM |
u-boot-..._nor | Meant to be flashed onto flash memory as main bootloader (at 0xB0000000), overwriting orignal bootloader |
u-boot-..._ram | Meant to be uploaded via UART by serial if nor_bootloader got bricked, for rescue purposes |
Compilation
- retrieve source code, patch support for you hardware if not already contained in that mainline version
- use a toolchain of your choice to build
→http://www.denx.de/wiki/view/DULG/UBootDoesntRunAfterUpgradingMyCompiler
Configuration
→ uboot.config
→ flashlog
Documentation
- ftp://ftp.denx.de/pub/u-boot/ Obtain latest version
-
- Das U-Boot Presentation A short presentation for a quick overview
- Das U-Boot online manual The Manual
- Porting U-Boot for a new Blackfin device Blackfin specific, but you can milk this for information
- U-Boot as coreboot payload just for fun
Das U-Boot Modifications
If somebody writes a patch for the bootloader implementation of a particular device, you will find links to this on the wiki-page for that device. Additionally, we accumulate all the patches written for a particular bootloader on its own page. Hopefully, you can get a better comprehension of the functionality of the bootloader by having a look at them:
- For the Marvell Kirkwood (e.g. Seagate Dockstar) https://github.com/doozan/uBoot by Jeff Doozan
- For Qualcomm Atheros AR9331 based devices (and now also AR9341 and AR9344)
- U-Boot 1.1.4 modification by Piotr Dymacz (pepe2k)
- Official repository now on GitHub
- How to Build ( Github read-me and additional build info ) pepe2k
- An article (in Polish) about one of the first versions of this project on www.tech-blog.pl