Other Parts Discussed in Thread: SK-AM62-LP, TPS65219
主题中讨论的其他器件: TPS65219
您好!
所以我能够在相关帖子中的 saveenv 问题之外取得一些进展。 我可以手动运行"setenv mmcdev 1"、然后运行 flashall.sh 脚本以刷写 SD 卡。 然后、我可以重新启动并再次手动将 mmcdev 设置为1、然后运行引导命令以加载内核。
但是、内核似乎在启动期间崩溃、Android 无法成功启动。 一段时间后、AM62重新启动并再次通过 u-boot 运行:
U-Boot 2023.04-dirty (Jan 23 2024 - 08:33:50 -0600) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM62x LP SK EEPROM not available at 80, trying to read at 81 Board: AM62-LP-SKEVM rev E2 DRAM: 2 GiB Core: 78 devices, 30 uclasses, devicetree: separate NAND: 0 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment Loading Environment from nowhere... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 Verify GPT: error! Broken MMC partition scheme Running Fastboot... generic_phy_get_bulk : no phys property => mmcdev 1 Unknown command 'mmcdev' - try 'help' => setenv mmcdev 1 => boot Verify GPT: success! Loading Android boot partition... switch to partitions #0, OK mmc1 is current device misc partition number:0x4 ANDROID: Attempting slot b, tries remaining 7 ANDROID: Booting slot: b A/B cmdline addition: androidboot.slot_suffix=_b Running without AVB... MMC read: dev # 1, block # 110592, count 81920 ... 81920 blocks read: OK Preparing FDT... Reading DTB for am62x_lp_skevm... Working FDT set to 88000000 MMC read: dev # 1, block # 208896, count 16384 ... 16384 blocks read: OK Applying DTBOs... Running Android... ## Booting Android Image at 0x82000000 ... Kernel load addr 0x92000000 size 19076 KiB Kernel command line: no_console_suspend console=ttyS2,115200 printk.devkmsg=on androidboot.boot_devices=bus@f0000/fa00000.mmc init=/init cma=512M firmware_class.path=/vendor/firmware androidboot.hardware=am62x 8250.nr_uarts=10 mem_sleep_default=deep buildvariant=userdebug RAM disk load addr 0x832a1800 size 14201 KiB ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Working FDT set to 88000000 Uncompressing Kernel Image Loading Ramdisk to 8f221000, end 8ffff10a ... OK ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4) Loading Device Tree to 000000008f20f000, end 000000008f220036 ... OK Working FDT set to 8f20f000 Starting kernel ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing I/TC: Secondary CPU 3 switching to normal world boot I/TC: Reserved shared memory is enabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled U-Boot SPL 2023.04-dirty (Jan 23 2024 - 08:31:14 -0600) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)') SPL initial stack usage: 13376 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed Starting ATF on ARM64 core...
您可以在第69行中看到 u-boot 再次运行前的最后一行内核输出。 对内核不能成功运行有什么想法吗?
穆南