“UBootManual”的版本间的差异
来自百问网嵌入式Linux wiki
第128行: | 第128行: | ||
==U-Boot Advanced Features== | ==U-Boot Advanced Features== | ||
===Boot Count Limit=== | ===Boot Count Limit=== | ||
+ | = Embedded Linux Configuration= | ||
+ | ==Download and Unpack the Linux Kernel Sources== | ||
+ | ==Kernel Configuration and Compilation== | ||
+ | ==Installation== | ||
+ | |||
+ | = Booting Embedded Linux= | ||
+ | ==Introduction== | ||
+ | ==Flattened Device Tree Blob== | ||
+ | ==Passing Kernel Arguments== | ||
+ | ==Boot Arguments Unleashed== | ||
+ | ==Networked Operation with Root Filesystem over NFS== | ||
+ | === Bootlog of tftp'd Linux kernel with Root Filesystem over NFS=== | ||
+ | ==Boot from Flash Memory== | ||
+ | ==Standalone Operation with Ramdisk Image== | ||
+ | |||
+ | =Building and Using Modules= | ||
+ | |||
+ | =Advanced Topics= | ||
+ | |||
+ | ==Flash Filesystems== | ||
+ | ===Memory Technology Devices=== | ||
+ | ===Journalling Flash File System=== | ||
+ | ===Second Version of JFFS=== | ||
+ | ===Compressed ROM Filesystem=== | ||
+ | == The TMPFS Virtual Memory Filesystem== | ||
+ | ===Mount Parameters=== | ||
+ | ===Kernel Support for tmpfs=== | ||
+ | ===Usage of tmpfs in Embedded Systems=== | ||
+ | == Adding Swap Space== | ||
+ | == Splash Screen Support in Linux== | ||
+ | == Root File System: Design and Building=== | ||
+ | ===Root File System on a Ramdisk=== | ||
+ | ===Root File System on a JFFS2 File System=== | ||
+ | ===Root File System on a cramfs File System=== | ||
+ | ===Root File System on a Read-Only ext2 File System=== | ||
+ | ===Root File System on a Flash Card=== | ||
+ | ===Root File System in a Read-Only File in a FAT File System=== | ||
+ | == Root File System Selection== | ||
+ | == Overlay File Systems== | ||
+ | == The Persistent RAM File system (PRAMFS)== | ||
+ | ===Mount Parameters=== | ||
+ | ===Example=== | ||
+ | |||
+ | =Debugging= | ||
+ | == Debugging of U-Boot== | ||
+ | === Debugging of U-Boot Before Relocation=== | ||
+ | === Debugging of U-Boot After Relocation=== | ||
+ | == Linux Kernel Debugging== | ||
+ | === Linux Kernel and Statically Linked Device Drivers=== | ||
+ | === Dynamically Loaded Device Drivers (Modules)=== | ||
+ | === GDB Macros to Simplify Module Loading=== | ||
+ | == GDB Startup File and Utility Scripts== | ||
+ | == Tips and Tricks== | ||
+ | == Application Debugging== | ||
+ | === Local Debugging=== | ||
+ | === Remote Debugging=== | ||
+ | == Debugging with Graphical User Interfaces== | ||
+ | |||
+ | = Simple Embedded Linux Framework= | ||
+ | |||
+ | = Books, Mailing Lists, Links, etc.= | ||
+ | == Application Notes== | ||
+ | == Further Reading== | ||
+ | ===Upstreaming=== | ||
+ | ===License Issues=== | ||
+ | ===Linux kernel=== | ||
+ | ===General Linux / Unix programming=== | ||
+ | ===Network Programming=== | ||
+ | ===C++ programming=== | ||
+ | ===Java programming=== | ||
+ | ===Internationalization And Character Sets=== | ||
+ | ===ARM Architecture Programming=== | ||
+ | === Power Architecture® Programming=== | ||
+ | === Embedded Topics=== | ||
+ | == Mailing Lists== | ||
+ | == Links== | ||
+ | == Tools== | ||
+ | |||
+ | = Appendix= | ||
+ | ==Flat Device Tree== | ||
+ | ==Flat Device Tree== | ||
+ | ==BDI2000 Configuration file== | ||
+ | |||
+ | = FAQ - Frequently Asked Questions= | ||
+ | == ELDK== | ||
+ | ===ELDK Installation under FreeBSD=== | ||
+ | ===ELDK Installation Hangs=== | ||
+ | ===.gvfs: Permission Denied=== | ||
+ | ===Installation on Local Harddisk=== | ||
+ | ===System Include Files Missing=== | ||
+ | ===patch: command not found=== | ||
+ | ===ELDK Include Files Missing=== | ||
+ | ===Using the ELDK on a 64 bit platform=== | ||
+ | ===GDB Problems with BDI2000/BDI3000 on e500 Cores=== | ||
+ | === How can I check if Floating Point support is working?=== | ||
+ | === ELDK 2.x Installation Aborts=== | ||
+ | === Enable SSH Access=== | ||
+ | |||
+ | == U-Boot== | ||
+ | ===Can U-Boot be configured such that it can be started in RAM?=== | ||
+ | ===Relocation cannot be done when using -mrelocatable=== | ||
+ | ===Source object has EABI version 4, but target has EABI version 0=== | ||
+ | ===U-Boot crashes after relocation to RAM=== | ||
+ | ===Warning - bad CRC, using default environment=== | ||
+ | ===Net: No ethernet found=== | ||
+ | ===Wrong debug symbols after relocation=== | ||
+ | ===Decoding U-Boot Crash Dumps=== | ||
+ | ===Porting Problem: cannot move location counter backwards=== | ||
+ | === U-Boot Doesn't Run after Upgrading my Compiler=== | ||
+ | === How Can I Reduce The Image Size?=== | ||
+ | === Erasing Flash Fails=== | ||
+ | === Ethernet Does Not Work=== | ||
+ | === Where Can I Get a Valid MAC Address from?=== | ||
+ | === Why do I get TFTP timeouts?=== | ||
+ | === Why is my Ethernet operation not reliable?=== | ||
+ | === How the Command Line Parsing Works=== | ||
+ | ====Old, simple command line parser==== | ||
+ | ====Hush shell==== | ||
+ | ====Hush shell scripts==== | ||
+ | ====General rules==== | ||
+ | === How can I load and uncompress a compressed image=== | ||
+ | === How can I create an uImage from a ELF file=== | ||
+ | === My standalone program does not work=== | ||
+ | === Linux hangs after uncompressing the kernel=== | ||
+ | === How can I implement automatic software updates?=== | ||
+ | == Linux== | ||
+ | ===Linux crashes randomly=== | ||
+ | ===Linux crashes when uncompressing the kernel=== | ||
+ | ===Linux Post Mortem Analysis=== | ||
+ | ===Linux kernel register usage=== | ||
+ | ===Linux Kernel Ignores my bootargs=== | ||
+ | ===Cannot configure Root Filesystem over NFS=== | ||
+ | ===Linux Kernel Panics because "init" process dies=== | ||
+ | ===Unable to open an initial console=== | ||
+ | ===System hangs when entering User Space (ARM)=== | ||
+ | === Mounting a Filesystem over NFS hangs forever=== | ||
+ | === Ethernet does not work in Linux=== | ||
+ | === Loopback interface does not work=== | ||
+ | === Linux kernel messages are not printed on the console=== | ||
+ | === Linux ignores input when using the framebuffer driver=== | ||
+ | === How to switch off the screen saver and the blinking cursor?=== | ||
+ | === BogoMIPS Value too low=== | ||
+ | === Linux Kernel crashes when using a ramdisk image=== | ||
+ | === Ramdisk Greater than 4 MB Causes Problems=== | ||
+ | === Combining a Kernel and a Ramdisk into a Multi-File Image=== | ||
+ | === Adding Files to Ramdisk is Non Persistent=== | ||
+ | === Kernel Configuration for PCMCIA=== | ||
+ | === Configure Linux for PCMCIA Cards using the Card Services package=== | ||
+ | === Configure Linux for PCMCIA Cards without the Card Services package=== | ||
+ | ====Using a MacOS Partition Table==== | ||
+ | ====Using a MS-DOS Partition Table==== | ||
+ | === Boot-Time Configuration of MTD Partitions=== | ||
+ | === Use NTP to synchronize system time against RTC=== | ||
+ | === Configure Linux for XIP (Execution In Place)=== | ||
+ | ====XIP Kernel==== | ||
+ | ====Cramfs Filesystem==== | ||
+ | ====Hints and Notes==== | ||
+ | ====Space requirements and RAM saving, an example=== | ||
+ | === Use SCC UART with Hardware Handshake=== | ||
+ | === How can I access U-Boot environment variables in Linux?=== | ||
+ | === The =appWeb= server hangs *OR* /dev/random hangs=== | ||
+ | === Swapping over NFS=== | ||
+ | === Using NFSv3 for NFS Root Filesystem=== | ||
+ | === Using and Configuring the SocketCAN Driver=== | ||
+ | === Telnet / SSH (dropbear) server not working=== | ||
+ | == Self== | ||
+ | === How to Add Files to a SELF Ramdisk=== | ||
+ | === How to Increase the Size of the Ramdisk=== | ||
+ | == RTAI== | ||
+ | === Conflicts with asm clobber list=== | ||
+ | == BDI2000== | ||
+ | === Where can I find BDI2000 Configuration Files?=== | ||
+ | === How to Debug Linux Exceptions=== | ||
+ | === How to single step through "RFI" instruction=== | ||
+ | === Setting a breakpoint doesn't work=== | ||
+ | === Remote 'g' packet reply is too long=== | ||
+ | == Motorola LITE5200 Board== | ||
+ | === LITE5200 Installation Howto=== | ||
+ | === USB does not work on Lite5200 board=== | ||
+ | |||
+ | = Glossary= |
2020年5月7日 (四) 10:46的版本
目录
- 1 Abstract
- 2 Introduction
- 3 Embedded Linux Development Kit
- 4 System Setup
-
5 Das U-Boot
- 5.1 Current Versions
- 5.2 Unpacking the Source Code
- 5.3 Configuration
- 5.4 Installation
- 5.5 Tool Installation
- 5.6 Initialization
- 5.7 Initial Steps
- 5.8 The First Power-On
-
5.9 U-Boot Command Line Interface
- 5.9.1 Information Commands
-
5.9.2 Memory Commands
- 5.9.2.1 base - print or set address offset
- 5.9.2.2 crc32 - checksum calculation
- 5.9.2.3 cmp - memory compare
- 5.9.2.4 cp - memory copy
- 5.9.2.5 md - memory display
- 5.9.2.6 mm - memory modify (auto-incrementing)
- 5.9.2.7 mtest - simple RAM test
- 5.9.2.8 mw - memory write (fill)
- 5.9.2.9 nm - memory modify (constant address)
- 5.9.2.10 loop - infinite loop on address range
- 5.9.3 Flash Memory Commands
- 5.9.4 Execution Control Commands
-
5.9.5 Download Commands
- 5.9.5.1 bootp - boot image via network using BOOTP/TFTP protocol
- 5.9.5.2 dhcp - invoke DHCP client to obtain IP/boot params
- 5.9.5.3 loadb - load binary file over serial line (kermit mode)
- 5.9.5.4 loads - load S-Record file over serial line
- 5.9.5.5 rarpboot- boot image via network using RARP/TFTP protocol
- 5.9.5.6 tftpboot- boot image via network using TFTP protocol
- 5.9.6 Environment Variables Commands
-
5.9.7 Flattened Device Tree support
- 5.9.7.1 fdt addr - select FDT to work on
- 5.9.7.2 fdt list - print one level
- 5.9.7.3 fdt print - recursive print
- 5.9.7.4 fdt mknode - create new nodes
- 5.9.7.5 fdt set - set node properties
- 5.9.7.6 fdt rm - remove nodes or properties
- 5.9.7.7 fdt move - move FDT blob to new address
- 5.9.7.8 fdt chosen - fixup dynamic info
- 5.9.8 Special Commands
- 5.9.9 Storage devices
- 5.9.10 Miscellaneous Commands
- 5.10 U-Boot Environment Variables
- 5.11 U-Boot Scripting Capabilities
- 5.12 U-Boot Standalone Applications
- 5.13 U-Boot Image Formats
- 5.14 U-Boot Advanced Features
- 6 Embedded Linux Configuration
- 7 Booting Embedded Linux
- 8 Building and Using Modules
- 9 Advanced Topics
- 10 Debugging
- 11 Simple Embedded Linux Framework
-
12 Books, Mailing Lists, Links, etc.
- 12.1 Application Notes
-
12.2 Further Reading
- 12.2.1 Upstreaming
- 12.2.2 License Issues
- 12.2.3 Linux kernel
- 12.2.4 General Linux / Unix programming
- 12.2.5 Network Programming
- 12.2.6 C++ programming
- 12.2.7 Java programming
- 12.2.8 Internationalization And Character Sets
- 12.2.9 ARM Architecture Programming
- 12.2.10 Power Architecture® Programming
- 12.2.11 Embedded Topics
- 12.3 Mailing Lists
- 12.4 Links
- 12.5 Tools
- 13 Appendix
-
14 FAQ - Frequently Asked Questions
-
14.1 ELDK
- 14.1.1 ELDK Installation under FreeBSD
- 14.1.2 ELDK Installation Hangs
- 14.1.3 .gvfs: Permission Denied
- 14.1.4 Installation on Local Harddisk
- 14.1.5 System Include Files Missing
- 14.1.6 patch: command not found
- 14.1.7 ELDK Include Files Missing
- 14.1.8 Using the ELDK on a 64 bit platform
- 14.1.9 GDB Problems with BDI2000/BDI3000 on e500 Cores
- 14.1.10 How can I check if Floating Point support is working?
- 14.1.11 ELDK 2.x Installation Aborts
- 14.1.12 Enable SSH Access
-
14.2 U-Boot
- 14.2.1 Can U-Boot be configured such that it can be started in RAM?
- 14.2.2 Relocation cannot be done when using -mrelocatable
- 14.2.3 Source object has EABI version 4, but target has EABI version 0
- 14.2.4 U-Boot crashes after relocation to RAM
- 14.2.5 Warning - bad CRC, using default environment
- 14.2.6 Net: No ethernet found
- 14.2.7 Wrong debug symbols after relocation
- 14.2.8 Decoding U-Boot Crash Dumps
- 14.2.9 Porting Problem: cannot move location counter backwards
- 14.2.10 U-Boot Doesn't Run after Upgrading my Compiler
- 14.2.11 How Can I Reduce The Image Size?
- 14.2.12 Erasing Flash Fails
- 14.2.13 Ethernet Does Not Work
- 14.2.14 Where Can I Get a Valid MAC Address from?
- 14.2.15 Why do I get TFTP timeouts?
- 14.2.16 Why is my Ethernet operation not reliable?
- 14.2.17 How the Command Line Parsing Works
- 14.2.18 How can I load and uncompress a compressed image
- 14.2.19 How can I create an uImage from a ELF file
- 14.2.20 My standalone program does not work
- 14.2.21 Linux hangs after uncompressing the kernel
- 14.2.22 How can I implement automatic software updates?
-
14.3 Linux
- 14.3.1 Linux crashes randomly
- 14.3.2 Linux crashes when uncompressing the kernel
- 14.3.3 Linux Post Mortem Analysis
- 14.3.4 Linux kernel register usage
- 14.3.5 Linux Kernel Ignores my bootargs
- 14.3.6 Cannot configure Root Filesystem over NFS
- 14.3.7 Linux Kernel Panics because "init" process dies
- 14.3.8 Unable to open an initial console
- 14.3.9 System hangs when entering User Space (ARM)
- 14.3.10 Mounting a Filesystem over NFS hangs forever
- 14.3.11 Ethernet does not work in Linux
- 14.3.12 Loopback interface does not work
- 14.3.13 Linux kernel messages are not printed on the console
- 14.3.14 Linux ignores input when using the framebuffer driver
- 14.3.15 How to switch off the screen saver and the blinking cursor?
- 14.3.16 BogoMIPS Value too low
- 14.3.17 Linux Kernel crashes when using a ramdisk image
- 14.3.18 Ramdisk Greater than 4 MB Causes Problems
- 14.3.19 Combining a Kernel and a Ramdisk into a Multi-File Image
- 14.3.20 Adding Files to Ramdisk is Non Persistent
- 14.3.21 Kernel Configuration for PCMCIA
- 14.3.22 Configure Linux for PCMCIA Cards using the Card Services package
- 14.3.23 Configure Linux for PCMCIA Cards without the Card Services package
- 14.3.24 Boot-Time Configuration of MTD Partitions
- 14.3.25 Use NTP to synchronize system time against RTC
- 14.3.26 Configure Linux for XIP (Execution In Place)
- 14.3.27 =Space requirements and RAM saving, an example
- 14.3.28 Use SCC UART with Hardware Handshake
- 14.3.29 How can I access U-Boot environment variables in Linux?
- 14.3.30 The =appWeb= server hangs *OR* /dev/random hangs
- 14.3.31 Swapping over NFS
- 14.3.32 Using NFSv3 for NFS Root Filesystem
- 14.3.33 Using and Configuring the SocketCAN Driver
- 14.3.34 Telnet / SSH (dropbear) server not working
- 14.4 Self
- 14.5 RTAI
- 14.6 BDI2000
- 14.7 Motorola LITE5200 Board
-
14.1 ELDK
- 15 Glossary