summaryrefslogtreecommitdiff
path: root/libre/uboot-trimslice/boot.txt
blob: 100d4b6de2b76e47d8ffee32f8c68c1b8103f701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if test "${devtype}" = "mmc"; then
  if test ${devnum} -eq 1; then
    setenv root /dev/mmcblk0p1;
  else
    if mmc dev 1; then
      setenv root /dev/mmcblk1p1;
      mmc dev 0;
    else
      setenv root /dev/mmcblk0p1;
    fi;
  fi;
else
  setenv root /dev/sda1;
fi

setenv bootargs "root=${root} rw rootwait console=tty1 console=ttyS0,115200n8 mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M video=tegrafb"

load ${devtype} ${devnum}:${bootpart} ${loadaddr} /boot/vmlinuz-linux-libre
load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/linux-libre/tegra20-trimslice.dtb

bootz ${loadaddr} - ${fdt_addr_r}