Hello everybody,
Is there available SDK release for the "I.MX6Q" processor that supports the UDOO QUAD board ?
As the available SDK supports the Sabre board for example.
( I got the SDK from this link: community.freescale.com/docs/DOC-94139 )
Thanks in advance.
已解决! 转到解答。
Hi Abdelrahman
there is no SDK for Udoo board, but you can
use Sabre SDK with slight modifications, related to iomux
and memory configurations.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello again igorpadykov,
What's the next step after modifying the iomux files and the dcd file according to the UDOO board ?
Thanks in advance.
Regards,
Abdelrahman
Hi igorpadykov,
OK, But what about the files in the ..board/common directory ?,
Will there be any modifications to them ?
Thanks in advance.
Hi igorpadykov
I have read the readme file, and yes the UDOO board differs from the FSL reference boards,
So how should I modify those file with only knowing the iomuxing and memory configuration ?
Is there something I should know about to modify those files ?
Thanks in advance.
Regards,
Abdelrahman
Hi Abdelrahman
you should take UDOO board schematic, compare
it with FSL reference boards. Identical parts can be
reused in SDK without modifications. Parts which differ
needs to be modified in SDK. I am afraid there is nothing
can be suggested more, you should use SDK examples as
starting point and i.MX6 Reference Manual.
~igor
Hi Abdelrahman
there is no SDK for Udoo board, but you can
use Sabre SDK with slight modifications, related to iomux
and memory configurations.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov,
Thanks for your answer, I think it's helpful.
Do you have any idea how to perform those modifications ?
Thanks in advance
Sincerely,
Abdelrahman
Hi dhavalvadhar
After trials and error I was capable to compile the SDK on Ubuntu 12.04 using a virtual machine.
What was the problem you faced, if i can help you ?
Regards,
Abdelrahman
Hi Abdelrahman,
Thanks for replying.
I download SDK v1.1.0 from Freescale website and was trying to build it using Poky Cross Toolchain that I got using 'bitbake meta-toolchain' command. This toolchain is installed at "/opt/poky/1.7" directory and all the required environment variables were configured using sourcing the envrionment-setup script. Now when I ran 'make' command from TOP DIR of SDK I got following error :
=============================================================
-c sdk/drivers/accelerometer/src/mma8451.c
In file included from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-
gnueabi/usr/include/features.h:389:0,
from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-
gnueabi/usr/include/string.h:25,
from
sdk/iMX6_Platform_SDK/sdk/drivers/accelerometer/src/mma8451.c:31:
/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-
gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or
directory
# include <gnu/stubs-soft.h>
^
compilation terminated.
=============================================================
Can you please help me resolve this?
Thanks,
Dhaval
Hi Dhaval Vadhar,
I also forced the same error but i was using the Cygwin terminal on my Windows operating system.
I couldn't solve the problem on the Windows so i switched to Ubuntu on a virtual machine.
So I recommend you to work on the Ubuntu terminal also.
Regards,
Abdelrahman
Hi Abdelrahman,
Thanks for your reply!
From very first day I am using Ubuntu. I setup everything on Ubuntu machine and trying to build SDK on the same.
How that error was resolved on Ubuntu at your side? Are you using same toolchain and SDK versions?
Thanks,
Dhaval
Hi Dhaval Vadhar,
I didn't face the same problem on the Ubuntu. It was much way easier there.
I was using the arm-none-eabi-gcc toolchain, using those steps to install:
Step1: Inside Ubuntu, open a terminal and input
"sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded"
Step2: Continue to input
"sudo apt-get update"
Step3: Continue to input to install toolchain
"sudo apt-get install gcc-arm-none-eabi"
source: GNU ARM Embedded Toolchain : Terry Guo
This command may help to check that the toolchain was installed:
"arm-none-eabi-gcc --version"
After that I followed the README commands:
1) "tar zxvf imx6_platform_sdk_v1.1.0.tgz"
2) "./tools/build_sdk"
and the compilation went well.
Regards,
Abdelrahman
Hi Abdelrahman,
As I said before, I was able to build the SDK, for SLEVK, by following the steps you have mentioned. But when I tried to run the binary 'stream.bin' on SLEVK, I got following errors:
# ./stream.bin
-sh: ./stream.bin: cannot execute binary file: Exec format error
Were you able to run the binaries on target platform?
Thanks,
Dhaval
Hi Dhaval Vadhar
In my case I'm using SD card boot where The SDK binary image can be programmed on a SD card.
As I'm using an Ubuntu host, I'm using this Command with slight modification of the binary file destination:
"dd if=output/mx6dq/sdk_unit_test/evb rev_a/sdk_unit_test_ALL.bin of=/dev/sdx seek=2 skip=2 bs=512 && sync"
where /dev/sdx is the Linux device for your SD card.
Source: The README.pdf file in the iMX6_Platform_SDK folder
Using that procedure, I was able to run the binaries on my target platform successfully.
Regards,
Abdelrahman
Dear igorpadykov,
I find this very helpful, thanks for your help :smileyhappy:
my appreciations,
Abdelrahman