This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: The AM3352 cannot be started with the 05.01 version SDK

Part Number: AM3352

Tool/software: Linux

Using MLO compiled from ti-processor- SDK -linux-am335x-evm-05.01.00.11, the 3352 board could not be started.

I have tried the following:

1.The old version can be booted normally. The version: u-boot-2013.01.01-psp06.00.01.00

2.The SDK(ti-processor- SDK -linux-am335x-evm-05.01.00.11) made the following modifications, the serial port still did not have any printing

 ./board/ti/am335x/board.h

                    Board_is_evm_15_or_later returns 1, other board_is_xxx returns 0

./board/ti/am335x/board.c 

                   //do_board_detect

./arch/arm/mach-omap2/am33xx/board.c 

                       //rtc_only 

                    Add preloader_console_init() after uart_soft_reset() in early_system_init.Add print SPL version information;

                    // rtc32k_enable

                

The console prints:


U-Boot SPL 2018.01-00444-g96cdbefd5c-dirty (Nov 08 2018 - 19:11:15)
Trying to boot from MMC1
spl: mmc init failed with error: -110
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

 But uboot.img can't startup.What changes did you make in SDK 05.01?

 Maybe, the problem is that there is a PMIC chip(TPS65217) on the board. When I delete tps65217 , the uboot can startup normally.
After I changed the mmc0_pin_mux , the mmc0 is also ok.
{OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)}, /* GPIO6 ---> MMC0_CD */

Now the uboot is ok, but the kernel can't startup. I used the prebuilt-images.

U-Boot 2018.01 (Nov 09 2018 - 06:27:25 -0800)

CPU : AM335X-GP rev 2.1
Model: TI AM335x EVM
DRAM: 512 MiB
NAND: 128 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
=> mtd

device nand0 <nand.0>, # parts = 10
#: name size offset mask_flags
0: NAND.SPL 0x00020000 0x00000000 0
1: NAND.SPL.backup1 0x00020000 0x00020000 0
2: NAND.SPL.backup2 0x00020000 0x00040000 0
3: NAND.SPL.backup3 0x00020000 0x00060000 0
4: NAND.u-boot-spl-os 0x00040000 0x00080000 0
5: NAND.u-boot 0x00100000 0x000c0000 0
6: NAND.u-boot-env 0x00020000 0x001c0000 0
7: NAND.u-boot-env.backup10x00020000 0x001e0000 0
8: NAND.kernel 0x00800000 0x00200000 0
9: NAND.file-system 0x07600000 0x00a00000 0

active partition: nand0,0 - (NAND.SPL) 0x00020000 @ 0x00000000

defaults:
mtdids : nand0=nand.0
mtdparts: mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
=> setenv fdtfile am335x-evm.dtb
=> fatload mmc 0 0x88000000 am335x-evm.dtb
41355 bytes read in 13 ms (3 MiB/s)
=> fatload mmc 0 0x82000000 zImage
3858944 bytes read in 655 ms (5.6 MiB/s)
=> bootz 0x82000000 - 0x88000000
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff2000, end 8ffff18a ... OK

Starting kernel ...