Author: Demetris

Openwrt Designated Driver (Trunk) Build for Orange Pi PC/Pi Plus

[Copy link]

1

threads

25

posts

216

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
216
 Author| Published in 2016-3-5 03:37:23 | Show all floors
wifi is down by default you have to access luci to enable it or through ssh login

2

threads

29

posts

112

credits

Registered member

Rank: 2

credits
112
Published in 2016-3-8 15:24:11 | Show all floors
Edited by boob at 2016-3-8 15:29

Hope i receive my board soon (maybe under one week) to test fastest openwrt ever.
There is not many move about ethernet work, bad community support, afraik i have to try myself my tweak testing ^^
In armbian, they said i2c and spi work fine in 4.4kernel so it's very promising for DIY headless openwrt server, cheaper and efficient.
I loved play with nexx mt7620 router but it's old age now we have 1gb ram and 4 core ;)
Community hate allwinner for some good reason, so don't hope help from big brain linux user...alone in dark closed sources

1

threads

25

posts

216

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
216
 Author| Published in 2016-3-9 04:13:55 | Show all floors
i am just waiting for ethernet to work and i will release a full working version asap until then this is in freeze state

0

threads

1

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2016-3-11 02:36:16 | Show all floors
do you have any plan for OPI one support?

6

threads

35

posts

291

credits

Intermediate member

Rank: 3Rank: 3

credits
291
Published in 2016-3-18 14:52:11 | Show all floors
Demetris replied at 2016-3-9 04:13
i am just waiting for ethernet to work and i will release a full working version asap until then thi ...

hii. how it's going ,. any progress ?

2

threads

29

posts

112

credits

Registered member

Rank: 2

credits
112
Published in 2016-3-27 18:32:26 | Show all floors
Edited by boob at 2016-3-27 18:42

Hi,

my board was in my hand since yesterday and i didn't make the exploit to make it ethernet works. It's an issue with internal PHY not detected.
Now Emac seem to work with stmmac driver (it's detect an mac adresse and showed in ifconfig), leds are always on for the moment.
probe at startup show something wrong  and an error 19 (device not present) at the end

  1. [    0.899073] sun7i-dwmac 1c30000.ethernet: no regulator found
  2. [    0.904793]  Ring mode enabled
  3. [    0.907908]  DMA HW capability register supported
  4. [    0.912436]  Normal descriptors
  5. [    0.915756]  Wake-Up On Lan supported
  6. [    0.927910] libphy: stmmac: probed
  7. [    0.931323] eth0: PHY ID 00000000 at 0 IRQ POLL (stmmac-0:00) active
Copy code


In positive,
RTC now working
USB audio sound card is OK
USB HOST EHCI and OHCI work fine
USB serial (PL2303) work fine

Next try, usb otg in device mode (ethernet gadget) to bridge a working openwrt router with ethernet and wifi n...
Next next try, rework on this sluut internal ethernet PHY very hard at my level

2

threads

29

posts

112

credits

Registered member

Rank: 2

credits
112
Published in 2016-3-27 18:36:42 | Show all floors
Edited by boob at 2016-3-27 18:41

Modem 3G work fine
If someone want dts and dtsi  or the dtb file,, just ask!
  1. root@OpenWrt:/sys/class# lsusb
  2. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  3. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  4. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  5. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  6. Bus 005 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
  7. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  8. Bus 001 Device 003: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
  9. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Copy code

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2016-3-28 22:12:45 | Show all floors
Some times back, I try banana-pi version of OpenWrt installed in my OrangePi PC and it works, including the built-in Ethernet.
Maybe, somebody can check banana-pi source to get the driver for ethernet?
My problem with that banana-pi version installed in OrangePi is the watchdog ... it generates a repeated alarms, and I was not able to turn it off.

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2016-3-28 22:17:02 | Show all floors
BTW ... I'm not able to boot my orangePi-PC with this image. I use win32diskImager to write it to my 4G microSD card.
The board is not booted. RED LED is not turn on.

1

threads

30

posts

159

credits

Registered member

Rank: 2

credits
159
Published in 2016-4-2 07:21:02 | Show all floors
Edited by rizapn at 2016-4-5 20:21

For someone who like to try bananapi version of openwrt running in our OrangePI :

1) download the banana pi openwrt image from their site (Use the Mi+ version). Here is the direct link : https://drive.google.com/file/d/ ... FE/view?usp=sharing
2) Write that image to the disk. I use windows version (win32 disk imager).
3) Copy the ext partition to the file ==> dd if=/dev/sdX2 of=bananapi-mip-openwrt.img

4) Download ubuntu / debian image for OrangePi from loboris : http://www.orangepi.org/orangepi ... wthread&tid=342
5) Write image to the disk.
6) copy bananapi-mip-openwrt.img to the ext partition of that disk ==> dd if=bananapi-mip-openwrt.img of=/dev/sdX2
7) Test it ... everything, including built-in Ethernet should work. BUT there will be a repeated watchdog notification.

Basically, we use uImage from ubuntu image, and use ext part from bananapi-mi-plus openwrt image.
I believe the watchdog alarm is coming from the "wrong" uImage version that I use. So, if I can use the good (or compile) uImage, and combine it with banana-pi-mi-plus openwrt, we will get the working openwrt for orangepi.

I want to try uImage from this thread, but still no luck (not working). Maybe somebody else can try it, and combine it using my method.

Thank you,

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list