Hi Rodrigue,
Thanks for your reply. I did use this L2.6.35_10.12.01_SDK_source_bundle.tar, and I modified the config setting in mx28_evk.h, but I don't know how to ucl.xml of MfgTool, the original ucl.xml is for linux_ivt.sb only. Are there any doc available?
BTW uboot.bd:
sources {
power_prep="./power_prep/power_prep";
sdram_prep="./boot_prep/boot_prep";
u_boot = "./u-boot";
}
section (0) {
//----------------------------------------------------------
// Power Supply initialization
//----------------------------------------------------------
load power_prep;
call power_prep;
//----------------------------------------------------------
// SDRAM initialization
//----------------------------------------------------------
load sdram_prep;
call sdram_prep;
//----------------------------------------------------------
// Load and call u_boot - ELF ARM image
//----------------------------------------------------------
load u_boot;
call u_boot;
}
Why "call u_boot" instead of jump? As no address is include, how can I know the SDRAM address that u-boot loaded by ROM?
In CE6.0, there are always SDRAM addresses included in sb file, for example
#
# Copyright (C) 2010, Freescale Semiconductor, Inc. All Rights Reserved.
# THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
# AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
#
options {
driveTag = 0x00;
flags = 0x01;
}
constants {
xldr_addr = 0x00000004;
eboot_addr = 0x40050000;
bmp_addr = 0x40094000;
}
sources {
xldr = "xldr.nb0";
eboot = "eboot.nb0";
bmp = "splash_eboot.bmp";
}
section (0) {
load xldr > xldr_addr;
call xldr_addr;
load bmp > bmp_addr;
load eboot > eboot_addr;
jump eboot_addr;
}