OpenWrt Forum Archive

Topic: Compile for ARM926EJ based board

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have a ARM926EJ based soc board that is not currently running (and won't?) openwrt. I want to install some of the openwrt compiled binaries and also maybe crosscompile some others. I am familiar with cross compiling from the openwrt toolchain already.
My question is if there is there a router already profiled that is based on that chip that I can select as my target?
Here is the cpuinfo:

# cat /proc/cpuinfo                                                                                                    
Processor       : ARM926EJ-S rev 5 (v5l)                                                                               
BogoMIPS        : 159.74                                                                                               
Features        : swp half fastmult edsp java                                                                          
CPU implementer : 0x41                                                                                                 
CPU architecture: 5TE                                                                                                  
CPU variant     : 0x1                                                                                                  
CPU part        : 0x926                                                                                                
CPU revision    : 5                                                                                                    
                                                                                                                       
Hardware        : Marvell FFxAV                                                                                        
Revision        : 0000                                                                                                 
Serial          : 0000000000000000                                                                                     
# 

and uname:

# uname -a                                                                                                             
Linux OBi202 2.6.30.10 #mvl-88E7251-0.4a-rc14 PREEMPT Fri Apr 11 16:39:14 PDT 2014 armv5tejl GNU/Linux                 
# 

If there is relevant information that I left out I can post that too.

(Last edited by firesam on 17 Sep 2014, 18:57)

Perhaps, this will help.

That does help. thanks.
Let's see if it gets me where I want. I am used to openwrt system so I am trying it this way but I really need to (cross)compile RTL8192CU kernel module for a non-openwrt system...

# insmod /mnt/hdd/bin/rtl/data/lib/modules/3.3.8/rtl8192cu.ko                                                          
rtl8192cu: version magic '3.3.8 mod_unload ARMv5 ' should be '2.6.30.10 preempt mod_unload ARMv5 '                     
insmod: can't insert '/mnt/hdd/bin/rtl/data/lib/modules/3.3.8/rtl8192cu.ko': invalid module format                     
# 

this means that I need to use older kernel headers? How can I direct openwrt buildroot for that?

(Last edited by firesam on 17 Sep 2014, 18:56)

The discussion might have continued from here.