code-google-com / raspberrypi-openwrt

Automatically exported from code.google.com/p/raspberrypi-openwrt
GNU General Public License v2.0
0 stars 0 forks source link

Easy way to compile latest RPI kernel 3.6.11 #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I got idea to easy compile latest RPI kernel 3.6.11

Download https://github.com/raspberrypi/linux/archive/rpi-3.6.y.zip

unpack it..

rename dir linux-rpi-3.6.y to linux-3.6.11

compress it to linux-3.6.11.tar.bz2

inserts it into openwrt-rpi/dl directory

now edit openwrt-rpi/target/linux/raspberrypi makefile and change kernel to 
3.6.11

create dir openwrt-rpi/target/linux/raspberrypi/patches-3.6

copy openwrt-rpi/target/linux/raspberrypi/config-3.1 to 
openwrt-rpi/target/linux/raspberrypi/config-3.6

goto openwrt-rpi/target/linux/generic

if does not exist directory patches-3.6 create it and dowload latest official 
openwrt

copy files from openwrt/target/linux/generic/patches-3.6

keep these files: (openwrt specific patches)

200-fix_localversion.patch                       621-sched_act_connmark.patch
201-extra_optimization.patch                     630-packet_socket_type.patch
202-reduce_module_size.patch                     640-bridge_no_eap_forward.patch
210-darwin_scripts_include.patch                 
641-bridge_always_accept_eap.patch
211-stddef_include.patch                         642-bridge_port_isolate.patch
212-byteshift_portability.patch                  
643-bridge_remove_ipv6_dependency.patch
220-module_exports.patch                         
644-bridge_optimize_netfilter_hooks.patch
230-openwrt_lzma_options.patch                   650-pppoe_header_pad.patch
250-netfilter_depends.patch                      651-wireless_mesh_header.patch
251-sound_kconfig.patch                          652-atm_header_changes.patch
252-mv_cesa_depends.patch                        653-disable_netlink_trim.patch
253-ssb_b43_default_on.patch                     655-increase_skb_pad.patch
254-textsearch_kconfig_hacks.patch               900-slab_maxsize.patch
255-lib80211_kconfig_hacks.patch                 910-kobject_uevent.patch
256-crypto_add_kconfig_prompts.patch             
911-kobject_add_broadcast_uevent.patch
257-wireless_ext_kconfig_hack.patch              
920-unable_to_open_console.patch
258-netfilter_netlink_kconfig_hack.patch         921-use_preinit_as_init.patch
260-move_bcm963xx_tag.patch                      930-crashlog.patch
600-netfilter_layer7_2.22.patch                  
940-ocf_kbuild_integration.patch
601-netfilter_layer7_pktmatch.patch              941-ocf_20120127.patch
602-netfilter_layer7_match.patch                 950-vm_exports.patch
603-netfilter_layer7_2.6.36_fix.patch            960-decompress_unlzo_fix.patch
604-netfilter_cisco_794x_iphone.patch            
970-remove-unsane-filenames-from-deps_initramfs-list.patch
610-netfilter_match_bypass_default_checks.patch  980-arm_openwrt_machtypes.patch
611-netfilter_match_bypass_default_table.patch   
992-mpcore_wdt_fix_watchdog_counter_loading.patch
612-netfilter_match_reduce_memory_access.patch   
993-mpcore_wdt_fix_wdioc_setoptions_handling.patch
613-netfilter_optional_tcp_window_check.patch    
994-mpcore_wdt_fix_timer_mode_setup.patch
620-sched_esfq.patch

others Erase..

copy config-3.6 from latest openwrt

now go to root of build and 

make target/linux/{clean,prepare} V=99

make kernel_oldconfig

make kernel_menuconfig and configure kernel

make V=99 and compile

and you are done ;)

I have an older version of raspberrypi-openwrt I think now moved directory 
openwrt-rpi/target/linux/raspberrypi to other location..

Excuse my English..

Arsi

Original issue reported on code.google.com by arsi...@gmail.com on 8 May 2013 at 8:13

GoogleCodeExporter commented 9 years ago
Hello Arsi,

thanks a lot for that description.
However, I am not certain wheter I understand everything in detail.

First Question: Could you please build an new image with the latest kernel and 
upload it? That would be awesome!

Second one: I think you checked out the raspberrypi-openwrt svn (on this site 
here?) and run all your commands on your host pc (i.e. an Ubuntu machine?). Is 
that true?
Or did you download the trunk from openwrt directly and worked on that?

Thanks a lot!

Original comment by Xenomorp...@gmail.com on 4 Jun 2013 at 6:12