Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12Next
Return to list New
View: 15485|Reply: 17

Openwrt for Orange Pi will come soon.

[Copy link]
Post time 2015-2-25 20:56:37 | Show all posts |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
Post time 2015-10-18 03:12:10 | Show all posts
Hello
I would downgrade openwrt for PI Orange Pc
Cheers

1

Threads

30

Posts

159

Credits

Registered member

Rank: 2

Credits
159
Post time 2015-11-6 21:55:48 | Show all posts
Come soon ?
When? It is already 9 months from the original post ...

1

Threads

30

Posts

159

Credits

Registered member

Rank: 2

Credits
159
Post time 2015-11-7 23:16:09 | Show all posts
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
Post time 2015-11-8 00:06:59 From the mobile phone | Show all posts
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

3892

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3892
Post time 2015-11-8 19:12:51 | Show all posts
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 the 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
Post time 2015-11-8 19:54:15 | Show all posts
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
Post time 2015-11-8 20:09:54 | Show all posts
@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

3892

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3892
Post time 2015-11-8 20:25:45 | Show all posts

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 the Code
If you can compile the kernel, you can try yourself.

1

Threads

30

Posts

159

Credits

Registered member

Rank: 2

Credits
159
Post time 2015-11-8 20:31:41 | Show all posts
Thank you for the reply.
12Next
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-14 05:46 GMT+8 , Processed in 0.035207 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list