File: bootscr.imx-base

package info (click to toggle)
flash-kernel 3.107
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 716 kB
  • sloc: sh: 519; makefile: 36
file content (37 lines) | stat: -rw-r--r-- 678 bytes parent folder | download | duplicates (4)
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
# boot script for Wandboard

if test "${devtype}" ; then
   setenv devtype mmc
fi

if test "${devnum}" ; then
  setenv devnum ${mmcdev}
fi

if test -z "${partition}" ; then
   setenv partition ${distro_bootpart}
fi

if test -z "${partition}" ; then
   setenv partition ${bootpart}
fi

if test -z "${partition}" ; then
   setenv partition ${mmcpart}
fi

if test -z "${ramdisk_addr_r}" ; then
	setenv ramdisk_addr_r 0x13000000
fi

if test -z "${ramdiskaddr}" ; then
	setenv ramdiskaddr ${ramdisk_addr_r}
fi

if test -z "${fk_image_locations}" ; then
   setenv fk_image_locations "${prefix}"
fi

if test -z "${fk_image_locations}" ; then
   setenv fk_image_locations "/boot/ /"
fi