Other Parts Discussed in Thread: TPS65219
Hello,
So I was able to make a little bit of progress outside of the saveenv issue in the related post. I can manually run "setenv mmcdev 1" and then run the flashall.sh script to flash the SD card. I can then reboot and manually set the mmcdev again to 1 and then run a boot command to load the kernel.
However the kernel seems to crash during startup and android does not successfully boot. After a while the AM62 reboots and runs through u-boot again:
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...
You can see in line 69 the last line of kernel output before u-boot runs again. Any thoughts on why the kernel isn't running successfully?
Munan