Part Number: AM3358
I made a custom board using am3358.
I'm trying to port u-boot but failed.
what should I check in my case?
I alreay tune DDR3. but not yet ported PMIC driver(TPS65217C)
Please help me!
I have the following symptoms:
1) Randomly stopped when trying to boot mmc1(sd card) # not happen on beaglebone black board
2) Invalid partition type(mmc1) # not happen on beaglebone black board
3) The variables do not work properly after call dcache_disable(); # not happen on beaglebone black board
This is my log and codes:
U-Boot SPL 2019.01-g1ebdbc7d8b-dirty (Oct 30 2019 - 16:05:08 +0900) Trying to boot from MMC1 cleanup_before_linux_select, 39 cleanup_before_linux_select, _ board_init_r, A <!!!!--------- randomly stopped ------!!!!!!!> U-Boot 2019.01-g1ebdbc7d8b-dirty (Oct 30 2019 - 16:05:08 +0900) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB NAND: passed MMC: OMAP SD/MMC: Loading Environment from FAT... �o���;����;��6~�������������~7��������7���6?�2** Inv alid partition type <ethaddr> not set. Validating first E-fuse MAC
common/spl/spl.c , board_init_r()
...
debug("loaded - jumping to U-Boot...\n"); spl_board_prepare_for_boot(); printf("%s, A\n",__func__); jump_to_image_no_args(&spl_image); }
...
arch/arm/cpu/armv7/cpu.c, cleanup_before_linux_select()
...
if (flags & CBL_DISABLE_CACHES) { printf("%s, %d\n", __func__, __LINE__); /* * turn off D-cache * dcache_disable() in turn flushes the d-cache and disables MMU */ dcache_disable(); printf("%s, %d\n", __func__, __LINE__); v7_outer_cache_disable();
...
Ref Beaglebone black log on same u-boot
U-Boot SPL 2019.01-g1ebdbc7d8b-dirty (Oct 30 2019 - 16:05:08 +0900) Trying to boot from MMC1 cleanup_before_linux_select, 39 cleanup_before_linux_select, 46 board_init_r, A U-Boot 2019.01-g1ebdbc7d8b-dirty (Oct 30 2019 - 16:05:08 +0900) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB NAND: passed MMC: OMAP SD/MMC: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment