Page 1 of 1

Re: OpenWRT

Posted: Wed Oct 26, 2011 1:10 pm
by ukscone
Someone (projectgus) has ported OpenWRT to the Zipit Z2 which is an ARMv5 based device (PXA270) and I was thinking it might be nice to port it to the raspberry pi. It has a very small ram and storage footprint and a reasonable package repository.

Info on the Zipit port can be found here (disclaimer: my blog with a link to the real site -- i need/want the hits :D ) http://russelldavis.org/2011/1.....-zipit-z2/

Re: OpenWRT

Posted: Wed Oct 26, 2011 4:17 pm
by nullstring
Although it's not a terrible idea, openwrt is designed for devices which less ram and alot less filespace then the RPI.

I am more looking forward to using archlinuxarm on my RPI.

Re: OpenWRT

Posted: Fri Oct 28, 2011 5:28 pm
by Thunder__X
Quote from ukscone on October 26, 2011, 14:10
Someone (projectgus) has ported OpenWRT to the Zipit Z2 which is an ARMv5 based device (PXA270) and I was thinking it might be nice to port it to the raspberry pi. It has a very small ram and storage footprint and a reasonable package repository.

Info on the Zipit port can be found here (disclaimer: my blog with a link to the real site -- i need/want the hits :D ) http://russelldavis.org/2011/1.....-zipit-z2/

Speaking of routers and firmware, would it be possible to modify code on Debian or if someone ports Dd-wrt or Open-wrt to change PI's 10/100 ethernet into a wan port and use a usb wireless transmitter to turn the PI into a mini router?

Re: OpenWRT

Posted: Fri Oct 28, 2011 10:42 pm
by obarthelemy
There isn't really a need to modify code to do that, Debian, or pretty much any linux distro, can run as a router. Apart from configuration, the hardest part will be finding a usb stick which has ARM drivers *and* can act as an access point (unless you're OK with ad-hoc only)

Re: OpenWRT

Posted: Sat Oct 29, 2011 11:40 pm
by ukscone
I have been messing around with the openwrt build system and built a version that works for armv6 so it should work on the raspi and be pretty light and fast. just need to wait until i get hold of the real hardware to just tweak it up a bit and get the kernel configured for the real hardware too

Re: OpenWRT

Posted: Fri Jun 08, 2012 10:53 am
by markc
There is also another openwrt on raspberrypi project here...

https://github.com/derlunz/openwrt-raspberrypi

To me, the point about openwrt above and beyond other more standard distros is its lighter use of ram because of uClibc. I also like the concept of producing an 8Mb to 16Mb single "firmware" that is functionally complete and remarkably bloat-free compared to a 1Gb to 3Gb set of packages. Openwrt will run a very complete server in 32Mb of ram so that makes for an EXCELLENT core system to then run Qt5 (in my case). I don't want a lot of "crap" in the non-gui core OS so a uClibc based busybox shell system is ideal to bootstrap whatever you want to throw at the gpu.

I would wager (any takers?) that openwrt + qt5 + wayland + egl drivers will out perform any other linux distro.

Re: OpenWRT

Posted: Sat Jun 16, 2012 5:06 pm
by NMaas
I would love to see an OpenWRT Port for the Rasp Pi.
Sadly I could not find an project which worked so far..

Greetings,

Nico

Re: OpenWRT

Posted: Sat Jun 23, 2012 8:57 pm
by arteq
Hello!

Here is a very early builds of OpenWrt for RPi -> ftp://artekw.cerbero.pl/openwrt/trunk/brcm2708

Simply write .img file to SD card and boot.

Re: OpenWRT

Posted: Sat Jun 23, 2012 9:52 pm
by clickykbd
Nice! Gonna give it a trial with my spare 1G sd card. :-)

Re: OpenWRT

Posted: Sun Jun 24, 2012 7:56 am
by NMaas
arteq wrote:Here is a very early builds of OpenWrt for RPi
Awesome!
I'm downloading, have been waiting for ages!
Thank you very much!

Nico

Re: OpenWRT

Posted: Sun Jun 24, 2012 10:28 am
by NMaas
Sadly I can't boot the card:
mmcblk0 error -110 sending stop command, orginal cmd response 0x900, card status 0x900
mmc0 final write to SD card still running
I tried it with no name as well as Samsung Cards :(

Re: OpenWRT

Posted: Sun Jun 24, 2012 11:45 am
by NMaas
ok i tested a little bit further, it does boot up, but keeps on showing these errors - so ain't completly right.
and dns / nslookup seems to be malfunctioning / not getting configured correctly from dhcp.
other than that, it does already look great!

and opkg does try to go to downloads.openwrt.org/snapshots/trunk/brcm2708 which does not exist (as openwrt hasn't included support for this, so thats true)

also, I would advise that you use the start_224.elf for the openwrt.
(rename to start.elf) so that 224 mb ram would be used for openwrt and about 32 for the gpu.

openwrt does use about 10 mb of ram in idle, so it is just awesome. I would love to get nginx, php-fpm and mysql-server running on that thing.

Thanks for your hard work already!

Re: OpenWRT

Posted: Tue Jun 26, 2012 10:45 pm
by clickykbd
mmcblk0 error -110 sending stop command, orginal cmd response 0x900, card status 0x900
mmc0 final write to SD card still running
I did manage to get mine to boot also (but with these same errors). Was using an old slow 1G card that came factory with my Canon Powershot. Will try some known good cards as soon as I move other projects off them.

Re: OpenWRT

Posted: Mon Jul 09, 2012 5:30 pm
by openberry
Hi,
The image is working fine on the Board. Thanks a lot.

I want to add more function myself.

Where I can get source to build the .img file

Thanks

Re: OpenWRT

Posted: Mon Jul 09, 2012 6:56 pm
by arteq
Sources OpenWrt you have at openwrt.org. Patches for RPi on OpenWrt mailing list.

Re: OpenWRT

Posted: Tue Jul 10, 2012 1:13 pm
by openberry
I got the openwrt source, and can build for other target( e.g. ar71xx).
Would you give more details for how to patches for Raspberry PI.

Thanks a lot

Re: OpenWRT

Posted: Tue Jul 10, 2012 6:05 pm
by arteq

Re: OpenWRT

Posted: Tue Jul 10, 2012 9:54 pm
by openberry
The link is not for rpi4.patch.tar.gz, it's linked to 14815-001.bin

Would you verify the link

Thanks again

Re: OpenWRT

Posted: Thu Jul 26, 2012 6:44 am
by minitweak
Would you still have a GUI accessible from the Pi's onboard video output or wpuld you have to SSH in or access the device from a web browser or other such idea. (I'm assuming so because we're using routerware on the Pi.)

Re: OpenWRT

Posted: Mon Jul 30, 2012 7:42 pm
by NMaas
There seems to be some new patches, version 5:
http://article.gmane.org/gmane.comp.emb ... i+patch+v5

Any new build maybe for us?


Thank you very much!

Re: OpenWRT

Posted: Fri Aug 17, 2012 12:00 pm
by NMaas
Little update: OpenWRT is not completly ready, but at http://code.google.com/p/raspberrypi-openwrt/
it is already working fantastic. Latest infos are given in the newsgroup here: https://groups.google.com/forum/?fromgr ... %5B1-25%5D

OpenWRT is working there without errors, but without all the news features from the real OpenWRT image / trunk. Problem with the orginal is, it does boot, but gives out huge amounts of SD Card errors all the time. And thats already solved in the google project posted above.

So, maybe that does help out others.
Thanks to juanRIOT for kicking my butt to write this down, I am in a lot of work at the moment, sorry!

Re: OpenWRT

Posted: Tue Aug 21, 2012 7:54 am
by richardgoh
Downloaded from google and is able to run openwrt on Raspbi but no packages are available.
Do I need to repoint opkg somewhere else?
Sorry quite new at this.
Anyone can help?
===
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/ ... ackages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ ... ackages.gz, wget returned 1.

Re: OpenWRT

Posted: Thu Aug 23, 2012 1:38 pm
by arteq
Some update.

I compile currently svn code and add support for SPI and I2C :)

Download from: ftp://artekw.cerbero.pl/openwrt/trunk/brcm2708/

Add some packages like nginx, apache, php5 and python do install via opkg. Simply:

opkg update
opkg install <package>

More info (in Polish) on http://openwrt.pl/doku.php/urzadzenia:raspberrypi

Re: OpenWRT

Posted: Fri Jan 03, 2014 4:08 am
by peterwillcn
Building GSM Networks with Open BTS In PI
http://www.raspberrypi.org/phpBB3/viewt ... 41&t=36400