cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vanloc_tc1
Contributor
Contributor
710 Views
Registered: ‎12-03-2018

Petalinux 2018.2 and Application

Hi Everyone,

I have a project with Ultra96 ,I am using Petalinux,Vivado,SDK 2018.2 , ubuntu 18.04 LTS ,

I have reasearch information about Petalinux,

This is my idea,

1) When I want to add a app/file/web to BOOT  to SD-Card, I am using petalinux-create -t apps or petalinux-image.bbappend.Because I can not using install tools on petalinux evironment in Sd-card,I am finding about dnf package manager to install tools.

Is that right ?

2)This is my project : 

I want to use camera on Ultra96 and get video to load on Web Server use Nginx.

If you know the answer or idea,please tell me.

Thank You Very Much,

vanloc,

 

 

0 Kudos
2 Replies
aravindb
Moderator
Moderator
695 Views
Registered: ‎02-07-2018

HI @vanloc_tc1 

Please use the SDK & create a BOOT.BIN file by adding your application in bif file.

below is the refenence bif file for zynqMP.

//arch = zynqmp; split = false; format = BIN
the_ROM_image:
{
[fsbl_config]a53_x64
[bootloader]C:\project\Debug\test.elf
}

 

You can add this nginx utility in your rootfs by enabling & building it.

Please follow below steps to enable it.

vim project-spec/meta-user/recipes-core/images/petalinux-image.bbappend

add below line
IMAGE_INSTALL_append = " nginx"

petalinux-config -c rootfs
user packages --> [*] nginx

petalinux-build

 

For your reference you will find this recipe at meta-openembedded/meta-webserver/recipes-httpd/ path.

 

Thanks & ergards

Aravind

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

0 Kudos
vanloc_tc1
Contributor
Contributor
680 Views
Registered: ‎12-03-2018

Hi Aravindb,

Thank your answer,

I really dont know the difference between petalinux-build(fsbl,pmufw,fpga) and using Export file Boot.bin,fsbl,pmu from SDK?

In this example, I am using petalinux-create -t apps :http://svenand.blogdrives.com/archive/195.html#.XMKfgej7TDf

At Question 2:

If I want to use OpenCV -->IMAGE_INSTALL_append = " OpenCV " , it is include " libary ,tool " ?? 

Thank you very much,

vanloc,

0 Kudos