SDK 1.7 Installation - Error onto Ubuntu

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

SDK 1.7 Installation - Error onto Ubuntu

2,379 Views
anku
Contributor I

Hi,

I am installing SDK1.7 Iso image.

I am getting the following error :- (Screenshot also attached for your reference)

- Unable to prepare the host script packages ..

- getting sudo permission error

Please provide the support in the resolution of this.

Rgds,

Ankit

0 Kudos
5 Replies

1,910 Views
Pavel
NXP Employee
NXP Employee

Run the following command: sudo usr/sbin/visudo

Add the following line:

root ALL = NOPASSWD: /usr/bin/apt-get

Press CTRL-X for file saving.

Run script ”sudo ./poky/scripts/host-prepare.sh” again.


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,910 Views
anku
Contributor I

Hi,

Thanks.

It worked now.

At the later part of sdk installation, i am running the following command

--- source fsl-setup-poky -m p2020rdb

its saying

- "fsl-setup-poky directory not found"

Please suggest to resolve this.

Rgds,

Ankit

0 Kudos

1,910 Views
Pavel
NXP Employee
NXP Employee

Use the following command:

source ./poky/fsl-setup-poky -m p2020rdb
Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,910 Views
anku
Contributor I

Hi,

Uses the command

source ./poky/fsl-setup-poky -m p2020rdb

Got an error

ERROR: do not use the BSP as root. Exiting...

Pl suggest what to do.

Rgds,

Ankit

0 Kudos

1,910 Views
Pavel
NXP Employee
NXP Employee

It looks like that terminal window is open as root. Open terminal as uses.


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos