Hi,
I am working with a customized board based on Jetson TK1. I am able to flash the L4T drivers/OS into the board successfully but the flashed u-boot gets stuck before it can start the kernel.
I am following the steps given in the link:
Jetson TK1 - NvError 0x120002 - #8 by linuxdev
I downloaded the driver package and trusty’s sample rootfile system from the following link:
https://developer.nvidia.com/linux-tegra-r218
The host PC is Ubuntu 16 running on a VM. I modified the EMMCSIZE and ROOTFSSIZE parameters to:
EMMCSIZE=31272730624;
ROOTFSSIZE=30538727424;
in the jetson-tk1.conf file according to the eMMC used on my board which is a SWISSBIT 32GB eMMC JEDEC 5.0 compliant, model number:
SFEM032GB1EA1TO-I-HG-12P-STD
The flash command I am using is “sudo ./flash.sh jetson-tk1 mmcblk0p1”.
Here is the Flash and Boot Log file:
[0000.000] [TegraBoot] (version UNDEF_BUILD)
[0000.004] Reset reason: power on reset
[0000.008] Processing in recovery mode
[0000.011] Established communication link with host
[0001.328] Downloaded bct successfully
[0001.343] No Battery Present
[0001.347] Sdram initialization is successful
[0001.416] Downloaded DTB successfully
[0001.442] No Battery Present
[0002.029] Downloaded bootloader successfully
[0002.033] CPU-bootloader entry address: 0x83d88000
[0002.037] BoardId: 375
[0002.039] Vpr Carveout Base=0x0f4600000 Size=0x00ba00000
[0002.045] Tsec Carveout Base=0x0f2600000 Size=0x002000000
[0002.050] Lp0 Carveout Base=0x0f25ff000 Size=0x000001000
[0002.055] Xusb Carveout Base=0x0f2300000 Size=0x000200000
[0002.060] Platform-DebugCarveout: 0
[0002.087] CPU power rail is up
[0002.090] Performing RAM repair
[0002.093] CPU clock init successful
[0002.096] Starting CPU & Halting co-processor
NVRM Initialized shmoo database
NVRM CLOCKS: PLLX0: 696000 Khz
NVRM CLOCKS: PLLM0: 924000 Khz
NVRM CLOCKS: PLLC0: 0 Khz
NVRM CLOCKS: PLLP0: 408000 Khz
NVRM CLOCKS: PLLA0: 11289 Khz
NVRM CLOCKS: CPU: 696000 Khz
NVRM CLOCKS: AVP: 48000 Khz
NVRM CLOCKS: System Bus: 48000 Khz
NVRM CLOCKS: Memory Controller: 924000
NVRM CLOCKS: External Memory Controller: 924000
EEPROM instance-5: Querying board info from BCT.
EEPROM instance-0: Querying board info from BCT.
EEPROM instance-0: No board info available for this instance in BCT.
EEPROM instance-1: Querying board info from BCT.
EEPROM instance-1: Board info present in BCT is invalid.
EEPROM instance-2: Querying board info from BCT.
EEPROM instance-2: No board info available for this instance in BCT.
EEPROM instance-3: Querying board info from BCT.
EEPROM instance-3: No board info available for this instance in BCT.
EEPROM instance-4: Querying board info from BCT.
EEPROM instance-4: Board info present in BCT is invalid.
EEPROM instance-5: Querying board info from BCT.
EEPROM instance-5: BoardInfo: 0xffff:0xffff:0375:0000:03:EEPROM instance-6: Querying board info from BCT.
EEPROM instance-6: BoardInfo: 0xffff:0xffff:0375:0000:03:EEPROM instance-7: Querying board info from BCT.
EEPROM instance-7: No board info available for this instance in BCT.
Final BoardID: proc: 375 and pmu 375
ADJUSTED CLOCKS:
MC clock is set to 924000 KHz
EMC clock is set to 924000 KHz (DDR clock is at 924000 KHz)
PLLX0 clock is set to 696000 KHz
PLLC0 clock is set to 0 KHz
CPU clock is set to 696000 KHz
System and AVP clock is set to 48000 KHz
GraphicsHost clock is set to 163200 KHz
MSENC clock is set to 92400 KHz
Vde clock is set to 204000 KHzBootloader-Cpu Init at (time stamp): 233743739 us
Pinmux changes applied in kernel way
[bootloader] (version UNDEF_BUILD)
Platform Pre Boot configuration…
NvDdkUsbhBlockDevInit…
Initializing Display
The proc BoardInfo: 0x0177:0x0000:0x03:0x00:0x00
The proc BoardInfo: 0x0177:0x0000:0x03:0x00:0x00
This Pmu Module is not present.
The best display mode is 2560x1600/60Hz, pclk: 268627KhzDSI PAD calibration done
DSI PAD calibration done
DSI PAD calibration done
DSI PAD calibration done
Entering NvFlash recovery mode / Nv3p ServerNv3pServer Version 4.13.0000
: DecodeCSD:
: readBlkBits=9, readBlkSize=512 Bytes
: nSectors=(CSIZE+1)(2(CSizeMult+2))=4096 * 512 = 2097152 Sectors
: writeBlkBits=9, writeBlkSize=512 Bytes
: ERASE_GRP_SIZE=31, ERASE_GRP_MULT=31
: EraseGrpSize=(31+1)*(31+1)=1024 Sectors (524288 Bytes)
: WPGrpSize=15360 Sectors (7864320 Bytes)
***: ReadExtCSD:
: overriding USER Sectors = 61079552 Sectors
: keep CSD EraseGrpSize = 1024 Sectors (524288 Bytes)
: keep CSD WPGrpSize = 15360 wBlks (7864320 Bytes)
: BootPartSize = 4194304 Bytes (8192 Sectors)
***: SetBlockSize to 512 Bytes SKIPPED because CMD16 is illegal for DDR50…
***: SdGetDevInfo: PagesPerBlock = 32 pages (256 Sectors)
***: SdGetDevInfo: TotSecs=TotBlk(238656)*PgPerBlk(32)*SecsPerPg(8)=61095936
Region=1 SD Erase start 512B-sector=0,512B-sector-num=8192
Region=2 SD Erase start 512B-sector=0,512B-sector-num=8192
Region=0 SD Erase start 512B-sector=0,512B-sector-num=61079552
SD Alloc Partid=2, start sector=0,num=2048
SD Alloc Partid=3, start sector=2048,num=512
SD Alloc Partid=4, start sector=2560,num=512
SD Alloc Partid=5, start sector=3072,num=1024
SD Alloc Partid=6, start sector=4096,num=4096
SD Alloc Partid=7, start sector=8192,num=1536
SD Alloc Partid=8, start sector=9728,num=512
SD Alloc Partid=9, start sector=10240,num=1536
SD Alloc Partid=10, start sector=11776,num=1536
SD Alloc Partid=11, start sector=13312,num=512
SD Alloc Partid=12, start sector=13824,num=7455744
SD Alloc Partid=13, start sector=7469568,num=1024
SD Alloc Partid=14, start sector=7470592,num=16384
SD Alloc Partid=15, start sector=7486976,num=1024
SD Alloc Partid=16, start sector=7488000,num=1024
SD Alloc Partid=17, start sector=7489024,num=1024
SD Alloc Partid=18, start sector=7490048,num=1024
SD Alloc Partid=19, start sector=7491072,num=512
SD Alloc Partid=20, start sector=7491584,num=144896
SD Alloc Partid=21, start sector=7636480,num=512
Region=0 SD Erase start 512B-sector=4096,512B-sector-num=4096
Start Downloading PPT
Parallel write enabledEnd Downloading PPT
Time taken to download partition: 2151 msStart Downloading EBT
End Downloading EBT
Time taken to download partition: 784 msStart Downloading APP
End Downloading APP
Time taken to download partition: 2045780 msStart Downloading DTB
End Downloading DTB
Time taken to download partition: 81 msStart Downloading GPT
End Downloading GPT
Time taken to download partition: 2114 ms
WriterThread: Exiting
Rebooting device after flashing.U-Boot SPL 2018.05-gc50329da15 (Oct 31 2019 - 13:48:20 -0700)
Trying to boot from RAMU-Boot 2018.05-gc50329da15 (Oct 31 2019 - 13:48:20 -0700)
TEGRA124
Model: NVIDIA Jetson TK1
Board: NVIDIA Jetson TK1
DRAM: 2 GiB
MMC: sdhci@700b0400: 1, sdhci@700b0600: 0
Loading Environment from MMC… *** Warning - bad CRC, using default environmentFailed (-5)
In: serial
Out: serial
Err: serial
CPU is in NS mode
Net: No ethernet found.
Hit any key to stop autoboot: 0
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1…
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
827 bytes read in 3235 ms (
The uboot gets stuck at the last 2 lines:
Retrieving file: /boot/extlinux/extlinux.conf
827 bytes read in 3235 ms (
Also next time I reset the device it always get stuck at the 5th last line :
mmc0(part 0) is current device
What am I missing?