Coder Social home page Coder Social logo

kostascc / easybox-904-xdsl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quallenauge/easybox-904-xdsl

0.0 2.0 0.0 577.08 MB

Fork of openwrt with vendor specific changes from open sourced firmware 3.10.

License: GNU General Public License v2.0

Makefile 15.39% Awk 0.02% Shell 7.36% C 61.21% Assembly 0.37% Perl 1.29% C++ 5.83% M4 1.17% CMake 0.01% Prolog 0.75% Lex 0.06% Yacc 0.13% Python 0.14% Roff 6.26% Objective-C 0.01%

easybox-904-xdsl's Introduction

This is the buildsystem for the OpenWrt Linux distribution.

Please use "make menuconfig" to choose your preferred configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl, make, find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions defined in feeds.conf / feeds.conf.default respectively and "./scripts/feeds install -a" to install symlinks of all of them into package/feeds/.

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware. It will download all sources, build the cross-compile toolchain, the kernel and all choosen applications.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system (case-sensitive filesystem required). Cygwin will not be supported because of the lack of case sensitiveness in the file system.

Sunshine! Your OpenWrt Community http://www.openwrt.org

EasyBox 904 Notes

The project is intended to use the EasyBox as simple IOT device with only network support. It is possible to make use all of the 5 ports of the switch and run some services.

There fore it is useful to connect to the board via serial adapter. (Of course you need the unlocked uboot, see https://forum.openwrt.org/viewtopic.php?pid=284534#p284534 how to flash).

Compilation

Build Instructions

git clone https://github.com/Quallenauge/Easybox-904-XDSL.git Easybox-904-XDSL
cd Easybox-904-XDSL
./scripts/feeds update && ./scripts/feeds install -a
cp vr9_default.config .config
make oldconfig
make V=s

The resulting image can be found on bin/targets/lantiq/xrx200/openwrt-lantiq-xrx200-lantiq_vgv952cjw33-e-ir-squashfs-rootfs-ubinized.bin

Prebuilts

There are some snapshots from the current build. Please refer this link for details.

Installing

Refer Install instructions at the openwrt wiki as base. Lately it seems, the fullimage.img doesn't work right now, please use the newest one from: fullimage.img .

Tips&Tricks

UBoot

A compile able uboot is integrated in the master-lede branch. It is untested! A working uboot can be compiled when using this branch: https://github.com/Quallenauge/Easybox-904-XDSL/tree/master.

It is modified to accept all provided passwords in the same way the one at the openwrt post is used. As addition the bootnum functionality is disabled to save some uboot settings re-flash cycles at boot. Also the network is always switched on, to support boot over tftp per default.

A prebuilt one can be found here.

Stock-Rootfs from sdcard

The uboot environment variables has to be modified in the following way, assuming the rootfs is of type ext2 and is stored at sda1.

setenv addbootargs setenv bootargs \\${bootargs} root=/dev/sda1 rootdelay=7 init=/etc/preinit rootfstype=ext2
setenv bootflash nand read.e \\$(loadaddr) \\$(f\_kernel\_addr) \\$(f\_kernel\_size) \\; run addip addmisc addbootargs \\; bootm \\$(loadaddr)
setenv bootcmd run bootflash
saveenv

Manual installing a customized kernel

The kernel is updated via (assume the uImage is in the current path, PLEASE refer to the ToDos at openwrt to avoid bricks https://openwrt.org/toh/astoria/arcadyan_astoria_easybox_904xdsl_r01?s[]=arcadyan&s[]=astoria&s[]=easybox&s[]=904xdsl#installing_openwrt

flash_eraseall /dev/mtd2
nandwrite -p /dev/mtd2 uImage

The memory card should have a partition which contains the rootfs. The partition should correspond to the uboot root setting (e.g. /dev/sda1).

easybox-904-xdsl's People

Contributors

acinonyx avatar acoul avatar blogic avatar chunkeey avatar claudyus avatar commodo avatar dangowrt avatar dedeckeh avatar diizzyy avatar embeem avatar ffainelli avatar hauke avatar jow- avatar juhosg avatar kaloz avatar kanjimonster avatar larsclausen avatar ldir-edb0 avatar lperkov avatar mkresin avatar nbd168 avatar neocturne avatar noltari avatar pepe2k avatar rmilecki avatar rwhitby avatar stintel avatar teknoraver avatar wigyori avatar yousong avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.