Hello linuxdev,
thank You for Your reply!
As soon as you boot to an SD card, then this too has an extlinux.conf
. Do you know which one you are booting from?
When the SD Card is plugged in, U-Boot reads from the extlinux.conf
.
I can verify this when looking at the serial console boot logs (once without an SD-Card plugged in, and once with an SD-Card plugged in).
- Without an SD-Card plugged in the U-Boot logs
mmc0(part 0) is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
- With an SD-Card the U-Boot logs
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
If the SD card was copied from eMMC and is using an exact match of the eMMC’s extlinux.conf
, then you are still booting to eMMC’s version. In that case you want to make sure your extlinux.conf
is edited for the SD card boot. Since your system wants the SD card to boot, then it indicates it is using the SD card’s extlinux.conf
.
I copied the rootfs
folder that the SDKManager downloaded.
To copy the rootfs
folder, I used the instructions in Step 3 of the tutorial mentioned above Jetson/L4T/Boot From External Device
3. Get partition UUID and copy rootfs to the device:
...
$ cd rootfs/
// copy rootfs
$ sudo tar -cpf - * | ( cd /mnt/ ; sudo tar -xpf - )
If you know you have the correct extlinux.conf
, then you would make sure the actual entry for that boot points at the SD card…if the content was just a copy of the eMMC version, then you are only using the extlinux.conf
and nothing else from the SD card.
I am almost convinced that the correct extlinux.conf
is being used, because when the SD Card is plugged in, the Jetson turned on, and a Serial-to-USB attached, I get a login prompt eventually.
I will nevertheless look at the point You mention before that and get back to You.
After you have verified you are booting to the correct rootfs, then that same serial console boot log would provide information about what is going on with the GUI.
I have attached both console logs (Without a SD-Card and once with a SD Card)
screenlog_no_sd.log (22.0 KB)
screenlog_sd.log (22.3 KB)
An excerpt from the console log for when the SD-Card is plugged in:
U-Boot 2020.04-g6b630d64fd (Jan 15 2021 - 14:41:30 -0800)
SoC: tegra186
Model: NVIDIA P2771-0000-500
Board: NVIDIA P2771-0000
DRAM: 7.8 GiB
MMC: sdhci@3400000: 1, sdhci@3460000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net:
Warning: ethernet@2490000 using MAC address from ROM
eth0: ethernet@2490000
Hit any key to stop autoboot: 2 1 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
734 bytes read in 44 ms (15.6 KiB/s)
1: primary kernel
Retrieving file: /boot/initrd
7236790 bytes read in 823 ms (8.4 MiB/s)
Retrieving file: /boot/Image
34338824 bytes read in 3790 ms (8.6 MiB/s)
append: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=PARTUUID=8363108c-d01b-49b1-ba0a-f6aa8a4202f8 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 quiet
## Flattened Device Tree blob at 80000000
Booting using the fdt blob at 0x80000000
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
Using Device Tree in place at 0000000080000000, end 0000000080060699
copying carveout for /host1x@13e00000/display-hub@15200000/display@15200000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15210000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15220000...
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Linux version 4.9.201-tegra (buildbrain@mobile-u64-4551) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Fri Jan 15 14:54:23 PST 2021
[ 0.000000] Boot CPU: AArch64 Processor [411fd073]
[ 0.000000] OF: fdt:memory scan node memory@80000000, reg size 80,
[ 0.000000] OF: fdt: - 80000000 , 70000000
[ 0.000000] OF: fdt: - f0200000 , 185600000
[ 0.000000] OF: fdt: - 275e00000 , 200000
[ 0.000000] OF: fdt: - 276600000 , 200000
[ 0.000000] OF: fdt: - 277000000 , 200000
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 3.533442] cgroup: cgroup2: unknown option "nsdelegate"
[ 5.820916] random: crng init done
[ 5.824320] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.594909] using random self ethernet address
[ 11.602355] using random host ethernet address
[ 14.252689] using random self ethernet address
[ 14.257401] using random host ethernet address
[ 17.539468] CPU1: shutdown
[ 17.588054] CPU2: shutdown
Ubuntu 18.04.5 LTS nvidia-sd-card ttyS0
nvidia-sd-card login: