Bootloader
- 探索 Linux bootloader 的佳作
- kboot 初探與模擬驗證
- Christopher Hallinan 的大作《Embedded Linux Primer》裡面的第七章〈Bootloaders〉
- 嵌入式系统 Boot Loader 技术内幕
- Booting ARM Linux
- 嵌入式Linux系统开发技术详解-基于ARM - 第6章 Bootloader
- Embedded System Design Lecture 2 - Bootloader by 蔡文錦
- Network Bootloader
- General Command
Explain | U-Boot | CFE | YAMON |
---|---|---|---|
interrupt booting | pressing any key | Ctrl+C | |
online help | help/? | help | |
board info structure | bdinfo | show soc | |
reset cpu | reset | reset | |
run commands in аn environment vаriаble | run |
- Environment Variables Command
Explain | U-Boot | CFE | YAMON |
---|---|---|---|
print environment variables | printenv | printenv | |
set environment variables | setenv variable value | setenv variable value | |
unset environment variables | setenv variable | unsetenv variable | |
save environment variables to persistent storage | saveenv | setenv -p variable value |
- Download/Boot/Go Command
Explain | U-Boot | CFE | YAMON |
---|---|---|---|
invoke DHCP client to obtain IP | dhcp | ifconfig device -auto | |
loads | load serial_device | ||
transfer image by TFTP | tftp | load -raw host:filename | |
boot from memory | bootm | ||
transfer image by TFTP, then bootm | ftpboot | boot -elf -z host:filename | |
get ipaddr by BOOTP/DHCP, then ftpboot | bootp | ifconfig device -auto;boot -elf -z host:filename | |
start application | go | go |
- Flash Command
Explain | U-Boot | CFE | YAMON |
---|---|---|---|
flinfo | show flash | ||
Linux compatible MTD partition | mtdparts | ||
update flash | cp ("knows" about flash memory areas) | flash | |
erase | |||
nand info | |||
nand device | |||
nand read | |||
nand write | |||
nand erase |
- Environment Variable
Explain | U-Boot | CFE | YAMON |
---|---|---|---|
ethernet device | NET_DEVICE | ||
IP address for TFTP | ipaddr | NET_IPADDR | |
subnet Mask | netmask | NET_NETMASK | |
target hostname | hostname | ||
TFTP server IP address | serverip | ||
default image loaded with TFTP | bootfile | ||
default load address | loadaddr | ||
passed to Linux kernel as boot arguments (aka "command line") | bootargs | ||
command automatically executed when starting | bootcmd | STARTUP | |
bootdelay |
- Devices
Explain | U-Boot | CFE | YAMON |
---|---|---|---|
store the environment variables | eeprom0 | ||
eeprom1 | |||
flash0 | |||
flash1 | |||
eth0 | |||
eth1 |
page revision: 87, last edited: 10 Jan 2013 09:44