I was successfully able to boot Linux on an OMAPL138 on a custom board using the TI MCSDK.
Now I am trying to upgrade to the latest davinci kernel (from https://git.kernel.org/cgit/linux/kernel/git/nsekhar/linux-davinci.git version 3.19.0-rc5) instead of the one from the MCSDK but I get no output on the uart after "Uncompressing LInux... done, booting the kernel."
In the kernel souce i have changed;
- in /arch/arm/mach-davinci
- added the board file i was using in the mcsdk, and edited said board file to work build with this kernel
- /arch/arm/mach-davinci/include/mach/uncompress.h
- added my custom board and have it using UART0 (which is the one i need it to use)
- /arch/arm/mach-davinci/include/mach/psc.h
- added 1 line from the mcsdk
- /arch/arm/mach-davinci/include/mach/mux.h
- used the davinci_da850_index_enum from the mcsdk instead of what was there
- /arch/arm/tools/mach-types
- added my board and gave it a machine type and had it mach uboot
- /arch/arm/mach-davinci/Kconfig
- added a config to select my custom board board in menuconfig
- /arch/arm/mach-davinci/Makefile
- added my custom board to the make file
- /arch/arm/mach-davinci/Makefile.boot
- changed the boot params to match my board and used the settings i was using in mcsdk
As a note, i have already tried to turn on CONFIG_DEBUG_LL via menuconfig. After I did this i got an error that said i have the wrong machine code, which i have since fixed and am now seeing just Uncompressing Linux.... done, booting the Kernel".
I have also tried changing my uboot bootargs from ....console=ttyS0,115200n8... to ....console=uart,io,0xe1020000,115200n8.... and got the same result.
How can I get more output/debug messages on UART0 to find out whats going on?
Thanks,
Dan