Kernel Newbies Archive on lore.kernel.org
 help / color / Atom feed
* Linux kernel BSP
@ 2021-04-14  6:38 Pankaj  Vinodrao Joshi
  2021-04-14  6:47 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Pankaj  Vinodrao Joshi @ 2021-04-14  6:38 UTC (permalink / raw)
  To: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 245 bytes --]

Hi,
i am newbie to linux BSP and i want to get some hand on with BSP. Can someone kindly suggest what all the components of BSP also i need to port BSP from one arch to other what and all things i should consider to get it ported ??

Thanks

[-- Attachment #1.2: Type: text/html, Size: 926 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  6:38 Linux kernel BSP Pankaj  Vinodrao Joshi
@ 2021-04-14  6:47 ` Greg KH
  2021-04-14  6:54   ` Pankaj  Vinodrao Joshi
  0 siblings, 1 reply; 9+ messages in thread
From: Greg KH @ 2021-04-14  6:47 UTC (permalink / raw)
  To: Pankaj Vinodrao Joshi; +Cc: kernelnewbies

On Wed, Apr 14, 2021 at 06:38:36AM +0000, Pankaj  Vinodrao Joshi wrote:
> Hi,
> i am newbie to linux BSP and i want to get some hand on with BSP. Can someone kindly suggest what all the components of BSP also i need to port BSP from one arch to other what and all things i should consider to get it ported ??

What have you tried and looked at that was not enough information?

And what do you mean exactly by "BSP"?

What exactly are you trying to do?  Specific questions are best.

good luck!

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  6:47 ` Greg KH
@ 2021-04-14  6:54   ` Pankaj  Vinodrao Joshi
  2021-04-14  7:05     ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Pankaj  Vinodrao Joshi @ 2021-04-14  6:54 UTC (permalink / raw)
  To: Greg KH; +Cc: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 1213 bytes --]

Hi Greg KH,

i understood BSP (Board support packages ) contains u-boot , drivers ,dts  apart from this what are the elements of BSP i am not able to understand.

Scenario is, i want to port linux BSP to the android BSP and for that i am trying to gather the information about the BSP, what exectly it is, where i should change all kind of stuff

Hope i made you clear with what i am looking for

Warm regards

________________________________
From: Greg KH <greg@kroah.com>
Sent: Wednesday, April 14, 2021 12:17 PM
To: Pankaj Vinodrao Joshi <Pankaj.VJ@exaleapsemi.com>
Cc: kernelnewbies@kernelnewbies.org <kernelnewbies@kernelnewbies.org>
Subject: Re: Linux kernel BSP

On Wed, Apr 14, 2021 at 06:38:36AM +0000, Pankaj  Vinodrao Joshi wrote:
> Hi,
> i am newbie to linux BSP and i want to get some hand on with BSP. Can someone kindly suggest what all the components of BSP also i need to port BSP from one arch to other what and all things i should consider to get it ported ??

What have you tried and looked at that was not enough information?

And what do you mean exactly by "BSP"?

What exactly are you trying to do?  Specific questions are best.

good luck!

greg k-h
[EXT]

[-- Attachment #1.2: Type: text/html, Size: 3051 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  6:54   ` Pankaj  Vinodrao Joshi
@ 2021-04-14  7:05     ` Greg KH
  2021-04-14  7:24       ` Pankaj  Vinodrao Joshi
  0 siblings, 1 reply; 9+ messages in thread
From: Greg KH @ 2021-04-14  7:05 UTC (permalink / raw)
  To: Pankaj Vinodrao Joshi; +Cc: kernelnewbies

On Wed, Apr 14, 2021 at 06:54:49AM +0000, Pankaj  Vinodrao Joshi wrote:
> Hi Greg KH,
> 
> i understood BSP (Board support packages ) contains u-boot , drivers
> ,dts  apart from this what are the elements of BSP i am not able to
> understand.

It all depends on who you got this "BSP" from.  You are paying for
support from the vendor whose chip you bought, why not consult their
documentation and ask them for help?

> Scenario is, i want to port linux BSP to the android BSP and for that
> i am trying to gather the information about the BSP, what exectly it
> is, where i should change all kind of stuff

At the kernel level, there is no difference between "linux bsp" and
"android bsp", it's all just Linux down there.

And again, ask your vendor for this help, you are paying for it already.

> Hope i made you clear with what i am looking for

Not really, sorry. Please be specific as to what you have tried and what
did not work.

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  7:05     ` Greg KH
@ 2021-04-14  7:24       ` Pankaj  Vinodrao Joshi
  2021-04-14  7:47         ` Greg KH
  2021-04-14  7:50         ` Saket Sinha
  0 siblings, 2 replies; 9+ messages in thread
From: Pankaj  Vinodrao Joshi @ 2021-04-14  7:24 UTC (permalink / raw)
  To: Greg KH; +Cc: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 1746 bytes --]

Ok, Exactly i was looking for any changes are there w.r.t BSP in linux-mainline kernel and android kernel but you made me clear with like there will be no changes in linux kernel source code including drivers,dtsi  right ??

Yes i do agree i am paying for BSP to the board vendors but i was trying to get the things which needs to changes as my vendor doesnt provide support for android and i want to make android up with my device which have support for linux only.


Thanks



________________________________
From: Greg KH <greg@kroah.com>
Sent: Wednesday, April 14, 2021 12:35 PM
To: Pankaj Vinodrao Joshi <Pankaj.VJ@exaleapsemi.com>
Cc: kernelnewbies@kernelnewbies.org <kernelnewbies@kernelnewbies.org>
Subject: Re: Linux kernel BSP

On Wed, Apr 14, 2021 at 06:54:49AM +0000, Pankaj  Vinodrao Joshi wrote:
> Hi Greg KH,
>
> i understood BSP (Board support packages ) contains u-boot , drivers
> ,dts  apart from this what are the elements of BSP i am not able to
> understand.

It all depends on who you got this "BSP" from.  You are paying for
support from the vendor whose chip you bought, why not consult their
documentation and ask them for help?

> Scenario is, i want to port linux BSP to the android BSP and for that
> i am trying to gather the information about the BSP, what exectly it
> is, where i should change all kind of stuff

At the kernel level, there is no difference between "linux bsp" and
"android bsp", it's all just Linux down there.

And again, ask your vendor for this help, you are paying for it already.

> Hope i made you clear with what i am looking for

Not really, sorry. Please be specific as to what you have tried and what
did not work.

thanks,

greg k-h
[EXT]

[-- Attachment #1.2: Type: text/html, Size: 3585 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  7:24       ` Pankaj  Vinodrao Joshi
@ 2021-04-14  7:47         ` Greg KH
  2021-04-14  7:50         ` Saket Sinha
  1 sibling, 0 replies; 9+ messages in thread
From: Greg KH @ 2021-04-14  7:47 UTC (permalink / raw)
  To: Pankaj Vinodrao Joshi; +Cc: kernelnewbies

On Wed, Apr 14, 2021 at 07:24:29AM +0000, Pankaj  Vinodrao Joshi wrote:
> Ok, Exactly i was looking for any changes are there w.r.t BSP in
> linux-mainline kernel and android kernel but you made me clear with
> like there will be no changes in linux kernel source code including
> drivers,dtsi  right ??

No idea, it depends on your hardware.

> Yes i do agree i am paying for BSP to the board vendors but i was
> trying to get the things which needs to changes as my vendor doesnt
> provide support for android and i want to make android up with my
> device which have support for linux only.

Again "linux" is the kernel, and Android is only the userspace stuff on
top of that.  They are independent, you can run "Android" on a desktop
just fine.

Take look at the Android documentation for how to set this all up, there
are loads of resources online for this.

good luck!

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  7:24       ` Pankaj  Vinodrao Joshi
  2021-04-14  7:47         ` Greg KH
@ 2021-04-14  7:50         ` Saket Sinha
  2021-04-14  8:03           ` Pankaj  Vinodrao Joshi
  1 sibling, 1 reply; 9+ messages in thread
From: Saket Sinha @ 2021-04-14  7:50 UTC (permalink / raw)
  To: Pankaj Vinodrao Joshi; +Cc: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 2397 bytes --]

Hi Pankaj,

Like Greg mentioned there has been a lot of effort in getting android
kernel mainlined so most probably you will not find any issues there.

Most of the Boards(SOCs) are supported in kernel via device tree, configs
etc.

For android userspace and libraries refer - https://source.android.com/


Regards,
Saket Sinha


On Wed, Apr 14, 2021 at 9:25 AM Pankaj Vinodrao Joshi <
Pankaj.VJ@exaleapsemi.com> wrote:

> Ok, Exactly i was looking for any changes are there w.r.t BSP in
> linux-mainline kernel and android kernel but you made me clear with like
> there will be no changes in linux kernel source code including
> drivers,dtsi  right ??
>
> Yes i do agree i am paying for BSP to the board vendors but i was trying
> to get the things which needs to changes as my vendor doesnt provide
> support for android and i want to make android up with my device which have
> support for linux only.
>
>
> Thanks
>
>
>
> ------------------------------
> *From:* Greg KH <greg@kroah.com>
> *Sent:* Wednesday, April 14, 2021 12:35 PM
> *To:* Pankaj Vinodrao Joshi <Pankaj.VJ@exaleapsemi.com>
> *Cc:* kernelnewbies@kernelnewbies.org <kernelnewbies@kernelnewbies.org>
> *Subject:* Re: Linux kernel BSP
>
> On Wed, Apr 14, 2021 at 06:54:49AM +0000, Pankaj  Vinodrao Joshi wrote:
> > Hi Greg KH,
> >
> > i understood BSP (Board support packages ) contains u-boot , drivers
> > ,dts  apart from this what are the elements of BSP i am not able to
> > understand.
>
> It all depends on who you got this "BSP" from.  You are paying for
> support from the vendor whose chip you bought, why not consult their
> documentation and ask them for help?
>
> > Scenario is, i want to port linux BSP to the android BSP and for that
> > i am trying to gather the information about the BSP, what exectly it
> > is, where i should change all kind of stuff
>
> At the kernel level, there is no difference between "linux bsp" and
> "android bsp", it's all just Linux down there.
>
> And again, ask your vendor for this help, you are paying for it already.
>
> > Hope i made you clear with what i am looking for
>
> Not really, sorry. Please be specific as to what you have tried and what
> did not work.
>
> thanks,
>
> greg k-h
> [EXT]
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

[-- Attachment #1.2: Type: text/html, Size: 4905 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  7:50         ` Saket Sinha
@ 2021-04-14  8:03           ` Pankaj  Vinodrao Joshi
  2021-04-14  8:15             ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Pankaj  Vinodrao Joshi @ 2021-04-14  8:03 UTC (permalink / raw)
  To: Saket Sinha; +Cc: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 3259 bytes --]

Hi Saket,
Thanks for response. I would like to tell saket in AOSP there is no support for my device but yes i do have complete support for linux-mainline.

For me to work android perfectly on my device what do you think where i should change in AOSP , do you have any idea about like where some arch specific changes needs to be done in AOSP??

Kindly share the references as well if you have

Thanks
________________________________
From: Saket Sinha <saket.sinha89@gmail.com>
Sent: Wednesday, April 14, 2021 1:20 PM
To: Pankaj Vinodrao Joshi <Pankaj.VJ@exaleapsemi.com>
Cc: kernelnewbies@kernelnewbies.org <kernelnewbies@kernelnewbies.org>
Subject: Re: Linux kernel BSP

Hi Pankaj,

Like Greg mentioned there has been a lot of effort in getting android kernel mainlined so most probably you will not find any issues there.

Most of the Boards(SOCs) are supported in kernel via device tree, configs etc.

For android userspace and libraries refer - https://source.android.com/


Regards,
Saket Sinha


On Wed, Apr 14, 2021 at 9:25 AM Pankaj Vinodrao Joshi <Pankaj.VJ@exaleapsemi.com<mailto:Pankaj.VJ@exaleapsemi.com>> wrote:
Ok, Exactly i was looking for any changes are there w.r.t BSP in linux-mainline kernel and android kernel but you made me clear with like there will be no changes in linux kernel source code including drivers,dtsi  right ??

Yes i do agree i am paying for BSP to the board vendors but i was trying to get the things which needs to changes as my vendor doesnt provide support for android and i want to make android up with my device which have support for linux only.


Thanks



________________________________
From: Greg KH <greg@kroah.com<mailto:greg@kroah.com>>
Sent: Wednesday, April 14, 2021 12:35 PM
To: Pankaj Vinodrao Joshi <Pankaj.VJ@exaleapsemi.com<mailto:Pankaj.VJ@exaleapsemi.com>>
Cc: kernelnewbies@kernelnewbies.org<mailto:kernelnewbies@kernelnewbies.org> <kernelnewbies@kernelnewbies.org<mailto:kernelnewbies@kernelnewbies.org>>
Subject: Re: Linux kernel BSP

On Wed, Apr 14, 2021 at 06:54:49AM +0000, Pankaj  Vinodrao Joshi wrote:
> Hi Greg KH,
>
> i understood BSP (Board support packages ) contains u-boot , drivers
> ,dts  apart from this what are the elements of BSP i am not able to
> understand.

It all depends on who you got this "BSP" from.  You are paying for
support from the vendor whose chip you bought, why not consult their
documentation and ask them for help?

> Scenario is, i want to port linux BSP to the android BSP and for that
> i am trying to gather the information about the BSP, what exectly it
> is, where i should change all kind of stuff

At the kernel level, there is no difference between "linux bsp" and
"android bsp", it's all just Linux down there.

And again, ask your vendor for this help, you are paying for it already.

> Hope i made you clear with what i am looking for

Not really, sorry. Please be specific as to what you have tried and what
did not work.

thanks,

greg k-h
[EXT]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org<mailto:Kernelnewbies@kernelnewbies.org>
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
[EXT]

[-- Attachment #1.2: Type: text/html, Size: 7092 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Linux kernel BSP
  2021-04-14  8:03           ` Pankaj  Vinodrao Joshi
@ 2021-04-14  8:15             ` Greg KH
  0 siblings, 0 replies; 9+ messages in thread
From: Greg KH @ 2021-04-14  8:15 UTC (permalink / raw)
  To: Pankaj Vinodrao Joshi; +Cc: Saket Sinha, kernelnewbies

On Wed, Apr 14, 2021 at 08:03:10AM +0000, Pankaj  Vinodrao Joshi wrote:
> Hi Saket,
> Thanks for response. I would like to tell saket in AOSP there is no support for my device but yes i do have complete support for linux-mainline.
> 
> For me to work android perfectly on my device what do you think where i should change in AOSP , do you have any idea about like where some arch specific changes needs to be done in AOSP??

What failed when you booted AOSP on your hardware?

What failed when you built AOSP for your hardware?

Again, try it and see...

good luck!

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, back to index

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14  6:38 Linux kernel BSP Pankaj  Vinodrao Joshi
2021-04-14  6:47 ` Greg KH
2021-04-14  6:54   ` Pankaj  Vinodrao Joshi
2021-04-14  7:05     ` Greg KH
2021-04-14  7:24       ` Pankaj  Vinodrao Joshi
2021-04-14  7:47         ` Greg KH
2021-04-14  7:50         ` Saket Sinha
2021-04-14  8:03           ` Pankaj  Vinodrao Joshi
2021-04-14  8:15             ` Greg KH

Kernel Newbies Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git