blob: e3406d554373eec5d6576c53488098be889902b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
backlight0.brightness=0
if [ "$bootsource" = "spi-nor" ]; then
echo Boot source is SPI NOR, booting SD card firmware with rootfs on SD card
boot mmc1
elif [ "$bootsource" = "mmc" ] && [ "$bootsource_instance" = "1" ]; then
echo Boot source is SD card, booting SD card firmware with rootfs on SD card
boot mmc1
else
detect mmc3
if [ "$mmc3.boot" = "boot0" ]; then
boot mmc3.0
else
boot mmc3.1
fi
fi
|