Skip to contentSkip to conversation

Bitbake recipe building socketcan for angstrom

DISCUSSION rotesmofa 3 participants 3 messages Oct 18, 2012 CAN network drivers

lore
Share & tools
lore

rotesmofa

author
#0 lore raw

Hallo everyone,

I am fighting with Bitbaking Socketcan for Angstrom with a 2.6.32 Kernel for my Craneboard.

Currently I have a basic lag of understanding for the *.bb files. I simply want to build socketcan for my board using either Eclipse with my Angstrom toolchain or using Bitbake.

Can anyone guide me? I'am in India and have kind of a research project but there is no support and I'am a Hardware Guy ;-)

Best regards

#1 lore raw
Quoted 4 lines · rotesmofa

Hallo everyone,

I am fighting with Bitbaking Socketcan for Angstrom with a 2.6.32 Kernel for my Craneboard.

Regarding the kernel. It's rather old, doesnt't support much CAN hardware and may have CAN related bugs. Better update to latest v3.6 or newer.

Quoted 3 lines

Currently I have a basic lag of understanding for the *.bb files. I simply want to build socketcan for my board using either Eclipse with my Angstrom toolchain or using Bitbake.

If you want to use socketcan you have to switch on some kernel features:

	-> Networking support
	-> CAN bus subsystem support
		[ ] Raw CAN Protocol (raw access with CAN-ID filtering)
	-> CAN Device Drivers
		[ ] Platform CAN drivers with Netlink support

+ the driver you need.

No need to change any bitbake files.

Quoted 2 lines

Can anyone guide me? I'am in India and have kind of a research project but there is no support and I'am a Hardware Guy ;-)

If you need support for the userspace tools in openembedded/angstrom you should contact they mailinglist.

regards, Marc

Signature · 4 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
#2 lore raw
Quoted 24 lines · Marc Kleine-Budde
Quoted 4 lines · rotesmofa

Hallo everyone,

I am fighting with Bitbaking Socketcan for Angstrom with a 2.6.32 Kernel for my Craneboard.

Regarding the kernel. It's rather old, doesnt't support much CAN hardware and may have CAN related bugs. Better update to latest v3.6 or newer.

Quoted 3 lines

Currently I have a basic lag of understanding for the *.bb files. I simply want to build socketcan for my board using either Eclipse with my Angstrom toolchain or using Bitbake.

If you want to use socketcan you have to switch on some kernel features:

	-> Networking support
	-> CAN bus subsystem support
		[ ] Raw CAN Protocol (raw access with CAN-ID filtering)
	-> CAN Device Drivers
		[ ] Platform CAN drivers with Netlink support

+ the driver you need.

Quoted 7 lines

No need to change any bitbake files.

Quoted 2 lines

Can anyone guide me? I'am in India and have kind of a research project but there is no support and I'am a Hardware Guy ;-)

If you need support for the userspace tools in openembedded/angstrom you should contact they mailinglist.

Just build 'canutils' which is part of the meta-openembedded/meta-oe layer

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------