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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 19467|Reply: 50

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
Post time 2016-2-11 23:06:14 | Show all posts |Read mode
Edited by Demetris at 2016-2-23 02:58

Ok guys here it is what many of you were waiting
Orange Pi PC/Plus Openwrt Firmware Support
I will work on new versions when and if needed.
Kernel is upgraded to latest 4.4.1 version with all Realtek and Ralink chipset Openwrt source code support ;)
So enjoy my work
Download Link:
OPi-PC

http://s000.tinyupload.com/index.php?file_id=12336861093088596916


OPi-Plus

http://s000.tinyupload.com/index.php?file_id=27971852036518681989

Installation
Make sure SDcard is unmounted

dd if=openwrt-sunxi-orangepi_pc-sdcard-vfat-ext4.img of=/dev/sdx (*)
(*)x= the name of the sdcard partition

Source code
https://github.com/Ntemis/openwrtcc/commits/DD

1

Threads

25

Posts

216

Credits

Moderator

Rank: 7Rank: 7Rank: 7

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

1

Threads

25

Posts

216

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
216
 Author| Post time 2016-2-13 05:12:35 | Show all posts
Edited by Demetris at 2016-2-13 08:34

U-Boot SPL 2016.01 (Feb 12 2016 - 20:05:18)
DRAM: 1024 MiB
Trying to boot from MMC
U-Boot 2016.01 (Feb 12 2016 - 20:05:18 +0000) Allwinner Technology
CPU:   Allwinner H3 (SUN8I)
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
377 bytes read in 16 ms (22.5 KiB/s)
## Executing script at 43100000
reading uImage
2189040 bytes read in 2130 ms (1002.9 KiB/s)
reading dtb
12962 bytes read in 40 ms (316.4 KiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-4.4.1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2188976 Bytes = 2.1 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Kernel Image ... OK
   Using Device Tree in place at 43000000, end 430062a1

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.1 (demetris@Athlon-M5A78L) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r48717) ) #1 SMP PREEMPT Fri Feb 12 22:00:02 UTC 2016
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Xunlong Orange Pi PC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 12 pages/cpu @ef7bb000 s17984 r8192 d22976 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1032176K/1048576K available (4352K kernel code, 205K rwdata, 1632K rodata, 268K init, 641K bss, 16400K reserved, 0K cma-reserved, 262140K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05e05bc   (5986 kB)
[    0.000000]       .init : 0xc05e1000 - 0xc0624000   ( 268 kB)
[    0.000000]       .data : 0xc0624000 - 0xc06577e8   ( 206 kB)
[    0.000000]        .bss : 0xc065a000 - 0xc06fa6b0   ( 642 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000016] Switching to timer-based delay loop, resolution 41ns
[    0.000214] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000360] Console: colour dummy device 80x30
[    0.000387] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000400] pid_max: default: 32768 minimum: 301
[    0.000485] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000496] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000984] CPU: Testing write buffer coherency: ok
[    0.001257] /cpus/cpu@0 missing clock-frequency property
[    0.001274] /cpus/cpu@1 missing clock-frequency property
[    0.001285] /cpus/cpu@2 missing clock-frequency property
[    0.001296] /cpus/cpu@3 missing clock-frequency property
[    0.001308] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001357] Setting up static identity map for 0x40008280 - 0x400082d8
[    0.080410] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.110429] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.140466] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.140511] Brought up 4 CPUs
[    0.140534] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.140540] CPU: All CPU(s) started in HYP mode.
[    0.140545] CPU: Virtualization extensions available.
[    0.143677] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.144150] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.144280] pinctrl core: initialized pinctrl subsystem
[    0.145409] NET: Registered protocol family 16
[    0.145660] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.193074] SCSI subsystem initialized
[    0.193857] usbcore: registered new interface driver usbfs
[    0.193978] usbcore: registered new interface driver hub
[    0.194114] usbcore: registered new device driver usb
[    0.194499] pps_core: LinuxPPS API ver. 1 registered
[    0.194508] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.194578] PTP clock support registered
[    0.195214] Advanced Linux Sound Architecture Driver Initialized.
[    0.196280] clocksource: Switched to clocksource arch_sys_counter
[    0.207124] NET: Registered protocol family 2
[    0.207852] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.207926] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.208041] TCP: Hash tables configured (established 8192 bind 8192)
[    0.208102] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.208158] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.208367] NET: Registered protocol family 1
[    0.210235] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.210385] audit: initializing netlink subsys (disabled)
[    0.210438] audit: type=2000 audit(0.190:1): initialized
[    0.219744] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220414] bounce: pool size: 64 pages
[    0.220430] io scheduler noop registered
[    0.220466] io scheduler cfq registered (default)
[    0.220838] io scheduler bfq registered
[    0.220847] BFQ I/O-scheduler: v7r11
[    0.224904] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.295529] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.298662] console [ttyS0] disabled
[    0.318895] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
[    0.858784] console [ttyS0] enabled
[    0.864848] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.871429] ehci-platform: EHCI generic platform driver
[    0.876888] ehci-platform 1c1b000.usb: EHCI Host Controller
[    0.882482] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 1
[    0.890370] ehci-platform 1c1b000.usb: irq 23, io mem 0x01c1b000
[    0.916297] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    0.922565] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.929365] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.936593] usb usb1: Product: EHCI Host Controller
[    0.941465] usb usb1: Manufacturer: Linux 4.4.1 ehci_hcd
[    0.946780] usb usb1: SerialNumber: 1c1b000.usb
[    0.951925] hub 1-0:1.0: USB hub found
[    0.955705] hub 1-0:1.0: 1 port detected
[    0.960109] ehci-platform 1c1c000.usb: EHCI Host Controller
[    0.965697] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    0.973552] ehci-platform 1c1c000.usb: irq 25, io mem 0x01c1c000
[    0.996294] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.002525] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.009327] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.016550] usb usb2: Product: EHCI Host Controller
[    1.021422] usb usb2: Manufacturer: Linux 4.4.1 ehci_hcd
[    1.026742] usb usb2: SerialNumber: 1c1c000.usb
[    1.031840] hub 2-0:1.0: USB hub found
[    1.035619] hub 2-0:1.0: 1 port detected

1

Threads

25

Posts

216

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
216
 Author| Post time 2016-2-13 08:34:18 | Show all posts
[    1.039976] ehci-platform 1c1d000.usb: EHCI Host Controller
[    1.045564] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 3
[    1.053477] ehci-platform 1c1d000.usb: irq 27, io mem 0x01c1d000
[    1.076296] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    1.082527] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.089326] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.096553] usb usb3: Product: EHCI Host Controller
[    1.101425] usb usb3: Manufacturer: Linux 4.4.1 ehci_hcd
[    1.106741] usb usb3: SerialNumber: 1c1d000.usb
[    1.111869] hub 3-0:1.0: USB hub found
[    1.115645] hub 3-0:1.0: 1 port detected
[    1.120059] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.126254] ohci-platform: OHCI generic platform driver
[    1.131665] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.138610] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4
[    1.146467] ohci-platform 1c1b400.usb: irq 24, io mem 0x01c1b400
[    1.210435] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    1.217433] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.224648] usb usb4: Product: Generic Platform OHCI controller
[    1.230579] usb usb4: Manufacturer: Linux 4.4.1 ohci_hcd
[    1.235884] usb usb4: SerialNumber: 1c1b400.usb
[    1.241014] hub 4-0:1.0: USB hub found
[    1.244794] hub 4-0:1.0: 1 port detected
[    1.249169] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.255794] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 5
[    1.263636] ohci-platform 1c1c400.usb: irq 26, io mem 0x01c1c400
[    1.330424] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    1.337226] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.344440] usb usb5: Product: Generic Platform OHCI controller
[    1.350449] usb usb5: Manufacturer: Linux 4.4.1 ohci_hcd
[    1.355757] usb usb5: SerialNumber: 1c1c400.usb
[    1.360905] hub 5-0:1.0: USB hub found
[    1.364684] hub 5-0:1.0: 1 port detected
[    1.369053] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    1.375680] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 6
[    1.383527] ohci-platform 1c1d400.usb: irq 28, io mem 0x01c1d400
[    1.450424] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    1.457227] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.464440] usb usb6: Product: Generic Platform OHCI controller
[    1.470450] usb usb6: Manufacturer: Linux 4.4.1 ohci_hcd
[    1.475758] usb usb6: SerialNumber: 1c1d400.usb
[    1.480888] hub 6-0:1.0: USB hub found
[    1.484670] hub 6-0:1.0: 1 port detected
[    1.489266] usbcore: registered new interface driver usb-storage
[    1.495732] mousedev: PS/2 mouse device common for all mice
[    1.501929] i2c /dev entries driver
[    1.506341] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.514948] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    1.520859] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.556311] sunxi-mmc 1c0f000.mmc: base:0xf08a6000 irq:22
[    1.563107] Initializing XFRM netlink socket
[    1.568149] NET: Registered protocol family 10
[    1.583423] NET: Registered protocol family 17
[    1.587947] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.600701] can: controller area network core (rev 20120528 abi 9)
[    1.606959] NET: Registered protocol family 29
[    1.611416] 8021q: 802.1Q VLAN Support v1.8
[    1.615929] cpu cpu0: failed to get cpu0 clock: -2
[    1.620762] cpufreq-dt: probe of cpufreq-dt failed with error -2
[    1.626823] Registering SWP/SWPB emulation handler
[    1.632270] hctosys: unable to open rtc device (rtc0)
[    1.640467] vcc3v0: disabling
[    1.643461] vcc5v0: disabling
[    1.643467] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.654532] ALSA device list:
[    1.654546] mmc0: new high speed SDHC card at address e885
[    1.663010]   No soundcards found.
[    1.665116] mmcblk0: mmc0:e885 SU04G 3.69 GiB
[    1.666488]  mmcblk0: p1 p2
[    1.675095] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.683865] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.697381] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.704922] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.712000] Freeing unused kernel memory: 268K (c05e1000 - c0624000)
[    1.814452] init: Console is alive
[    1.818163] init: - watchdog -
[    2.206592] raid6: int32x1  gen()   128 MB/s
[    2.376503] raid6: int32x1  xor()    99 MB/s
[    2.546521] raid6: int32x2  gen()   178 MB/s
[    2.716371] raid6: int32x2  xor()   118 MB/s
[    2.886411] raid6: int32x4  gen()   166 MB/s
[    3.056332] raid6: int32x4  xor()   106 MB/s
[    3.226347] raid6: int32x8  gen()   181 MB/s
[    3.396382] raid6: int32x8  xor()    91 MB/s
[    3.400646] raid6: using algorithm int32x8 gen() 181 MB/s
[    3.406036] raid6: .... xor() 91 MB/s, rmw enabled
[    3.410832] raid6: using intx1 recovery algorithm
[    3.416170] xor: measuring software checksum speed
[    3.516276]    arm4regs  :  1264.400 MB/sec
[    3.616293]    8regs     :   877.600 MB/sec
[    3.716269]    32regs    :   876.000 MB/sec
[    3.720448] xor: using function: arm4regs (1264.400 MB/sec)
[    3.771861] Btrfs loaded
[    3.777313] exFAT: Version 1.2.9
[    3.808931] SGI XFS with security attributes, no debug enabled
[    3.821870] init: - preinit -
Detected generic // Xunlong Orange Pi PC
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
[    6.920529] mount_root: mounting /dev/root
[    6.925175] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    6.938641] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.948758] procd: - early -
[    6.951703] procd: - watchdog -
[    7.671008] procd: - ubus -
[    8.675992] random: ubusd urandom read with 11 bits of entropy available
[    9.676628] procd: - init -
Please press Enter to activate this console.
[   10.183749] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.198056] fuse init (API version 7.23)
[   10.224819] usbcore: registered new interface driver cdc_wdm
[   10.231133] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   10.238571] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   10.247440] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.257127] nf_conntrack version 0.5.0 (16131 buckets, 64524 max)
[   10.390688] usbcore: registered new interface driver r8712u
[   10.399657] usbcore: registered new interface driver ums-alauda
[   10.406250] usbcore: registered new interface driver ums-cypress
[   10.413039] usbcore: registered new interface driver ums-datafab
[   10.419760] usbcore: registered new interface driver ums-freecom
[   10.426561] usbcore: registered new interface driver ums-isd200
[   10.433198] usbcore: registered new interface driver ums-jumpshot
[   10.440019] usbcore: registered new interface driver ums-karma
[   10.446739] usbcore: registered new interface driver ums-sddr09
[   10.453539] usbcore: registered new interface driver ums-sddr55
[   10.460451] usbcore: registered new interface driver ums-usbat
[   10.473694] xt_time: kernel timezone is -0000
[   10.511084] PPP generic driver version 2.4.2
[   10.516705] NET: Registered protocol family 24
[   10.525915] usbcore: registered new interface driver rt73usb
[   10.533278] usbcore: registered new interface driver rtl8187
[   10.545493] usbcore: registered new interface driver rt2500usb
[   10.555291] usbcore: registered new interface driver rt2800usb
[   10.566215] usbcore: registered new interface driver rtl8192cu
[  214.046304] usb 2-1: new high-speed USB device number 2 using ehci-platform
[  214.199033] usb 2-1: New USB device found, idVendor=0bda, idProduct=8172
[  214.205739] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  214.213017] usb 2-1: Product: RTL8191S WLAN Adapter
[  214.218056] usb 2-1: Manufacturer: Manufacturer Realtek
[  214.223364] usb 2-1: SerialNumber: blahblahblah
[  214.229098] r8712u: register rtl8712_netdev_ops to netdev_ops
[  214.234872] usb 2-1: r8712u: USB_SPEED_HIGH with 4 endpoints
[  214.241539] usb 2-1: r8712u: Boot from EFUSE: Autoload OK
[  214.430565] random: nonblocking pool is initialized
[  215.016777] usb 2-1: r8712u: CustomerID = 0x0000
[  215.021403] usb 2-1: r8712u: MAC Address from efuse = 00:11:ff:00:ff:00
[  215.028143] usb 2-1: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
Post time 2016-2-15 04:22:10 | Show all posts
I was unable to boot OPI+  with this image. How do you install it?
The steps I used:
OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # export card=/dev/sdb
OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # echo $card

OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # dd if=/dev/zero of=${card} bs=1M count=1

OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # dd if=openwrt-sunxi-orangepi_pc-sdcard-vfat-ext4.img of=${card} bs=1M

Model: ChipsBnk SD/MMCReader (scsi)
Disk /dev/sdb: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  22.0MB  21.0MB  primary  fat16        boot, lba
2      23.1MB  73.4MB  50.3MB  primary  ext2



OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # mkdir -p /media/sda1
OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # mkdir -p /media/sda2

OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # eject  ${card}

OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # mount /dev/sdb1 /media/sda1
OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # mount /dev/sdb2 /media/sda2

OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # ls -al /media/sda1
total 2160
drwxr-xr-x    2 root     root         16384 Jan  1  1970 .
drwxr-xr-x    7 root     root           140 Feb 14 19:49 ..
-rw-r--r--    1 root     root           377 Feb 11 14:35 boot.scr
-rw-r--r--    1 root     root         12962 Feb 11 14:35 dtb
-rw-r--r--    1 root     root       2177696 Feb 11 14:35 uImage
OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # ls -al /media/sda2
total 64
drwxr-xr-x   17 root     root          4096 Jan  1  1970 .
drwxr-xr-x    7 root     root           140 Feb 14 19:49 ..
drwxr-xr-x    2 root     root          4096 Feb 11 06:38 bin
drwxr-xr-x    2 root     root          4096 Feb 11 06:38 dev
drwxrwxr-x   18 root     root          4096 Feb 11 06:38 etc
drwxr-xr-x   11 root     root          4096 Feb 11 06:38 lib
drwx------    2 root     root          4096 Jan  1  1970 lost+found
drwxr-xr-x    2 root     root          4096 Feb 11 06:38 mnt
drwxr-xr-x    2 root     root          4096 Feb 11 06:38 overlay
drwxr-xr-x    2 root     root          4096 Feb 11 06:38 proc
drwxrwxr-x    2 root     root          4096 Feb 11 06:38 rom
drwxr-xr-x    2 root     root          4096 Feb 11 06:38 root
drwxrwxr-x    2 root     root          4096 Feb 11 06:38 sbin
drwxr-xr-x    2 root     root          4096 Feb 11 06:38 sys
drwxrwxrwt    2 root     root          4096 Feb 11 06:38 tmp
drwxr-xr-x    6 root     root          4096 Feb 11 06:38 usr
lrwxrwxrwx    1 root     root             4 Feb 11 06:38 var -> /tmp
drwxr-xr-x    4 root     root          4096 Feb 11 06:38 www


drwxr-xr-x    4 root     root          4096 Feb 11 06:38 www

OpenELEC:/var/media/sda1-usb-General_UDisk_22/openWRT # cat /media/sda1/boot.scr

setenv loadkernel fatload mmc 0 \$kernel_addr_r uImage
setenv loaddtb fatload mmc 0 \$fdt_addr_r dtb
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
setenv uenvcmd run loadkernel \&\& run loaddtb \&\& bootm \$kernel_addr_r - \$fdt_addr_r

Anyway, the system doesn't boot. I am unable to troubleshoot, as I don't have a serial terminal.

1

Threads

25

Posts

216

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
216
 Author| Post time 2016-2-15 06:41:23 | Show all posts
xmm
Let me build you an OPi-Plus image then

1

Threads

25

Posts

216

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
216
 Author| Post time 2016-2-15 09:31:52 | Show all posts
y52 replied at 2016-2-15 04:22
I was unable to boot OPI+  with this image. How do you install it?
The steps I used:
OpenELEC:/var/m ...

Get OPi-Plus image from OP unzip and flash with(in your case)
dd if=openwrt-sunxi-orangepi_plus-sdcard-vfat-ext4.img of=/dev/sdb
Enjoy.

6

Threads

35

Posts

291

Credits

Intermediate member

Rank: 3Rank: 3

Credits
291
Post time 2016-2-15 11:02:00 | Show all posts
can u give a detail instruction how to install it i have opi pc (im tottaly Noob ) , i try flash with win32disk  but im unable to see boot , or it has to be linux way command (dd) ?

1

Threads

25

Posts

216

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
216
 Author| Post time 2016-2-15 17:05:27 From the mobile phone | Show all posts
You have to put a USB Ethernet because pi-pc and A64 don't have mainline driver yet (emac)

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
Post time 2016-2-16 03:53:31 | Show all posts
>Let me build you an OPi-Plus image then
I shall try to boot with your image on my OPI+

How do you compile the image from sources? I look for a versatile installation, allowing the customization when necessary.  

1

Threads

25

Posts

216

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
216
 Author| Post time 2016-2-16 06:53:58 | Show all posts
y52 replied at 2016-2-16 03:53
>Let me build you an OPi-Plus image then
I shall try to boot with your image on my OPI+

Hi
I have compiled an openwrt image for orange pi plus.
You can find it on the first post.
And yes try to boot opi+ and let me know
Sources are there will post a link soon i was just waiting for ethernet driver support and after but if you need them you can have them asap

You have to log in before you can reply Login | Register

Points Rules

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

2019-8-26 15:18 GMT+8 , Processed in 0.034197 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list