Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX Architecture and drivers -reg: (4 Items)
   
QNX Architecture and drivers -reg  
Hi

I wanted to know the difference between writing drivers/ resource manager within BSP and external to BSP.

And difference in memory allocations for resource manager within BSP and external to BSP.

How can we allocate huge memory allocation for QNX drivers like  huge tlbs used in Linux.

Please provide suggestions.

Thanks
UmaMahesh
::DISCLAIMER::
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
--------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail 
transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or 
without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or 
opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written consent of authorized representative of HCL 
is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. 
Before opening any email and/or attachments, please check them for viruses and other defects.
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
--------------------------------------
Attachment: HTML sf-attachment-mime35901 3.11 KB
Re: QNX Architecture and drivers -reg  
Hello UmaMahesh,

Have you had a look at the following documentation?

Building Embedded Systems:
http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.building/topic/about.html
The chapter “Working with BSPs” may be of particular interest.

Writing a Resource Manager:
http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.resmgr/topic/about.html

Nicola

From: Umamahesh Yelchuruvenkata <community-noreply@qnx.com<mailto:community-noreply@qnx.com>>;
Reply-To: "general-community@community.qnx.com<mailto:general-community@community.qnx.com>;" <general-community@
community.qnx.com<mailto:general-community@community.qnx.com>>;
Date: Monday, January 8, 2018 at 13:58
To: "general-community@community.qnx.com<mailto:general-community@community.qnx.com>;" <general-community@community.
qnx.com<mailto:general-community@community.qnx.com>>;
Subject: QNX Architecture and drivers -reg

Hi

I wanted to know the difference between writing drivers/ resource manager within BSP and external to BSP.

And difference in memory allocations for resource manager within BSP and external to BSP.

How can we allocate huge memory allocation for QNX drivers like  huge tlbs used in Linux.

Please provide suggestions.

Thanks
UmaMahesh
::DISCLAIMER::
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
--------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail 
transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or 
without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or 
opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written consent of authorized representative of HCL 
is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. 
Before opening any email and/or attachments, please check them for viruses and other defects.
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
--------------------------------------
Attachment: HTML sf-attachment-mime35904 5.3 KB
Re: QNX Architecture and drivers -reg  
Hi Nicola,


Query is not how to build the QNX or writing device drivers. Looking for differences as stated in my previous mail.


Please advice on that.


Thanks

Umamahesh

________________________________
From: Nicola Vulpe <community-noreply@qnx.com>
Sent: 09 January 2018 00:37:12
To: general-community@community.qnx.com
Subject: Re: QNX Architecture and drivers -reg

Hello UmaMahesh,

Have you had a look at the following documentation?

Building Embedded Systems:
https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.qnx.com%2Fdevelopers%2Fdocs%2F7.0.0%2F%23com.qnx.
doc.neutrino.building%2Ftopic%2Fabout.html&data=02%7C01%7Cumamahesh.y%40hcl.com%7C66c2aa3e79bc411eceec08d556cb0ec7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C1%7C636510353294275411&sdata=6hLUz8fslvNikqeKgp3OWyOfmsJXv3PWjo4JS8Ak%2F%2F8%3D&reserved=0
The chapter “Working with BSPs” may be of particular interest.

Writing a Resource Manager:
https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.qnx.com%2Fdevelopers%2Fdocs%2F7.0.0%2F%23com.qnx.doc.neutrino.resmgr%2Ftopic%2Fabout.html&data=02%7C01%7Cumamahesh.y%40hcl.com%7C66c2aa3e79bc411eceec08d556cb0ec7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C1%7C636510353294275411&sdata=%2Fj4w0MEJjUnqI6%2BuaJqa%2FTNfmoPbVO8gk%2BjzYwkYGg4%3D&reserved=0

Nicola

From: Umamahesh Yelchuruvenkata <community-noreply@qnx.com<mailto:community-noreply@qnx.com>>;
Reply-To: "general-community@community.qnx.com<mailto:general-community@community.qnx.com>;" <general-community@
community.qnx.com<mailto:general-community@community.qnx.com>>;
Date: Monday, January 8, 2018 at 13:58
To: "general-community@community.qnx.com<mailto:general-community@community.qnx.com>;" <general-community@community.
qnx.com<mailto:general-community@community.qnx.com>>;
Subject: QNX Architecture and drivers -reg

Hi

I wanted to know the difference between writing drivers/ resource manager within BSP and external to BSP.

And difference in memory allocations for resource manager within BSP and external to BSP.

How can we allocate huge memory allocation for QNX drivers like  huge tlbs used in Linux.

Please provide suggestions.

Thanks
UmaMahesh
::DISCLAIMER::
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
--------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail 
transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or 
without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or 
opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written consent of authorized representative of HCL 
is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. 
Before opening any email and/or attachments, please check them for viruses and other...
View Full Message
Attachment: HTML sf-attachment-mime35907 6.92 KB
Re: QNX Architecture and drivers -reg  
There is only one runtime environment for QNX which handles resource manager framework, libc, memory allocator etc. The 
BSP is just a specific way of packaging things together in a single source tree and have the binaries installed in the "
install" folder tree for convenience. The only difference would be if you need to handle memory allocations inside the 
startup program - that is, before/while QNX boots. As long as you write a resource manager that is run after procnto is 
up and running you are free to choose the project type.

To your second question, I'm not an expert on that but to best of my belief under QNX 6.x you could not explicitly 
control that. From a programmer's point of view, memory is broken down into 4K pages - that's it. It might be different 
under QNX 7 because the memory allocator has been reworked there.

Regards,
Al