~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 509a87b89eb5c0f36e125a48aeb272998248bdf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
scsirootfstype=ext4 rootwait
ufs_finduuid=part uuid scsi ${bootpart} uuid
args_ufs=setenv devtype scsi;setenv bootpart 1:1;
	run ufs_finduuid;
	setenv bootargs console = ${console}
	${optargs}
	root=PARTUUID=${uuid} rw
	rootfstype=${scsirootfstype};
	setenv devtype scsi;
	setenv bootpart 1:1
init_ufs=ufs init; scsi scan; run args_ufs
get_kern_ufs=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
get_fdt_ufs=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
get_overlay_ufs=
	fdt address ${fdtaddr};
	fdt resize 0x100000;
	for overlay in $name_overlays;
	do;
	load scsi ${bootpart} ${dtboaddr} ${bootdir}/${overlay} &&
	fdt apply ${dtboaddr};
	done;