Other Parts Discussed in Thread: AM3358
hardware am3358
uboot:uboot201.01.01-psp06.00.00.00(sdk6.0)
1. accroding to the am335x uboot user's gudie.pdf ,i use the build command
make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm O=am335x_evm am335x_evm_spiboot
to generate MLO , MLO.byteswap and u-boot.img, i copy all this file into sd card.
i set the sysboot[4:0]=10111(mmc0 spi0 uart0 usb0)
then i insert sd card into my board and powerup,when uboot is work, i use the command
to copy MLO.byteswap and u-boot.img to spi flash.
sf probe 0
sf erase 0 +e0000
mmc rescan
fatload mmc 0 0x82000000 MLO.byteswap
sf write 0x82000000 0 0x20000
fatload mmc 0 0x82000000 u-boot.img
sf write 0x82000000 0x80000 0x60000
now i power down my board and extract sdcard,and then i power up again, the board
can boot from spi,however, there seems to be 2 question:
1. when i moidfy the environment variables such as
setenv serverip 192.168.135.220
saveenv
then the terminal shows
-Boot# setenv serverip 192.168.135.220
U-Boot# saveenv
Saving Environment to SPI Flash...
Erasing SPI flash...U-Boot#
when i repower up my board and use printenv command, i find the new environment variables
can't be saved
2.if i boor fromm sd,the ethernet is ok ,however when i boot from spi ,the the ethernet is
link up but i can't read or write file to nand by ftp?
why i encounter this trouble ,pls help me ,thanks?