⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zimage_layout.txt

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 TXT
字号:
          Information about the Linux/PPC kernel images=====================================================================Please mail me (Cort Dougan, cort@fsmlabs.com) if you have questions,comments or corrections.This document is meant to answer several questions I've had about howthe PReP system boots and how Linux/PPC interacts with that mechanism.It would be nice if we could have information on how other architecturesboot here as well.  If you have anything to contribute, pleaselet me know.1. PReP boot file  This is the file necessary to boot PReP systems from floppy or  hard drive.  The firmware reads the PReP partition table entry  and will load the image accordingly.  To boot the zImage, copy it onto a floppy with dd if=zImage of=/dev/fd0h1440  or onto a PReP hard drive partition with dd if=zImage of=/dev/sda4  assuming you've created a PReP partition (type 0x41) with fdisk on  /dev/sda4.  The layout of the image format is:  0x0     +------------+          |            | PReP partition table entry          |            |  0x400   +------------+          |            | Bootstrap program code + data          |            |          |            |          +------------+          |            | compressed kernel, elf header removed          +------------+          |            | initrd (if loaded)          +------------+          |            | Elf section table for bootstrap program          +------------+2. MBX boot file  The MBX boards can load an elf image, and relocate it to the  proper location in memory - it copies the image to the location it was  linked at.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -