-
Notifications
You must be signed in to change notification settings - Fork 1
/
linux.db
39 lines (29 loc) · 1.06 KB
/
linux.db
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// STMP378x ROM command script to load and run Linux kernel
sources {
power_prep="./power_prep/power_prep";
sdram_prep="./boot_prep/boot_prep";
linux_prep="./linux_prep/output-target/linux_prep";
zImage="/home/b18647/repos/ltib_latest/rootfs/boot/zImage";
}
section (0) {
//----------------------------------------------------------
// Power Supply initialization
//----------------------------------------------------------
load power_prep;
call power_prep;
//----------------------------------------------------------
// SDRAM initialization
//----------------------------------------------------------
load sdram_prep;
call sdram_prep;
//----------------------------------------------------------
// Prepare to boot Linux
//----------------------------------------------------------
load linux_prep;
call linux_prep;
//----------------------------------------------------------
// Load ans start Linux kernel
//----------------------------------------------------------
load zImage > 0x40008000;
jump linux_prep;
}