All times are UTC-06:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed Nov 16, 2011 11:10 pm 
Offline

Joined: Sat Nov 05, 2011 9:59 am
Posts: 59
Location: Bloomington, IL
Is there a step by step guide out there somewhere for installing Debian Squeeze ARMEL on the Genesi Smartbook? I know there is this wiki page - http://wiki.debian.org/EfikaMX - but it is more generic instructions for the board contained within the device and it is a little bit all over the place.

Essentially I'd like to fast route to a working Debian Stable (Squeeze, ARMEL) on the Smartbook.

~Jeff


Last edited by JeffHoogland on Thu Nov 17, 2011 11:32 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Nov 17, 2011 11:31 pm 
Offline

Joined: Sat Nov 05, 2011 9:59 am
Posts: 59
Location: Bloomington, IL
OK - so I've got Squeeze installed to a flash card (going to make a HOWTO after I get things fully working). Now it boots, but for whatever reason I have no mouse/keyboard functionality. Any ideas why that might be? I simply copied over the 200 meg partition from the ARMHF provided download. Do I need to edit something in this contents to get the keyboard and mouse to work under Squeeze (or do I need to actually compile the kernel myself?)

~Jeff


Top
   
 Post subject:
PostPosted: Fri Nov 18, 2011 2:29 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Quote:
OK - so I've got Squeeze installed to a flash card (going to make a HOWTO after I get things fully working). Now it boots, but for whatever reason I have no mouse/keyboard functionality. Any ideas why that might be? I simply copied over the 200 meg partition from the ARMHF provided download. Do I need to edit something in this contents to get the keyboard and mouse to work under Squeeze (or do I need to actually compile the kernel myself?)

~Jeff
Ok, this is a known issue with udev and older kernels -which do not include accept4 patch, but which is backported to our kernel so it works as expected with udev. Basically, udev does a kernel version check in /etc/init.d/udev and it refuses to load if the version is <= 2.6.31 (which ours is). What I do is just convert the checking routine to this:

supported_kernel() {
case "$(uname -r)" in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.[12][0-9]|2.6.[12][0-9][!0-9]*) return 1 ;;
2.6.30|2.6.30[!0-9]*) return 1 ;;
esac
return 0
}

(basically check for .30 instead of .31).

Or you could just comment the resp. line. Problem is you might have to do that on every udev reboot.

Try that and let me know if it worked :)


Top
   
 Post subject:
PostPosted: Fri Nov 18, 2011 8:27 am 
Offline

Joined: Sat Nov 05, 2011 9:59 am
Posts: 59
Location: Bloomington, IL
I pasted the code you provided over the existing chunk in my /etc/init.d/udev file. So it now reads:
Code:
supported_kernel() {
case "$(uname -r)" in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.[12][0-9]|2.6.[12][0-9][!0-9]*) return 1 ;;
2.6.30|2.6.30[!0-9]*) return 1 ;;
esac
return 0
}
Same result with no keyboard/mouse working.

Other ideas?
~Jeff


Top
   
 Post subject:
PostPosted: Fri Nov 18, 2011 9:08 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Quote:
I pasted the code you provided over the existing chunk in my /etc/init.d/udev file. So it now reads:
Code:
supported_kernel() {
case "$(uname -r)" in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.[12][0-9]|2.6.[12][0-9][!0-9]*) return 1 ;;
2.6.30|2.6.30[!0-9]*) return 1 ;;
esac
return 0
}
Same result with no keyboard/mouse working.

Other ideas?
~Jeff
ah, sorry you should also run depmod -a in the chroot of the sd card.


Top
   
 Post subject:
PostPosted: Fri Nov 18, 2011 9:11 am 
Offline

Joined: Sat Nov 05, 2011 9:59 am
Posts: 59
Location: Bloomington, IL
Quote:
ah, sorry you should also run depmod -a in the chroot of the sd card.
Ahh - hopefully this is the missing piece on my puzzle. I will drop a post here letting me know if it worked out not when I get home from work in 6 hours or so.

~Jeff


Top
   
 Post subject:
PostPosted: Fri Nov 18, 2011 4:15 pm 
Offline

Joined: Sat Nov 05, 2011 9:59 am
Posts: 59
Location: Bloomington, IL
Alrighty - depmod is giving me some error messages due to the location of the kernel. It complains /lib/modules/2.6.31.14.20-efikamx doesn't exist.

Two lines with similar messages, one starts with WARNING and the other with FATAL

I copied over this entire folder from the /lib/modules folder on the Ubuntu install and this removed the error message but the keyboard and mouse still do not work after a reboot.

~Jeff


Top
   
 Post subject:
PostPosted: Sun Nov 20, 2011 4:23 pm 
Offline

Joined: Sat Nov 05, 2011 9:59 am
Posts: 59
Location: Bloomington, IL
Got this sorted with the help of a kernel provided by steev_ on IRC. Link to the download:

http://dev.gentoo.org/~steev/files/2.6. ... mx.tar.bz2

~Jeff


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 43 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group