class: center, middle, title # How does an embedded linux board boot? #### Ryan Gaus --- class: inverted, center, middle, title ## I don't know this stuff. -- ### But hopefully I can at least give you the gist. --- class: inverted, center, middle, title ## Tools --- class: inverted, center, middle, title ### dd if=/oldfile.txt of=/newfile.txt bs=1 --- # dd `dd if=/oldfile.txt of=/newfile.txt bs=1`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=1`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=1`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
D
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=1`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
D
O
--- # dd `dd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p
o
r
t
u
r
/newfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=8`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=8 count=2`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=8 count=2`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
!
D
O
C
T
Y
P
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=8 count=2`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=8 skip=1 count=2`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=8 seek=3 count=2`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
h
e
a
d
>
<
t
i
t
--- # dd `dd if=/oldfile.txt of=/newfile.txt bs=8 seek=3 skip=5 count=2`
/oldfile.txt
<
!
D
O
C
T
Y
P
E
h
t
m
l
>
<
h
t
m
l
>
<
h
e
a
d
>
<
t
i
t
l
e
>
T
i
t
l
e
<
/
t
i
t
l
e
>
<
m
e
t
a
c
h
a
r
s
e
t
=
"
u
t
f
-
8
"
>
<
s
t
y
l
e
>
@
i
m
p
o
r
t
u
r
/newfile.txt
<
h
e
a
d
>
<
t
i
t
--- class: inverted, center, middle, title ## hexdump -C oldfile.txt --- ``` $ hexdump -C oldfile.txt 00000000 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 3e 0a |.| 00000010 3c 68 74 6d 6c 3e 0a 20 20 3c 68 65 61 64 3e 0a |. .| 00000020 20 20 20 20 3c 74 69 74 6c 65 3e 54 69 74 6c 65 |
Title| 00000030 3c 2f 74 69 74 6c 65 3e 0a 20 20 20 20 3c 6d 65 |
.
.