Hi I'm work on my custom board base on i.im28 evk.
The u-boot image (imx28_ivt_uboot.sb) was flashing with Mfgtool and I modified ucl.xml. My board does not have MMC.
So I'd like to change the u-boot environment variable to NAND without MMC.
The log is
MX28 U-Boot > saveenv
Saving Environment to MMC...
MMC0: No card detected!
MMC init failed
Can you tell me how to change it.
I got the u-boot source code this command.
./ltib -p u-boot -m prep
That source code is build.
ltib/rpm/BUILD/u-boot-2009.08
Thanks.
已解决! 转到解答。
Thanks for GraceSi answer!
I disable the define for "CONFIG_CMD_MMC". Then delete all obj files (*.o) and *.a files. The reason is for build error. The *.o and *. a files created before disable the MMC macro make force build error. My case the directory of build error are /common and /fs/fat.
I'm trying (add NAND parameters) . Thanks.
Thanks for advice.
Success for change to NAND as below log.
MX28 U-Boot > saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x140000000020000 -- 0% complete.
Writing to Nand... [send_page] DMA error
[send_command] DMA error
Command execute failed!
[send_command] DMA error
Command execute failed!
[read_data] DMA error
FAILED!
Now I trying again to change the address.
Thank you.