forked from boundarydevices/imx_usb_loader
/
zero-gravitas.conf
52 lines (37 loc) · 1.5 KB
/
zero-gravitas.conf
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
40
41
42
43
44
45
46
47
48
49
50
51
###############################
## Description of the device ##
###############################
mx6_qsb
# hid/bulk,[old_header,]max packet size, {ram start, ram size}(repeat valid ram areas)
hid,1024,0x10000000,1G,0x00907000,0x31000
###############################
## Documentation ##
###############################
## Format of the commands
#file:dcd,plug,load nnn,jump [nnn/header/header2]
#jump nnn - header is after last downloaded word
# entire file is loaded before jump, needs load nnn as well
# i.e. file:load nnn,jump nnn
#jump header - only length parameter is downloaded
#header - uses existing header(error if none), but clears plug and dcd values unless plug also specified
#header2 - uses 2nd header found(error if none)
#plug - without jump uses header but clears plug flag to stop after plug execution
#load nnn - load entire file to address
###############################
## Commands to run ##
###############################
## Load DCD only, to be able to upload files
u-boot.imx:dcd,plug
## Now load in the Linux kernel we want to boot from
zImage:load 0x82000000
## Load devicetree binary
zero-gravitas.dtb:load 0x88000000
## Load initramfs
initramfs.cpio.gz.uboot:load 0x89000000
## Now execute uboot. Clear DCD, as we already loaded it, and loading it again
## breaks in exciting ways
u-boot.imx:clear_dcd,plug,jump header
###############################
## For doing RAM calibration ##
###############################
#ddr-test-uboot-jtag-mx6sl.bin:load 0x00907000