% sudo cu -l /dev/cu.usbserial-A50285BI -s 115200|& tee ~/log/dmesg_NetBSD.NetBSD_u-boot.EBTwithR23.2.20180617.txt [0000.725] [TegraBoot] (version 23.00.2015.14-mobile-3a15407d) [0000.730] Processing in cold boot mode Bootloader 2 [0000.735] A01 Bootrom Patch rev = 63 [0000.738] Power-up reason: on button [0000.742] No Battery Present [0000.745] Platform has Ddr4 type ram [0000.748] max77620 disabling SD1 Remote Sense [0000.752] Setting Ddr voltage to 1125mv [0000.756] Serial Number of Pmic Max77663: 0x2905ae [0000.764] Entering ramdump check [0000.767] Get RamDumpCarveOut = 0x0 [0000.770] RamDumpCarveOut=0x0, RamDumperFlag=0xe59ff3f8 [0000.776] Last reboot was clean, booting normally! [0000.780] Sdram initialization is successful [0000.784] SecureOs Carveout Base=0xff800000 Size=0x00800000 [0000.790] GSC1 Carveout Base=0xff700000 Size=0x00100000 [0000.816] GSC2 Carveout Base=0xff600000 Size=0x00100000 [0000.841] GSC3 Carveout Base=0xff500000 Size=0x00100000 [0000.847] GSC4 Carveout Base=0xff400000 Size=0x00100000 [0000.852] GSC5 Carveout Base=0xff300000 Size=0x00100000 [0000.857] BpmpFw Carveout Base=0xff2c0000 Size=0x00040000 [0000.862] Lp0 Carveout Base=0xff2bf000 Size=0x00001000 [0000.878] RamDump Carveout Base=0xff23f000 Size=0x00080000 [0000.883] Platform-DebugCarveout: 0 [0000.886] Nck Carveout Base=0xff03f000 Size=0x00200000 [0000.926] Using GPT Primary to query partitions [0000.932] Loading Tboot-CPU binary [0000.981] Verifying bootloader in OdmNonSecureSBK mode [0000.991] Bootloader load address is 0xa0000000, entry address is 0xa0000258 [0001.000] Bootloader downloaded successfully. [0001.004] Downloaded Tboot-CPU binary to 0xa0000258 [0001.009] MAX77620_GPIO1 Configured. [0001.013] MAX77620_GPIO5 Configured. [0001.017] CPU power rail is up [0001.019] CPU clock enabled [0001.023] Performing RAM repair [0001.026] Updating A64 Warmreset Address to 0xa00002e9 [0001.043] Bootloader DTB Load Address: 0x83000000 [0001.060] Kernel DTB Load Address: 0x83080000 [0001.065] Loading cboot binary [0001.159] Verifying bootloader in OdmNonSecureSBK mode [0001.269] Bootloader load address is 0x8010fda8, entry address is 0x80110000 [0001.278] Bootloader downloaded successfully. [0001.282] GPT: Partition NOT found ! [0001.286] Find Partition via GPT Failed [0001.289] function NvTbootGetBinaryOffsets: 0x845208 error [0001.295] Error in NvTbootLoadBinary: 0x845208 ! [0001.299] Next binary entry address: 0x80110000 [0001.304] BoardId: 2180 [0001.330] NvTbootI2cWrite(): error code 0x00045100 Error while starting write transaction [0001.338] NvTbootI2cDeviceRead(): error code 0x00045001 Error while sending the offset to slave [0001.346] NvTbootI2c: Read failed for slave 0xa2, offset 0x00 with error code 0x00045001 [0001.354] Display board id read failed [0001.358] dram memory type is 3 [0001.362] WB0 init successful [0001.388] Bpmp FW successfully loaded [0001.391] Set NvDecSticky Bits [0001.395] GSC1 address : ff700000 [0001.398] GSC2 address : ff600000 [0001.402] GSC3 address : ff500000 [0001.406] GSC4 address : ff400000 [0001.410] GSC5 address : ff300000 [0001.413] GSC MC Settings done [0001.416] TOS old plaintext Image length 61440 [0001.423] *** Secure OS image signature not verified *** [0001.428] Loading and Validation of Secure OS Successful [0001.433] NvTbootPackSdramParams: start. [0001.438] NvTbootPackSdramParams: done. [0001.442] Tegraboot started after 115262 us [0001.446] Basic modules init took 941276 us [0001.450] Sec Bootdevice Read Time = 194 ms, Read Size = 8459 KB [0001.455] Next stage binary read took 12261 us [0001.460] Carveout took 269015 us [0001.463] CPU initialization took 138905 us [0001.467] Total time taken by TegraBoot 1361457 us [0001.472] Starting CPU & Halting co-processor 64b[0001.607] LPDDR4 Training: Number of tables = 10 [0001.611] EMC Training (SRC-freq: 204000; DST-freq: 408000) [0001.618] EMC Training Successful [0001.621] EMC Training (SRC-freq: 204000; DST-freq: 665600) [0001.626] EMC Training Successful [0001.630] EMC Training (SRC-freq: 204000; DST-freq: 800000) [0001.641] EMC Training Successful [0001.644] EMC Training (SRC-freq: 204000; DST-freq: 1065600) [0001.667] EMC Training Successful [0001.670] EMC Training (SRC-freq: 204000; DST-freq: 1331200) [0001.691] EMC Training Successful [0001.694] EMC Training (SRC-freq: 204000; DST-freq: 1600000) [0001.714] EMC Training Successful [0001.717] Switching to 800000 KHz Success [0001.751] LPDDR4 Training: Number of tables = 10 U-Boot 2017.11 (Feb 20 2018 - 09:43:22 +0900) TEGRA210 Model: NVIDIA P2371-2180 Board: NVIDIA P2371-2180 DRAM: 3.5 GiB MMC: sdhci@700b0000: 1, sdhci@700b0600: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: No ethernet found. Hit any key to stop autoboot: 2  0 Tegra210 (P2371-2180) # printenv arch=arm baudrate=115200 board=p2371-2180 board_name=p2371-2180 boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf boot_net_pci_enum=pci enum boot_net_usb_start=usb start boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_targets=mmc1 mmc0 usb0 pxe dhcp bootcmd=run distro_bootcmd bootcmd_dhcp=run boot_net_usb_start; run boot_net_pci_enum; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci; bootcmd_mmc0=setenv devnum 0; run mmc_boot bootcmd_mmc1=setenv devnum 1; run mmc_boot bootcmd_pxe=run boot_net_usb_start; run boot_net_pci_enum; dhcp; if pxe get; then pxe boot; fi bootcmd_usb0=setenv devnum 0; run usb_boot bootdelay=2 cpu=armv8 distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done efi_dtb_prefixes=/ /dtb/ /dtb/current/ fdt_addr_r=0x82000000 fdt_high=ffffffffffffffff fdtcontroladdr=dda21788 initrd_high=ffffffffffffffff kernel_addr_r=0x80080000 load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile} loadaddr=0x80080000 mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi pxefile_addr_r=0x90100000 ramdisk_addr_r=0x82100000 scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scriptaddr=0x90000000 soc=tegra210 stderr=serial stdin=serial stdout=serial usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi vendor=nvidia Environment size: 3786/8188 bytes Tegra210 (P2371-2180) # boot switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf reading /extlinux/extlinux.conf 356 bytes read in 16 ms (21.5 KiB/s) Jetson TX1 boot options 1: Ubuntu at eMMC 2: NetBSD/arm64 Enter choice: 2 2: NetBSD/arm64 Retrieving file: /netbsd.img reading /netbsd.img 8549572 bytes read in 389 ms (21 MiB/s) append: root=ld0a console=fb Retrieving file: /dtb/tegra210-p2371-2180.dtb reading /dtb/tegra210-p2371-2180.dtb 59239 bytes read in 26 ms (2.2 MiB/s) ## Flattened Device Tree blob at 82000000 Booting using the fdt blob at 0x82000000 Using Device Tree in place at 0000000082000000, end 0000000082011766 Starting kernel ... [ 1.0000000] ok [ 1.0000000] uboot: args 0x82000000, 0, 0, 0 [ 1.0000000] NetBSD/evbarm (fdt) booting ... [ 1.0000000] FDT /memory [0] @ 0x80000000 size 0x60000000 [ 1.0000000] FDT /memory [1] @ 0x100000000 size 0x80000000 [ 1.0000000] MEM: add 80000000-e0000000 [ 1.0000000] MEM: add 100000000-180000000 [ 1.0000000] MEM: res 82000000-8200f000 [ 1.0000000] Usable memory: [ 1.0000000] 80000000 - 81ffffff [ 1.0000000] 8200f000 - dfffffff [ 1.0000000] 100000000 - 17fffffff [ 1.0000000] initarm: kernel phys start 80000000 end 80828000 [ 1.0000000] MEM: res 80000000-80828000 [ 1.0000000] bootargs: root=ld0a console=fb [ 1.0000000] 80828000 - 81ffffff [ 1.0000000] 8200f000 - dfffffff [ 1.0000000] 100000000 - 17fffffff [ 1.0000000] ------------------------------------------ [ 1.0000000] kern_vtopdiff = 0xffffffbf80000000 [ 1.0000000] physical_start = 0x0000000080000000 [ 1.0000000] kernel_start_phys = 0x0000000080000000 [ 1.0000000] kernel_end_phys = 0x0000000080828000 [ 1.0000000] physical_end = 0x0000000081fff000 [ 1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000 [ 1.0000000] kernel_start_l2 = 0xffffffc000000000 [ 1.0000000] kernel_start = 0xffffffc000000000 [ 1.0000000] kernel_end = 0xffffffc000828000 [ 1.0000000] kernel_end_l2 = 0xffffffc000a00000 [ 1.0000000] (kernel va area) [ 1.0000000] (devmap va area) [ 1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffffffe00000 [ 1.0000000] ------------------------------------------ [ 1.0000000] panic: kernel debugging assertion "bootconfig.dramblocks <= DRAM_BLOCKS" failed: file "/home/source/ab/HEAD/src/sys/arch/aarch64/aarch64/aarch64_machdep.c", line 198 [ 1.0000000] cpu0: Begin traceback... [ 1.0000000] trace fp ffffffc00000ab80 address 0xffffffc00000ab80 is invalid address 0xffffffc00000ab88 is invalid [ 1.0000000] cpu0: End traceback... Stopped in pid 0.1 (system) at ffffffc000055098: address 0xffffffc0000550 98 is invalid .insn 0x00000000 # undefined db>