Build from source?

Ask questions about Arch Linux ARM. Please search before making a new topic.

Build from source?

Postby vbsaltydog » Wed Apr 10, 2013 7:07 pm

I am running the official arch olinuxino build
(http://archlinuxarm.org/platforms/armv5/olinuxino)
on my device and it works well but I need to add 1wire support so I built a new kernel with 1wire enabled and there were two problems:

(1) Several functions that were working under the official arch platform build stopped working under the new kernel,
specifically udev rules and systemctl.

(2) The 1wire gpio kernel module would not load because of device not found error. The 1wire gpio is not defined in the device tree or board config and I dont know how to set that up.

What I want to do first is rebuild the kernel that comes with the official arch olinuxino build and add the 1wire support but leave everything else as it was. Does anyone know where I can get the official olinuxino build source? and how I can get the original kernel config to use as a base when I rebuild the kernel with the 1wire support added.

Next I need to tell the 1wire gpio kernel module which gpio will be used as the 1wire bus master. Does anyone know how to do that?

Thank you.
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm

Re: Build from source?

Postby WarheadsSE » Wed Apr 10, 2013 7:47 pm

Github - PKGBUILDs

You will need to update the board config, or make the module accept that as a parameterr
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Build from source?

Postby vbsaltydog » Wed Apr 10, 2013 8:48 pm

Thank you.

I assume I have to build the kernel package on the arm device? are there any ways to cross compile with pkgbuilds?
(i.e. build on a faster, x86, system running arch but compile for the ARM architechture)
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm

Re: Build from source?

Postby WarheadsSE » Wed Apr 10, 2013 10:38 pm

We strongly recommend distcc.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Build from source?

Postby vbsaltydog » Thu Apr 11, 2013 4:42 pm

Thanks.

I am a little unclear on running a kernel as a package. Packages are not available at boot time? so does the device boot to kernel x and then change to kernel y if kernel y is an installed kernel package?
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests