“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
- 1 Current Versions
- 2 Unpacking the Source Code
- 3 Configuration
- [−] 4 Installation
- 5 Tool Installation
- 6 Initialization
- 7 Initial Steps
- 8 The First Power-On
- [−]
9 U-Boot Command Line Interface
- [−] 1 Information Commands
- [−]
2 Memory Commands
- 1 base - print or set address offset
- 2 crc32 - checksum calculation
- 3 cmp - memory compare
- 4 cp - memory copy
- 5 md - memory display
- 6 mm - memory modify (auto-incrementing)
- 7 mtest - simple RAM test
- 8 mw - memory write (fill)
- 9 nm - memory modify (constant address)
- 10 loop - infinite loop on address range
- [−] 3 Flash Memory Commands
- [−] 4 Execution Control Commands
- [−]
5 Download Commands
- 1 bootp - boot image via network using BOOTP/TFTP protocol
- 2 dhcp - invoke DHCP client to obtain IP/boot params
- 3 loadb - load binary file over serial line (kermit mode)
- 4 loads - load S-Record file over serial line
- 5 rarpboot- boot image via network using RARP/TFTP protocol
- 6 tftpboot- boot image via network using TFTP protocol
- [−] 6 Environment Variables Commands
- [−] 7 Flattened Device Tree support
- [−] 8 Special Commands
- 9 Storage devices
- [−] 10 Miscellaneous Commands
- 10 U-Boot Environment Variables
- 11 U-Boot Scripting Capabilities
- [−] 12 U-Boot Standalone Applications
- 13 U-Boot Image Formats
- [−] 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.
- [−] 13 Appendix
- [−]
14 FAQ - Frequently Asked Questions
- [−]
1 ELDK
- 1 ELDK Installation under FreeBSD
- 2 ELDK Installation Hangs
- 3 .gvfs: Permission Denied
- 4 Installation on Local Harddisk
- 5 System Include Files Missing
- 6 patch: command not found
- 7 ELDK Include Files Missing
- 8 Using the ELDK on a 64 bit platform
- 9 GDB Problems with BDI2000/BDI3000 on e500 Cores
- 10 How can I check if Floating Point support is working?
- 11 ELDK 2.x Installation Aborts
- 12 Enable SSH Access
- [−]
2 U-Boot
- 1 Can U-Boot be configured such that it can be started in RAM?
- 2 Relocation cannot be done when using -mrelocatable
- 3 Source object has EABI version 4, but target has EABI version 0
- 4 U-Boot crashes after relocation to RAM
- 5 Warning - bad CRC, using default environment
- 6 Net: No ethernet found
- 7 Wrong debug symbols after relocation
- 8 Decoding U-Boot Crash Dumps
- 9 Porting Problem: cannot move location counter backwards
- 10 U-Boot Doesn't Run after Upgrading my Compiler
- 11 How Can I Reduce The Image Size?
- 12 Erasing Flash Fails
- 13 Ethernet Does Not Work
- 14 Where Can I Get a Valid MAC Address from?
- 15 Why do I get TFTP timeouts?
- 16 Why is my Ethernet operation not reliable?
- [−] 17 How the Command Line Parsing Works
- 18 How can I load and uncompress a compressed image
- 19 How can I create an uImage from a ELF file
- 20 My standalone program does not work
- 21 Linux hangs after uncompressing the kernel
- 22 How can I implement automatic software updates?
- [−]
3 Linux
- 1 Linux crashes randomly
- 2 Linux crashes when uncompressing the kernel
- 3 Linux Post Mortem Analysis
- 4 Linux kernel register usage
- 5 Linux Kernel Ignores my bootargs
- 6 Cannot configure Root Filesystem over NFS
- 7 Linux Kernel Panics because "init" process dies
- 8 Unable to open an initial console
- 9 System hangs when entering User Space (ARM)
- 10 Mounting a Filesystem over NFS hangs forever
- 11 Ethernet does not work in Linux
- 12 Loopback interface does not work
- 13 Linux kernel messages are not printed on the console
- 14 Linux ignores input when using the framebuffer driver
- 15 How to switch off the screen saver and the blinking cursor?
- 16 BogoMIPS Value too low
- 17 Linux Kernel crashes when using a ramdisk image
- 18 Ramdisk Greater than 4 MB Causes Problems
- 19 Combining a Kernel and a Ramdisk into a Multi-File Image
- 20 Adding Files to Ramdisk is Non Persistent
- 21 Kernel Configuration for PCMCIA
- 22 Configure Linux for PCMCIA Cards using the Card Services package
- [−] 23 Configure Linux for PCMCIA Cards without the Card Services package
- 24 Boot-Time Configuration of MTD Partitions
- 25 Use NTP to synchronize system time against RTC
- [−] 26 Configure Linux for XIP (Execution In Place)
- 27 =Space requirements and RAM saving, an example
- 28 Use SCC UART with Hardware Handshake
- 29 How can I access U-Boot environment variables in Linux?
- 30 The =appWeb= server hangs *OR* /dev/random hangs
- 31 Swapping over NFS
- 32 Using NFSv3 for NFS Root Filesystem
- 33 Using and Configuring the SocketCAN Driver
- 34 Telnet / SSH (dropbear) server not working
- [−] 4 Self
- [−] 5 RTAI
- [−] 6 BDI2000
- [−] 7 Motorola LITE5200 Board
- [−]
1 ELDK
- 15 Glossary