Other Parts Discussed in Thread: AM3354
Hardware platform:AM3354
software platform:ti-processor-sdk-linux-am335x-evm-05.03.00.07-Linux-x86-Install.bin
Problem Description:
Recently on the 3354 platform used a DDR2 memory chip - AS4C64M16D2, but no matter how debugging can not boot the Linux kernel boot, will stop in the String Kernel ..., the subsequent serial port does not have any output, I checked the SDRAMCONFIG register And several time registers SDRAM_TIM_1, SDRAM_TIM_2, and SDRAM_TIM_3, but have no effect, uboot can be run, but can not be loaded out of the linux kernel implementation.....
The startup log is as follows:
U-Boot SPL 2018.01-00571-gdeced8b-dirty (Aug 31 2019 - 14:41:54)
Trying to boot from MMC1, spl_image->size = 0
boot_mode = 2
spl_mmc_do_fs_boot --->
*** Warning - bad CRC, using default environment
spl_load_image_fat_buf err = 0 --->
U-Boot 2018.01-00571-gdeced8b-dirty (Aug 31 2019 - 14:41:54 +0800)
CPU : AM335X-GP rev 1.0
Model: TI AM335x EVM
DRAM: Ram size: 08000000
Ram top: 88000000
128 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: PHY reset timed out
cpsw, usb_ether
Hit any key to stop autoboot: 0
=>
nknown command ' - try 'help'
=>
Unknown command ' - try 'help'
=> setenv bootm_size "0x8000000"
=> setenv fdt_addr_r "0x87000000"
=> setenv fdtaddr "0x87000000"
=> setenv rdaddr "0x87080000"
=> setenv ramdisk_addr_r "0x87080000"
=> setenv kernel_addr_r "0x82000000"
=> setenv loadaddr "0x82000000"
=> setenv bootargs "console=ttyO0,115200n8 root=/dev/mmcblk1p2 rw rootfstype=ext3 rootwait"
=> load mmc 0 0x82000000 zImage;load mmc 0 0x87000000 am335x-evm.dtb;bootz 0x82000000 - 0x87000000
3904000 bytes read in 300 ms (12.4 MiB/s)
41315 bytes read in 6 ms (6.6 MiB/s)
## Flattened Device Tree blob at 87000000
Booting using the fdt blob at 0x87000000
Loading Device Tree to 85ca9000, end 85cb6162 ... OK
Or have time to start the information as follows:
=> setenv bootargs "console=ttyO0,115200n8 root=/dev/mmcblk1p2 rw rootfstype=ext3 rootwait"
=> load mmc 0 0x82000000 zImage;load mmc 0 0x87000000 am335x-evm.dtb;bootz 0x82000000 - 0x87000000
3904000 bytes read in 302 ms (12.3 MiB/s)
41315 bytes read in 6 ms (6.6 MiB/s)
## Flattened Device Tree blob at 87000000
Booting using the fdt blob at 0x87000000
Loading Device Tree to 85ca9000, end 85cb6162 ... OK
Starting kernel ...
memory {
device_type = "memory";
- reg = <0x80000000 0x10000000>; /* 256 MB */
};
change into:
memory {
device_type = "memory";
+ reg = <0x80000000 0x8000000>; /* 128 MB */
};
However, I don't know what went wrong. Please give me some suggestions, or what is the replacement of the default 256MB DDR3 to 128MB DDR2?