Trimslice U-Boot

Revive a Trimslice with mainline U-Boot
Follow RCN wiki steps for extlinux.conf (no more boot.scr needed).

Example: https://eewiki.net/display/linuxonarm/A20-OLinuXino-LIME

Tegra has "special" boot magic so the best way is to follow the readmes for each of the NVIDIA tools or use the manifest builder. Note the README files are required reading either way...

[//github.com/sarnold/tegra-uboot-flasher-scripts flasher README files]

[//github.com/sarnold/tegra-uboot-flasher-manifests sarnold/tegra-uboot-flasher-manifest]

If you can install the required tegra tool packages, then you can ignore the build-tools script. Otherwise use the full build script and let it put all of them in a local build output directory. By default it will build all the Tegra boards, so if you just want one, use the argument below. Note that it must come after the command and before the actual "build" argument:

Once everything is built (check the _out dir above the scripts dir) you can either make an SD card or test the SPI flash build on the Trimslice. Note that any DTC warnings in the u-boot build output are the result of parallel make and can be safely ignored.

Using the manifest build, from the scripts directory:

Make a bootable card:

1) Follow the RCN wiki example above, but for the u-boot deploy step do:

Test it in SPI flash:

1) Connect your serial cable to the front port, and connect a micro USB   cable to the other port on the front.  Bring up a serial console program.    Open the tiny door where the microSD slot is, and press the "boot" button    while powering up (this is Tegra, so it uses fastboot mode).

2) following the README-user.txt, run the download tool:

You should see the console load and execute the u-boot you just downloaded. It will still fallback to the old boot.scr if it can't find extlinux.conf (but the latter is now easier and preferred).

When ready, run the same command (after booting into fastboot mode again) with "flash" instead of "exec":

You can use any kernel source, from gentoo-sources to armv7-multiplatform.