Hi,
I am trying to use Freescale kernel 3.14.28 on Ka-Ro TX6U-8030 which has i.MX6DL as the core processor. I have been able to boot this module with Freescale kernel 3.10.17 after doing some minor tweaks (e.g. fixing ethernet interrupts) in the DTB provided by Ka-Ro.
To switch to kernel 3.14.28, I have downloaded the kernel source published by Freescale from:
configured it using
make imx_v7_defconfig
and compiled it by
make -j4 LOADADDR=0x10008000 uImage
just like how I built kernel 3.10. The problem is that the module reboots after uncompressing this kernel. You can find the bootlog (mostly U-boot messages) in the following (the kernel is compiled with CONFIG_DEBUG_LL and CONFIG_EARLY_PRINTK settings enabled):
U-Boot 2013.07-00787-g36ed10c (Mar 24 2015 - 16:02:12)
CPU: Freescale i.MX6DL rev1.2 at 792 MHz
Reset cause: POR
Board: Ka-Ro TX6U-8010
I2C: ready
DRAM: 1 GiB
VDDCORE set to 1421mV
VDDSOC set to 1421mV
VDDIO set to 3307mV
NAND: 128 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Temperature: 50 C, calibration data 0x59c50969
CPU clock set to 792.000 MHz
Baseboard: stk5-v3
MAC addr from fuse: 00:0c:c6:7b:f8:e8
Net: FEC
Hit any key to stop autoboot: 0
FEC Waiting for PHY auto negotiation to complete... done
Using FEC device
TFTP from server 10.1.1.238; our IP address is 10.1.1.65
Filename 'uImage'.
Load address: 0x18000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################
379.9 KiB/s
done
Bytes transferred = 5216960 (4f9ac0 hex)
## Booting kernel from Legacy Image at 18000000 ...
Image Name: Linux-3.14.28
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5216896 Bytes = 5 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 11000000
Booting using the fdt blob at 0x11000000
Loading Kernel Image ... OK
Loading Device Tree to 4ef3f000, end 4ef4b619 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
U-Boot 2013.07-00787-g36ed10c (Mar 24 2015 - 16:02:12)
CPU: Freescale i.MX6DL rev1.2 at 792 MHz
Reset cause: SOFT
Board: Ka-Ro TX6U-8010
I2C: ready
DRAM: 1 GiB
VDDCORE set to 1421mV
VDDSOC set to 1421mV
VDDIO set to 3307mV
NAND: 128 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Invalid color depth: '1080' in video_mode; using default: '24'
Invalid video mode: mxcfb0:dev=lcd,BT1120-1080I50,if=BT1120,fbpix=RGB32
Supported video modes are: VGA ETV570 ET0350 ET0430 ET0500 ETQ570 ET0700 ET070001DM6
Temperature: 51 C, calibration data 0x59c50969
CPU clock set to 792.000 MHz
Baseboard: stk5-v3
MAC addr from fuse: 00:0c:c6:7b:f8:e8
Net: FEC
Hit any key to stop autoboot: 0
TX6DL U-Boot >
There is a ~1 second delay after "Uncompressing Linux... done, booting the kernel." message and after that, as you can see, the module restarts.
I've also attached the bootlog for the kernel 3.10 as a reference.
Original Attachment has been moved to: kernel310.txt.zip
Solved! Go to Solution.
Hi Isaac
for general guidance one can look at
http://www.yoctoproject.org/docs/1.3/dev-manual/dev-manual.html#understanding-and-creating-layers
https://community.freescale.com/docs/DOC-100203
~igor
Hi Isaac
seems Ka-Ro did not release 3.14 kernel, only 3.16 as mentioned on
https://www.mail-archive.com/meta-freescale@yoctoproject.org/msg15877.html//www.mail-archive.com/meta-freescale@yoctoproject.org/msg15877.html
http://comments.gmane.org/gmane.linux.embedded.yocto.meta-freescale/16101
http://www.karo-electronics.de/fileadmin/download/BSP-Features/BSP-Features.pdf
support policy for non-Freescale boards is described on
http://freescale.github.io/doc/release-notes/1.8/
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
FSL Commounity does not make any promises to support non-Freescale modules and I don't expect that. I am looking for a general guidance and what options should I try for this issue.
This could help me to port kernel 3.14 for this SOC and hopefully provide a patch for FSL community.
I am still not sure why Ka-Ro insist on supporting 3.16 while Freescale releases are 3.10 and 3.14.
Nevertheless, I've already booted Freescale Kernel 3.10 on these modules, without any modification in the kernel source code, and was expecting the same for Kernel 3.14.
Bests,
Isaac
Hi Isaac
for general guidance one can look at
http://www.yoctoproject.org/docs/1.3/dev-manual/dev-manual.html#understanding-and-creating-layers
https://community.freescale.com/docs/DOC-100203
~igor