I would like to test the latest version of U-Boot on the Jetson TX1.
Unfortunately U-Boot is lacking a README that would explain how to do that:
I understand that the Jetson TK1's Python based
have never been updated for Tegra X1.
That leaves L4T Jetson TX1 Driver Package, latest version being R28.1.0.
Here's what I have tried:
$ sudo ./flash.sh p2371-2180-devkit mmcblk0p1
On openSUSE Leap 42.3 this keeps failing the first time:
populating kernel to rootfs... done.
populating initrd to rootfs... done.
populating extlinux.conf.emmc to rootfs... done.
to rootfs... done.
Making Boot image... done.
/dev/loop0 is not block device. Terminating..
I have managed to work around that by running sudo losetup -f once.
That gets me to a:
U-Boot 2016.07-g0ce7ca2 (Jul 20 2017 - 00:37:03 -0700)
(where our efiboot command doesn't quite work yet)
claims: "The distributed tarball contains a pre-built U-Boot and kernel,
but these may be replaced with any images you wish to flash, by
replacing the distributed images in the directory tree."
and "To flash only the primary bootloader and U-Boot: ./flash.sh -k EBT
Apparently that's not true anymore (R23.1.1 armhf vs. R28.1.0 aarch64):
Operation succeeds, but U-Boot is still the old one.
Possible cause: The EBT partition gets a cboot.bin, not u-boot-dtb.bin.
If I repeat without -k EBT and with the openSUSE OBS builds of U-Boot
v2018.01 then again flashing appears to succeed, but boot gets stuck at:
[0003.260] Starting Bpmp FW
[0003.263] BPMP-FW Carveout: Base = 0xff2c0000 and Size = 0x40000
(short of showing the U-Boot banner)
Also, ATF shows up as:
NOTICE: BL31: v1.2(release):cc5fd7c
NOTICE: BL31: Built : 00:37:02, Jul 20 2017
(which is most certainly lacking Jan 2018 Spectre mitigations for CA57)
announces an R28.2 for later this month, but with t210 in mainline ATF I
would really like to use my own patched ATF build already.
doesn't explain how to get the t210 bl31.bin onto a board either.
https://elinux.org/Jetson_TX1 links to multiple App Notes on a
non-reachable Nvidia FTP server. I found that replacing ftp with http,
they can still be reached (dated 2015), but
isn't too helpful either, other than giving a rough overview.
Colleagues have succeeded in loading a U-Boot via RCM into RAM and
executing from there, but I figure that won't quite work for ATF.
And it's no permanent solution anyway.
So could someone please comment on how to perform a minimally-invasive
update of the individual Open Source firmware components for Jetson TX1?
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
U-Boot mailing list