Meteoclimatic

Hardware => Ordenadores => Mensaje iniciado por: jantoni en 24 de Febrero del 2016, 18:40:12 pm

Título: Orange Pi One y Orange Pi PC
Publicado por: jantoni en 24 de Febrero del 2016, 18:40:12 pm
Ya está aquí, ya ha llegado.

El mundo no se termina en Raspberry Pi.

Os presente mi nueva Orange Pi One.....veremos a ver que tal se comporta.

Todo esto por 12 euros puesta en casa

CPU H3 Quad-core Cortex-A7 H.265/HEVC 4K

GPU Mali400MP2 GPU @600MHz. Con soporte OpenGL ES 2.0

Memoria 512MB DDR3 (compartida conGPU)

TF/MMC  (Max. 64GB)

10/100M Ethernet RJ45

USB 2.0 Port

USB 2.0 OTG

Power Button(SW4)

Low-level peripherals

40 Pins Header,compatible with Raspberry Pi B+

Supported OS Android Ubuntu, Debian, Rasberry Pi Image

Y algo más.......por 12 Euros.....

(https://ea4tn.files.wordpress.com/2016/02/img_0380_1_1.jpg)
Título: Re:Orange Pi One
Publicado por: jantoni en 24 de Febrero del 2016, 18:45:19 pm
Más información en

http://www.orangepi.org/orangepione/

Ah....que nadie piense que una "imagen" de Raspberry funciona directamente......es compatible con Raspbian.....pero con una versión adaptada.
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 11:13:57 am
Bueno, tras unos intentos fallidos, ya tengo una imagen funcionando.

Después de un intento fallido con Debian, ahora tengo una imagen de Ubuntu 14.04 como server.

Deseché Debian por una poderosa razón. No había modo de reiniciar el sistema. Siempre que se solicitaba el reinicio, se apagaba pero no volvía a iniciar.

Citar
jantoni@Dell-Vostro:~/orangepi$ ssh root@192.168.0.120
root@192.168.0.120's password:
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.4.39 armv7l)

 * Documentation:  https://help.ubuntu.com/
Last login: Thu Jan  1 00:01:29 1970 from 192.168.0.111
****************************************
WARNING: TO RESIZE FILESYSTEM RUN:
sudo fs_resize
to remove this message run:
sudo rm /usr/local/bin/fs_resize_warning
****************************************
root@OrangePI:~#

Seguimos con ello
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 11:40:01 am
Modificado el script.bin siguiendo las instrucciones de CNX-Software.

http://www.cnx-software.com/orange-pi/xunlong_orange_pi_one_script.bin

Código: [Seleccionar]
jantoni@Dell-Vostro:~/orangepi$ ssh root@192.168.0.120
root@192.168.0.120's password:
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.4.39 armv7l)

 * Documentation:  https://help.ubuntu.com/
Last login: Thu Jan  1 00:04:37 1970 from 192.168.0.111
****************************************
WARNING: TO RESIZE FILESYSTEM RUN:
sudo fs_resize
to remove this message run:
sudo rm /usr/local/bin/fs_resize_warning
****************************************
root@OrangePI:~# dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #1 SMP PREEMPT Mon Oct 12 12:02:29 CEST 2015
[    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: sun8i
[    0.000000] Ignoring tag cmdline (using the default kernel command line)
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: reserved 160 MiB at 56000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c1000cc0, node_mem_map c10dd000
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 129920 pages, LIFO batch:31
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    0.000000] PERCPU: Embedded 8 pages/cpu @c156f000 s11840 r8192 d12736 u32768
[    0.000000] pcpu-alloc: s11840 r8192 d12736 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=ttyS0,115200 console=tty0 init=/init
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 337392k/337392k available, 186896k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0986378   (9721 kB)
[    0.000000]       .init : 0xc0987000 - 0xc0f86e40   (6144 kB)
[    0.000000]       .data : 0xc0f88000 - 0xc1003738   ( 494 kB)
[    0.000000]        .bss : 0xc1003eec - 0xc10dc400   ( 866 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.019904] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.019959] pid_max: default: 32768 minimum: 301
[    0.020229] Mount-cache hash table entries: 512
[    0.021113] Initializing cgroup subsys cpuacct
[    0.021142] Initializing cgroup subsys freezer
[    0.021187] CPU: Testing write buffer coherency: ok
[    0.021249] ftrace: allocating 26203 entries in 77 pages
[    0.050266] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.050298] [sunxi_smp_prepare_cpus] enter
[    0.050339] Setting up static identity map for 0x406d2af0 - 0x406d2b48
[    0.051173] CPU1: Booted secondary processor
[    0.051173] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.051305] CPU2: Booted secondary processor
[    0.051305] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.051305] CPU3: Booted secondary processor
[    0.051305] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.060173] Brought up 4 CPUs
[    0.060255] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.060838] devtmpfs: initialized
[    0.063147] wakeup src cnt is : 1.
[    0.063166] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    0.063189] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0
[    0.063213] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40
[    0.063238] sunxi pm init
[    0.063358] pinctrl core: initialized pinctrl subsystem
[    0.070820] NET: Registered protocol family 16
[    0.071469] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.071469] script_sysfs_init success
[    0.071469] sunxi_dump_init success
[    0.072147] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.072147] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.072147] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.072147] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.072147] script config pll_video to 297 Mhz
[    0.072147] script config pll_de to 864 Mhz
[    0.072147] script config pll_ve to 402 Mhz
[    0.072147] sunxi_default_clk_init
[    0.072147] try to set pll6ahb1 to 200000000
[    0.072147] try to set ahb clk source to pll6ahb1
[    0.072147] set ahb clk source to pll6ahb1
[    0.072147] try to set ahb1 to 200000000
[    0.072147] try to set apb1 to 100000000
[    0.072147] ===fe3o4==== sunxi_root_procfs_attach ret:0
[    0.080218] bio: create slab <bio-0> at 0
[    0.080369] [ARISC] :sunxi-arisc driver v1.04
[    0.091573] [ARISC] :arisc version: [v0.1.34]
[    0.173958] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.180383] SCSI subsystem initialized
[    0.180571] usbcore: registered new interface driver usbfs
[    0.180648] usbcore: registered new interface driver hub
[    0.180691] usbcore: registered new device driver usb
[    0.180691] twi_chan_cfg()335 - [twi0] has no twi_regulator.
[    0.180691] twi_chan_cfg()335 - [twi1] has no twi_regulator.
[    0.180691] twi_chan_cfg()335 - [twi2] has no twi_regulator.
[    0.180691] Linux video capture interface: v2.00
[    0.180708] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.181184] Bluetooth: Core ver 2.16
[    0.181232] NET: Registered protocol family 31
[    0.181253] Bluetooth: HCI device and connection manager initialized
[    0.181280] Bluetooth: HCI socket layer initialized
[    0.181302] Bluetooth: L2CAP socket layer initialized
[    0.181342] Bluetooth: SCO socket layer initialized
[    0.181554] cfg80211: Calling CRDA to update world regulatory domain
[    0.181632] Switching to clocksource arch_sys_counter
[    0.191984] FS-Cache: Loaded
[    0.192257] CacheFiles: Loaded
[    0.201780] NET: Registered protocol family 2
[    0.202048] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.202532] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.202774] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[    0.202991] TCP: Hash tables configured (established 16384 bind 16384)
[    0.203015] TCP: reno registered
[    0.203034] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.203068] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.203337] NET: Registered protocol family 1
[    0.203678] RPC: Registered named UNIX socket transport module.
[    0.203706] RPC: Registered udp transport module.
[    0.203724] RPC: Registered tcp transport module.
[    0.203741] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.540000] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.540203] sunxi_reg_init enter
[    0.540922] audit: initializing netlink socket (disabled)
[    0.540980] type=2000 audit(0.540:1): initialized
[    0.542632] NFS: Registering the id_resolver key type
[    0.542970] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.543609] NTFS driver 2.1.30 [Flags: R/W].
[    0.543741] fuse init (API version 7.18)
[    0.544421] Btrfs loaded
[    0.544453] msgmni has been set to 978
[    0.545469] io scheduler noop registered
[    0.545493] io scheduler deadline registered
[    0.545575] io scheduler cfq registered (default)
[    0.545994] [DISP]disp_module_init
[    0.546299] cmdline,disp=
[    0.552717] [DISP] Fb_map_kernel_logo,line:925:Fb_map_kernel_logo failed!
[    0.565469] Console: switching to colour frame buffer device 160x45
[    0.579113] [DISP]disp_module_init finish
[    0.579402] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.579810] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.579953] sw_uart_pm()890 - uart0 clk is already enable
[    0.580144] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.772113] console [ttyS0] enabled
[    1.209735] sunxi_cmatest_init enter
[    1.372484] sunxi_cmatest_init success
[    1.531611] loop: module loaded
[    1.678536] sunxi_spi_chan_cfg()1355 - [spi-0] has no spi_regulator.
[    1.839756] sunxi_spi_chan_cfg()1355 - [spi-1] has no spi_regulator.
[    1.902337] tun: Universal TUN/TAP device driver, 1.6
[    1.911793] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.923352] PPP generic driver version 2.4.2
[    1.932182] PPP BSD Compression module registered
[    1.941328] PPP Deflate Compression module registered
[    1.952918] PPP MPPE Compression module registered
[    1.962098] NET: Registered protocol family 24
[    1.970830] PPTP driver version 0.8.5
[    1.978787] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.009914] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.022695] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    2.035485] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    2.060029] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    2.070974] hub 1-0:1.0: USB hub found
[    2.078914] hub 1-0:1.0: 1 port detected
[    2.107403] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.120261] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
[    2.133010] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
[    2.160037] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
[    2.170858] hub 2-0:1.0: USB hub found
[    2.178770] hub 2-0:1.0: 1 port detected
[    2.187203] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.217868] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.230199] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 3
[    2.242465] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    2.314479] hub 3-0:1.0: USB hub found
[    2.322496] hub 3-0:1.0: 1 port detected
[    2.350976] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.363475] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 4
[    2.375915] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
[    2.444494] hub 4-0:1.0: USB hub found
[    2.452670] hub 4-0:1.0: 1 port detected
[    2.461269] Initializing USB Mass Storage driver...
[    2.470730] usbcore: registered new interface driver usb-storage
[    2.481324] USB Mass Storage support registered.
[    2.490383] usbcore: registered new interface driver ums-alauda
[    2.500902] usbcore: registered new interface driver ums-cypress
[    2.511452] usbcore: registered new interface driver ums-datafab
[    2.521896] usbcore: registered new interface driver ums_eneub6250
[    2.532438] usbcore: registered new interface driver ums-freecom
[    2.542766] usbcore: registered new interface driver ums-isd200
[    2.552984] usbcore: registered new interface driver ums-jumpshot
[    2.563415] usbcore: registered new interface driver ums-karma
[    2.573431] usbcore: registered new interface driver ums-onetouch
[    2.583756] usbcore: registered new interface driver ums-realtek
[    2.593895] usbcore: registered new interface driver ums-sddr09
[    2.603864] usbcore: registered new interface driver ums-sddr55
[    2.613754] usbcore: registered new interface driver ums-usbat
[    2.623570] usbcore: registered new interface driver usbserial
[    2.633232] usbserial: USB Serial Driver core
[    2.641278] usbcore: registered new interface driver option
[    2.650694] USB Serial support registered for GSM modem (1-port)
[    2.661032] file system registered
[    2.669424] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.680307] android_usb gadget: Number of LUNs=3
[    2.688575]  lun0: LUN: removable file: (no medium)
[    2.697147]  lun1: LUN: removable file: (no medium)
[    2.705677]  lun2: LUN: removable file: (no medium)
[    2.714438] android_usb gadget: android_usb ready
[    2.722942]  uinput result 0 , vmouse_init
[    2.731105] mousedev: PS/2 mouse device common for all mice
[    2.740544] sunxikbd_init failed.
[    2.747301] ls_fetch_sysconfig_para: type err  device_used = 0.
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 11:40:15 am
Código: [Seleccionar]
[    2.757046] =========script_get_err============
[    2.765120] ltr_init: ls_fetch_sysconfig_para err.
[    2.773772] [RTC] WARNING: Rtc time will be wrong!!
[    2.782473] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    2.792956] i2c /dev entries driver
[    2.800100] IR RC5(x) protocol handler initialized
[    2.808547] sunxi tsc version 0.1
[    2.815374] tscdev_init: tsc driver is disabled
[    2.823566] sunxi cedar version 0.1
[    2.830558] [cedar]: install start!!!
[    2.837746] [cedar]: install end!!!
[    2.844552] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    2.854637] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    2.865991] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    2.879547] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    2.888885] timeout_to_interv, line 167
[    2.896250] interv_to_timeout, line 189
[    2.903570] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    2.916243] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    2.929044] Bluetooth: HCI UART driver ver 2.2
[    2.937435] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq
[    2.950454] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.109 2014-12-4 20:51) Compiled in Oct 12 2015 at 12:00:18
[    2.965662] [mmc]: get mmc0's sdc_power is null!
[    2.974619] [mmc]: get mmc1's sdc_power is null!
[    2.983670] [mmc]: get mmc1's 2xmode ok, val = 1
[    2.992624] [mmc]: get mmc1's ddrmode ok, val = 1
[    3.001701] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2
[    3.013736] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.030919] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.047584] no blue_led, ignore it!
[    3.055791] Registered led device: red_led
[    3.064559] Registered led device: green_led
[    3.074768] usbcore: registered new interface driver usbhid
[    3.085056] usbhid: USB HID core driver
[    3.096795] asoc: sndcodec <-> sunxi-codec mapping ok
[    3.109483] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[    3.120466] oprofile: using arm/armv7-ca7
[    3.129073] u32 classifier
[    3.136109]     Actions configured
[    3.143965] Netfilter messages via NETLINK v0.30.
[    3.153352] nf_conntrack version 0.5.0 (7831 buckets, 31324 max)
[    3.164520] ctnetlink v0.93: registering with nfnetlink.
[    3.174611] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    3.186542] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    3.197522] xt_time: kernel timezone is -0000
[    3.206679] IPv4 over IPv4 tunneling driver
[    3.215875] gre: GRE over IPv4 demultiplexor driver
[    3.225455] ip_gre: GRE over IPv4 tunneling driver
[    3.235486] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.245683] arp_tables: (C) 2002 David S. Miller
[    3.254956] TCP: cubic registered
[    3.262698] Initializing XFRM netlink socket
[    3.271712] NET: Registered protocol family 10
[    3.281817] Mobile IPv6
[    3.288612] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.298956] IPv6 over IPv4 tunneling driver
[    3.308748] NET: Registered protocol family 17
[    3.317782] NET: Registered protocol family 15
[    3.326850] Bluetooth: RFCOMM TTY layer initialized
[    3.336181] Bluetooth: RFCOMM socket layer initialized
[    3.345738] Bluetooth: RFCOMM ver 1.11
[    3.353729] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.363417] Bluetooth: BNEP filters: protocol multicast
[    3.372937] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.383274] L2TP core driver, V2.0
[    3.390622] PPPoL2TP kernel driver, V2.0
[    3.398408] L2TP IP encapsulation support (L2TPv3)
[    3.407167] L2TP netlink interface
[    3.414376] L2TP ethernet pseudowire support (L2TPv3)
[    3.423463] Registering the dns_resolver key type
[    3.432373] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    3.444474] ThumbEE CPU extension supported.
[    3.452773] Registering SWP/SWPB emulation handler
[    3.462488] cmdline,disp=
[    3.468883] [HDMI] power vcc-hdmi-18
[    3.507059] sunxi-rtc sunxi-rtc: hctosys: unable to read the hardware clock
[    3.518447] ths_fetch_sysconfig_para: type err  device_used = 1.
[    3.530159] CPU Budget:Register notifier
[    3.538114] CPU Budget:register Success
[    3.545918] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[    3.562360] [rf_pm]: select module num is 7
[    3.570765] [rf_pm]: module power0 name vcc-wifi-33
[    3.579874] [rf_pm]: failed to fetch module_power1
[    3.588913] [rf_pm]: mod has no chip_en gpio
[    3.597344] [rf_pm]: failed to fetch lpo_use_apclk
[    3.606324] [rf_pm]: regulator on.
[    3.613700] [wifi_pm]: no wifi used in configuration
[    3.622844] ALSA device list:
[    3.629704]   #0: audiocodec
[    3.636384]   #1: sndhdmi
[    3.642780] Warning: unable to open an initial console.
[    3.657250] Freeing init memory: 6140K
[    4.015067] [mmc]: mmc 0 detect change, present 1
[    4.110080] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=4
[    4.520117] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.538404] [mmc]: sdc0 power_supply is null
[    4.570075] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.602394] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO !!
[    4.618682] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO !!
[    4.628659] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.654271] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.673212] *******************Try sdio*******************
[    4.685210] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.698879] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.712635] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.726229] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.738499] *******************Try sd *******************
[    4.749375] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.764052] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.781025] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.811522] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.826717] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.840978] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.855209] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    4.869339] mmc0: new high speed SDHC card at address 0001
[    4.879661] mmcblk0: mmc0:0001 00000 14.6 GiB
[    4.889458]  mmcblk0: p1 p2
[    4.896877] *******************sd init ok*******************
[   10.031432] systemd-udevd[107]: starting version 215
[   11.141508] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   11.978483] init: plymouth-upstart-bridge main process (152) terminated with status 1
[   11.992210] init: plymouth-upstart-bridge main process ended, respawning
[   12.031830] init: plymouth-upstart-bridge main process (161) terminated with status 1
[   12.045299] init: plymouth-upstart-bridge main process ended, respawning
[   12.077509] init: plymouth-upstart-bridge main process (164) terminated with status 1
[   12.090985] init: plymouth-upstart-bridge main process ended, respawning
[   12.441549] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   13.165742] systemd-udevd[273]: starting version 204
[   13.326608] 8189es: disagrees about version of symbol module_layout
[   15.269924] init: plymouth-upstart-bridge main process ended, respawning
[   15.298754] gmac0: probed
[   15.298933] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)
[   19.290286] PHY: gmac0-0:00 - Link is Up - 100/Full
[   21.290266] PHY: gmac0-0:00 - Link is Down
[   23.290265] PHY: gmac0-0:00 - Link is Up - 100/Full
[   25.290428] PHY: gmac0-0:00 - Link is Down
[   26.290279] PHY: gmac0-0:00 - Link is Up - 100/Full
[   26.340038] eth0: no IPv6 routers present
[   28.290417] PHY: gmac0-0:00 - Link is Down
[   29.290268] PHY: gmac0-0:00 - Link is Up - 100/Full
[   31.290371] PHY: gmac0-0:00 - Link is Down
[   35.290283] PHY: gmac0-0:00 - Link is Up - 100/Full
[   37.290270] PHY: gmac0-0:00 - Link is Down
[   38.290263] PHY: gmac0-0:00 - Link is Up - 100/Full
[   40.290261] PHY: gmac0-0:00 - Link is Down
[   41.290272] PHY: gmac0-0:00 - Link is Up - 100/Full
[   43.290271] PHY: gmac0-0:00 - Link is Down
[   44.290265] PHY: gmac0-0:00 - Link is Up - 100/Full
root@OrangePI:~#
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 11:55:14 am
Vamos a instalar Weewx con una Fine Offset (PCE FWS-20)

Lo primero es conectar la consola a la Orange Pi One

Citar
dmesg

[  734.168514] ehci_irq: highspeed device connect
[  734.310195] ehci_irq: highspeed device disconnect
[  734.310227] ohci_irq: fullspeed or lowspeed device connect
[  734.730096] usb 4-1: new low-speed USB device number 2 using sunxi-ohci
[  734.965877] generic-usb 0003:1941:8021.0001: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-sunxi-ohci-1/input0
root@OrangePI:/#

Nos la detecta correctamente.
Citar
lsusb

root@OrangePI:/# lsusb
Bus 004 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@OrangePI:/#
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 12:08:10 pm
Citar
root@OrangePI:/# cd
root@OrangePI:~# ls
root@OrangePI:~# ls
root@OrangePI:~# wget http://www.weewx.com/downloads/weewx_3.4.0-1_all.deb
--2016-02-27 10:59:59--  http://www.weewx.com/downloads/weewx_3.4.0-1_all.deb
Resolving www.weewx.com (www.weewx.com)... 97.74.144.107
Connecting to www.weewx.com (www.weewx.com)|97.74.144.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1009128 (985K) [text/plain]
Saving to: ‘weewx_3.4.0-1_all.deb’

100%[=============================================================================>] 1,009,128    443KB/s   in 2.2s   

2016-02-27 11:00:02 (443 KB/s) - ‘weewx_3.4.0-1_all.deb’ saved [1009128/1009128]

root@OrangePI:~# ls
weewx_3.4.0-1_all.deb
root@OrangePI:~# dpkg -k wee*.deb
dpkg: error: unknown option -k

Type dpkg --help for help about installing and deinstalling packages
  • ;

Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked
  • produce a lot of output - pipe it through 'less' or 'more' !

root@OrangePI:~# dpkg -i wee*.deb
Selecting previously unselected package weewx.
(Reading database ... 14587 files and directories currently installed.)
Preparing to unpack weewx_3.4.0-1_all.deb ...

Vienen las preguntas de configuración de ubicación, tipo de estación, etc.....

Cuando terminan las preguntas, viene el error por faltar programas como apache, etc, etc.

Unpacking weewx (3.4.0-1) ...
dpkg: dependency problems prevent configuration of weewx:
 weewx depends on python (>= 2.5); however:
  Package python is not installed.
 weewx depends on python-configobj (>= 4.5); however:
  Package python-configobj is not installed.
 weewx depends on python-cheetah (>= 2.0); however:
  Package python-cheetah is not installed.
 weewx depends on python-imaging (>= 1.1.6); however:
  Package python-imaging is not installed.
 weewx depends on python-serial (>= 2.3); however:
  Package python-serial is not installed.
 weewx depends on python-usb (>= 0.4); however:
  Package python-usb is not installed.

dpkg: error processing package weewx (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 weewx

No problem.....seguimos como se indica en el manual de instalación

Citar
root@OrangePI:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libmpdec2
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libfreetype6 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libtiff5 libwebp5 libwebpmux1
  python python-cheetah python-configobj python-imaging python-minimal
  python-pil python-serial python-usb python2.7 python2.7-minimal
Suggested packages:
  liblcms2-utils python-doc python-tk python-markdown python-pygments
  python-memcache python-pil-doc python-pil-dbg python-wxgtk2.8 python-wxgtk
  python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
  libfreetype6 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libtiff5 libwebp5 libwebpmux1
  python python-cheetah python-configobj python-imaging python-minimal
  python-pil python-serial python-usb python2.7 python2.7-minimal
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 4,930 kB of archives.
After this operation, 20.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython2.7-minimal armhf 2.7.6-8ubuntu0.2 [307 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python2.7-minimal armhf 2.7.6-8ubuntu0.2 [1,049 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython2.7-stdlib armhf 2.7.6-8ubuntu0.2 [1,821 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python2.7 armhf 2.7.6-8ubuntu0.2 [197 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-minimal armhf 2.7.5-5ubuntu3 [27.4 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libpython-stdlib armhf 2.7.5-5ubuntu3 [6,984 B]
Get:7 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python armhf 2.7.5-5ubuntu3 [134 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-configobj all 4.7.2+ds-5build1 [174 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-cheetah armhf 2.4.4-3.fakesyncbuild1 [143 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libfreetype6 armhf 2.5.2-1ubuntu2.5 [253 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libjpeg-turbo8 armhf 1.3.0-0ubuntu2 [85.2 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libjpeg8 armhf 8c-2ubuntu8 [2,202 B]
Get:13 http://ports.ubuntu.com/ubuntu-ports/ trusty/main liblcms2-2 armhf 2.5-0ubuntu4 [107 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libjbig0 armhf 2.0-2ubuntu4.1 [23.3 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libtiff5 armhf 4.0.3-7ubuntu0.3 [129 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libwebp5 armhf 0.4.0-4 [122 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libwebpmux1 armhf 0.4.0-4 [11.5 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-pil armhf 2.3.0-1ubuntu3 [257 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-imaging all 2.3.0-1ubuntu3 [4,348 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-serial all 2.6-1build1 [60.1 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe python-usb armhf 0.4.3-1 [16.4 kB]
Fetched 4,930 kB in 2s (1,771 kB/s)     
Selecting previously unselected package libpython2.7-minimal:armhf.
(Reading database ... 14837 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking python2.7-minimal (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../libpython2.7-stdlib_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking python2.7 (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.5-5ubuntu3_armhf.deb ...
Unpacking python-minimal (2.7.5-5ubuntu3) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../libpython-stdlib_2.7.5-5ubuntu3_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.5-5ubuntu3) ...
Selecting previously unselected package python.
Preparing to unpack .../python_2.7.5-5ubuntu3_armhf.deb ...
Unpacking python (2.7.5-5ubuntu3) ...
Selecting previously unselected package python-configobj.
Preparing to unpack .../python-configobj_4.7.2+ds-5build1_all.deb ...
Unpacking python-configobj (4.7.2+ds-5build1) ...
Selecting previously unselected package python-cheetah.
Preparing to unpack .../python-cheetah_2.4.4-3.fakesyncbuild1_armhf.deb ...
Unpacking python-cheetah (2.4.4-3.fakesyncbuild1) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../libfreetype6_2.5.2-1ubuntu2.5_armhf.deb ...
Unpacking libfreetype6:armhf (2.5.2-1ubuntu2.5) ...
Selecting previously unselected package libjpeg-turbo8:armhf.
Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_armhf.deb ...
Unpacking libjpeg-turbo8:armhf (1.3.0-0ubuntu2) ...
Selecting previously unselected package libjpeg8:armhf.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_armhf.deb ...
Unpacking libjpeg8:armhf (8c-2ubuntu8) ...
Selecting previously unselected package liblcms2-2:armhf.
Preparing to unpack .../liblcms2-2_2.5-0ubuntu4_armhf.deb ...
Unpacking liblcms2-2:armhf (2.5-0ubuntu4) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../libjbig0_2.0-2ubuntu4.1_armhf.deb ...
Unpacking libjbig0:armhf (2.0-2ubuntu4.1) ...
Selecting previously unselected package libtiff5:armhf.
Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.3_armhf.deb ...
Unpacking libtiff5:armhf (4.0.3-7ubuntu0.3) ...
Selecting previously unselected package libwebp5:armhf.
Preparing to unpack .../libwebp5_0.4.0-4_armhf.deb ...
Unpacking libwebp5:armhf (0.4.0-4) ...
Selecting previously unselected package libwebpmux1:armhf.
Preparing to unpack .../libwebpmux1_0.4.0-4_armhf.deb ...
Unpacking libwebpmux1:armhf (0.4.0-4) ...
Selecting previously unselected package python-pil.
Preparing to unpack .../python-pil_2.3.0-1ubuntu3_armhf.deb ...
Unpacking python-pil (2.3.0-1ubuntu3) ...
Selecting previously unselected package python-imaging.
Preparing to unpack .../python-imaging_2.3.0-1ubuntu3_all.deb ...
Unpacking python-imaging (2.3.0-1ubuntu3) ...
Selecting previously unselected package python-serial.
Preparing to unpack .../python-serial_2.6-1build1_all.deb ...
Unpacking python-serial (2.6-1build1) ...
Selecting previously unselected package python-usb.
Preparing to unpack .../python-usb_0.4.3-1_armhf.deb ...
Unpacking python-usb (0.4.3-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Setting up libpython2.7-minimal:armhf (2.7.6-8ubuntu0.2) ...
Setting up python2.7-minimal (2.7.6-8ubuntu0.2) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up libpython2.7-stdlib:armhf (2.7.6-8ubuntu0.2) ...
Setting up python2.7 (2.7.6-8ubuntu0.2) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up libpython-stdlib:armhf (2.7.5-5ubuntu3) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up python-configobj (4.7.2+ds-5build1) ...
Setting up python-cheetah (2.4.4-3.fakesyncbuild1) ...
Setting up libfreetype6:armhf (2.5.2-1ubuntu2.5) ...
Setting up libjpeg-turbo8:armhf (1.3.0-0ubuntu2) ...
Setting up libjpeg8:armhf (8c-2ubuntu8) ...
Setting up liblcms2-2:armhf (2.5-0ubuntu4) ...
Setting up libjbig0:armhf (2.0-2ubuntu4.1) ...
Setting up libtiff5:armhf (4.0.3-7ubuntu0.3) ...
Setting up libwebp5:armhf (0.4.0-4) ...
Setting up libwebpmux1:armhf (0.4.0-4) ...
Setting up python-pil (2.3.0-1ubuntu3) ...
Setting up python-imaging (2.3.0-1ubuntu3) ...
Setting up python-serial (2.6-1build1) ...
Setting up python-usb (0.4.3-1) ...
Setting up weewx (3.4.0-1) ...
Saved configuration to /etc/weewx/weewx.conf
 * Starting weewx weather system weewx                                                                          [ OK ]
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
root@OrangePI:~#

Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 12:09:24 pm
El sistema está funcionando

Citar
root@OrangePI:~# ps aux | grep weewx
root      1455  0.2  1.6  14252  8540 ?        S    11:04   0:00 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
root      1468  0.0  0.1   3772   680 pts/0    S+   11:09   0:00 grep --color=auto weewx
root@OrangePI:~#
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 12:10:03 pm
Una vez iniciada la imagen y funcionando, la instalación de Weewx ha llevado menos de 5 minutos.

Ahora toca ver si todo funciona perfectamente
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 12:11:49 pm
Bien....veo que el servidor apache2 no está funcionando

Soluciono con:

apt-get install apache2

Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 12:20:44 pm
Ya está funcionando Apache2
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 12:33:50 pm
Creo un enlace simbólico por el rollo de /var/www/html y todo funcionando, al menos de momento
Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 12:39:20 pm
Algo falla....ademmás no hay log.....hay que recordar que era una imagen mínima

Instalamos el sistema de log de Linux

apt-get install rsyslog

y modificamos para que weewx tenga su log tal como se indica en el manual

Una vez reiniciado el sistema, ya tenemos log en /var/log/weewx.log
Citar
root@OrangePI:/var/log# tail -f weewx.log
Feb 27 11:43:49 OrangePI weewx[763]: fousb: found station on USB bus=004 device=002
Feb 27 11:43:49 OrangePI weewx[763]: engine: StdConvert target unit is 0x1
Feb 27 11:43:49 OrangePI weewx[763]: engine: Archive will use data binding wx_binding
Feb 27 11:43:49 OrangePI weewx[763]: engine: Record generation will be attempted in 'hardware'
Feb 27 11:43:50 OrangePI weewx[763]: engine: Using archive interval of 300 seconds
Feb 27 11:43:50 OrangePI weewx[763]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Feb 27 11:43:50 OrangePI weewx[763]: engine: Starting backfill of daily summaries
Feb 27 11:43:50 OrangePI weewx[763]: engine: Daily summaries up to date.
Feb 27 11:43:50 OrangePI weewx[763]: engine: Starting up weewx version 3.4.0
Feb 27 11:43:51 OrangePI weewx[763]: fousb: synchronising to the weather station (quality=1)
Feb 27 11:46:41 OrangePI weewx[763]: manager: added record 2016-02-27 11:41:41 UTC (1456573301) to database 'weewx.sdb'
Feb 27 11:46:41 OrangePI weewx[763]: manager: added record 2016-02-27 11:41:41 UTC (1456573301) to daily summary in 'weewx.sdb'
Feb 27 11:46:42 OrangePI weewx[763]: manager: added record 2016-02-27 11:46:41 UTC (1456573601) to database 'weewx.sdb'
Feb 27 11:46:42 OrangePI weewx[763]: manager: added record 2016-02-27 11:46:41 UTC (1456573601) to daily summary in 'weewx.sdb'
Feb 27 11:46:42 OrangePI weewx[763]: engine: Starting main packet loop.
Feb 27 11:46:44 OrangePI weewx[763]: fousb: station status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)

Título: Re:Orange Pi One
Publicado por: jantoni en 27 de Febrero del 2016, 18:13:02 pm
¡Exito total!

Por 12 euros


Bueno, más el alimentador.....pero tengo toneladas de ellos por casa.

Y en menos de media hora.....

Cuando tenga un rato, simplificaré el post.
Título: Re:Orange Pi One
Publicado por: Fran rios (nuco_ne) en 27 de Febrero del 2016, 21:50:19 pm
 apla3 apla3 apla3 apla3
Título: Re:Orange Pi One
Publicado por: pachu en 28 de Febrero del 2016, 08:58:52 am
JeJe...por 12€...y después venden raspberrys camufladas en cajas de plástico por mas 200€ como servidores web y dattaloger. ;D ;D ;D

Que bién quedaría integrada en la propia consola con el tamaño que tiene  ;)

Otra opción mas...buen trabajo  plau2
Título: Re:Orange Pi One
Publicado por: jantoni en 28 de Febrero del 2016, 09:14:27 am
Orange Pi One es la mínima expresión.

No obstante, por 5 euros más (unos 16,50€) también podéis conseguir la Orange Pi PC

La Orange Pi PC, tiene muchas diferencias sobre la One:


Podéis acceder a la tienda de Aliexpress donde las venden:

http://es.aliexpress.com/store/group/Orange-PI-Hot-Items/1553371_259879805.html

Saludos.
Título: Re:Orange Pi One
Publicado por: Alvar en 28 de Febrero del 2016, 22:45:08 pm
Los tios de Linux sois cojonudos, de una raza especial ¡¡
Título: Re:Orange Pi One
Publicado por: jmfernandezz en 29 de Febrero del 2016, 00:31:54 am
 apla3 apla3 apla3
Título: Re:Orange Pi One
Publicado por: jantoni en 21 de Marzo del 2016, 08:59:28 am
Además, la Orange Pi One está alimentando un disco duro de 2,5 pulgadas.....VIEJO....sin problemas.

Este fin de semana próximo, que es muy largo, repetiré y recrearé el proceso de instalación.

No obstante, aviso, estos cacharros están en continua evolución, por lo que dentro de 6 meses, estarán obsoletos y dentro de año y medio no habrá desarrollo para ellos.....por eso habrá que ir guardando una imagen de vez en cuando.....por si las moscas.

Es que estos miniordenadores con CPU ARM están revolucionando el mercado.....

Tan solo indicar que ya son MAS DE 8 MILLONES DE RASPBERRY PI vendidas desde que empezó su venta hace 4 años.
Título: Re:Orange Pi One
Publicado por: Secure440 en 14 de Abril del 2016, 15:50:30 pm
 apla3 apla3 :P
Título: Re:Orange Pi One
Publicado por: Xavi-EA5ZF en 01 de Octubre del 2016, 13:33:53 pm
Jantoni, he visto que las Orange PC Plus tienen 8 o 16 GB de memória FLASH interna, o sea que si se monta el linux en la Flash se acabó el uso de las SD y de sus posibles problemas por corrupción por sobreescrituras, es correcto?
Tengo un Mele, intenté hacer eso pero al perder el foro antiguo he perdido la buena dirección y no he encontrado como hacer ese cambio de FS facilmente y al final he parado el cambio sigo usando SD y cada 6 meses problemas con ellas.
Salu2
Título: Re:Orange Pi One
Publicado por: jantoni en 01 de Octubre del 2016, 16:06:09 pm
Has mirado en el grupo de google que creamos hace años para la grabación en la flash de Mele A2000?????

No sé si quedará algo de aquello.....
Título: Re:Orange Pi One
Publicado por: jantoni en 01 de Octubre del 2016, 16:06:56 pm
Me contestoyo soloo........lo debí borrar hace meses >:( >:( >:( >:(
Título: Re:Orange Pi One
Publicado por: jantoni en 01 de Octubre del 2016, 16:13:33 pm
En cuanto a las eMMc, no dejan de ser memorias flash.

Y como todas las memorias flash tinen un número finito de ciclos de escritura.

Eso si.....van a toda leche.

Ah......se me olvidó hace unos días.....LA MAYOR PARTE DE LOS PROBLEMAS CON TARJETAS SD CORRUPTAS EN UNA RASPBERRY PI, VIENEN MOTIVADAS POR ALIMENTADORES INADECUADOS

La sustitución del alimentador cuando tenemos problemas de Ethernet o de tarjeta SD es casi obligado.
Título: Re:Orange Pi
Publicado por: jantoni en 11 de Enero del 2017, 15:34:11 pm
Bueno, el pasado fin de semana pude poner en marcha la Orange Pi PC que me llegó hará más de 3 meses.

En esta ocasión todo ha ido perfecto y la primera imagen grabada, con escritorio XFCE, funcionó a la primera.

Hoy he sustituido la imagen por la misma, pero en modo servidor. Es decir sin escritorio.

Todo perfecto....cuando pueda le monto Weewx

El resultado fantástico.....consumiendo unos 200mA sin carga, con la ethernet activada. Es decir 1 watiejo

Si no recuerdo mal, por debajo de las Raspi2 y 3, que tienen menos rendimiento que esto.
Título: Orange Pi PC
Publicado por: jantoni en 24 de Marzo del 2020, 10:00:54 am
3 años después de recibir la Orange Pi PC, que me costó unos 15-18 euros puesta en casa, la he recuperado del cajón para convertirla en el ordenador que soporte Weewx y otras cosas.

Así, he jubilado a la veterana Raspberry Pi B de 256 MB de RAM (año 2012), que tras casi 8 años de servicio, se ha quedado corta, incluso para Weewx en la configuración actual.

Esta Raspi funcionaba perfectamente hasta que cambié a Weewx 3.9.2 y opté por instalar el skin Belchertown. Cuando ya lo tuve funcionando, pude comprobar que todo el ciclo de generación, desde la captura de datos de la consola, hasta el envío de los gráficos a mi web hosting, transcurría más de minuto y medio.

Así que dicho y hecho.

Tan solo había que activar la UART para poder conectar mi consola Davis al ordenador (os recuerdo que yo no uso ningún interface como WeatherLink para conectarlo, sino que conecto la consola DIRECTAMENTE al ordenador).

Con la ayuda de Jmviper, que siempre está ahí para recordarme las cosas que se me han ido olvidando a lo largo del tiempo, activé la UART en la Orange Pi PC, conecté los 3 hilos que la comunican con la consola Davis, y reconfiguré el Weewx que ya estaba funcionando en modo simulador.

Traspasar la base de datos y a correr. Todo funcionando perfectamente.

Ahora, todo va mucha más rápido, en poco más de 15 segundos se genera el skin season, el skin Belchertown y se suben datos a diferentes web, así como a mi web hosting.

Esta placa, SE SIGUE VENDIENDO, aunque parezca mentira. Si la potencia de las nuevas placas es muy superior, pero por lo que cuesta (unos 20 € en casa, porque los gastos de transporte se han disparado últimamente) es una interesante opción.

Además, el consumo de energía es muy bajo, mucho más bajo que las Raspi3 y Raspi4 que tanto gustan últimamente.
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 24 de Marzo del 2020, 10:40:36 am
Ah, se me olvidaba comentar que, además, de Weewx, la Orange Pi PC, esta ejecutando otros procesos, como PI-HOLE (https://pi-hole.net/)

Y todavía parece estar de vacaciones.

En realidad, no necesitamos la potencia de una Raspi4 o de una Orange Pi 4, para ejecutar software meteorológico.
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jmviper en 24 de Marzo del 2020, 11:05:34 am
Pues sí.... recuerdo que hará ya sobre un par de años que me la recomendaste sin tener ni idea de estas placas de desarrollo y siendo la más oída sin duda alguna la Raspberry y la verdad es que estoy encantado a día de hoy. Me costó tan solo 15€ creo recordar y la verdad es que merece la pena. Ningún problema con la SD, 10-15% de memoria RAM de 1 GB que tiene y sobre todo sobre todo muy contento con ese SO llamado armbian que pretende abarcar la mayor parte de placas de desarrollo con unas 70 soportadas que haya contado yo en su página.

Seguro que hay por ahí más placas de desarrollo económicas y potentes pero esta está muy bien por ese precio. Se nota que le queda cuerda para rato y que podrá soportar nuevos SO armbian lo que significa tenerla siempre actualizada.

La uso sin la versión escritorio en una microSD de 8 GB con el nuevo armbian Buster y no se le ve apurada corriendo weewx y funcionando apache o nginx y se le nota que puede dar de sí mucho más.

Lo dicho, gracias por la recomendación maestro  ;)

saludos
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 09 de Abril del 2020, 11:08:42 am
Gracias a ti......tú si que eres un maestro.

Bueno, en cuanto a la Orange Pi, para los obsesionados con el consumo, os pongo una foto del consumo en momentos de "reposo" de Weewx.

Como veis, el consumo es de 0,17A, o lo que es lo mismo, 0,85W



En los momentos de máximo consumo, que coincide con la generación de informes y envío de datos, puede llegar a 0,35-0,4A (os recuerdo que hace más cosas además de Weewx). Estos picos de consumo son, aproximadamente, de unos 20-25 segundos cada 5 minutos.

Para mi, es el ordenador ideal para controlar estaciones meteorológicas. Con Weewx va de fábula. No sé si CumulusMX funcionará, aunque no lo voy a probar,  *+* *+* *+* *+* *+* *+* *+*
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jmviper en 09 de Abril del 2020, 12:05:03 pm

No sé si CumulusMX funcionará, aunque no lo voy a probar,  *+* *+* *+* *+* *+* *+* *+*


Doy fe de que funciona en la Orange Pi PC y muy bien  :)

En mi caso la Orange Pi corría weewx a través del wifi (a través de Virtual VP) en el PC con Windows 10 al que está conectada la Davis, y digo "corría" porque fue un quebradero de cabeza a través del wifi ya que cuando había alguna pequeña desconexión del wifi por falta de señal o algo weewx se detenía con un error fatal y me tocaba reiniciar tanto VVP que se quedaba pillado enviando loops a weewx como a éste. También probé con PLC sin éxito.

Al final el PC de la estación va por wifi y la orange pi la conecté por cable ethernet a dicho PC creando una red local por lo que no hay cortes en los envíos ya (menudo descanso  *-*). Así que la Orange Pi la tengo con pincho wifi conectada al router y por ethernet al PC de la estación. De esta manera no pierde la conexión weewx con VVP y la puedo controlar desde la red local del router.

Y sí, el consumo de estas pequeñas placas de desarrollo es irrisorio, creo que lo típico es de 1 a 2W, incluso menos que algunos standby de teles u otros aparatos electrónicos.

Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 09 de Abril del 2020, 12:45:09 pm
Lo del wifi es una lata, depende mucho del pincho wifi. Hay algunos que, al entrar en ahorro de energía, provocan muchos problemas. Ya lo experimenté hace muchos años con la raspberry y un pincho muy viejo.

La solución era deshabilitar el ahorro de energía en el driver del pincho wifi. Y te aseguro que funcionó.

Título: Re:Orange Pi One y Orange Pi PC
Publicado por: miguelru en 17 de Julio del 2020, 19:33:47 pm
 apla3

Ya solo falta que dediques un rato *+*, para adaptar la meteowee-0.0.12.sh a la orangepi, para que la usemos los torpes como yo.

Ya he hecho algunas pruebas con una orangepiPc+, pero la configuración de  los skins en weewx 4.1.1, tanto Seasons como Standard, han cambiado y no consigo dejarlo como lo tengo con weewx 3.9.2, que me gusta como esta con skins Standard y Belchertown simultaneamente.

Seguiré probando.
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 17 de Julio del 2020, 20:16:23 pm
Meteowee está en la versión 0.16-2

Y, solo se trata de una instalación básica, modificar los skins es un tema muy personal de cada uno.

Que yo sepa, en Orange Pi Pc funciona correctamente.........creo que Jmviper ya lo probó en su momento.

No obstante, ahora mismo no voy a tocar nada, porque quiero que se calmen las aguas con el tema de Python y Weewx.

De hecho, en la Orange Pi sigo con 3.9.2, aunque en la Raspi Zero tengo 4.0
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: miguelru en 17 de Julio del 2020, 23:05:17 pm
He hecho la instalación con meteowee.0.16-2 y ha funcionado correctamente en una OpiPC+. Solo he notado que a pesar de haber indicado en las variables de weewx por defecto : SKIN_DIR='/etc/weewx/skins/Standard' y  SKIN_CONFIG_FILE='/etc/weewx/skins/Standard/skin.conf' ha configurado el skin Seasons. Nada difícil de solucionar.

En cuanto a la personalización de los skins, solo quería comentar que han cambiado los archivos implicados en la misma. Lógicamente es tarea de cada uno hacer dicha configuración personal.

Saludos.
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: miguelru en 30 de Diciembre del 2020, 23:58:19 pm

Buenas noches.

Retomo el tema que tengo a medias por culpa de las circunstancias.

Hice la instalación de weewx 4.2.0 con meteowee versión 0.16-2 que funciona perfectamente en la OrangepiPC+.

Solo hay un tema que no entiendo porque y quiero consultaros a quienes ya teneis OrangePi o conoceis mejor Armbian.

A pesar de instalar con meteowee, crea/monta el directorio /var/log en /dev/zram0 y como consecuencia de ello crece indefinidamente, no se borra ni al reiniciar.

No estoy seguro si debería intentar cambiar el punto de montaje.

Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jmviper en 31 de Diciembre del 2020, 08:25:21 am
Hola miguelru

En el archivo que has adjuntado se ve un 1% de uso de la zram que es una parte de la memoria RAM comprimida (de ahí la Z en su nombre).
Que yo sepa, por lo menos en mi Orange PI PC, armbian lo que hace es poner los logs en la zram y así evita estar escribiéndolos continuamente en la microSD alargando su vida útil. Cuando apagas o reinicias sistema esos logs en esa memoria RAM se perderían por lo que los vuelca creo a /var/log.hdd que está en la microSD, de ahí la hdd (hard disk device haciendo referencia a la microSD) para al iniciarse volver a cargar esos logs en la zram.

De lo que sale en tu df -h tienes ese /var/log.hdd en una partición tmpfs que es partición de memoria RAM. No sé si viene así por defecto con tu SO armbian para la Orange Pi PC+ o lo has pasado tú a tmpfs. Si viene así por defecto volcará su contenido en algún sitio de la microSD al reiniciar o se perdería también.
/var/log.hdd tiene también las rotaciones de los logs cuya configuración generalmente está en /etc/logrorate.d

/var/log.hdd tiene asignado 20M, creo que muy poco para todas las rotaciones de los logs. Si no vuelca esas rotaciones a la microSD también se perderán.

Resumiendo que me he enrollado mucho *-* *-* tienes tanto /var/log y /var/log.hdd en la RAM y /var/log.hdd debería de estar en la microSD. Los dos según el archivo que adjuntas usan un 1% de su espacio asignado, 50 MB por defecto asignados para /var/log en la zram y 20MB para /var/log.hdd. Deberías desmontar este último de tmpfs si quieres que se queden los logs rotados en la microSD, OJO, solo si tú lo has puesto así que parece ser el caso porque en la mía no está el sistema de log así.

Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 31 de Diciembre del 2020, 09:47:48 am
En todos estos sistemas, este tipo de configuración va cambiando en el tiempo.

Cada versión puede ser distinta, tanto en armbian como en raspbian.
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: miguelru en 31 de Diciembre del 2020, 11:05:22 am
Hola.

Lo cierto es que tenia la Orange funcionando desde la eMMC porque he tenido malas experiencias con las SD y observe que no se borraba var/log tras reiniciar. Adjunto el archivo de df -h en la eMMC. Pero ahora veo que hay también unos puntos de montaje en tmpfs de 484M que no se que hacen ahí.

La anterior captura de df -h era de una instalación nueva de ayer con el último Armbiam de noviembre pasado y con la instalación de weewx con el meteowee como indicaba. No, no he tocado nada de puntos de montaje, esta tal cual quedo.

En cualquier caso lo dejare ya para el año que viene.  *+*

¡¡Feliz Año a todos!!

Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jmviper en 31 de Diciembre del 2020, 12:20:01 pm
Vale, entiendo, esa partición de tmpfs en /var/log.hdd debe de crearla meteowee para los logs de weewx y apache2

En armbian en principio no es necesario hacerlo por el motivo que he explicado. Usa por defecto la zram para los logs y cuando los rota los pasa a /var/log.hdd en la eMMC o la microSD según donde tengamos el SO instalado. Esa configuración del log viene activada por defecto en /etc/default/armbian-ramlog en la línea ENABLED=true

En las Raspis no sé cómo va exactamente el proceso de log pero como digo en armbian no hay porqué crear unidades tmpfs en la RAM para los logs ya que por defecto van a la zram.
Los puntos de montaje tmpfs que aperecen son para las diferentes rutas del sistema que usa armbian por lo que mejor dejarlas así si no se sabe lo que se toca.

Yo tengo la Orange Pi PC 3 años todos los días en marcha con una microSD que creo que tendrá unos 8 años y 0 problemas, no se ha corrompido nada de nada y funciona perfecta. Cruzo dedos para que me dure unos años más así y seguramente este sistema por defecto de log de armbian ayuda.


Título: Re:Orange Pi One y Orange Pi PC
Publicado por: miguelru en 01 de Enero del 2021, 12:35:23 pm
Vale. Muchas gracias por la información.

Me preocupaba el aumento del citado /var/log dado que la eMMC es de 8 Gb, mientras que las SD es mas fácil que sean de 32 Gb o más.

Seguiré observando la evolución tanto en SD como en eMMC.
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 01 de Enero del 2021, 21:21:59 pm
Por cierto......

La Orange Pi PC (la versión 1) sigue siendo un líder de ventas.

Algo tiene el agua cuando la bendicen.

Y vale menos de 20 euros con envío a España

https://es.aliexpress.com/item/32448079125.html?spm=a219c.12010612.8148356.4.7925100etgbTxT
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 01 de Enero del 2021, 21:24:40 pm
Por cierto, estoy valorando pillar una Orange Pi Zero+

Por jugar un poco......

También menos de 20 euros puesta en España, más exactamente un poquitín más de 16 euros

https://es.aliexpress.com/item/32828347476.html
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jmviper en 01 de Enero del 2021, 22:08:54 pm
Por cierto......

La Orange Pi PC (la versión 1) sigue siendo un líder de ventas.

Algo tiene el agua cuando la bendicen.

Y vale menos de 20 euros con envío a España

https://es.aliexpress.com/item/32448079125.html?spm=a219c.12010612.8148356.4.7925100etgbTxT

El único "pero" que tiene es que si no la tienes accesible para ponerle cable de red para internet le tienes que poner un pincho wifi usando ya uno de los puertos USB para él y eso encarecería algo el producto y no todos los pinchos valen ya que algunos dan problemas. Su ventaja: que tiene el doble de memoria RAM (1 GB) que la Orange Pi Zero+ pero vamos que armbian Buster, por ejemplo, versión consola sin escritorio como la tenemos nosotros con weewx solo funcionando consume 115 MB de RAM, queda de sobra para más cosas.
Título: Re:Orange Pi One y Orange Pi PC
Publicado por: jantoni en 01 de Enero del 2021, 22:23:21 pm
Viva el modo consola *+* *+*