View: 36035|Reply: 17

Openwrt for Orange Pi will come soon.

[Copy link]
Published in 2015-2-25 20:56:37 | Show all floors |Read mode
Openwrt for Orange Pi will come soon. Thank Orange Pi fans.

2

threads

11

posts

242

credits

Intermediate member

Rank: 3Rank: 3

credits
242
Published in 2015-10-18 03:12:10 | Show all floors
Hello
I would downgrade openwrt for PI Orange Pc
Cheers

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2015-11-6 21:55:48 | Show all floors
Come soon ?
When? It is already 9 months from the original post ...

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2015-11-7 23:16:09 | Show all floors
I try to install openwrt in my orangepi-pc from openwrt download page (xunci board).
I can enter to the openwrt prompt, but some critical part is still not working.
I also get error :

wdt_restart, write reg 0xf1c20cb0 all the time (watchdog timer ???)

Hope someone with more experience will work on openwrt for opi soon ...

Thank's

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2015-11-8 00:06:59 from mobile | Show all floors
Update:
I can get more complete openwrt working on my orange pi pc by installing filesystem part from bananapi forum.
LAN is working, I can install package from openwrt repository (tested php5).
But still, I got the annoying watchdog alarm all the time.

10

threads

448

posts

5112

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5112
Published in 2015-11-8 19:12:51 | Show all floors
Edited by loboris at 2015-11-8 12:20
rizapn replied at 2015-11-7 17:06
Update:
I can get more complete openwrt working on my orange pi pc by installing filesystem part fro ...

Insert this into /etc/rc.local before exit 0:

  1. echo 0 > /proc/sys/kernel/hung_task_timeout_secs
  2. dmesg -n 1
Copy code
Why do you need to use openwrt? Can't you install the same tools iin regular Debian distro?
OpenWRT has been developed to be small enough for fitting into the limited storage and memory available in home routers, on OPI you can use the full distro (CLI).

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2015-11-8 19:54:15 | Show all floors
Edited by rizapn at 2015-11-8 19:57

I'll try it.
I love openwrt because of its lightness. I need to use my Pi for scripting server (PHP and its modules), cron, and probably simple web interface. All modules in openwrt is a minimalist ones. For me size is matter. With openwrt I can get maximum free mem to be used by my script (a hundred more session).I did try your debian release also. I like it. It will be my second choice if I fail with openwrt.

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2015-11-8 20:09:54 | Show all floors
@loboris:

update:
OK, the alarm message has gone, but it is still in dmesg so ... I assume, the "problem" is still exists.
Do you mind to tell what is the root cause?

Here is my dmesg :

[   10.090409] mount_root: failed to launch kmodloader from internal overlay
[   10.140359] block: attempting to load /etc/config/fstab
[   10.158075] block: extroot: not configured
[   10.180887] procd: - early -
[   10.188138] procd: - watchdog -
[   10.195600] sunxi_wdt_ioctl err, line 420
[   10.204076] wdt_restart, write reg 0xf1c20cb0
[   10.762658] procd: - ubus -
[   11.772471] procd: - init -
[   15.212938] wdt_restart, write reg 0xf1c20cb0
[   15.850381] gmac0: probed
[   15.856329] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)
[   18.850230] PHY: gmac0-0:00 - Link is Up - 100/Full
[   20.224565] wdt_restart, write reg 0xf1c20cb0
[   25.227247] wdt_restart, write reg 0xf1c20cb0

10

threads

448

posts

5112

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5112
Published in 2015-11-8 20:25:45 | Show all floors

I think it is just an info.
It can probably be disabled by commenting out pr_info in kernel source (drivers/watchdog/sunxi_wdt.c)
  1. static int wdt_restart(void)
  2. {
  3. #ifdef WATCHDOG_DBG
  4.     if(NULL == wdt_reg) {
  5.         pr_err("%s err, line %d\n", __func__, __LINE__);
  6.         return -1;
  7.     }
  8. #endif

  9.     pr_info("%s, write reg 0x%08x\n", __func__, (u32)&wdt_reg->ctrl);
  10.     writel((0xA57 << 1) | (1 << 0), &wdt_reg->ctrl);
  11.     return 0;
  12. }
Copy code
If you can compile the kernel, you can try yourself.

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2015-11-8 20:31:41 | Show all floors
Thank you for the reply.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list