Hi all,
I followed the below two links to port linux on imx6q sabresd board
1. uboot (u-boot.imx)
2. kernel (uImage)
u-boot on the i.MX6 sabre sd platform in a few commands
Linux on the i.MX6 sabre sd platform in a few commands
But I got some issues while building uboot.git and linux.git. I will share these issues with you, please help me if you get solution.
1. uboot issues
-> Unable to find u-boot configuration file for imx6 sabre sd board in u-boot.git source code mx6qsabresd_config
-> u-boot.bin generated successfully using different configuration file mx6q_sabresd_config but unable to find u-boot.imx
2. kernel issues
-> Unable to build using this configuration imx_v6_v7_defconfig
-> I changed configuration file to imx_v7_defconfig and kernel successfully build and uImage generated but unable to generate imx6q-sabresd.dtb
Finally I tried some thing which are working fine below as shown
1. sudo dd if=u-boot.bin of=/dev/sdc bs=1k seek=1 ; sync
Above command working fine and able to get u-boot prompt from my sabresd board platform but one message i painted with blue colour for your reference. So will you please guide me whether i am using correct configuration file or not in uboot level or Is this ok?
U-Boot 2009.08 (May 17 2016 - 12:29:51)
CPU: Freescale i.MX 6 family 0.2V at 792 MHz
Temperature: 23 C, calibration data 0x5914d67d
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 29333333Hz
ddr clock : 528000000Hz
usdhc1 clock : 200000000Hz
usdhc2 clock : 200000000Hz
usdhc3 clock : 200000000Hz
usdhc4 clock : 200000000Hz
nfc clock : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board Board: 0x63002 [POR ]
Boot Device: SD
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
*** Warning - bad CRC or MMC, using default environment
In: serial
Out: serial
Err: serial
Net: got MAC address from IIM: 00:04:9f:03:cd:0f
FEC0 [PRIME]
Hit any key to stop autoboot: 0
MX6Q SABRESD U-Boot >
MX6Q SABRESD U-Boot >
MX6Q SABRESD U-Boot >
2. Big problem how to partition sdcard for booting linux on sabresd imx6q board? Is there any script file?
So, hope you guys understand my issues.
Please help me and start discussion thanks in advance
Hi chandrasekhar
if you are using U-Boot 2009.08, then suggest to use ltib REV L3.0.35_4.1.0 version :
Board Support Packages (38)
i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo and i.MX 6Sololite Linux Binary Demo Files (REV L3.0.35_4.1.0)
One can follow Chapter 3 Building the Linux Platform, sect.8.2 Copying the Boot Loader Image
attached Linux Guide (it is included in BSP package)
U-Boot 2013 is used starting L3.10.17 linux kernel with device tree and
uses different build and programming options.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you Igor
But after completion of linux.git building I am still unable to see the imx6q-sabresd.dtb file under kernel 3.11.0
kernel 3.11.0 is not officially supported, suggest to check
suggested above link.
Best regards
igor
Here so many tags available suggest me one which i want to use.
v3.10
v3.10-rc1
v3.10-rc2
v3.10-rc3
v3.10-rc4
v3.10-rc5
v3.10-rc6
v3.10-rc7
Thanks in advance