Skip to content
Permalink
Browse files

Fixed eMMC install on FriendlyARM NanoPC T3+, adjusted docker depende…

…ncies, new boot script with SD card priority booting.
  • Loading branch information...
igorpecovnik committed Sep 6, 2018
1 parent a01e8d3 commit 86a00ada34324d902dca380ccdf06d935bf095f9
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -16,18 +16,17 @@ if test -z "${fdtfile}"; then
setenv fdtfile "s5p6818-nanopi-m3.dtb"
fi

echo "Boot script loaded from SD card"
echo "Boot script loaded from SD card ${devnum}"

if ext4load mmc 1:1 ${kernel_addr_r} boot/armbianEnv.txt; then
if ext4load mmc ${devnum}:1 ${kernel_addr_r} ${prefix}/armbianEnv.txt; then
env import -t ${kernel_addr_r} ${filesize}
fi

setenv bootargs "console=ttySAC0,115200n8 root=${rootdev} rootwait rootfstype=${rootfstype} loglevel=${verbosity} usb-storage.quirks=${usbstoragequirks} ${extraargs}"

if ext4load mmc 1:1 ${fdt_addr} boot/dtb/nexell/${fdtfile} || ext4load mmc 1:1 ${fdt_addr} boot/dtb/nexell/s5p6818-nanopi3-rev07.dtb; then echo "Loading DTB"; fi
ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd
ext4load mmc 1:1 ${kernel_addr_r} boot/Image

if ext4load mmc ${devnum}:1 ${fdt_addr} ${prefix}dtb/nexell/${fdtfile} || ext4load mmc 1:1 ${fdt_addr} ${prefix}dtb/nexell/s5p6818-nanopi3-rev07.dtb; then echo "Loading DTB"; fi
ext4load mmc ${devnum}:1 ${ramdisk_addr_r} ${prefix}uInitrd
ext4load mmc ${devnum}:1 ${kernel_addr_r} ${prefix}Image
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}

# Recompile with:

0 comments on commit 86a00ad

Please sign in to comment.
You can’t perform that action at this time.