Build OpenWrt / LEDE from source codes | [firmware] OpenWrt / LEDE compilation from source codes



Rep: (573)
OpenWrt / LEDE (General theme) | DD-WRT FIRMWARE | Collect bin (dump) for the programmer | Upgraded UBOOT loaders


Build OpenWrt / LEDE from source


Attached Image
This topic should be placed under the image and logs spoilerPicture


Description / What is discussed in the topic, and what is not
OpenWrt is an embedded Linux kernel-based operating system designed primarily for home routers. Core components include the Linux kernel, util-linux, uClibc or musl, and BusyBox. The source code is open. Distributed under licenseGNU GPL

The LEDE project is developed on the basis of Linux, an embedded meta-distribution based on OpenWRT, focused on a wide range of SOHO wireless routers and non-network devices. “Linux Embedded Development Environment”.
LEDE turned away from the parent project in May 2016, with the goal of continuing to develop better software in an open management model and encouraging new developers to contribute and development efforts.


  • This topic is intended to discuss the build process, discuss the components of the firmware for inclusion in the finished file for the firmware of your router and everything that is not related to the compilation of the firmware.
  • In this topicdon't discuss OpenWrt / LEDE settings, installation process of ready-made assemblies on your router. Questions like: "I installed OpenWrt and now I don’t know what to do, how to set up the Internet" is offtopic and will be deleted without any warnings. There is a general theme for such questions. OpenWrt / LEDE - alternative firmware

Initial instruction with pictures. Buildroot Build Method
Quick reminder for those who already know how to do it. Who is not in the theme, read below in detail
Fast downloads and all the steps to begin compiling
Download the desired branchfrom here and inserted before the first && then everything will be executed automatically
&& cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq


Cook faster team
19.07.4
git clone git: //github.com/openwrt/openwrt.git -b v19.07.4 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

19.07.3
git clone git: //github.com/openwrt/openwrt.git -b v19.07.3 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

19.07.2
git clone git: //github.com/openwrt/openwrt.git -b v19.07.2 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

19.07.1
git clone git: //github.com/openwrt/openwrt.git -b v19.07.1 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

19.07.0
git clone git: //github.com/openwrt/openwrt.git -b v19.07.0 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.7
git clone git: //github.com/openwrt/openwrt.git -b v18.06.7 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.6
git clone git: //github.com/openwrt/openwrt.git -b v18.06.6 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.5
git clone git: //github.com/openwrt/openwrt.git -b v18.06.5 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.4
git clone git: //github.com/openwrt/openwrt.git -b v18.06.4 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.3
git clone git: //github.com/openwrt/openwrt.git -b v18.06.3 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.2
git clone git: //github.com/openwrt/openwrt.git -b v18.06.2 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.1
git clone git: //github.com/openwrt/openwrt.git -b v18.06.1 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

18.06.0
git clone git: //github.com/openwrt/openwrt.git -b v18.06.0 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

17.01.6
git clone git: //github.com/openwrt/openwrt.git -b v17.01.6 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

17.01.5
git clone git: //github.com/openwrt/openwrt.git -b v17.01.5 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

17.01.4
git clone git: //github.com/openwrt/openwrt.git -b v17.01.4 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

17.01.3
git clone git: //github.com/openwrt/openwrt.git -b v17.01.3 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

17.01.2
git clone git: //github.com/openwrt/openwrt.git -b v17.01.2 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

17.01.1
git clone git: //github.com/openwrt/openwrt.git -b v17.01.1 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq

17.01.0
git clone git: //github.com/openwrt/openwrt.git -b v17.01.0 && cd ~ / openwrt && ./scripts/feeds update -a && ./scripts/feeds install -a && make prereq




All manipulations are done on a computer with linux (in our example it will be for Debian / Ubuntu)
First, install everything you need.

Open the console and copy the commands there.
sudo apt-get install subversion git

Further
sudo apt-get install g ++ libncurses5-dev zlib1g-dev gawk libssl-dev unzip make

Is done.

Next you need to download the source of the firmware (see spoilerGit-repositories of OpenWrt and LEDE projects )

Download the branch we need (in this example, it is OpenWrt v17.01.4)

git clone git: //github.com/openwrt/openwrt.git -b v17.01.4


Next, go to the directory so that we download. ~ / (Ie home, he's home directory) we created openwrt directory, you need to go into it to continue
cd ~ / openwrt /

In Ubuntu, you can:
Attached Image

Now you need to run
./scripts/feeds update -a


After the update process is completed, we perform
./scripts/feeds install -a

Almost everything is ready, then we perform
make prereq

If everything is ok, then there will be this message: Collecting package info: done
Starting the interface for selecting the firmware components (in the latest versions it appears automatically after the previous step)
make menuconfig

Moving through the points is done with the keyboard keys: up-down, space and esc.
Target system
Attached Image

Target Profile can be selected for the desired model, if you leave the default profile then a lot of compiled firmware will be created for all devices at once from the Target System profile
Attached Image

Now a few simple explanations:
We put the web-interface
Attached Image

Attached Image

Attached Image

and Russian language to him
Attached Image

Attached Image

Attached Image

To support L2TP, you need to select the xl2tpd package.
Attached Image

Attached Image

Attached Image

Also the necessary protocols pptp and so on are selected here:
Network --->
<*>ppp
<*>ppp-mod-pppoe
<*>ppp-mod-pppol2tp
<*>ppp-mod-pptp
Attached Image

Add busybox components:
Attached Image

Attached Image

Attached Image

Well, then be guided by your needs, remember that the place in the router is not rubber and you often need to keep within 4 mb., So do not overdo it.
When everything is finished, save our configuration with the button<Save>
We proceed to the assembly:
make

And for 4-core processor, to enable all cores, the team will be: (number of cores 1, and here it turns out -j5)
make -j5 V = -1

Attached Image

Waiting over half an hour find its firmware in the directory ~ / openwrt /bin

If the correct target is selected before the build, but the firmware is obtained in a size larger than the size allowed for the flash of your router - the files * sysupgrade.bin and * factory.bin will not be created.

Cleaning
make clean

Removes the contents of the bin and build_dir directories.

make dirclean

Removes the contents of the / bin and / build_dir directories, as well as the addition of / staging_dir and / toolchain (cross-compilation tools). 'Dirclean' is the main command for a thorough cleanup.

make distclean

Removes everything that you have collected or configured, and also removes everything downloaded from the repository and the source codes of the packages.
ATTENTION: Among other things, your build configuration (.config), your toolchain, and all other source codes will be erased. Use with caution!

Addresses of the repositories used are in the file feeds.conf.default

Git-repositories of OpenWrt and LEDE projects
19.07.4
git clone git: //github.com/openwrt/openwrt.git -b v19.07.4

19.07.3
git clone git: //github.com/openwrt/openwrt.git -b v19.07.3

19.07.2
git clone git: //github.com/openwrt/openwrt.git -b v19.07.2

19.07.1
git clone git: //github.com/openwrt/openwrt.git -b v19.07.1

19.07.0
git clone git: //github.com/openwrt/openwrt.git -b v19.07.0

18.06.7
git clone git: //github.com/openwrt/openwrt.git -b v18.06.7

18.06.6
git clone git: //github.com/openwrt/openwrt.git -b v18.06.6

18.06.5
git clone git: //github.com/openwrt/openwrt.git -b v18.06.5

18.06.4
git clone git: //github.com/openwrt/openwrt.git -b v18.06.4

18.06.3
git clone git: //github.com/openwrt/openwrt.git -b v18.06.3

18.06.2
git clone git: //github.com/openwrt/openwrt.git -b v18.06.2

18.06.1
git clone git: //github.com/openwrt/openwrt.git -b v18.06.1

18.06.0
git clone git: //github.com/openwrt/openwrt.git -b v18.06.0

17.01.6
git clone git: //github.com/openwrt/openwrt.git -b v17.01.6

17.01.5
git clone git: //github.com/openwrt/openwrt.git -b v17.01.5

17.01.4
git clone git: //github.com/openwrt/openwrt.git -b v17.01.4

17.01.3
git clone git: //github.com/openwrt/openwrt.git -b v17.01.3

17.01.2
git clone git: //github.com/openwrt/openwrt.git -b v17.01.2

17.01.1
git clone git: //github.com/openwrt/openwrt.git -b v17.01.1

17.01.0
git clone git: //github.com/openwrt/openwrt.git -b v17.01.0

15.05.1
git clone git: //github.com/openwrt/archive.git -b v15.05.1

15.05
git clone git: //github.com/openwrt/archive.git -b v15.05

14.07
git clone git: //github.com/openwrt/archive.git -b v14.07

12.09
git clone git: //github.com/openwrt/archive.git -b v12.09





Useful programs
WinSCPgraphical client SFTP and SCP
Settings for connecting to a router with LEDE (dropbear must be enabled)
Attached Image

Tftpd32
TFTP for Linux using Ubuntu as an example
Configure tftpd-hpa TFTP server

Install the tftpd-hpa package:
sudo apt-get install tftpd-hpa

After installation, edit the file
sudo nano / etc / default / tftpd-hpa
containing server settings. Let's bring it to the following form:

TFTP_USERNAME = "tftp"
TFTP_DIRECTORY = "/ var / tftp"
TFTP_ADDRESS = "0.0.0.0:69"
TFTP_OPTIONS = "- ipv4 --secure --create --umask 027 --permissive"


In the settings are additional options:
create allows the server to create new files,
ipv4 instructs it to wait for connections only on IPv4 addresses,
umask instructs to reset the write bit for the group and all access bits for other users,
permissive instructs not to carry out any file permissions checks in excess of the operating system.

Create a directory for the tftp server, give the server access to the directory:

sudo mkdir / var / tftp

sudo chown tftp: tftp / var / tftp


You can also change the home directory of the tftp user in the / etc / passwd file to / var / tftp.

Now we just write the ip addresses we need through the gnome network manager and that's it.

It remains to restart the daemon to start working with the new directory:
sudo /etc/init.d/tftpd-hpa restart


Instructions
Useful topics
OpenWrt project news


Post has been editedstp101 - 18.09.20, 23:04
Reason for editing: Issue OpenWrt 19.07.4



Rep: (133)
D-Link DIR-615 - Discussion (Post inak # 59387380)

Something on backup vrt.



Rep: (29)
Good morning!
Does someone run kernel_menuconfig? I do not, chews, chews something and falls out with an error that the terminal is skewing. I tried this:
make kernel_menuconfig CONFIG_TARGET = ar71xx
My device is TP-LINK TL-WDR3600. According to the documentation
make kernel_menuconfig CONFIG_TARGET = subtarget
CONFIG_TARGET allows you to select which config you want to edit. possible options: target, subtarget, env.
What is the subtarget & env?



Rep: (20)
Good day!
Please help.

I got a routerYouku YK-L1 MT7620A

Characteristics are as follows:
CPU MediaTek MT7620A ver 2, eco 6
RAM 128MB DDR2
Macronix Flash MX25L25635E @ 24MHz (32MB)
SD-CARD: 8Gb

The seller gives 2 firmware, one OpenWrt, the second LEDE.
In the first one, it sees half of the memory and does not see the SD card, in the second, everything connected with USB does not work and does not install packages from the repository.

I collected the firmware on the infe from this topic, but it does not work the constant reboot of the router.

Post has been editedshalunh - 24.01.18, 08:20
Reason for editing: editing data



Rep: (25)
* shalunh
and dts on the device is? or the log of your download, taken off uart "oh, well, as an information, after which it drops and how



Rep: (307)
shalunh @ 01/23/18, 10:36*
I purchased a router Youku YK-L1 MT7620A

Two twins Youku YK-L1, Youku YK-L1c
shalunh @ 01/23/18, 10:36*
In the first one sees half the memory and does not see the SD card.

Firmware for Youku YK-L1c
shalunh @ 01/23/18, 10:36*
In the second, everything connected with USB does not work

Firmware for Youku YK-L1

They have a different amount of memory.
To build the firmware for your router you need to edit
multiple files and create a dtc file of your device,hereYou can see how to do it.
Just noticed that there is a link to the corrected files.
Link.

Post has been editedvadim1963333 - 24.01.18, 01:05



Rep: (20)
* leksz97,

Solder UART wanted log. TPA - what is this?

I suspect that you need to adjust the target profile for my router, and how to do it I do not know.
By the way, the firmware of the younger brother YK-L1C (differs less memory instead of 64Mb 128Mb) is also not appropriate, too restart



Rep: (307)
shalunh @ 24.01.18, 12:23*
TPA - what is this?

The configuration file device ramips.
/ Openwrt / target / linux / ramips / dts /

[Attachment = "12020563: YK-L1.rar"]
[Attachment = "12020576: Snimok.png"]

shalunh @ 24.01.18, 12:23*
I suspect that you need to adjust the target profile for my router, and how to do it I do not know.

Download the firmware source code.
git clone git: //github.com/openwrt/archive.git -b v15.05.1

Next, go to the directory so that we download.
cd archive

./scripts/feeds update -a

./scripts/feeds install -a

Swingingarchive,
unpack, spread the files into folders
diag.sh
/ Archive / target / linux / ramips / base-files / etc /

platform.sh
/ Archive / target / linux / ramips / base-files / lib / upgrade /

ramips.sh
/ Archive / target / linux / ramips / base-files / lib /

YK-L1.dts
/ Archive / target / linux / ramips / dts /

Makefile
/ Archive / target / linux / ramips / image /

01_leds
/archive/target/linux/ramips/base-files/etc/board.d/

02_network
/archive/target/linux/ramips/base-files/etc/board.d/

YK-L1.mk
/ Archive / target / linux / ramips / mt7620 / profiles /

Further, the terminal to perform
rm -rf tmp

touch target / linux / * / Makefile

Further, according to the instructions of the cap, start the assembly.

It does not work due to mistakes when creating files:
YK-L1.dts, YK-L1.mk, 01_leds, Makefile in
archive
look here
Assembling OpenWrt / LEDE from source - Discussion (Post vadim1963333 # 69852343)


Post has been editedvadim1963333 - 16.02.18, 13:40



Rep: (0)
Hello! I would like to ask you for help, if possible. I have a router Zyxel Keenetic (first that, white) and I it is worth firmware NDMS v2.04 (BFW.9) C7 (which delta). Firmware upgrade is to interest me, but LEDE I have a problem due to lack of experience and lack of and Linux. I was flipping through the site and found there LEDE firmware for myself, but I'm afraid that nakosyachit and cut off the router. But first, I would like to know - it makes sense? I, of course, chasing performance, yes, and I would like to put a good firmware itself, in order to be satisfied.
If anyone can help with more detailed explanations, I have to do \ have, and will gather the firmware, then I'll be insanely grateful. Thanks!



Rep: (20)
vadim1963333 @ 24.01.18, 00:18*
They have a different amount of memory.
To build the firmware for your router you need to edit
multiple files and create dtc file on your device, you can see how to do.
Just noticed that there is a link to the corrected files.
Link.


I missed your post. On this subject the first encounter, why is poorly penetrated.



Rep: (20)
* vadim1963333,

Wow what kind of job you have done!

I try to collect.

vadim1963333 @ 24.01.18, 15:48*
git clone git: //github.com/openwrt/archive.git -b v15.05.1


vadim1963333 @ 24.01.18, 15:48*
sd archive

Fixed oncd archive

Further
Attached Image
Attached Image



I copy the files from the archive with the replacement.

vadim1963333 @ 24.01.18, 15:48*
rm -rf tmp

touch target / linux / * / Makefile

stp101 @ 25.04.17, 18:21*
make prereq

I get
Attached Image


And in the bildere no choice Media Library
Screen
Attached Image


Where I kosyachit?



Rep: (20)
I tried all the same to lede
git clone git: //github.com/openwrt/openwrt.git -b v17.01.4


I received this error
Attached Image

But there is also bildere library and percents 7620. Trying to collect on, look at the result



Rep: (25)
* shalunh
Why do you sozzdali maykfayly everywhere?



Rep: (241)
* ares6,
Assembling OpenWrt / LEDE from source - Discussion
but to call it good ... and sat back on ndms.



Rep: (20)
leksz97 @ 25.01.18, 16:22*
Why do you sozzdali maykfayly everywhere?

Good question, if I knew that even great) would answer it)
Did according to the instructions
instruction
vadim1963333 @ 24.01.18, 15:48*
Download the firmware source code.
git clone git: //github.com/openwrt/archive.git -b v15.05.1

Next, go to the directory so that we download.
sd archive

./scripts/feeds update -a

./scripts/feeds install -a

Download archive,
unpack, spread the files into folders
diag.sh
/ Archive / target / linux / ramips / base-files / etc /

platform.sh
/ Archive / target / linux / ramips / base-files / lib / upgrade /

ramips.sh
/ Archive / target / linux / ramips / base-files / lib /

YK-L1.dts
/ Archive / target / linux / ramips / dts /

Makefile
/ Archive / target / linux / ramips / image /

01_leds
/archive/target/linux/ramips/base-files/etc/board.d/

02_network
/archive/target/linux/ramips/base-files/etc/board.d/

YK-L1.mk
/ Archive / target / linux / ramips / mt7620 / profiles

Further, the terminal to perform
rm -rf tmp

touch target / linux / * / Makefile

Further, according to the instructions of the cap, start the assembly.



Post has been editedshalunh - 25.01.18, 16:31



Rep: (25)
* shalunh
the last two items the wrong doing in the next to make clean, and you can make dirclean, while in the latter you need to find what is called a profile of your device
and to finish it in a nano target / linux / ramips / image / mt7620.mk

define Device / youku, yk-l1
DTS: = YK-L1
IMAGE_SIZE: = $ (ralink_default_fw_size_32M)
DEVICE_TITLE: = YK-L1
endef
TARGET_DEVICES + = youku, yk-l1



Rep: (20)
leksz97 @ 25.01.18, 18:45*
* Shalunh,
the last two items the wrong doing in the next to make clean, and you can make dirclean, while in the latter you need to find what is called a profile of your device
and to finish it in a nano target / linux / ramips / image / mt7620.mk

define Device / youku, yk-l1
DTS: = YK-L1
IMAGE_SIZE: = $ (ralink_default_fw_size_32M)
DEVICE_TITLE: = YK-L1
endef
TARGET_DEVICES + = youku, yk-l1


do)
Anyway error
screen
Attached Image



Rep: (20)
vadim1963333 @ 25.01.18, 22:39*
Strictly according to the Scriptures well, except on a cd sd

I was looking for target system mediatek :(
But the error I still jumped out

By the way, yesterday's your link found earlier, shook out of it a few binaries, but Roth does not start ... yesterday tried again, nothing to do, until the compilation was found working openwrt from that site)



Rep: (20)
leksz97 @ 25.01.18, 18:45*
the last two items the wrong doing in the next to make clean, and you can make dirclean, while in the latter you need to find what is called a profile of your device
and to finish it in a nano target / linux / ramips / image / mt7620.mk

define Device / youku, yk-l1
DTS: = YK-L1
IMAGE_SIZE: = $ (ralink_default_fw_size_32M)
DEVICE_TITLE: = YK-L1
endef
TARGET_DEVICES + = youku, yk-l1


compilelede-ramips-mt7620-YK-L1-squashfs-sysupgrade.bin size of 3.75 MB (3,932,164 bytes) pour in Roth - reboot every 8-10 seconds ... :(



Rep: (20)
I do not understand anything.
Try and ubunta 16.04.3 and xubunta 16.04.3
doing all the points, but after
make prereg

getting an error
make prereg
WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!
make [1] prereg
make -r prereg: build failed. Please re-run make with -j1 V = s to see what's going on
/tmp/archive/include/toplevel.mk:181: the recipe for error В«preregВ» goal
make: *** [prereg] Error 1


What am I doing wrong?



Rep: (20)
Soldered UART. I removed the log start assembled firmware.

Start on 57600

Boot and Recovery Environment for Embedded Devices
Copyright (C) 2016 HackPascal<[email protected]>
Build date 2016-07-29 [git-5855789]
Version 1.0 (r928)

DRAM: 128MB
Platform: MediaTek MT7620A ver 2, eco 6
Board: Youku YK1
Clocks: CPU: 580MHz, Bus: 193MHz
Flash: Macronix MX25L25635E (32MB) on rt2880-spi
rt2880-eth: Using MAC address 54: 36: 9b: 0d: 88: b8
eth0: MediaTek MT7620A built-in 5-port 10 / 100M switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0x00050000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.
Image Name: MIPS OpenWrt Linux-4.9.77
Data Size: 1355360 Bytes
Load Address: 80000000
Entry Point: 80000000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x80000000 ...

[0.000000] Linux version 4.9.77 (sss @ sss-VirtualBox) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5952-cfdfa6d)) # 0 Fri Jan 26 11:55:14 2018
[0.000000] Board has DDR2
[0.000000] Analog PMU set to hw control
[0.000000] Digital PMU set to hw control
[0.000000] SoC Type: MediaTek MT7620A ver: 2 eco: 6
[0.000000] bootconsole [early0] enabled
[0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[0.000000] MIPS: machine is YouKu Black 32M
[0.000000] Determined physical RAM map:
[0.000000] memory: 08000000 @ 00000000 (usable)
[0.000000] Initrd not found or empty - disabling initrd
[0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[0.000000] Zone ranges:
[0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[0.000000] Movable zone start for each node
[0.000000] Early memory node ranges
[0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[0.000000] Kernel command line: console = ttyS0,115200 rootfstype = squashfs, jffs2
[0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[0.000000] Dentry cache hash table entries: 16384 (order: 4, 65,536 bytes)
[0.000000] Inode-cache hash table entries: 8192 (order: 3, 32,768 bytes)
[0.000000] Writing ErrCtl register = 0002eabe
[0.000000] Readback ErrCtl register = 0002eabe
[0.000000] Memory: 125404K / 131072K available (3149K kernel code, 159K rwdata, 756K rodata, 152K init, 217K bss, 5668K reserved, 0K cma-reserved)
[0.000000] SLUB: HWalign = 32, Order = 0-3, MinObjects = 0, CPUs = 1, Nodes = 1
[0.000000] NR_IRQS: 256
[0.000000] CPU Clock: 580MHz
[0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[0.000000] systick: enable autosleep mode
[0.000000] systick: running - mult: 214748, shift: 32
[0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[0.015459] Calibrating delay loop ... 385.84 BogoMIPS (lpj = 1,929,216)
[0.080611] pid_max: default: 32768 minimum: 301
[0.089918] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.102949] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.123653] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[0.143138] futex hash table entries: 256 (order: -1, 3072 bytes)
[0.155284] pinctrl core: initialized pinctrl subsystem
[0.166252] NET: Registered protocol family 16
[0.436877] mt7620-pci 10140000.pcie: PCIE0 no card, disable it (RST & CLK)
[0.450101] mt7620-pci: probe of 10140000.pcie failed with error -1
[0.475932] rt2880_gpio 10000600.gpio: registering 24 gpios
[0.486976] rt2880_gpio 10000600.gpio: registering irq handlers 24
[0.499539] rt2880_gpio 10000638.gpio: registering 16 gpios
[0.510534] rt2880_gpio 10000638.gpio: registering irq handlers 16
[0.523080] rt2880_gpio 10000660.gpio: registering 32 gpios
[0.534071] rt2880_gpio 10000660.gpio: registering irq handlers 32
[0.546626] rt2880_gpio 10000688.gpio: registering one gpios
[0.557443] rt2880_gpio 10000688.gpio: registering one irq handlers
[0.573519] clocksource: Switched to clocksource systick
[0.585259] NET: Registered protocol family 2
[0.594740] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[0.608512] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[0.621107] TCP: Hash tables configured (established in 1024 bind 1024)
[0.633830] UDP hash table entries: 256 (order: 0, 4096 bytes)
[0.645360] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[0.658051] NET: Registered protocol family 1
[0.668862] rt-timer 10000100.timer: maximum frequency is 1220Hz
[0.681597] Crashlog allocated RAM at address 0x3f00000
[0.693025] workingset: timestamp_bits = 30 max_order = 15 bucket_order = 0
[0.713972] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[0.725449] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[0.753295] io scheduler noop registered
[0.760993] io scheduler deadline registered (default)
[0.771383] ralink-usbphy usbphy: invalid resource
[0.781546] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[0.795211] console [ttyS0] disabled
! - -) ko -N - - H 10000c00.uartlite:?? TtyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103


Hence, the speed is changed to 115200

[0.821969] console [ttyS0] enabled
[0.829023] bootconsole [early0] disabled
[0.829023] bootconsole [early0] disabled
[0.841408] spi spi0.0: force spi mode3
[0.846171] m25p80 spi0.0: found mx25l25635e, expected w25q128
[0.852209] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[0.857464] 4 ofpart partitions found on MTD device spi0.0
[0.863058] Creating 4 MTD partitions on "spi0.0":
[0.867969] 0x000000000000-0x000000030000: "u-boot"
[0.874779] 0x000000030000-0x000000040000: "u-boot-env"
[0.882009] 0x000000040000-0x000000050000: "factory"
[0.889074] 0x000000050000-0x000002000000: "firmware"
[1.070861] 2 uimage-fw partitions found on MTD device firmware
[1.076955] 0x000000050000-0x00000019aea0: "kernel"
[1.083747] 0x00000019aea0-0x000002000000: "rootfs"
[1.090571] mtd: device 5 (rootfs) set to be root filesystem
[1.096984] 1 squashfs-split partitions found on MTD device rootfs
[1.103314] 0x000000400000-0x000002000000: "rootfs_data"
[1.111134] libphy: Fixed MDIO Bus: probed
[1.115959] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; can not claim for 10100000.ethernet
[1.126048] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
[1.132893] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy on device rt2880-pinmux
[1.142846] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
[1.150948] mtk_soc_eth: probe of 10100000.ethernet failed with error -22
[1.158342] rt2880_wdt 10000120.watchdog: Initialized
[1.164674] NET: Registered protocol family 10
[1.173354] NET: Registered protocol family 17
[1.178032] 8021q: 802.1Q VLAN Support v1.8
[1.201329] VFS: Mounted root (squashfs filesystem) readonly on device 31: 5.
[1.209412] Freeing unused kernel memory: 152K
[1.213979] This architecture does not have kernel memory protection.
[2.649358] init: Console is alive
[2.653066] init: - watchdog -
[2.656253] random: fast init done
[4.498087] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[4.806337] usbcore: registered new interface driver usbfs
[4.812085] usbcore: registered new interface driver hub
[4.817685] usbcore: registered new device driver usb
[4.828743] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[4.837194] ehci-platform: EHCI generic platform driver
[4.852893] phy phy-usbphy.0: remote usb device wakeup disabled
[4.858957] phy phy-usbphy.0: UTMI 16bit 30MHz
[4.863536] ehci-platform 101c0000.ehci: EHCI Host Controller
[4.869434] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[4.877661] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[4.894178] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[4.901651] hub 1-0: 1.0: USB hub found
[4.905894] hub 1-0: 1.0: 1 port detected
[4.912983] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[4.920808] ohci-platform: OHCI generic platform driver
[4.926501] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[4.933463] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[4.941686] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[4.975650] hub 2-0: 1.0: USB hub found
[4.979816] hub 2-0: 1.0: 1 port detected
[4.987608] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[4.996230] init: - preinit -
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
/ Etc / preinit: line 1: ramips_board_name: not found
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
/ Etc / preinit: line 1: ramips_board_name: not found
[8.459875] jffs2: notice: (348) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[8.478591] mount_root: switching to jffs2 overlay
[8.525223] urandom-seed: Seeding with /etc/urandom.seed
[8.659361] procd: - early -
[8.662412] procd: - watchdog -
[9.083307] procd: - watchdog -
[9.086809] procd: - ubus -
[9.309001] procd: - init -
Please press Enter to activate this console.
[9.827605] kmodloader: loading kernel modules from /etc/modules.d/*
[9.847700] l2tp_core: L2TP core driver, V2.0
[9.854038] l2tp_netlink: L2TP netlink interface
[9.860751] gre: GRE over IPv4 demultiplexor driver
[9.867946] ip_gre: GRE over IPv4 tunneling driver
[9.892640] ip6_tables: (C) 2000-2006 Netfilter Core Team
[9.928331] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[9.936507] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[9.992145] ip_tables: (C) 2000-2006 Netfilter Core Team
[10.010510] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[10.122570] xt_time: kernel timezone is -0000
[10.203680] PPP generic driver version 2.4.2
[10.211084] PPP MPPE Compression module registered
[10.217687] NET: Registered protocol family 24
[10.224209] PPTP driver version 0.8.5
[10.243220] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[10.270284] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[10.277677] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[10.285666] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset detected 7620
[10.315226] kmodloader: done loading kernel modules from /etc/modules.d/*



Then Roth just hanging. All indicators are off

It turned out that through uart console available. I waited a little longer

console [ttyS0] enabled
[0.821974] console [ttyS0] enabled
[0.829029] bootconsole [early0] disabled
[0.829029] bootconsole [early0] disabled
[0.841414] spi spi0.0: force spi mode3
[0.846177] m25p80 spi0.0: found mx25l25635e, expected w25q128
[0.852215] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[0.857470] 4 ofpart partitions found on MTD device spi0.0
[0.863064] Creating 4 MTD partitions on "spi0.0":
[0.867975] 0x000000000000-0x000000030000: "u-boot"
[0.874784] 0x000000030000-0x000000040000: "u-boot-env"
[0.882014] 0x000000040000-0x000000050000: "factory"
[0.889079] 0x000000050000-0x000002000000: "firmware"
[1.070867] 2 uimage-fw partitions found on MTD device firmware
[1.076961] 0x000000050000-0x00000019aea0: "kernel"
[1.083750] 0x00000019aea0-0x000002000000: "rootfs"
[1.090574] mtd: device 5 (rootfs) set to be root filesystem
[1.096987] 1 squashfs-split partitions found on MTD device rootfs
[1.103317] 0x000000400000-0x000002000000: "rootfs_data"
[1.111137] libphy: Fixed MDIO Bus: probed
[1.115962] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; can not claim for 10100000.ethernet
[1.126051] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
[1.132896] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy on device rt2880-pinmux
[1.142849] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
[1.150951] mtk_soc_eth: probe of 10100000.ethernet failed with error -22
[1.158345] rt2880_wdt 10000120.watchdog: Initialized
[1.164677] NET: Registered protocol family 10
[1.173357] NET: Registered protocol family 17
[1.178036] 8021q: 802.1Q VLAN Support v1.8
[1.201333] VFS: Mounted root (squashfs filesystem) readonly on device 31: 5.
[1.209417] Freeing unused kernel memory: 152K
[1.213982] This architecture does not have kernel memory protection.
[2.649453] init: Console is alive
[2.653154] init: - watchdog -
[2.656339] random: fast init done
[4.497604] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[4.805890] usbcore: registered new interface driver usbfs
[4.811644] usbcore: registered new interface driver hub
[4.817243] usbcore: registered new device driver usb
[4.828286] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[4.836741] ehci-platform: EHCI generic platform driver
[4.852439] phy phy-usbphy.0: remote usb device wakeup disabled
[4.858504] phy phy-usbphy.0: UTMI 16bit 30MHz
[4.863068] ehci-platform 101c0000.ehci: EHCI Host Controller
[4.868986] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[4.877213] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[4.893878] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[4.901350] hub 1-0: 1.0: USB hub found
[4.905590] hub 1-0: 1.0: 1 port detected
[4.912673] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[4.920488] ohci-platform: OHCI generic platform driver
[4.926182] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[4.933143] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[4.941365] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[4.975333] hub 2-0: 1.0: USB hub found
[4.979498] hub 2-0: 1.0: 1 port detected
[4.987287] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[4.995908] init: - preinit -
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
/ Etc / preinit: line 1: ramips_board_name: not found
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
/ Etc / preinit: line 1: ramips_board_name: not found
[8.106518] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[8.147910] urandom-seed: Seed file not found (/etc/urandom.seed)
[8.264989] procd: - early -
[8.268861] procd: - watchdog -
[8.682000] procd: - watchdog -
[8.685604] procd: - ubus -
[8.906037] procd: - init -
Please press Enter to activate this console.
[9.391379] kmodloader: loading kernel modules from /etc/modules.d/*
[9.411090] l2tp_core: L2TP core driver, V2.0
[9.417541] l2tp_netlink: L2TP netlink interface
[9.424201] gre: GRE over IPv4 demultiplexor driver
[9.431391] ip_gre: GRE over IPv4 tunneling driver
[9.458059] ip6_tables: (C) 2000-2006 Netfilter Core Team
[9.487443] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[9.495686] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[9.556657] ip_tables: (C) 2000-2006 Netfilter Core Team
[9.574091] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[9.685484] xt_time: kernel timezone is -0000
[9.766098] PPP generic driver version 2.4.2
[9.773469] PPP MPPE Compression module registered
[9.780182] NET: Registered protocol family 24
[9.786673] PPTP driver version 0.8.5
[9.805766] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[9.832955] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[9.840420] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[9.848346] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset detected 7620
[9.877920] kmodloader: done loading kernel modules from /etc/modules.d/*
[19.212803] jffs2_scan_eraseblock (): End of filesystem marker found at 0x0
[19.219930] jffs2_build_filesystem (): unlocking the mtd device ... [19.226129] done.
[19.228094] jffs2_build_filesystem (): erasing all blocks after the end marker ... [124.471963] random: crng init done
[212.859546] done.
[212.861562] jffs2: notice: (1009) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.



BusyBox v1.27.2 () built-in shell (ash)

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
| __ | W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r5952-cfdfa6d
-----------------------------------------------------
=== WARNING! =======================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root @ OpenWrt: / # demsg
/ Bin / ash: demsg: not found
root @ OpenWrt: / # ls
bin etc mnt proc root sys usr www
dev lib overlay rom sbin tmp var
root @ OpenWrt: / # dmesg
[0.000000] Linux version 4.9.77 (sss @ sss-VirtualBox) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5952-cfdfa6d)) # 0 Fri Jan 26 11:55:14 2018
[0.000000] Board has DDR2
[0.000000] Analog PMU set to hw control
[0.000000] Digital PMU set to hw control
[0.000000] SoC Type: MediaTek MT7620A ver: 2 eco: 6
[0.000000] bootconsole [early0] enabled
[0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[0.000000] MIPS: machine is YouKu Black 32M
[0.000000] Determined physical RAM map:
[0.000000] memory: 08000000 @ 00000000 (usable)
[0.000000] Initrd not found or empty - disabling initrd
[0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[0.000000] Zone ranges:
[0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[0.000000] Movable zone start for each node
[0.000000] Early memory node ranges
[0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[0.000000] On node 0 totalpages: 32768
[0.000000] free_area_init_node: node 0, pgdat 803f6e94, node_mem_map 81000020
[0.000000] Normal zone: 256 pages used for memmap
[0.000000] Normal zone: 0 pages reserved
[0.000000] Normal zone: 32,768 pages, LIFO batch: 7
[0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc = 1 * 32768
[0.000000] pcpu-alloc: [0] 0
[0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[0.000000] Kernel command line: console = ttyS0,115200 rootfstype = squashfs, jffs2
[0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[0.000000] Dentry cache hash table entries: 16384 (order: 4, 65,536 bytes)
[0.000000] Inode-cache hash table entries: 8192 (order: 3, 32,768 bytes)
[0.000000] Writing ErrCtl register = 0002eab4
[0.000000] Readback ErrCtl register = 0002eab4
[0.000000] Memory: 125404K / 131072K available (3149K kernel code, 159K rwdata, 756K rodata, 152K init, 217K bss, 5668K reserved, 0K cma-reserved)
[0.000000] SLUB: HWalign = 32, Order = 0-3, MinObjects = 0, CPUs = 1, Nodes = 1
[0.000000] NR_IRQS: 256
[0.000000] CPU Clock: 580MHz
[0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[0.000000] systick: enable autosleep mode
[0.000000] systick: running - mult: 214748, shift: 32
[0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[0.015459] Calibrating delay loop ... 385.84 BogoMIPS (lpj = 1,929,216)
[0.080613] pid_max: default: 32768 minimum: 301
[0.089920] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.102951] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.123655] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[0.143139] futex hash table entries: 256 (order: -1, 3072 bytes)
[0.155285] pinctrl core: initialized pinctrl subsystem
[0.166254] NET: Registered protocol family 16
[0.436879] mt7620-pci 10140000.pcie: PCIE0 no card, disable it (RST & CLK)
[0.450104] mt7620-pci: probe of 10140000.pcie failed with error -1
[0.475934] rt2880_gpio 10000600.gpio: registering 24 gpios
[0.486979] rt2880_gpio 10000600.gpio: registering irq handlers 24
[0.499541] rt2880_gpio 10000638.gpio: registering 16 gpios
[0.510536] rt2880_gpio 10000638.gpio: registering irq handlers 16
[0.523082] rt2880_gpio 10000660.gpio: registering 32 gpios
[0.534072] rt2880_gpio 10000660.gpio: registering irq handlers 32
[0.546627] rt2880_gpio 10000688.gpio: registering one gpios
[0.557444] rt2880_gpio 10000688.gpio: registering one irq handlers
[0.573520] clocksource: Switched to clocksource systick
[0.585260] NET: Registered protocol family 2
[0.594741] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[0.608513] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[0.621108] TCP: Hash tables configured (established in 1024 bind 1024)
[0.633831] UDP hash table entries: 256 (order: 0, 4096 bytes)
[0.645361] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[0.658052] NET: Registered protocol family 1
[0.666623] PCI: CLS 0 bytes, default 32
[0.668862] rt-timer 10000100.timer: maximum frequency is 1220Hz
[0.681597] Crashlog allocated RAM at address 0x3f00000
[0.693025] workingset: timestamp_bits = 30 max_order = 15 bucket_order = 0
[0.713972] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[0.725449] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[0.753294] io scheduler noop registered
[0.760993] io scheduler deadline registered (default)
[0.771383] ralink-usbphy usbphy: invalid resource
[0.781546] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[0.795211] console [ttyS0] disabled
[0.802202] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[0.821974] console [ttyS0] enabled
[0.829029] bootconsole [early0] disabled
[0.841414] spi spi0.0: force spi mode3
[0.846177] m25p80 spi0.0: found mx25l25635e, expected w25q128
[0.852215] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[0.857470] 4 ofpart partitions found on MTD device spi0.0
[0.863064] Creating 4 MTD partitions on "spi0.0":
[0.867975] 0x000000000000-0x000000030000: "u-boot"
[0.874784] 0x000000030000-0x000000040000: "u-boot-env"
[0.882014] 0x000000040000-0x000000050000: "factory"
[0.889079] 0x000000050000-0x000002000000: "firmware"
[1.070867] 2 uimage-fw partitions found on MTD device firmware
[1.076961] 0x000000050000-0x00000019aea0: "kernel"
[1.083750] 0x00000019aea0-0x000002000000: "rootfs"
[1.090574] mtd: device 5 (rootfs) set to be root filesystem
[1.096987] 1 squashfs-split partitions found on MTD device rootfs
[1.103317] 0x000000400000-0x000002000000: "rootfs_data"
[1.111137] libphy: Fixed MDIO Bus: probed
[1.115962] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; can not claim for 10100000.ethernet
[1.126051] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
[1.132896] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy on device rt2880-pinmux
[1.142849] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
[1.150951] mtk_soc_eth: probe of 10100000.ethernet failed with error -22
[1.158345] rt2880_wdt 10000120.watchdog: Initialized
[1.164677] NET: Registered protocol family 10
[1.173357] NET: Registered protocol family 17
[1.178036] 8021q: 802.1Q VLAN Support v1.8
[1.201333] VFS: Mounted root (squashfs filesystem) readonly on device 31: 5.
[1.209417] Freeing unused kernel memory: 152K
[1.213982] This architecture does not have kernel memory protection.
[2.649453] init: Console is alive
[2.653154] init: - watchdog -
[2.656339] random: fast init done
[4.497604] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[4.805890] usbcore: registered new interface driver usbfs
[4.811644] usbcore: registered new interface driver hub
[4.817243] usbcore: registered new device driver usb
[4.828286] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[4.836741] ehci-platform: EHCI generic platform driver
[4.852439] phy phy-usbphy.0: remote usb device wakeup disabled
[4.858504] phy phy-usbphy.0: UTMI 16bit 30MHz
[4.863068] ehci-platform 101c0000.ehci: EHCI Host Controller
[4.868986] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[4.877213] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[4.893878] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[4.901350] hub 1-0: 1.0: USB hub found
[4.905590] hub 1-0: 1.0: 1 port detected
[4.912673] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[4.920488] ohci-platform: OHCI generic platform driver
[4.926182] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[4.933143] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[4.941365] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[4.975333] hub 2-0: 1.0: USB hub found
[4.979498] hub 2-0: 1.0: 1 port detected
[4.987287] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[4.995908] init: - preinit -
[8.106518] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[8.147910] urandom-seed: Seed file not found (/etc/urandom.seed)
[8.264989] procd: - early -
[8.268861] procd: - watchdog -
[8.682000] procd: - watchdog -
[8.685604] procd: - ubus -
[8.906037] procd: - init -
[9.391379] kmodloader: loading kernel modules from /etc/modules.d/*
[9.411090] l2tp_core: L2TP core driver, V2.0
[9.417541] l2tp_netlink: L2TP netlink interface
[9.424201] gre: GRE over IPv4 demultiplexor driver
[9.431391] ip_gre: GRE over IPv4 tunneling driver
[9.458059] ip6_tables: (C) 2000-2006 Netfilter Core Team
[9.487443] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[9.495686] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[9.556657] ip_tables: (C) 2000-2006 Netfilter Core Team
[9.574091] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[9.685484] xt_time: kernel timezone is -0000
[9.766098] PPP generic driver version 2.4.2
[9.773469] PPP MPPE Compression module registered
[9.780182] NET: Registered protocol family 24
[9.786673] PPTP driver version 0.8.5
[9.805766] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[9.832955] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[9.840420] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[9.848346] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset detected 7620
[9.856097] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[9.877920] kmodloader: done loading kernel modules from /etc/modules.d/*
[19.212803] jffs2_scan_eraseblock (): End of filesystem marker found at 0x0
[19.219930] jffs2_build_filesystem (): unlocking the mtd device ...
[19.226129] done.
[19.228094] jffs2_build_filesystem (): erasing all blocks after the end marker ...
[124.471963] random: crng init done
[212.859546] done.
[212.861562] jffs2: notice: (1009) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
root @ OpenWrt: / # ^ C
root @ OpenWrt: / #


Post has been editedshalunh - 27.01.18, 18:49
Reason for editing: added


Full version    

Help     rules

Time is now: 13/10/20, 11:10