linux revision 267843
1226048Sobrien 268349Sobrien#------------------------------------------------------------------------------ 3267843Sdelphij# $File: linux,v 1.57 2014/05/20 20:10:17 christos Exp $ 468349Sobrien# linux: file(1) magic for Linux files 568349Sobrien# 668349Sobrien# Values for Linux/i386 binaries, from Daniel Quinlan <quinlan@yggdrasil.com> 768349Sobrien# The following basic Linux magic is useful for reference, but using 868349Sobrien# "long" magic is a better practice in order to avoid collisions. 968349Sobrien# 1068349Sobrien# 2 leshort 100 Linux/i386 1168349Sobrien# >0 leshort 0407 impure executable (OMAGIC) 1268349Sobrien# >0 leshort 0410 pure executable (NMAGIC) 1368349Sobrien# >0 leshort 0413 demand-paged executable (ZMAGIC) 1468349Sobrien# >0 leshort 0314 demand-paged executable (QMAGIC) 1568349Sobrien# 1668349Sobrien0 lelong 0x00640107 Linux/i386 impure executable (OMAGIC) 1768349Sobrien>16 lelong 0 \b, stripped 1868349Sobrien0 lelong 0x00640108 Linux/i386 pure executable (NMAGIC) 1968349Sobrien>16 lelong 0 \b, stripped 2068349Sobrien0 lelong 0x0064010b Linux/i386 demand-paged executable (ZMAGIC) 2168349Sobrien>16 lelong 0 \b, stripped 2268349Sobrien0 lelong 0x006400cc Linux/i386 demand-paged executable (QMAGIC) 2368349Sobrien>16 lelong 0 \b, stripped 2468349Sobrien# 2568349Sobrien0 string \007\001\000 Linux/i386 object file 2668349Sobrien>20 lelong >0x1020 \b, DLL library 2768349Sobrien# Linux-8086 stuff: 2868349Sobrien0 string \01\03\020\04 Linux-8086 impure executable 2968349Sobrien>28 long !0 not stripped 3068349Sobrien0 string \01\03\040\04 Linux-8086 executable 3168349Sobrien>28 long !0 not stripped 3268349Sobrien# 3368349Sobrien0 string \243\206\001\0 Linux-8086 object file 3468349Sobrien# 3568349Sobrien0 string \01\03\020\20 Minix-386 impure executable 3668349Sobrien>28 long !0 not stripped 3768349Sobrien0 string \01\03\040\20 Minix-386 executable 3868349Sobrien>28 long !0 not stripped 39267843Sdelphij0 string \01\03\04\20 Minix-386 NSYM/GNU executable 40267843Sdelphij>28 long !0 not stripped 4168349Sobrien# core dump file, from Bill Reynolds <bill@goshawk.lanl.gov> 4268349Sobrien216 lelong 0421 Linux/i386 core file 43267843Sdelphij!:strength / 2 4468349Sobrien>220 string >\0 of '%s' 4568349Sobrien>200 lelong >0 (signal %d) 4668349Sobrien# 4768349Sobrien# LILO boot/chain loaders, from Daniel Quinlan <quinlan@yggdrasil.com> 4868349Sobrien# this can be overridden by the DOS executable (COM) entry 4968349Sobrien2 string LILO Linux/i386 LILO boot/chain loader 5068349Sobrien# 51226048Sobrien# Linux make config build file, from Ole Aamot <oka@oka.no> 52267843Sdelphij# Updated by Ken Sharp 53267843Sdelphij28 string make\ config Linux make config build file (old) 54267843Sdelphij49 search/70 Kernel\ Configuration Linux make config build file 55267843Sdelphij 56226048Sobrien# 5768349Sobrien# PSF fonts, from H. Peter Anvin <hpa@yggdrasil.com> 58226048Sobrien# Updated by Adam Buchbinder <adam.buchbinder@gmail.com> 59226048Sobrien# See: http://www.win.tue.nl/~aeb/linux/kbd/font-formats-1.html 60226048Sobrien0 leshort 0x0436 Linux/i386 PC Screen Font v1 data, 61226048Sobrien>2 byte&0x01 0 256 characters, 62226048Sobrien>2 byte&0x01 !0 512 characters, 63226048Sobrien>2 byte&0x02 0 no directory, 64226048Sobrien>2 byte&0x02 !0 Unicode directory, 6568349Sobrien>3 byte >0 8x%d 66226048Sobrien0 string \x72\xb5\x4a\x86\x00\x00 Linux/i386 PC Screen Font v2 data, 67226048Sobrien>16 lelong x %d characters, 68226048Sobrien>12 lelong&0x01 0 no directory, 69226048Sobrien>12 lelong&0x01 !0 Unicode directory, 70226048Sobrien>24 lelong x %d 71226048Sobrien>28 lelong x \bx%d 72226048Sobrien 7368349Sobrien# Linux swap file, from Daniel Quinlan <quinlan@yggdrasil.com> 7468349Sobrien4086 string SWAP-SPACE Linux/i386 swap file 75159764Sobrien# From: Jeff Bailey <jbailey@ubuntu.com> 76159764Sobrien# Linux swap file with swsusp1 image, from Jeff Bailey <jbailey@ubuntu.com> 77159764Sobrien4076 string SWAPSPACE2S1SUSPEND Linux/i386 swap file (new style) with SWSUSP1 image 78226048Sobrien# From: James Hunt <james.hunt@ubuntu.com> 79226048Sobrien4076 string SWAPSPACE2LINHIB0001 Linux/i386 swap file (new style) (compressed hibernate) 80103373Sobrien# according to man page of mkswap (8) March 1999 81226048Sobrien# volume label and UUID Russell Coker 82226048Sobrien# http://etbe.coker.com.au/2008/07/08/label-vs-uuid-vs-device/ 83226048Sobrien4086 string SWAPSPACE2 Linux/i386 swap file (new style), 84226048Sobrien>0x400 long x version %d (4K pages), 85226048Sobrien>0x404 long x size %d pages, 86226048Sobrien>1052 string \0 no label, 87226048Sobrien>1052 string >\0 LABEL=%s, 88226048Sobrien>0x40c belong x UUID=%08x 89226048Sobrien>0x410 beshort x \b-%04x 90226048Sobrien>0x412 beshort x \b-%04x 91226048Sobrien>0x414 beshort x \b-%04x 92226048Sobrien>0x416 belong x \b-%08x 93226048Sobrien>0x41a beshort x \b%04x 94226048Sobrien# From Daniel Novotny <dnovotny@redhat.com> 95226048Sobrien# swap file for PowerPC 96226048Sobrien65526 string SWAPSPACE2 Linux/ppc swap file 97267843Sdelphij16374 string SWAPSPACE2 Linux/ia64 swap file 9868349Sobrien# 9968349Sobrien# Linux kernel boot images, from Albert Cahalan <acahalan@cs.uml.edu> 10068349Sobrien# and others such as Axel Kohlmeyer <akohlmey@rincewind.chemie.uni-ulm.de> 101267843Sdelphij# and Nicolas Lichtmaier <nick@debian.org> 10268349Sobrien# All known start with: b8 c0 07 8e d8 b8 00 90 8e c0 b9 00 01 29 f6 29 103133359Sobrien# Linux kernel boot images (i386 arch) (Wolfram Kleff) 104133359Sobrien514 string HdrS Linux kernel 105267843Sdelphij!:strength + 55 106133359Sobrien>510 leshort 0xAA55 x86 boot executable 107186690Sobrien>>518 leshort >0x1ff 108192348Sdelphij>>>529 byte 0 zImage, 109133359Sobrien>>>529 byte 1 bzImage, 110267843Sdelphij>>>526 lelong >0 111267843Sdelphij>>>>(526.s+0x200) string >\0 version %s, 112133359Sobrien>>498 leshort 1 RO-rootFS, 113133359Sobrien>>498 leshort 0 RW-rootFS, 114133359Sobrien>>508 leshort >0 root_dev 0x%X, 115133359Sobrien>>502 leshort >0 swap_dev 0x%X, 116133359Sobrien>>504 leshort >0 RAMdisksize %u KB, 117133359Sobrien>>506 leshort 0xFFFF Normal VGA 118133359Sobrien>>506 leshort 0xFFFE Extended VGA 119133359Sobrien>>506 leshort 0xFFFD Prompt for Videomode 120133359Sobrien>>506 leshort >0 Video mode %d 12168349Sobrien# This also matches new kernels, which were caught above by "HdrS". 12268349Sobrien0 belong 0xb8c0078e Linux kernel 12368349Sobrien>0x1e3 string Loading version 1.3.79 or older 12468349Sobrien>0x1e9 string Loading from prehistoric times 125133359Sobrien 126267843Sdelphij# System.map files - Nicolas Lichtmaier <nick@debian.org> 127186690Sobrien8 search/1 \ A\ _text Linux kernel symbol map text 128133359Sobrien 129267843Sdelphij# LSM entries - Nicolas Lichtmaier <nick@debian.org> 130186690Sobrien0 search/1 Begin3 Linux Software Map entry text 131186690Sobrien0 search/1 Begin4 Linux Software Map entry text (new format) 132103373Sobrien 133186690Sobrien# From Matt Zimmerman, enhanced for v3 by Matthew Palmer 134186690Sobrien0 belong 0x4f4f4f4d User-mode Linux COW file 135186690Sobrien>4 belong <3 \b, version %d 136186690Sobrien>>8 string >\0 \b, backing file %s 137186690Sobrien>4 belong >2 \b, version %d 138186690Sobrien>>32 string >\0 \b, backing file %s 139133359Sobrien 140103373Sobrien############################################################################ 141103373Sobrien# Linux kernel versions 142103373Sobrien 143103373Sobrien0 string \xb8\xc0\x07\x8e\xd8\xb8\x00\x90 Linux 144103373Sobrien>497 leshort 0 x86 boot sector 145103373Sobrien>>514 belong 0x8e of a kernel from the dawn of time! 146103373Sobrien>>514 belong 0x908ed8b4 version 0.99-1.1.42 147103373Sobrien>>514 belong 0x908ed8b8 for memtest86 148103373Sobrien 149103373Sobrien>497 leshort !0 x86 kernel 150103373Sobrien>>504 leshort >0 RAMdisksize=%u KB 151103373Sobrien>>502 leshort >0 swap=0x%X 152103373Sobrien>>508 leshort >0 root=0x%X 153103373Sobrien>>>498 leshort 1 \b-ro 154103373Sobrien>>>498 leshort 0 \b-rw 155103373Sobrien>>506 leshort 0xFFFF vga=normal 156103373Sobrien>>506 leshort 0xFFFE vga=extended 157103373Sobrien>>506 leshort 0xFFFD vga=ask 158103373Sobrien>>506 leshort >0 vga=%d 159103373Sobrien>>514 belong 0x908ed881 version 1.1.43-1.1.45 160103373Sobrien>>514 belong 0x15b281cd 161103373Sobrien>>>0xa8e belong 0x55AA5a5a version 1.1.46-1.2.13,1.3.0 162103373Sobrien>>>0xa99 belong 0x55AA5a5a version 1.3.1,2 163103373Sobrien>>>0xaa3 belong 0x55AA5a5a version 1.3.3-1.3.30 164103373Sobrien>>>0xaa6 belong 0x55AA5a5a version 1.3.31-1.3.41 165103373Sobrien>>>0xb2b belong 0x55AA5a5a version 1.3.42-1.3.45 166103373Sobrien>>>0xaf7 belong 0x55AA5a5a version 1.3.46-1.3.72 167103373Sobrien>>514 string HdrS 168103373Sobrien>>>518 leshort >0x1FF 169103373Sobrien>>>>529 byte 0 \b, zImage 170103373Sobrien>>>>529 byte 1 \b, bzImage 171103373Sobrien>>>>(526.s+0x200) string >\0 \b, version %s 172103373Sobrien 173103373Sobrien# Linux boot sector thefts. 174103373Sobrien0 belong 0xb8c0078e Linux 175103373Sobrien>0x1e6 belong 0x454c4b53 ELKS Kernel 176103373Sobrien>0x1e6 belong !0x454c4b53 style boot sector 177103373Sobrien 178103373Sobrien############################################################################ 179226048Sobrien# Linux S390 kernel image 180226048Sobrien# Created by: Jan Kaluza <jkaluza@redhat.com> 181226048Sobrien8 string \x02\x00\x00\x18\x60\x00\x00\x50\x02\x00\x00\x68\x60\x00\x00\x50\x40\x40\x40\x40\x40\x40\x40\x40 Linux S390 182226048Sobrien>0x00010000 search/b/4096 \x00\x0a\x00\x00\x8b\xad\xcc\xcc 183226048Sobrien# 64bit 184226048Sobrien>>&0 string \xc1\x00\xef\xe3\xf0\x68\x00\x00 Z10 64bit kernel 185226048Sobrien>>&0 string \xc1\x00\xef\xc3\x00\x00\x00\x00 Z9-109 64bit kernel 186226048Sobrien>>&0 string \xc0\x00\x20\x00\x00\x00\x00\x00 Z990 64bit kernel 187226048Sobrien>>&0 string \x00\x00\x00\x00\x00\x00\x00\x00 Z900 64bit kernel 188226048Sobrien# 32bit 189226048Sobrien>>&0 string \x81\x00\xc8\x80\x00\x00\x00\x00 Z10 32bit kernel 190226048Sobrien>>&0 string \x81\x00\xc8\x80\x00\x00\x00\x00 Z9-109 32bit kernel 191226048Sobrien>>&0 string \x80\x00\x20\x00\x00\x00\x00\x00 Z990 32bit kernel 192226048Sobrien>>&0 string \x80\x00\x00\x00\x00\x00\x00\x00 Z900 32bit kernel 193226048Sobrien 194234250Sobrien# Linux ARM compressed kernel image 195234250Sobrien# From: Kevin Cernekee <cernekee@gmail.com> 196234250Sobrien36 lelong 0x016f2818 Linux kernel ARM boot executable zImage (little-endian) 197234250Sobrien36 belong 0x016f2818 Linux kernel ARM boot executable zImage (big-endian) 198234250Sobrien 199226048Sobrien############################################################################ 200103373Sobrien# Linux 8086 executable 201103373Sobrien0 lelong&0xFF0000FF 0xC30000E9 Linux-Dev86 executable, headerless 202103373Sobrien>5 string . 203103373Sobrien>>4 string >\0 \b, libc version %s 204103373Sobrien 205103373Sobrien0 lelong&0xFF00FFFF 0x4000301 Linux-8086 executable 206103373Sobrien>2 byte&0x01 !0 \b, unmapped zero page 207103373Sobrien>2 byte&0x20 0 \b, impure 208103373Sobrien>2 byte&0x20 !0 209103373Sobrien>>2 byte&0x10 !0 \b, A_EXEC 210103373Sobrien>2 byte&0x02 !0 \b, A_PAL 211103373Sobrien>2 byte&0x04 !0 \b, A_NSYM 212103373Sobrien>2 byte&0x08 !0 \b, A_STAND 213103373Sobrien>2 byte&0x40 !0 \b, A_PURE 214103373Sobrien>2 byte&0x80 !0 \b, A_TOVLY 215103373Sobrien>28 long !0 \b, not stripped 216103373Sobrien>37 string . 217103373Sobrien>>36 string >\0 \b, libc version %s 218103373Sobrien 219103373Sobrien# 0 lelong&0xFF00FFFF 0x10000301 ld86 I80386 executable 220103373Sobrien# 0 lelong&0xFF00FFFF 0xB000301 ld86 M68K executable 221103373Sobrien# 0 lelong&0xFF00FFFF 0xC000301 ld86 NS16K executable 222103373Sobrien# 0 lelong&0xFF00FFFF 0x17000301 ld86 SPARC executable 223103373Sobrien 224139368Sobrien# SYSLINUX boot logo files (from 'ppmtolss16' sources) 225267843Sdelphij# http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename: 226267843Sdelphij# file extension .lss .16 227139368Sobrien0 lelong =0x1413f33d SYSLINUX' LSS16 image data 228267843Sdelphij# syslinux-4.05/mime/image/x-lss16.xml 229267843Sdelphij!:mime image/x-lss16 230139368Sobrien>4 leshort x \b, width %d 231139368Sobrien>6 leshort x \b, height %d 232159764Sobrien 233159764Sobrien0 string OOOM User-Mode-Linux's Copy-On-Write disk image 234159764Sobrien>4 belong x version %d 235159764Sobrien 236159764Sobrien# SE Linux policy database 237159764Sobrien# From: Mike Frysinger <vapier@gentoo.org> 238159764Sobrien0 lelong 0xf97cff8c SE Linux policy 239159764Sobrien>16 lelong x v%d 240159764Sobrien>20 lelong 1 MLS 241159764Sobrien>24 lelong x %d symbols 242159764Sobrien>28 lelong x %d ocons 243159764Sobrien 244159764Sobrien# Linux Logical Volume Manager (LVM) 245159764Sobrien# Emmanuel VARAGNAT <emmanuel.varagnat@guzu.net> 246159764Sobrien# 247159764Sobrien# System ID, UUID and volume group name are 128 bytes long 248159764Sobrien# but they should never be full and initialized with zeros... 249159764Sobrien# 250159764Sobrien# LVM1 251159764Sobrien# 252159764Sobrien0x0 string HM\001 LVM1 (Linux Logical Volume Manager), version 1 253159764Sobrien>0x12c string >\0 , System ID: %s 254159764Sobrien 255159764Sobrien0x0 string HM\002 LVM1 (Linux Logical Volume Manager), version 2 256159764Sobrien>0x12c string >\0 , System ID: %s 257159764Sobrien 258159764Sobrien# LVM2 259159764Sobrien# 260159764Sobrien# It seems that the label header can be in one the four first sector 261159764Sobrien# of the disk... (from _find_labeller in lib/label/label.c of LVM2) 262159764Sobrien# 263159764Sobrien# 0x200 seems to be the common case 264159764Sobrien 265226048Sobrien0x218 string LVM2\ 001 LVM2 PV (Linux Logical Volume Manager) 266159764Sobrien# read the offset to add to the start of the header, and the header 267159764Sobrien# start in 0x200 268226048Sobrien>&(&-12.l-0x21) byte x 269226048Sobrien# display UUID in LVM format + display all 32 bytes (instead of max string length: 31) 270226048Sobrien>>&0x0 string >\x2f \b, UUID: %.6s 271226048Sobrien>>&0x6 string >\x2f \b-%.4s 272226048Sobrien>>&0xa string >\x2f \b-%.4s 273226048Sobrien>>&0xe string >\x2f \b-%.4s 274226048Sobrien>>&0x12 string >\x2f \b-%.4s 275226048Sobrien>>&0x16 string >\x2f \b-%.4s 276226048Sobrien>>&0x1a string >\x2f \b-%.6s 277226048Sobrien>>&0x20 lequad x \b, size: %lld 278159764Sobrien 279226048Sobrien0x018 string LVM2\ 001 LVM2 PV (Linux Logical Volume Manager) 280226048Sobrien>&(&-12.l-0x21) byte x 281226048Sobrien# display UUID in LVM format + display all 32 bytes (instead of max string length: 31) 282226048Sobrien>>&0x0 string >\x2f \b, UUID: %.6s 283226048Sobrien>>&0x6 string >\x2f \b-%.4s 284226048Sobrien>>&0xa string >\x2f \b-%.4s 285226048Sobrien>>&0xe string >\x2f \b-%.4s 286226048Sobrien>>&0x12 string >\x2f \b-%.4s 287226048Sobrien>>&0x16 string >\x2f \b-%.4s 288226048Sobrien>>&0x1a string >\x2f \b-%.6s 289226048Sobrien>>&0x20 lequad x \b, size: %lld 290159764Sobrien 291226048Sobrien0x418 string LVM2\ 001 LVM2 PV (Linux Logical Volume Manager) 292226048Sobrien>&(&-12.l-0x21) byte x 293226048Sobrien# display UUID in LVM format + display all 32 bytes (instead of max string length: 31) 294226048Sobrien>>&0x0 string >\x2f \b, UUID: %.6s 295226048Sobrien>>&0x6 string >\x2f \b-%.4s 296226048Sobrien>>&0xa string >\x2f \b-%.4s 297226048Sobrien>>&0xe string >\x2f \b-%.4s 298226048Sobrien>>&0x12 string >\x2f \b-%.4s 299226048Sobrien>>&0x16 string >\x2f \b-%.4s 300226048Sobrien>>&0x1a string >\x2f \b-%.6s 301226048Sobrien>>&0x20 lequad x \b, size: %lld 302159764Sobrien 303226048Sobrien0x618 string LVM2\ 001 LVM2 PV (Linux Logical Volume Manager) 304226048Sobrien>&(&-12.l-0x21) byte x 305226048Sobrien# display UUID in LVM format + display all 32 bytes (instead of max string length: 31) 306226048Sobrien>>&0x0 string >\x2f \b, UUID: %.6s 307226048Sobrien>>&0x6 string >\x2f \b-%.4s 308226048Sobrien>>&0xa string >\x2f \b-%.4s 309226048Sobrien>>&0xe string >\x2f \b-%.4s 310226048Sobrien>>&0x12 string >\x2f \b-%.4s 311226048Sobrien>>&0x16 string >\x2f \b-%.4s 312226048Sobrien>>&0x1a string >\x2f \b-%.6s 313226048Sobrien>>&0x20 lequad x \b, size: %lld 314169942Sobrien 315186690Sobrien# LVM snapshot 316186690Sobrien# from Jason Farrel 317186690Sobrien0 string SnAp LVM Snapshot (CopyOnWrite store) 318186690Sobrien>4 lelong !0 - valid, 319186690Sobrien>4 lelong 0 - invalid, 320186690Sobrien>8 lelong x version %d, 321186690Sobrien>12 lelong x chunk_size %d 322186690Sobrien 323169942Sobrien# SE Linux policy database 324169942Sobrien0 lelong 0xf97cff8c SE Linux policy 325169942Sobrien>16 lelong x v%d 326169942Sobrien>20 lelong 1 MLS 327169942Sobrien>24 lelong x %d symbols 328169942Sobrien>28 lelong x %d ocons 329169962Sobrien 330169962Sobrien# LUKS: Linux Unified Key Setup, On-Disk Format, http://luks.endorphin.org/spec 331169962Sobrien# Anthon van der Neut (anthon@mnt.org) 332169962Sobrien0 string LUKS\xba\xbe LUKS encrypted file, 333169962Sobrien>6 beshort x ver %d 334169962Sobrien>8 string x [%s, 335169962Sobrien>40 string x %s, 336169962Sobrien>72 string x %s] 337169962Sobrien>168 string x UUID: %s 338169962Sobrien 339186690Sobrien 340186690Sobrien# Summary: Xen saved domain file 341186690Sobrien# Created by: Radek Vokal <rvokal@redhat.com> 342186690Sobrien0 string LinuxGuestRecord Xen saved domain 343186690Sobrien>20 search/256 (name 344186690Sobrien>>&1 string x (name %s) 345186690Sobrien 346226048Sobrien# Type: Xen, the virtual machine monitor 347226048Sobrien# From: Radek Vokal <rvokal@redhat.com> 348226048Sobrien0 string LinuxGuestRecord Xen saved domain 349226048Sobrien#>2 regex \(name\ [^)]*\) %s 350226048Sobrien>20 search/256 (name (name 351226048Sobrien>>&1 string x %s...) 352267843Sdelphij 353267843Sdelphij# Systemd journald files 354267843Sdelphij# See http://www.freedesktop.org/wiki/Software/systemd/journal-files/. 355267843Sdelphij# From: Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl> 356267843Sdelphij 357267843Sdelphij# check magic 358267843Sdelphij0 string LPKSHHRH 359267843Sdelphij# check that state is one of known values 360267843Sdelphij>16 ubyte&252 0 361267843Sdelphij# check that each half of three unique id128s is non-zero 362267843Sdelphij>>24 ubequad >0 363267843Sdelphij>>>32 ubequad >0 364267843Sdelphij>>>>40 ubequad >0 365267843Sdelphij>>>>>48 ubequad >0 366267843Sdelphij>>>>>>56 ubequad >0 367267843Sdelphij>>>>>>>64 ubequad >0 Journal file 368267843Sdelphij!:mime application/octet-stream 369267843Sdelphij# provide more info 370267843Sdelphij>>>>>>>>184 leqdate 0 empty 371267843Sdelphij>>>>>>>>16 ubyte 0 \b, offline 372267843Sdelphij>>>>>>>>16 ubyte 1 \b, online 373267843Sdelphij>>>>>>>>16 ubyte 2 \b, archived 374267843Sdelphij>>>>>>>>8 ulelong&1 1 \b, sealed 375267843Sdelphij>>>>>>>>12 ulelong&1 1 \b, compressed 376267843Sdelphij 377267843Sdelphij# BCache backing and cache devices 378267843Sdelphij# From: Gabriel de Perthuis <g2p.code@gmail.com> 379267843Sdelphij0x1008 lequad 8 380267843Sdelphij>0x1018 string \xc6\x85\x73\xf6\x4e\x1a\x45\xca\x82\x65\xf5\x7f\x48\xba\x6d\x81 BCache 381267843Sdelphij>>0x1010 ulequad 0 cache device 382267843Sdelphij>>0x1010 ulequad 1 backing device 383267843Sdelphij>>0x1010 ulequad 3 cache device 384267843Sdelphij>>0x1010 ulequad 4 backing device 385267843Sdelphij>>0x1048 string >0 \b, label "%.32s" 386267843Sdelphij>>0x1028 ubelong x \b, uuid %08x 387267843Sdelphij>>0x102c ubeshort x \b-%04x 388267843Sdelphij>>0x102e ubeshort x \b-%04x 389267843Sdelphij>>0x1030 ubeshort x \b-%04x 390267843Sdelphij>>0x1032 ubelong x \b-%08x 391267843Sdelphij>>0x1036 ubeshort x \b%04x 392267843Sdelphij>>0x1038 ubelong x \b, set uuid %08x 393267843Sdelphij>>0x103c ubeshort x \b-%04x 394267843Sdelphij>>0x103e ubeshort x \b-%04x 395267843Sdelphij>>0x1040 ubeshort x \b-%04x 396267843Sdelphij>>0x1042 ubelong x \b-%08x 397267843Sdelphij>>0x1046 ubeshort x \b%04x 398267843Sdelphij 399267843Sdelphij# Linux device tree: 400267843Sdelphij# File format description can be found in the Linux kernel sources at 401267843Sdelphij# Documentation/devicetree/booting-without-of.txt 402267843Sdelphij# From Christoph Biedl 403267843Sdelphij0 belong 0xd00dfeed 404267843Sdelphij# structure and strings must be within blob 405267843Sdelphij>&(8.L) byte x 406267843Sdelphij>>&(12.L) byte x 407267843Sdelphij>>>20 belong >1 Device Tree Blob version %d 408267843Sdelphij>>>>4 belong x \b, size=%d 409267843Sdelphij>>>>20 belong >1 410267843Sdelphij>>>>>28 belong x \b, boot CPU=%d 411267843Sdelphij>>>>20 belong >2 412267843Sdelphij>>>>>32 belong x \b, string block size=%d 413267843Sdelphij>>>>20 belong >16 414267843Sdelphij>>>>>36 belong x \b, DT structure block size=%d 415267843Sdelphij 416