Closed pdlloyd closed 1 year ago
Additionally, I build against the zeus-l4t-r32.3.1-kernel-tmr
branch
As a test, I went into flash.xml.in
and straight up deleted these lines:
<partition name="CONFIG" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1000000000 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> dummy.ext4.img </filename>
<description> Nonvolatile partition to be mounted at /config from /dev/mmcblk0p4.</description>
</partition>
<partition name="DATA" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 15000000000 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> dummy.ext4.img </filename>
<description> Nonvolatile partition to be mounted at /data from /dev/mmcblk0p5.</description>
</partition>
This allowed ./doflash.sh to successfully finish, but when booting, I received the following errors from U-Boot:
TMRing file #3 of size 0
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
I'm guessing that this is because it's trying to check the hash for the wrong partition because of the modification to flash.xml.in
. The next thing I'm going to try is creating a 1000000000 byte file with dd
called dummy.ext4.img
and formatting it with mkfs.ext4
.
Alright! Creating the dummy partition with dd if=/dev/zero of=dummy.ext4.img && mkfs.ext4 dummy.ext4.img
let the doflash.sh
script complete. I'm still not able to get through the bootloader, however:
Bad Linux ARM64 Image magic!
meta-sol ref 8e54ab013a4a34a8d5bf901e00131f3bf7581f30
TMRing info files
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
Reading info for filesizes
TMRing file #1 of size 0
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
TMRing file #2 of size 0
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
TMRing file #3 of size 0
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
Hit any key to stop autoboot: 0
And for reference, this is the output from the serial console from reset to the autoboot loop:
Welcome to MB2(TBoot-BPMP)(version: 01.00.160913-t186-M-00.00-mobile-7d3edb9d)
[0000.347] I> bit @ 0xd480000
[0000.350] I> Boot-device: eMMC
[0000.358] I> sdmmc bdev is already initialized
[0000.362] I> pmic: reset reason (nverc) : 0x80
[0000.394] I> Found 18 partitions in SDMMC_BOOT (instance 3)
[0000.413] I> Found 37 partitions in SDMMC_USER (instance 3)
[0000.419] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x10
[0000.424] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x0
[0000.429] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x10
[0000.434] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x0
[0000.439] I> OEM carveouts init scrub in progress...
[0000.515] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x10
[0000.520] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x0
[0000.525] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x10
[0000.530] I> MB2 check ECC error: EMC_INTSTATUS_0: 0x0
[0000.535] I> Mb2 SDRAM scrub successful
[0000.539] I> A/B: bin_type (16) slot 0
[0000.542] I> Loading partition bpmp-fw at 0xd7800000
[0000.547] I> Reading two headers - addr:0xd7800000 blocks:1
[0000.553] I> Addr: 0xd7800000, start-block: 55307352, num_blocks: 1
[0000.578] I> Binary(16) of size 533504 is loaded @ 0xd7800000
[0000.583] I> A/B: bin_type (17) slot 0
[0000.587] I> Loading partition bpmp-fw-dtb at 0xd79f0000
[0000.592] I> Reading two headers - addr:0xd79f0000 blocks:1
[0000.598] I> Addr: 0xd79f0000, start-block: 55309768, num_blocks: 1
[0000.617] I> Binary(17) of size 75680 is loaded @ 0xd79ed600
[0000.652] I> Loading SCE-FW ...
[0000.655] I> A/B: bin_type (12) slot 0
[0000.658] I> Loading partition sce-fw at 0xd7300000
[0000.663] I> Reading two headers - addr:0xd7300000 blocks:1
[0000.669] I> Addr: 0xd7300000, start-block: 55313864, num_blocks: 1
[0000.688] I> Binary(12) of size 125168 is loaded @ 0xd7300000
[0000.693] I> Init SCE
[0000.696] I> Loading APE-FW ...
[0000.699] I> A/B: bin_type (11) slot 0
[0000.702] I> Loading partition adsp-fw at 0xd7400000
[0000.707] I> Reading two headers - addr:0xd7400000 blocks:1
[0000.713] I> Addr: 0xd7400000, start-block: 55290968, num_blocks: 1
[0000.732] I> Binary(11) of size 107808 is loaded @ 0xd7400000
[0000.738] I> Copy BTCM section
[0000.741] I> A/B: bin_type (13) slot 0
[0000.744] I> Loading partition cpu-bootloader at 0x96000000
[0000.750] I> Reading two headers - addr:0x96000000 blocks:1
[0000.755] I> Addr: 0x96000000, start-block: 55270488, num_blocks: 1
[0000.777] I> Binary(13) of size 283728 is loaded @ 0x96000000
[0000.782] I> A/B: bin_type (20) slot 0
[0000.786] I> Loading partition bootloader-dtb at 0x8520f400
[0000.791] I> Reading two headers - addr:0x8520f400 blocks:1
[0000.797] I> Addr: 0x8520f400, start-block: 55272536, num_blocks: 1
[0000.819] I> Binary(20) of size 364032 is loaded @ 0x8520f400
[0000.825] I> A/B: bin_type (14) slot 0
[0000.829] I> Loading partition secure-os at 0x8530f600
[0000.834] I> Reading two headers - addr:0x8530f600 blocks:1
[0000.839] I> Addr: 0x8530f600, start-block: 55274584, num_blocks: 1
[0000.861] I> Binary(14) of size 312752 is loaded @ 0x8530f600
[0000.868] I> TOS boot-params @ 0x85000000
[0000.872] I> TOS params prepared
[0000.875] I> Loading EKS ...
[0000.878] I> A/B: bin_type (15) slot 0
[0000.882] I> Loading partition eks at 0x8590f800
[0000.886] I> Reading two headers - addr:0x8590f800 blocks:1
[0000.892] I> Addr: 0x8590f800, start-block: 55286872, num_blocks: 1
[0000.910] I> Binary(15) of size 1040 is loaded @ 0x8590f800
[0000.916] I> EKB detected (length: 0x400) @ 0x8590f800
[0000.921] I> Copied encrypted keys
[0000.925] I> boot profiler @ 0x235844000
[0000.928] I> boot profiler for TOS @ 0x235844000
[0000.933] I> Unhalting SCE
[0000.936] I> Primary Memory Start:80000000 Size:70000000
[0000.941] I> Extended Memory Start:f0110000 Size:1456f0000
[0000.948] I> MB2(TBoot-BPMP) done
NOTICE: BL31: v1.3(release):23b153a63
NOTICE: BL31: Built : 22:43:09, Dec 9 2019
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
keystore-demo: 141: Hello world from keystore-demo app
keystore-demo: 207: main: EKB contents match expected value
exit called, thread 0xffffffffea87ad58, name trusty_app_2_7d18fc60-e9fc-11e8
platform_bootstrap_epilog: trusty bootstrap complete
[0001.152] I> Welcome to Cboot
[0001.155] I> Cboot Version: t186-c3c778fb
[0001.159] I> CPU-BL Params @ 0x235800000
[0001.163] I> Dram Scrub in progress
[0001.806] I> DRAM Scrub Successful
[0001.809] I> 0) Base:0x00000000 Size:0x00000000
[0001.814] I> 1) Base:0x237f00000 Size:0x00100000
[0001.818] I> 2) Base:0x237e00000 Size:0x00100000
[0001.823] I> 3) Base:0x237d00000 Size:0x00100000
[0001.827] I> 4) Base:0x237c00000 Size:0x00100000
[0001.832] I> 5) Base:0x237b00000 Size:0x00100000
[0001.837] I> 6) Base:0x237800000 Size:0x00200000
[0001.841] I> 7) Base:0x237400000 Size:0x00400000
[0001.846] I> 8) Base:0x237a00000 Size:0x00100000
[0001.850] I> 9) Base:0x237300000 Size:0x00100000
[0001.855] I> 10) Base:0x236800000 Size:0x00800000
[0001.859] I> 11) Base:0x30000000 Size:0x00040000
[0001.864] I> 12) Base:0xf0000000 Size:0x00100000
[0001.868] I> 13) Base:0x30040000 Size:0x00001000
[0001.872] I> 14) Base:0x30048000 Size:0x00001000
[0001.877] I> 15) Base:0x30049000 Size:0x00001000
[0001.881] I> 16) Base:0x3004a000 Size:0x00001000
[0001.886] I> 17) Base:0x3004b000 Size:0x00001000
[0001.890] I> 18) Base:0x3004c000 Size:0x00001000
[0001.895] I> 19) Base:0x3004d000 Size:0x00001000
[0001.899] I> 20) Base:0x3004e000 Size:0x00001000
[0001.903] I> 21) Base:0x3004f000 Size:0x00001000
[0001.908] I> 22) Base:0x00000000 Size:0x00000000
[0001.912] I> 23) Base:0xf0100000 Size:0x00010000
[0001.917] I> 24) Base:0x00000000 Size:0x00000000
[0001.921] I> 25) Base:0x00000000 Size:0x00000000
[0001.926] I> 26) Base:0x00000000 Size:0x00000000
[0001.930] I> 27) Base:0x00000000 Size:0x00000000
[0001.934] I> 28) Base:0x84400000 Size:0x00400000
[0001.939] I> 29) Base:0x30000000 Size:0x00010000
[0001.943] I> 30) Base:0x238000000 Size:0x08000000
[0001.948] I> 31) Base:0x00000000 Size:0x00000000
[0001.952] I> 32) Base:0x236000000 Size:0x00600000
[0001.957] I> 33) Base:0x80000000 Size:0x70000000
[0001.961] I> 34) Base:0xf0110000 Size:0x1456f0000
[0001.966] I> 35) Base:0x00000000 Size:0x00000000
[0001.970] I> 36) Base:0x00000000 Size:0x00000000
[0001.975] I> 37) Base:0x2372e0000 Size:0x00020000
[0001.979] I> 38) Base:0x84000000 Size:0x00400000
[0001.983] I> 39) Base:0x96000000 Size:0x02000000
[0001.988] I> 40) Base:0x85000000 Size:0x01200000
[0001.992] I> 41) Base:0x235800000 Size:0x00500000
[0001.997] I> 42) Base:0x00000000 Size:0x00000000
[0002.001] I> 43) Base:0x00000000 Size:0x00000000
[0002.006] GIC-SPI Target CPU: 4
[0002.009] Interrupts Init done
[0002.012] calling constructors
[0002.015] initializing heap
[0002.018] initializing threads
[0002.021] initializing timers
[0002.024] creating bootstrap completion thread
[0002.029] top of bootstrap2()
[0002.032] CPU: ARM Cortex A57
[0002.035] CPU: MIDR: 0x411FD073, MPIDR: 0x80000100
[0002.040] initializing platform
[0002.044] I> Bl_dtb @0x8520f400
[0002.047] I> gpio framework initialized
[0002.053] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio' driver
[0002.063] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio-aon' driver
[0002.071] I> GPIO framework and drivers are initialized.
[0002.076] I> Boot-device: eMMC
[0002.083] I> sdmmc bdev is already initialized
[0002.113] I> Found 18 partitions in SDMMC_BOOT (instance 3)
[0002.131] I> Found 37 partitions in SDMMC_USER (instance 3)
[0002.136] W> opt-in fuse is not set, skip fuse_burning
[0002.141] I> Reserved memory at 0xfbe00000 for U-Boot relocation
[0002.147] I> A/B: bin_type (21) slot 0
[0002.151] I> Loading partition kernel-dtb at 0x80000000 from device(0x1)
[0002.168] I> Kernel_dtb @0x80000000
[0002.171] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0002.181] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0002.188] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xe8
[0002.197] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0002.208] I> fixed regulator driver initialized
[0002.240] I> register 'maxim' power off handle
[0002.246] I> virtual i2c enabled
[0002.250] I> registered 'maxim,max77620' pmic
[0002.254] I> tegrabl_gpio_driver_register: register 'max77620-gpio' driver
[0002.267] I> Find /i2c@c250000's alias i2c7
[0002.271] I> Reading eeprom i2c=7 address=0x50
[0002.300] I> Device at /i2c@c250000:0x50
[0002.304] I> Reading eeprom i2c=7 address=0x57
[0002.333] I> Device at /i2c@c250000:0x57
[0002.337] I> Find /i2c@c240000's alias i2c1
[0002.341] I> Reading eeprom i2c=1 address=0x51
[0002.346] E> I2C: slave not found in slaves.
[0002.350] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0002.358] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.364] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0002.374] E> eeprom: Retry to read I2C slave device.
[0002.378] E> I2C: slave not found in slaves.
[0002.383] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0002.390] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.396] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0002.406] E> eeprom: Failed to read I2C slave device
[0002.410] I> Eeprom read failed 0x3526070d
[0002.415] I> Find /i2c@3160000's alias i2c0
[0002.419] I> Reading eeprom i2c=0 address=0x50
[0002.423] E> I2C: slave not found in slaves.
[0002.427] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0002.435] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.441] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 0.
[0002.450] E> eeprom: Failed to read I2C slave device
[0002.455] I> Eeprom read failed 0x3526070d
[0002.460] I> Find /i2c@3180000's alias i2c2
[0002.464] I> Reading eeprom i2c=2 address=0x54
[0002.468] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.475] E> I2C: slave not found in slaves.
[0002.479] E> I2C: Could not write 0 bytes to slave: 0x00a8 with repeat start true.
[0002.486] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.492] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa8 at 0x00000000 via instance 2.
[0002.502] E> eeprom: Failed to read I2C slave device
[0002.507] I> Disabling gpio chip_id = 2, gpio pin = 9
[0002.512] I> Eeprom read failed 0x00000000
[0002.516] I> Reading eeprom i2c=2 address=0x57
[0002.520] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.526] E> I2C: slave not found in slaves.
[0002.530] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0002.537] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.543] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 2.
[0002.553] E> eeprom: Failed to read I2C slave device
[0002.557] I> Disabling gpio chip_id = 2, gpio pin = 9
[0002.563] I> Eeprom read failed 0x00000000
[0002.567] I> create_pm_ids: id: 3489-0000-300-K, len: 15
[0002.572] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-co3
[0002.583] I> create_pm_ids: id: 2597-0000-501-D, len: 15
[0002.588] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-co3
[0002.622] I> enabling 'vdd-hdmi' regulator
[0002.638] I> regulator 'vdd-hdmi' already enabled
[0002.642] I> hdmi cable connected
[0002.651] I> setting 'vdd-pex-1v00' regulator to 1000000 micro volts
[0002.663] I> setting 'vdd-1v8' regulator to 1800000 micro volts
[0002.671] E> cannot find any other nvdisp nodes
[0002.693] I> edid read success
[0002.708] I> edid read success
[0002.711] I> width = 640, height = 480, frequency = 25174825
[0002.716] I> width = 1920, height = 1080, frequency = 148500000
[0002.722] I> width = 1920, height = 540, frequency = 74250000
[0002.728] I> width = 720, height = 480, frequency = 26973026
[0002.733] I> width = 1280, height = 720, frequency = 74175824
[0002.739] I> width = 1920, height = 1080, frequency = 148351648
[0002.744] I> width = 720, height = 576, frequency = 26973026
[0002.750] I> width = 1280, height = 720, frequency = 74175824
[0002.755] I> width = 1920, height = 1080, frequency = 148351648
[0002.761] I> Best mode Width = 1920, Height = 1080, freq = 148351648
[0002.771] I> hdmi_enable, starting HDMI initialisation
[0002.779] I> hdmi_enable, HDMI initialisation complete
[0002.792] initializing target
[0002.795] calling apps_init()
[0002.798] starting app kernel_boot_app
[0002.820] I> found decompressor handler: lz4-legacy
[0002.825] I> decompressing BMP blob ...
[0002.835] I> Kernel type = Normal
[0002.838] I> Loading partition kernel-bootctrl at 0xa8000000 from device(0x1)
[0002.852] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0002.859] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0002.866] I> ########## Fixed storage boot ##########
[0002.871] I> Loading kernel from partition ...
[0002.875] I> A/B: bin_type (24) slot 0
[0002.891] I> Boot image size read from image header: f4ac8
[0002.896] I> Boot image load address: 0x0x80400000
[0002.901] I> Loading partition kernel at 0x80400000 from device(0x1)
[0003.861] I> Validate kernel ...
[0003.864] I> T18x: Authenticate kernel (bin_type 24), max size 0x4000000
[0003.872] I> kernel-dtb is already loaded
[0003.875] I> Validate kernel-dtb ...
[0003.879] I> T18x: Authenticate kernel-dtb (bin_type 21), max size 0x100000
[0003.886] I> Checking boot.img header magic ... [0003.891] I> [OK]
[0003.892] I> Kernel hdr @0x80400000
[0003.896] I> Kernel dtb @0x80000000
[0003.899] I> decompressor handler not found
[0003.903] I> Copying kernel image (484979 bytes) from 0x80400800 to 0x80800000 ... [0003.910] I> Done
[0003.912] I> Move ramdisk (len: 0) from 0x80477000 to 0x94830000
[0003.920] I> Updated bpmp info to DTB
[0003.925] I> Ramdisk: Base: 0x94830000; Size: 0x0
[0003.930] I> Updated initrd info to DTB
[0003.933] W> WARN: Fail to override "console=none" in commandline
[0003.939] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
[0003.946] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
[0003.954] I> disabled_core_mask: 0xffffff0c
[0003.958] I> Active slot suffix:
[0003.961] I> add_boot_slot_suffix: slot_suffix =
[0003.965] I> Linux Cmdline: console=ttyS0,115200 console=tty0 OS=l4t fbcon=map:0 video=tegrafb no_console_
[0004.002] I> Updated bootarg info to DTB
[0004.006] I> eeprom_get_mac_addr: MAC (type: 0): 00:ff:ff:ff:ff:ff
[0004.012] I> eeprom_get_mac_addr: MAC (type: 1): 00:ff:ff:ff:ff:ff
[0004.018] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:ab:f9:95
[0004.025] E> Found no plugin manager ids in source DT
[0004.030] W> Add plugin manager ids from board info
[0004.034] E> "plugin-manager" doesn't exist, creating
[0004.039] E> "ids" doesn't exist, creating
[0004.043] E> "connection" doesn't exist, creating
[0004.048] E> "configs" doesn't exist, creating
[0004.052] I> create_pm_ids: id: 3489-0000-300-K, len: 15
[0004.057] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-co3
[0004.068] I> create_pm_ids: id: 2597-0000-501-D, len: 15
[0004.073] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-co3
[0004.084] I> Adding plugin-manager/ids/3489-0000-300=/i2c@c250000:module@0x50
[0004.091] E> "i2c@c250000" doesn't exist, creating
[0004.096] E> "module@0x50" doesn't exist, creating
[0004.101] I> Adding plugin-manager/ids/2597-0000-501=/i2c@c250000:module@0x57
[0004.108] E> "module@0x57" doesn't exist, creating
[0004.115] I> Adding plugin-manager/ids/3489-0000-300-K
[0004.122] I> Adding plugin-manager/configs/3489-mem-type 00
[0004.128] I> Adding plugin-manager/configs/3489-power-config 00
[0004.133] I> Adding plugin-manager/configs/3489-misc-config 00
[0004.139] I> Adding plugin-manager/configs/3489-modem-config 00
[0004.145] I> Adding plugin-manager/configs/3489-touch-config 00
[0004.151] I> Adding plugin-manager/configs/3489-display-config 00
[0004.157] I> Adding plugin-manager/cvm
[0004.161] E> "chip-id" doesn't exist, creating
[0004.166] I> Adding plugin-manager/chip-id/A02P
[0004.170] E> "odm-data" doesn't exist, creating
[0004.175] I> Adding /chosen/plugin-manager/odm-data
[0004.184] I> added [base:0x80000000, size:0x70000000] to /memory
[0004.190] I> added [base:0xf0200000, size:0x145600000] to /memory
[0004.196] I> added [base:0x235e00000, size:0x200000] to /memory
[0004.202] I> added [base:0x236600000, size:0x200000] to /memory
[0004.208] I> added [base:0x237000000, size:0x200000] to /memory
[0004.213] I> Updated memory info to DTB
[0004.218] E> add_disp_param: failed to get display params for du=1
[0004.226] E> "reset" doesn't exist, creating
[0004.230] E> "pmc-reset-reason" doesn't exist, creating
[0004.235] E> "pmic-reset-reason" doesn't exist, creating
[0004.242] I> Adding ecid(00000001643d78411400000019008380) to DT
[0004.247] I> disabled_core_mask: 0xffffff0c
[0004.260] I> Add serial number:0320218172240 as DT property
[0004.269] I> Plugin-manager override starting
[0004.275] I> node /plugin-manager/fragement@0 matches
[0004.285] I> node /plugin-manager/fragement@4 matches
[0004.326] I> node /plugin-manager/fragment-p3310-c00-camera matches
[0004.352] I> Disable plugin-manager status in FDT
[0004.357] I> Plugin-manager override finished successfully
[0004.362] I> tegrabl_load_kernel_and_dtb: Done
[0004.406] I> Kernel EP: 0x80800000, DTB: 0x80000000
U-Boot 2016.07 (Sep 28 2022 - 03:50:32 +0000)
TEGRA186
Model: NVIDIA P2771-0000-500
DRAM: 6.8 GiB
MC: Tegra SD/MMC: 0, Tegra SD/MMC: 2
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@2490000
meta-sol ref 8e54ab013a4a34a8d5bf901e00131f3bf7581f30
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
TMRing info files
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
hash for original file was correct
Reading info for filesizes
TMRing file #1 of size 0
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
TMRing file #2 of size 0
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
TMRing file #3 of size 0
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
1 blocks read: OK
loaded files with hashes
none of the hashes were correct. storing tmr result at 0xa0000000
Hit any key to stop autoboot: 0
Bad Linux ARM64 Image magic!
meta-sol ref 8e54ab013a4a34a8d5bf901e00131f3bf7581f30
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
TMRing info files
Finding mmc device 0
Initializing mmc device 0
Reading from mmc
1 blocks read: OK
1 blocks read: OK
...
Closing since the issue is no longer about dummy.ex4.img
.
TLDR: Run dd if=/dev/zero of=dummy.ext4.img && mkfs.ext4 dummy.ext4.img
in the directory containing doflash.sh
.
After looking around the other branches, it looks like @lancesimms pushed this fix in the zeus-l4t-r32.3.1-kernel-tmr-lance-mod branch at https://github.com/SOL-Space-Operating-Linux/meta-sol/commit/7977c787c819b7f4a2f5c334d29d1903e4ec9a20. Can this be merged into zeus-l4t-r32.3.1-kernel-tmr
?
I get the following error after running
sudo ./doflash.sh
:There does not appear to be an actual file called
dummy.ext4.img
in the build directory. Is this related to #6?Here is the full output from
doflash.sh
for reference: