Hi all,
For a specific project, I need to run Linux on the TMDXIDK3359 : AM3359 Industrial Development Kit (IDK). I know that the platform is not officially supported by the Sitara SDK but given that the base board is very similar to the one of the GP EVM and that, in a first step, I won't need the features of the motor control daughter board I assume that it should be rather easy to adapt the Linux kernel configuration and board specific code to support the IDK. As far as I could see, there are already configuration and some detection mechanisms for the IDK.
Until now I could compile the U-Boot SPL (MLO) and u-boot.img and run them successfully from the SD card. I just had to change the serial port used for the console from UART0 for the EVM to UART3 for the IDK. I could the boot into U-Boot and load my Linux uImage from SD card and start it with boot.
The image seems to be loaded and decompressed correctly but further boot sequence seems to be not working (no message after Uncompressing Linux... done, booting the kernel.)
What I already did to debug a bit more:
- Verify that the correct console= is passed in the command line to the kernel (console=ttyO3,115200n8) --> OK
- Verify that the correct mach_type is detected by U-Boot with board info command in U-Boot prompt --> OK
- Enabled DEBUG_LL and EARLY_PRINTK in kernel config to get early messages on the serial terminal --> did not show anything more...
So now my questions:
- Is there any significant difference between the EVM and IDK that I have missed to have my kernel booting ? I only need basic support of the base board (serial console, read/write access to SD card).
- Has anyone already successfully booted a PSP kernel on the IDK ? With which modification ?
- Are CONFIG_DEBUG_LL and CONFIG_EARLY_PRINTK supposed to work ? Does it work on the EVM ?
- Is the output of by U-Boot boot correct ? (Image Type: ARM Linux Kernel Image (uncompressed) , XIP Kernel Image ... OK sound a bit strange to me...)
Thanks in advance for any help or advice.
Romain
---
U-Boot# bdinfo
arch_number = 0x00000E64
boot_params = 0x80000100
DRAM bank = 0x00000000
-> start = 0x80000000
-> size = 0x10000000
ethaddr = d4:94:a1:37:bb:16
ip_addr = 0.0.0.0
baudrate = 115200 bps
TLB addr = 0x8FFF0000
relocaddr = 0x8FF88000
reloc off = 0x0F788000
irq_sp = 0x8FF7BF70
sp start = 0x8FF7BF60
FB base = 0x00000000
U-Boot boot output
U-Boot# boot
SD/MMC found on device 0
reading uEnv.txt
26 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
reading uImage
3035760 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3035696 Bytes = 2.9 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.