We have two T4240QDS systems and are seeing this same behavior on both.
We can copy u-boot from bank 1 to bank 4 and then boot successfully from bank 4.
But when we copy u-boot from bank 1 to bank 5 and try to boot from bank 5, the system sits in reset.
Are there boot parameters or something else that has to change in order to use u-boot in bank 5?
Thanks!
Dear Serge Issakov
I need your help.
I have a T4240qds board, too.But when I set u-boot environment variables,I type the wrong information.
Could you help me to check it by typing "printenv" when you boot your board?
My information like this:
bootargs=root=/dev/sda3 rw rootdelay=10 size=30000000 console=ttyS0,115200
bootcmd=ext2load sata 0:3 0x1000000 /boot/uImage; ext2load sata 0:3 0xc00000 /boot/dtb_file;bootm 0x1000000 - c00000
I want to know the correct infomation.
Thank you very much!
mengtian.
Hello Mengtian,
Please check whether this would help youT4240rds boot from sata ssd.
If your problem remains, please create a new thread in QorIQ processor block, you could continue to discuss.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear Yiping Wang,
I just follow your advice to modify my "env" of Board T4240QDS fromT4240rds boot from sata ssd.
But I still failed.Like this:
=> setenv bootcmd 'setenv bootargs root=/dev/sda1 rw console=ttyS0,115200;sata init;ext2load sata 0:1 1000000 /boot/uImage;ext2load sata 0:1 c00000 /boot/uImage-t4240qds.dtb;bootm 1000000 - c00000'
=> saveenv
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... 9....8....7....69....8....7....6....5....4....3....2....1....done
Protected 1 sectors
=> boot
SATA0 (3 Gbps)
SATA1 (No RDY)
sata - SATA sub system
Usage:
sata sata init - init SATA sub system
sata info - show available SATA devices
sata device [dev] - show or set current device
sata part [dev] - print partition table
sata read addr blk# cnt
sata write addr blk# cnt
** No partition table - sata 0 **
** No partition table - sata 0 **
WARNING: adjusting available memory to 30000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=>
I really can't understand how to do with it,could you help me?
Thanks.
Hello Mengtian,
Have you also followed other steps to format and deploy images into SATA?
Thanks,
Yiping
Hello Serge,
Please refer to this document http://cache.freescale.com/files/32bit/doc/user_guide/T4240QDSQSG.pdf?fasp=1&WT_TYPE=Users Guides&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation&fileExt=.pdf
The flash space is further divided into 8 virtual banks. With SW6[1:4] = 0000 the mapping is as follows:
|Bank7 | e8000000 - e8ffffff
|Bank6 | e9000000 - e9ffffff
|Bank5 | ea000000 - eaffffff
|Bank4 | eb000000 - ebffffff
|Bank3 | ec000000 - ecffffff
|Bank2 | ed000000 - edffffff
|Bank1 | ee000000 - eeffffff
|Bank0 | ef000000 - efffffff
The default SW6[1:4] = 0000, u-boot is at 0xEFF40000(bank0), RCW is at 0xE8000000 (bank 7), the alternate u-boot is at 0xEBF40000(bank4), alternate RCW is at 0xEC000000(bank3).
Please make sure you have deployed u-boot image and RCW appropriately, assume your switch setting is also SW6[1:4] = 0000.
u-boot is at 0xEAF4000000(bank5), RCW is 0xEB000000(bank4).
Then change SW6[1:4] to bank 5, and boot the system.
U-boot is always at 0xeff80000.
If your problem remains, please describe your procedure in details.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear Yiping Wang,
I need your help.
I have a T4240qds board, too.But when I set u-boot environment variables,I type the wrong information.
Could you help me to check it by typing "printenv" when you boot your board?
My information like this:
bootargs=root=/dev/sda3 rw rootdelay=10 size=30000000 console=ttyS0,115200
bootcmd=ext2load sata 0:3 0x1000000 /boot/uImage; ext2load sata 0:3 0xc00000 /boot/dtb_file;bootm 0x1000000 - c00000
I want to know the correct infomation.
Thank you very much!
mengtian.