S32G2 - How to add script in BSP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G2 - How to add script in BSP

1,213件の閲覧回数
Ironmanrex
Contributor I

 

Device : S32G2

How to add script in BSP

0 件の賞賛
返信
3 返答(返信)

1,151件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @Ironmanrex 

Thanks for your reply

Now I can understand that you want to put your own script to the default rootfs during Yocto building.

I suggest reading the following link:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-include-any-files-in-rootfs-with-...

You may also put "IMAGE_INSTALL:append = " $filename" to the conf/local.conf under your build directly. and then try rebuilding the Yocto BSP

I hope it will help
 
BR
Chenyin

"

0 件の賞賛
返信

1,190件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello,Ironmanrex

Thanks for your post.

May I know more details of your request? you want to put your own script to the Rootfs?

 

Thanks

BR

Chenyin

0 件の賞賛
返信

1,167件の閲覧回数
Ironmanrex
Contributor I
Hi ChenYin

actually, i only have "Vlan"command.(as below)
i hope these command add into script of bsp in rootfs.

Command :
ip link add link pfe0 name pfe0.100 type vlan id 100
sleep 1s
ifconfig pfe0.100 172.16.42.12 up
sleep 1s
ip link add link pfe0 name pfe0.200 type vlan id 200
sleep 1s
ifconfig pfe0.100 172.16.38.12 up
sleep 1s
ifconfig pfe0.200 172.16.42.12 up
sleep 1s
ifconfig

0 件の賞賛
返信