Is there a Software Development Kit (SDK) release that supports UDOO QUAD board ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a Software Development Kit (SDK) release that supports UDOO QUAD board ?

Jump to solution
5,032 Views
abdelrahmanzaye
Contributor III

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.

Labels (1)
Tags (3)
1 Solution
4,492 Views
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

20 Replies
4,492 Views
abdelrahmanzaye
Contributor III

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

0 Kudos
Reply
4,492 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdelrahman

then one can try to run tests, one by one,

debugging (if necessary) with jtag.

~igor

0 Kudos
Reply
4,492 Views
abdelrahmanzaye
Contributor III

Hi igorpadykov​,

OK, But what about the files in the ..board/common directory ?,

Will there be any modifications to them ?

Thanks in advance.

0 Kudos
Reply
4,492 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdelrahman

please read readme file in ..board/common directory.

If UDOO board differs from FSL reference boards, then

these files should be modified too.

~igor

0 Kudos
Reply
4,492 Views
abdelrahmanzaye
Contributor III

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

0 Kudos
Reply
4,490 Views
igorpadykov
NXP Employee
NXP Employee

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

0 Kudos
Reply
4,493 Views
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

4,492 Views
abdelrahmanzaye
Contributor III

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

0 Kudos
Reply
4,492 Views
dhavalvadhar
Contributor IV

Hi Abdelrahman,

Were you able to compile the SDK, that you got from the link mentioned in your first post?

I am not able to do that.

Thanks,

Dhaval

0 Kudos
Reply
4,492 Views
abdelrahmanzaye
Contributor III

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

0 Kudos
Reply
4,492 Views
dhavalvadhar
Contributor IV

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

0 Kudos
Reply
4,492 Views
abdelrahmanzaye
Contributor III

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

0 Kudos
Reply
4,492 Views
dhavalvadhar
Contributor IV

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

0 Kudos
Reply
4,492 Views
abdelrahmanzaye
Contributor III

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

4,492 Views
dhavalvadhar
Contributor IV

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

0 Kudos
Reply
4,492 Views
abdelrahmanzaye
Contributor III

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

0 Kudos
Reply
4,492 Views
dhavalvadhar
Contributor IV

Hi Abdelrahman,

It works!! Thanks a lot for all your help.

Thanks,

Dhaval

0 Kudos
Reply
4,492 Views
abdelrahmanzaye
Contributor III

Hi Dhaval Vadhar,

I didn't to try to compile that SDK yet. When I do, I will keep you updated.

Regards,

Abdelrahman

0 Kudos
Reply
4,492 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdelrahman

in first place one can look at files in

..board/mx6q/../rev_c_iomux and dcd file

and modify them according to Udoo board

specifics.

~igor

4,492 Views
abdelrahmanzaye
Contributor III

Dear igorpadykov​,

I find this very helpful, thanks for your help :smileyhappy:

my appreciations,

Abdelrahman

0 Kudos
Reply