i2c linux kernel

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

i2c linux kernel

Postby alexanderhaensch » Fri Jul 20, 2012 5:39 am

I am trying to compile an i2c enabled kernel with the sources from
http://www.bootc.net/projects/raspberry-pi-kernel/#How_to_install

now i get the problem that im missing arm-unknown-linux-gnueabi-ld.

Where can i find this tool?
alexanderhaensch
 
Posts: 5
Joined: Fri Jul 06, 2012 8:53 am

Re: i2c linux kernel

Postby alexanderhaensch » Fri Jul 20, 2012 6:22 am

found a possible solution by symlinking:

$this->bbcode_second_pass_code('', 'ln -s /usr/bin/objdump /usr/bin/arm-unknown-linux-gnueabi-objdump
ln -s /usr/bin/ld /usr/bin/arm-unknown-linux-gnueabi-ld
ln -s /usr/bin/ar /usr/bin/arm-unknown-linux-gnueabi-ar
')
alexanderhaensch
 
Posts: 5
Joined: Fri Jul 06, 2012 8:53 am

Re: i2c linux kernel

Postby Huulivoide » Fri Jul 20, 2012 2:21 pm

Please post here if you get the 3.2 kernel from bootc running. I have build it thousand times and never got it to boot, not even the one that cames in the deb package. But the I2C stuff has been backported to the offical 3.1 kernel too, and should be included in the package in the repos.
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm

Re: i2c linux kernel

Postby alexanderhaensch » Tue Jul 24, 2012 7:40 am

So i compiled the kernel succesfully, BUT i think the kernel does not find the modules.
i have NO keyboard!
i have NO ethernet!

I think i have to recompile with more buildin modules....

any ideas how to fix this?
alexanderhaensch
 
Posts: 5
Joined: Fri Jul 06, 2012 8:53 am

Re: i2c linux kernel

Postby pepedog » Tue Jul 24, 2012 8:22 am

Look at your .config file, is tempfs there?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: i2c linux kernel

Postby WarheadsSE » Tue Jul 24, 2012 12:30 pm

And devtmpfs ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: i2c linux kernel

Postby pepedog » Tue Jul 24, 2012 1:54 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'A')nd devtmpfs ?

Of course, I meant that
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: i2c linux kernel

Postby ricochet1k » Thu Jul 26, 2012 6:14 am

i2c-dev is now included by default in the latest kernel, compiling your own may not be necessary any longer. I've tested it with i2c-tools and it works great.
ricochet1k
 
Posts: 1
Joined: Thu Jul 26, 2012 6:11 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests

cron