This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Ti,
My team has a custom board based on the K2E EVM, with a AM5K2E chip and changes to DDR3, and some other peripherals.
I have followed the wiki at http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring/ and been successful at compiling the keystone-linux boot monitor, linux kernel, and u-boot. I compiled each using the "k2e" evm configs, but had to make changes in u-boot for DDR3 register settings.
I am doing this all manually instead of using the MCSDK Linux images because of the peripheral changes.
I boot a two stage u-boot from SPI Flash successfully. Then I run the following commands to try and boot Linux, but it no output appears:
Then u-boot runs its startup and finally prints "Starting Kernel ..." but nothing else prints out after that. How do I fix this?
Currently, NAND is not working on the board, so I have to do this just using MSMC and DDR.
Questions:
tftp 82000000 arago-console-image.cpio.gz
tftp 88000000 uImage
tftp 87000000 k2e-evm.dtb
tftp 0c140000 skern-k2e.bin
mon_install 0c140000
setenv bootargs 'console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,9M'
bootm 88000000 - 87000000
It seems you have used different DDR address in bootargs and filesystem images loaded location.
Have you tried any other boot method ?
NAND or NFS or SPI ?
We need to make sure that kernel is built correctly for custom board.
Understood. I will make sure initrd matches where I put the arago-console-image.
The wiki shows sample output from the boot monitor and kernel as printing the following:
Starting kernel ...
>>>> skern_poweron_cpu >>>>
Message2 from Secure Mode
>>>> skern_poweron_cpu >>>>
Message2 from Secure Mode
>>>> skern_poweron_cpu >>>>
Message2 from Secure Mode
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.6.6-rt17-01071-g898535d-dirty (a0868495@ares-ubun
tu.am.dhcp.ti.com) (gcc version 4.7.2 20120701 (prerelease) (crosstool-NG linaro
-1.13.1-2012.07-20120720 - Linaro GCC 2012.07) ) #1 SMP PREEMPT Mon Jan 28 11:17
:38 EST 2013
[ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=10c5387d
....
I do not see even see the ">>>> skern_poweron_cpu >>>>" print out. Does this mean that the boot monitor is bad or the kernel?
Any chance it's the boot monitor though?
Also, is there a way to hard code the console information in the kernel, rather than passing bootargs?
The mon_install for EVMK2E(0x0c140000) and EVMK2H(0x0c5f0000). Thank you. Please refer MCSDK explore wiki for more information.