On Sat, Jun 26, 2021 at 08:42:58AM -0500, Adam Ford wrote: > SPL is really tight on space, so decrease a little memory that we > allocate in order to fix boot hang. > > Signed-off-by: Adam Ford <[email protected]> > > diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig > index 0b9bd0e475..9611d33bec 100644 > --- a/configs/am3517_evm_defconfig > +++ b/configs/am3517_evm_defconfig > @@ -9,7 +9,7 @@ CONFIG_NR_DRAM_BANKS=2 > CONFIG_SPL_TEXT_BASE=0x40200000 > CONFIG_TARGET_AM3517_EVM=y > CONFIG_EMIF4=y > -CONFIG_SPL_SYS_MALLOC_F_LEN=0x3000 > +CONFIG_SPL_SYS_MALLOC_F_LEN=0x2500 > CONFIG_SPL=y > CONFIG_DEFAULT_DEVICE_TREE="am3517-evm" > CONFIG_LTO=y > @@ -53,8 +53,6 @@ CONFIG_ENV_IS_IN_NAND=y > CONFIG_VERSION_VARIABLE=y > CONFIG_BOOTP_SEND_HOSTNAME=y > CONFIG_SPL_DM=y > -CONFIG_SPL_DM_SEQ_ALIAS=y > -CONFIG_SPL_OF_TRANSLATE=y > CONFIG_DM_PCA953X=y > CONFIG_MMC_OMAP_HS=y > CONFIG_MTD=y > @@ -84,3 +82,4 @@ CONFIG_USB_MUSB_HOST=y > CONFIG_USB_MUSB_AM35X=y > CONFIG_BCH=y > CONFIG_SPL_TINY_MEMSET=y > +# CONFIG_EFI_LOADER is not set > -- > 2.25.1 >
Works for me on Zoom AM3517 eXperimenter. Tested-by: Derald D. Woods <[email protected]> Boot Capture ============ U-Boot SPL 2021.07-rc4-169-g4d8c21da41 (Jun 26 2021 - 18:34:45 -0500) Trying to boot from MMC1 spl_load_image_fat_os: error reading image args, err - -2 U-Boot 2021.07-rc4-169-g4d8c21da41 (Jun 26 2021 - 18:34:45 -0500) AM35XX-GP ES2.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 MHz Model: TI AM3517 EVM (AM3517/05 TMDSEVM3517) DRAM: 256 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... Loading Environment from NAND... OK In: serial@49020000 Out: serial@49020000 Err: serial@49020000 OMAP die ID: 126800010000000001685a201600f00c Net: eth0: ethernet@5c000000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 Failed to load 'uEnv.txt' Checking if uenvcmd is set ... Running default loadimage ... 5080632 bytes read in 452 ms (10.7 MiB/s) 61310 bytes read in 8 ms (7.3 MiB/s) Booting from mmc ... Kernel image @ 0x82000000 [ 0x000000 - 0x4d8638 ] ## Flattened Device Tree blob at 82c00000 Booting using the fdt blob at 0x82c00000 Loading Device Tree to 8df25000, end 8df36f7d ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 ... Derald

